Hi,
I am trying to remember certain information like username using cookies
so that when the same page is accessed again, some default settings can
be maitained.I am facing a problem when reading the cookie value.
The steps that I follow are:
1. Click a button in a view which will pass the control to a controller.
2. In the controller, the username which as passed as a parameter is
saved in a cookie and again there is redirection to the same view which
was displayed first.
3. Now in the view, I try to access the cookie value but it is null.
Is it not possible to access the cookie value when I redirect to that
page?
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---