Tim Funk wrote:
To use URL rewriting all your URLS must first wrapped in
response.encodeRedirectURL()
So does this mean that tomcat does not automatically do the encoding in
the absence of cookies?
That being said:
response.encodeRedirectURL() will rewrite the URL to add jsessionid if
there was no incoming session cookie.
AFAIK - tomcat will not go through the effort of rewriting the URL if
the session can be persisted via the cookie.
Will tomcat *automatically* go through the effort of rewriting the URL
if the session *cannot* be persisted via the cookie?(i.e. do I need to
watch for clients that don't support cookies or can I rest assured that
tomcat knows whether or not a request has a cookie and so when cookies
are not there then it encodes each request for me?)
jfc wrote:
Hi
I'm using struts1.1b2, tomcat 406 and jboss3
1. Does tomcat automatically revert to url rewriting when the browser
doesn't support cookies?
2. If not, do I have to do something to enforce url rewriting?
I want to do whatever it takes to track sessions in my application.
jfc
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
jfc
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>