You didn't understand my question it seems. What I was asking for was what
check do you put in all your pages or all your entry points to know trap the
timeout. ie. to bring to the users attention that they timed out.

I think session = req.getSession(false) is what I was looking for especially
if
I know the person has already logged in previously.

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Milt
> Epstein
> Sent: Friday, July 14, 2000 3:41 AM
> To: [EMAIL PROTECTED]
> Subject: Re: what happens to session object
>
>
> On Thu, 13 Jul 2000, [iso-8859-9] Kerem �KTEM wrote:
>
> > this is probably the most bas�c question but please don't be angry
> > with me.  What will happen to the session object when the browser is
> > cloased without doing a succesful log off or the internet question
> > crasshes sometime before successfukl log off.
> > At that time do i have to but a session invalidarte thing in destroy
> > part.
> > thanx
> > Kerem
>
> Most likely nothing will happen to the session object -- it is on the
> server side and won't be able to detect things like that happening on
> the client side.  You can't rely on there being some event that you
> can hang a session invalidate off of.  That's why you should set up an
> appropriate timeout on the session, which will invlaidate the session
> after a certain amount of inactivity.
>
> 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
>

___________________________________________________________________________
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