Read the List Archives. This topic has been discussed to death. It is not
possible (without resorting to JavaScript or Applets) to tell when a user
has left your site. And even with those work arounds, it's hit or miss
whether you'll be notified. The web just doesn't work that way.
(*Chris*)
----- Original Message -----
From: "Troy Campano" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 9:30 AM
Subject: Re: [JSP-INTEREST] authorization and re-authorization
> can't you use a regular session?
> don't a sessions life span the time the browser is open by default?
>
> -----Original Message-----
> From: Glenn Wearen [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 10, 2001 12:28 PM
> To: [EMAIL PROTECTED]
> Subject: authorisation and re-authorisation
>
>
> There has been considerable discussion on this list about authorisation
and
> related areas but none that can help me with this problem...
>
> I'm looking for a way to detect when a user has left my site so I can
> terminate their session. Currently the user supplies user/pass on URL to
> login page and once verified the user/pass are loaded in a new session
bean,
> every other pages checks this bean for the presence of a non-blank
> user/pass. With this design how do I know if a user has left my site, so
> that I can re-request authorisation when they re-request any page from my
> site again?
>
> Thanks in advance
>
> Glenn
>
> PS: I don't have permission to modify the session timeout for my container
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> 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".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> 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
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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