Apologies for any repeats, my ISP is having SMTP problems.

Daniel Wink wrote:
>
> >  Look into using URL rewriting

> if URL rewriting is used, but the client has cookies turned on,
> won't the JSESSIONID cookie be used by the servlet container in
> preference to the over-written URL?
>

 Most servlet containers allow you to turn off cookie-based
session tracking at the server. For example, Tomcat 4 has a
<Context> (webapp) parameter called "cookies".


> Good point!  However when I call the 'getSessionId()' method on the
> request object, won't it calculate the same session id as the old
> window? ...


 Not if the request's URL doesn't contain the old
session id. Session id's have a random component,
so newly generated ones won't repeat.


--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to