This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets 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 » Servlets
Bookmark "Cookie" Watch "Cookie" New topic
Author

Cookie

mini mehta
Ranch Hand

Joined: Oct 22, 2000
Posts: 120
I know that Cookie in the servlet can only be set for some finite seconds , but what do u do if the application requires the cookie to be store in the machine for infinte time?
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
Let's see... The static final Integer.MAX_VALUE is 2147483647.
That many seconds = approx 68 years... Is that good enough for you?


Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cookie
 
It's not a secret anymore!