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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to