Hi,

In one of my JSP program, I'm using response to set cookie and forward to
another page. But the new cookie cannot be recognized immediately until
I refresh the page.

Here is the senario:

a logout.jsp which set cookie status=logout using response And then forward
this page to a page called main.jsp. In main.jsp, there is a button called
"login" or "logout" depending on the cookie's value.  But the problem is,
after I set the cookie to logout and forward to main.jsp, the cookie value
cannot be recognized immediately and I have to do a "refresh the page" in
order to make the cookie effective.

Do you know if there is some way to force the page reloading to make this
work?

Thanks.

Ming


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to