tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12250] New: - response.encodeURL does not working correctly.
Date Tue, 03 Sep 2002 09:16:45 GMT
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=12250>.
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=12250

response.encodeURL does not working correctly.

           Summary: response.encodeURL does not working correctly.
           Product: Tomcat 4
           Version: 4.1.9
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: deniz_tatar@yahoo.com


Hi,
   I use Tomcat 4.1.9Beta with Sun JDK 1.4.0_01. I thing there is a bug about 
session handling without cookies. I create a context and set to cookies 
attribute to false. I dont want to use browser cookies. I absolutely want to 
use url rewriting like ...;jsessionid=XXXXXXXXXXXXXX
   So I write all of my servlets and jsps with response.encodeURL and 
encodeRedirectUrl methods. When I set context cookies value to false Tomcat 
dont encode urls on a browser which cookies are enabled. But on another browser 
which cookies are disabled it encode all urls correctly.
   When I set cookies to true it works correctly on both browser. Tomcat 4.0.3 
works fine when I set cookies false.(It encode all urls without check browser)
   Shortly if I set context cookies attribute false tomcat must encode all urls 
without checking browsers cookies enabled or not. And tomcat must dont send a 
cookie to browser.
   Thanks,

Sorry for my poor English Language.

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


Mime
View raw message