aspose 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
 
Similar Threads
Cookies not getting reset in Netscape 4.72!!! URGENT!!!
how to remember the user's name when second time login
Not getting the valid cookies from server.
confusing cookies
why cookies getMaxAge method return -1