YOU HAVE THE WRONG EMAIL ADDRESS

>From: "Christopher K. St. John" <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Session handling in servlets when browsers have same sessionid
>Date: Tue, 26 Mar 2002 09:24:57 -0800
>
> 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
> (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
>


MSN Photos is the easiest way to share and print your photos: Click Here
___________________________________________________________________________ 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