You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Craig R. McClanahan" <Cr...@eng.sun.com> on 2000/07/01 21:06:25 UTC
Re: please take a second, just a second at least, to consider this
cookie bug
"Carroll Guertin Jr." wrote:
> Tomcat should send cookies down when servlets use redirects -- sending the
> browser to a different location.
>
> Right now this does NOT happen.
>
> More detail:
> The method HttpServletResponseFacade.sendRedirect clears the headers, which
> includes the cookies.
>
> Solution:
> ResponseImpl.reset() needs an option (flag maybe) so cookies may be kept.
>
> I hacked a fix for myself to enable quick integration into future releases
> of Tomcat, but I would spend time implementing a more elegant fix if there
> is interest in fixing this bug.
>
This bug has been fixed in the current nightly builds of Tomcat 3.2dev,
and
will be fixed in the final release.
>
> Please let me know.
>
Craig McClanahan