hi all,
i am new to servlets and am facing problems with sessions. what can be done
if i want that a user should not be able to log on twice from two different
browser windows at the same time?
i am trying to do this by creating a session. the problem is that only one
session is being created for all the users which are logging in. so i
cannot differentiate between users using the session id since only one
session id is there for all of them. what can be done to create a unique
session for each user. with getSession(true), it creates a session once and
all the users are using the same session. is there some way to pass a null
session id from the server in case a second user tries to log on. in that
case it will create another session for that user. similarly if it is
possible that if the same user tries to log on again, its session id is
passed by the server so that its sessions can be invalidated and a new
session is created for him, to prevent double logon?

___________________________________________________________________________
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