On 4 Mar 2009, at 11:01, Sniper Abandon wrote:
> > in rails 2.3.0 > > DEPRECATION WARNING: Disabling sessions for a single controller has > been > deprecated. Sessions are now lazy loaded. So if you don't access them, > consider them off. You can still modify the session cookie options > with > request.session_options.. (called from > app/controllers/application_controller.rb:9) > What it's telling you is that class FooController session :off end is no longer necessary since sessions are not loaded unless accessed. (and that you can set session options with request.session_options['some_key']= 'some_value' (eg if you want to change the expiry date) Fred > how can i modify the session cookie options with > request.session_options > ? > > urgent help http://www.catb.org/~esr/faqs/smart-questions.html#urgent > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

