Ruby on Rails
Wednesday, June 3, 2015
i cannot really upgrade. I would love too, but i have a bazillion lines of code for this version running.
-- you were right. terminology was wrong expire_after not expires..
tested and working now, thanks very much !
sk
On Wednesday, June 3, 2015 at 9:20:52 AM UTC-5, skrite wrote:
On Wednesday, June 3, 2015 at 9:20:52 AM UTC-5, skrite wrote:
I am running a rails 2.3.9 app and I cannot seem to make the session expire.
I have tried the :expires_after => in the environment.rb and it works in webrick, but crashes on nginx with passenger.
Is there a way in the application controller or somewhere else that I can set a session variable to timeout after a certain amount of time ?
thanks for any tips
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/915430a1-3b52-4a6e-abf6-0e8f4aa6e10c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment