A while ago (when livesoftware owned jrun) I ran into a situation where I
could not get the jrun webserver to handle cookies correctly. When I ran the
same code under apache and websphere, it worked as expected. I apologize for
not having the jrun version handy.

I'm not sure that this is your problem (or if you even using JRUN for that
matter), but hopefully this might give you a lead.

--shawn

----- Original Message -----
From: Andrew Dingfelder <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 17, 2000 2:58 PM
Subject: Cookie Problem


> 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
>

___________________________________________________________________________
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