File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Cookie Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Cookie" Watch "Cookie" New topic


Sonal Jogi

Joined: Oct 19, 2004
Posts: 23
Am not able to update the value of a cookie once initialized by some value. On every request it initializes the cookie to the initial value.
Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
Did you remember to resend the cookie to the client on the Response? To replace on cookie on the client, you need to do this.

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
I agree. Here's the link:
subject: Cookie
jQuery in Action, 3rd edition