Session management in Rails (2.3)
Posted
by JussiR
on Stack Overflow
See other posts from Stack Overflow
or by JussiR
Published on 2009-09-03T18:10:46Z
Indexed on
2010/04/05
19:33 UTC
Read the original article
Hit count: 204
ruby-on-rails
Apparently, after upgrading to Rails 2.3 my session storage has stopped working. I used to have this:
session :session_expires => 3.years.from_now
in my application_controller.rb, but now every time i close the browser (chrome) the session expires. I read from somewhere that session_expires would have changed to expire_after, but
session :expire_after => 3.years.from_now
didn't do any good eihter.
© Stack Overflow or respective owner