I am having a little trouble setting cookies from my
servlet.
I have a test web page where you can see the symptoms:
http://24.25.16.175:8080/cookie.html

When I set the cookie, I am giving it a maxAge of
172800 (2 days worth of seconds).

When I read the cookie to display it, it says that the
maxAge is -1 (which I believe means that the cookie
only lasts as long as the browser session)

I used the examples from Jason Hunter's book to set
it & to get a list of the existing cookies.  If I
need to, I can post my code here...

Any ideas what the problem could be ?

Thanks in advance,

Andy D.


Andrew Dingfelder
Computing As You Like It
108 Blanchard St., Raleigh NC 27603
[EMAIL PROTECTED]
Phone (919) 828-9824

___________________________________________________________________________
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