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:
- Click a button in a view which will pass the control to a controller.
- 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.
- 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