On Mon, 11 Dec 2000, Gunjan Doshi wrote:

> No.
> Sessions represent a live user to the server.  Once the user is gone
> the session dies out.

This is not accurate.  Sessions don't just "die" out, as you suggest,
something must be done to "kill" them.  And that is either an explicit
call to invalidate(), or a timeout.  In newer versions of the servlet
API, one can control the timeout period, so you could keep them alive
for an extended period (perhaps even indefinitely, I don't know the
specifics -- check the API/spec).  Of course, whether this is a good
idea depends on the situation, and should be evaluated.


> ----- Original Message -----
> From: "Srikanth Rao" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, December 11, 2000 9:48 AM
> Subject: Session tracking
>
>
> > Hi All,
> >
> > I have a question regarding maintaining of sessions.
> >
> > I don't what my session to expire even if i close my
> > browser window. I mean that i what my session to exist
> > for a certain period of time like say 8 hours
> > irrespective of whether i close my browser window or
> > not?
> > I know that i can do it with cookies. But i want it in
> > sessions as i need to store some info in the session.
> >
> > Is it possible?
> >
>

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
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