Ravi,

The primary reason for having sessions is to be able to uniquely identify a
request as having originated from the same client..  I can't see any reason
for not wanting this behavior if was supported.

HttpServletRequest.getSession(true), according to the spec is supposed to
create a session only if no valid session exists.  Which is what it's doing.

Mike

On Wednesday 15 September 1999 02:57, you wrote:
> Hi All,
> i want to have multiple sessions existing for the same client machine
> How to create a new session without invalidating the existing session.
> The cookies won't be disabled in my browser setting.
> HttpSession session = HttpServletRequest.getSession(true) returns me the id
> of the existing session in cookie.
>
> Thanks
> Ravi
>
> ___________________________________________________________________________
> 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

--

------------------------------------------
Just imagine a future without Gates!
------------------------------------------

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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