Jonathan Dick wrote:

> When I make two requests from two different browser instances to the same
> servlet, I often times get the same response in both browsers even though
> the requests contained different information. I then put in some
> System.out.println's and found that the servlet engine I'm using, WebSphere,
> returned the same session ID for both requests. Has anyone else had this
> problem before? Any solutions?
>
> (I also had the same problem with ServletRunner)
>
> - Jonathan
>

If you are using cookies for session maintenance, you can assume this will
happen with all servlet engines.  The reason is that cookies at the client side
are "global" -- that is, they will be sent back to the host from any window you
have open.

You can work around this by using URL rewriting for session maintenance
instead.

Craig McClanahan

___________________________________________________________________________
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