Module to notify application when leaving site?

  • Thread starter Thread starter Kevin Burton
  • Start date Start date
K

Kevin Burton

I have built a HTTP Module in hopes of being able to trap
when a user leaves a site (say from my application to
Google). If the user comes back I would like to force them
to log in again. So I need to note that they have left and
either close out the session variable or somehow cache the
fact that they have left. It seems that I can catch
everything from Begin to End but I am not sure what to
catch when the user leaves the site. Any ideas?

Kevin Burton
(e-mail address removed)
 
I know I am responding to my own post but I notice that if I use the
HTTP_REFERER in the server variables or Referer in the headers I may be able
to detect if this page is the result of an offsite request or simply the
application moving through the pages. Any better solution?

Kevin

--


---------------------------------------------------------------------
"Are you still wasting your time with spam?...
There is a solution!"

Protected by GIANT Company's Spam Inspector
The most powerful anti-spam software available.
http://mail.spaminspector.com
 
There is none, and using referrers is going to break sooner or later, lot of
users don't send it, either have their browser set not to or use a
firewall/proxy that strips that header.

Jerry
 
Back
Top