>>> "Sundaram, Mohana" <[EMAIL PROTECTED]> 9/10/99 4:10:41 PM
>>>
>If a servlet is going to server many concurrent users,
>how do i keep track of each individual user
>and his session information within the servlet

You don't need to... the server does this.

All the servlet has to do when a request comes in is ask the request
if it has an associated session.

If it does you can get full access to the session details.

> - know when he logs off and

You don't know when a user logs off because a user may not have
"logged on" to create the session.

Sessions are not primarily a security feature, they just help
servlets maintain state between http requests.

>Thanks,
>Mohan

Hope it helps.





Nic Ferrier
Tapsell-Ferrier Limited
http://www.tapsellferrier.co.uk

"Use Ockham Luke"

___________________________________________________________________________
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