Hi Nikolaos,
    If you cannot use user-names and password, i think th best way would be
to pass a cookie with some unique charecteristic of the session. Then in
your servlet code, you can check if the cookie has been writen or not and
determine if it is in the same session. You will have to remember to delete
the cookie once the session is over.
    Or, simply check on getSession(true).isNew(). It would return a boolean
value indicating the session status.
    As for point -2, there would not be any need to invalidate the old
session if a new session is created as a new session itself would not be
created if there is any session already existing.(whew!)

    Hope this helps...
Raaj.

----- Original Message -----
From: Nikolaos Giannopoulos <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 12, 2000 8:33 PM
Subject: Is Global Session Possible?


> Hi,
>
> Is it possible to do either of the following:
>
>
> (1) Be able to uniquely identify a surfer such that ALL requests (whether
> from current browser, spawned browser(s), or other launched browser(s))
use
> the SAME session.
>
>                                   OR
>
> (2) As soon as a "new session" is created INVALIDATE ALL other sessions
for
> a given surfer for reuests whether the session(s) were created from the
> current browser, spawned browser, or other launched browser(s).
>
>
> We have the need for providing a mechanism such that the last access to A
> page, by the user from any browser or spawned window, is the ONLY VALID
> session.
>
> DOES ANYONE HAVE ANY CREATIVE IDEAS on solving this....
>
> Any help is appreciated...
>
> --Nikolaos
>
>
> P.S. We can NOT use user names and passwords even if we wanted.
>
> _______________________________________________________________________
> Nikolaos Giannopoulos
> Director, Solmar Solutions Inc.
> [EMAIL PROTECTED]
> www.solmar.ca
> (819) 684 - 0023
>
>
___________________________________________________________________________
> 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
>

___________________________________________________________________________
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