etienne <[email protected]> writes:

> That overwrites the cookie for the session.  By the time they attempt
> to login, a session has already begun for them.  CookieStore is doing
> the management behind the scenes.  I want to amend the cookie to have
> an expiration date which, it seems, it does not have by default.
> etienne

Try this in your config/environment.rb

  config.action_controller.session = {
    :session_key => '_yourapp',
    :secret      => 'yoursecret',
    :expire_after => 600 # seconds
  }

It works for me.

Jarl


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to