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