>>> roy woods <[EMAIL PROTECTED]> 28-Apr-01 6:21:12 PM >>>
>How about when you are NOT using cookies to maintain
>session but instead HttpSession object and the user
>had two browser windows open at the same time.?
Think about how the user will open the new browser window.
If he opens it by clicking on a session encoded link and selecting
"new window" (most browsers have a way of doing this) then the session
from the first browser window will also be used for the second one.
But if the user simply opens a new window then there will be no way
to communicate to the server that there is an extant session on the
client. Therefore a new session will be created.
This is rather inconsistent behaviour and yet another reason why
cookies are preferred for session maintenance.
Nic
___________________________________________________________________________
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