I'm setting the cookie age (to say 10 secs)
with code like this:
Cookie dateCookie = new Cookie("daily",getDate());
dateCookie.setMaxAge(10);
res.addCookie(dateCookie);
gets stored fine, but when read back with request.getCookies();
it hasn't expired it is still there.
What might I be doing wrong?
Cheers,
mike
___________________________________________________________________________
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