Hi All

I am using the setMaxAge(int expiry) of Cookie class to set the age of the cookie. The 
method says ---

A negative value means that the cookie is not stored persistently and will be deleted 
when the Web browser exits. A zero value causes the cookie to be deleted.

Now the only thing left is the positive number and the maximum limit of integer makes 
the cookie persistent for only 25 days, because the parameter to this method is in 
millisecond.

Does anybody knows how to make the cookie persistent till somebody deletes it.

Thanks & Regards
Bhushan Bhangale
http://www.bbhangale.com

Chequemail.com - a free web based e-mail service that also pays!!!
http://www.chequemail.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to