Tuesday, August 31, 2010

[Rails] Can I use session obj without cookie support in browser?

Hi, guys:

I want to use the session object in the rails, but the browser has
disabled the cookie support. I store some string into the session obj,
but I can't retrieve the string value in another page.

In there any solution to solve the problem?

I have tried add the following code on Application_Controller to store
my session into database, but it doesn't work. I still can't get the
string value in the session obj.

I have tried add the following code on Application_Controller to store
my session into database.

ActionController::Base.session_store = :active_record_store

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate