Don't believe everything you read ;-)

Kevin Jones
DevelopMentor
www.develop.com

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Nitin Khattar
> Sent: 18 September 2000 16:21
> To: [EMAIL PROTECTED]
> Subject: Re: How to Identify whether a session has expired
>
>
> Actually you have to excuse me for not trying this out myself. I read in
> Jason Hunter's book in the Session Tracking chapter
> which mentions that this happens. In fact it has an example which
> illustrates this.
>
> ----- Original Message -----
> From: "Kevin Jones" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, September 18, 2000 8:34 PM
> Subject: Re: How to Identify whether a session has expired
>
>
> > This SHOULDN'T happen - which browser/servlet container are you using,
> >
> > Kevin Jones
> > DevelopMentor
> > www.develop.com
> >
> > > -----Original Message-----
> > > From: A mailing list about Java Server Pages specification
> and reference
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Nitin Khattar
> > > Sent: 18 September 2000 13:55
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: How to Identify whether a session has expired
> > >
> > >
> > >  I meant when you click 'refresh' or 'reload' on the browser (and
> > > not reload
> > > the browser!) the object bound to a session are unbound and then
> > > rebound.So
> > > these methods are called whenever you click on 'refresh' or
> > > 'reload' buttons
> > > on the browser.
> > >
> > > Sorry for not being clear!
> > >
> > >
> > > ----- Original Message -----
> > > From: "Kevin Jones" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Monday, September 18, 2000 6:17 PM
> > > Subject: Re: How to Identify whether a session has expired
> > >
> > >
> > > > But the session will expire when you reload the browser!
> > > >
> > > > HttpSession uses 'non-durable' cookies, i.e. they are
> in-memory only,
> if
> > > you
> > > > shut down the browser then the cookie is unloaded, when you re-open
> the
> > > > browser and go back to the site then the cookie has to be re-created
> by
> > > the
> > > > server.
> > > >
> > > > If you want persistent sessions you need to look at the
> Cookie class,
> > > you'll
> > > > then need to roll-your-own session management at the server,
> > > >
> > > > Kevin Jones
> > > > DevelopMentor
> > > > www.develop.com
> > > >
> > > > > -----Original Message-----
> > > > > From: A mailing list about Java Server Pages specification
> > > and reference
> > > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Nitin Khattar
> > > > > Sent: 18 September 2000 12:33
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Re: How to Identify whether a session has expired
> > > > >
> > > > >
> > > > > But these methods are called even when you Reload the browser (and
> the
> > > > > session has not expired)
> > > > > ----- Original Message -----
> > > > > From: "Kevin Jones" <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Monday, September 18, 2000 4:59 PM
> > > > > Subject: Re: How to Identify whether a session has expired
> > > > >
> > > > >
> > > > > > If you mean an HttpSession -
> > > > > >
> > > > > > Create an object that implements
> HttpSessionBindingListener, call
> > > > > > session.setAttribute(myObj). The HttpSessionBindingListener
> > > > > will be called
> > > > > > (valueUnbound(...) ) when the session expires,
> > > > > >
> > > > > > Kevin Jones
> > > > > > DevelopMentor
> > > > > > www.develop.com
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: A mailing list about Java Server Pages specification
> > > > > and reference
> > > > > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Narayanaswamy,
> > > Kumaran
> > > > > > > (CTS)
> > > > > > > Sent: 18 September 2000 04:57
> > > > > > > To: [EMAIL PROTECTED]
> > > > > > > Subject: How to Identify whether a session has expired
> > > > > > >
> > > > > > >
> > > > > > > Hi
> > > > > > > Is there any method to find whether a session has
> been expired?
> > > > > > > with regards,
> > > > > > > Kumaran
> > > > > > > ________________________________________________
> > > > > > > Cognizant Technology Solutions India Ltd,
> > > > > > > 1st Floor ,T.S.140 No 2 & 9,
> > > > > > > C.P.T Road .Taramani
> > > > > > > Chennai - 600 113.
> > > > > > > Phone(0ff): 044 - 2354281/2354411 Extn: 4443
> > > > > > > EMail : [EMAIL PROTECTED]
> > > > > > > _________________________________________________
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > This e-mail and any files transmitted with it are for the sole
> > > > > > > use of the intended recipient(s) and may contain confidential
> and
> > > > > > > privileged information.
> > > > > > > If you are not the intended recipient, please contact
> the sender
> > > > > > > by reply e-mail and destroy all copies of the
> original message.
> > > > > > > Any unauthorised review, use, disclosure, dissemination,
> > > > > > > forwarding, printing or copying of this email or any action
> taken
> > > > > > > in reliance on this e-mail is strictly
> > > > > > > prohibited and may be unlawful.
> > > > > > >
> > > > > > >                 Visit us at http://www.cognizant.com
> > > > > > >
> > > > > > >
> ==================================================================
> > > > > > > =========
> > > > > > > To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff
> > > > > > > JSP-INTEREST".
> > > > > > > Some relevant FAQs on JSP/Servlets can be found at:
> > > > > > >
> > > > > > >  http://java.sun.com/products/jsp/faq.html
> > > > > > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > > > > > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > > > > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > > > > >
> > > > > >
> > > > > ==================================================================
> > > > > =========
> > > > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > > > JSP-INTEREST".
> > > > > > Some relevant FAQs on JSP/Servlets can be found at:
> > > > > >
> > > > > >  http://java.sun.com/products/jsp/faq.html
> > > > > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > > > > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > > > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > > > > >
> > > > >
> > > > > ==================================================================
> > > > > =========
> > > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > > > JSP-INTEREST".
> > > > > Some relevant FAQs on JSP/Servlets can be found at:
> > > > >
> > > > >  http://java.sun.com/products/jsp/faq.html
> > > > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > > > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > > >
> > > >
> > > ==================================================================
> > > =========
> > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > JSP-INTEREST".
> > > > Some relevant FAQs on JSP/Servlets can be found at:
> > > >
> > > >  http://java.sun.com/products/jsp/faq.html
> > > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > > >
> > >
> > > ==================================================================
> > > =========
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > JSP-INTEREST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
> ==================================================================
> =========
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to