tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carroll Guertin Jr." <carr...@openave.com>
Subject please take a second, just a second at least, to consider this cookie bug
Date Fri, 30 Jun 2000 18:06:21 GMT
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.

Please let me know.


Mime
View raw message