0

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

khanh
  • 4,378
  • 10
  • 28
  • 47

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
  • 112,549
  • 26
  • 215
  • 208