0

How to store session id and expiration time to database? Please give me a suggest.

khanh
  • 4,516
  • 10
  • 29
  • 48

1 Answers1

0

Creating sessions in db:

Rails sessions current practices

Sweeping sessions:

http://guides.rubyonrails.org/security.html#session-expiry

Community
  • 1
  • 1
apneadiving
  • 114,565
  • 26
  • 219
  • 213