File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes cookie values becoming null when I set my client m/c date 2 days ahead Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "cookie values becoming null when I set my client m/c date 2 days ahead" Watch "cookie values becoming null when I set my client m/c date 2 days ahead" New topic
Author

cookie values becoming null when I set my client m/c date 2 days ahead

Rajendra Rathod
Greenhorn

Joined: Mar 23, 2005
Posts: 2
Hi,

When I set client machine date by 2 days ahead, the values in the cookie becoming null. How can I prevent this?
Rajendra Rathod
Greenhorn

Joined: Mar 23, 2005
Posts: 2
Got the Answer

cookie.setMaxAge(Integer.MAX_VALUE)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cookie values becoming null when I set my client m/c date 2 days ahead