You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/03/06 21:42:17 UTC

DO NOT REPLY [Bug 17740] - HttpResponseBase.encodeURL(String url) automatically creates session

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17740>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17740

HttpResponseBase.encodeURL(String url) automatically creates session





------- Additional Comments From jasonheath9@yahoo.com  2003-03-06 20:42 -------
I just realized that "HttpServletRequest.getRequestedSessionId()" will return null after a 
session is first created.  This is a problem for the solution I presented.  One way to avoid this 
problem would be to add the follwoing code after line 1187 of HttpRequestBase.java (in the method 
doGetSession):

"requestedSessionId = session.getId();"

I'm not sure if this will 
cause other things to break though.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org