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=11867>.
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=11867

Default Context in TC 4.0.4-B3

           Summary: Default Context in TC 4.0.4-B3
           Product: Tomcat 4
           Version: 4.0.4 Beta 3
          Platform: PC
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hello:

I am trying to turn off cookies for an application that I have deployed 
automatically. 

To do that, I uncommented the <Context> tag in the server.xml that had a path 
attribute with an empty string.  I then added cookies="false" and restarted my 
application.

Unfortunately, my simple JSP test (that shows sessions) indicated that it was 
reusing an existing session (instead of creating a new one each time).  My JSP 
was not rewriting the URL, so that's not what I expected.

If I put this test JSP page into the examples context and set cookies=false for 
that context, the application worked properly.

I wasn't sure whether the default context was properly being handled for 4.0.4-
B3 or an explicit DefaultContext tag is needed for this to work.  Your 
documentation seems to indicate both options.

Thanks,
Glenn

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to