Hi,
I wanted to know how the Session Tracking works in Servlets.
My question is:
1. Does session exists as long as browser is open and goes away when
browser is closed. i.e. If I get a Session using
HttpSession session = req.getSession(true);
and String ID = session.getId();
The Session with ID will exist as long as browser is open and I can keep
any info in Session Object for use in other servlets which get invoked
from HTML later.
2. What does SessionTimeOut parameter do?
Does it invlidates the session when browser is closed or user doesn't send any
request after specified time?
I just want to make sure whether a Session is invalidated after SessionTimeOut
period even if
your browser is open and you doing something or not.
Any help will be appreciated.
Thanks
Ashok
___________________________________________________________________________
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