Expires now + 1?
-mark
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's
Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On
Behalf Of
Bhushan Bhangale
Sent: Wednesday, January 03, 2001 8:48 AM
To: [EMAIL PROTECTED]
Subject: Maximum Age of A Cookie
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
___________________________________________________________________________
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