You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Warnken, Jens" <Je...@IZB-SOFT.de> on 2000/07/17 11:12:11 UTC

Cookies not set with response.sendRedirect?

Hi there,

I tried out Tomcat 3.1and code that worked fine with 3.0 does not do any
more what it should. I have a servlet that checks if the browser allows
cookies. The servlet sets a cookie and then sends a redirect to check if the
cookie is set. Does not work anymore with 3.1. Can anybody confirm this
behaviour? I can send code if wanted.

Thanks in advance,

Jens Warnken

-:-:-

Q: Good morning, Mr. Gates. Are you going to be a witness at the trial of
this matter?
Mr. Heiner (witness attorney): Objection.
The Witness: I don't know.
US vs. MS - CIV 98-1232(TPJ) - File-No 1-49005


Re: Cookies not set with response.sendRedirect?

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
"Warnken, Jens" wrote:

> Hi there,
>
> I tried out Tomcat 3.1and code that worked fine with 3.0 does not do any
> more what it should. I have a servlet that checks if the browser allows
> cookies. The servlet sets a cookie and then sends a redirect to check if the
> cookie is set. Does not work anymore with 3.1. Can anybody confirm this
> behaviour? I can send code if wanted.
>

Tomcat 3.1 has a bug in this area ... it is fixed in the Tomcat 3.2 beta
that is
currently available.

>
> Thanks in advance,
>
> Jens Warnken
>

Craig McClanahan