473,322 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Module to notify application when leaving site?

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
rk**********@charter.net
Nov 17 '05 #1
2 1175
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
"Kevin Burton" <an*******@discussions.microsoft.com> wrote in message
news:05****************************@phx.gbl...
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
rk**********@charter.net

Nov 17 '05 #2
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

"Kevin Burton" <rk**********@charter.net> wrote in message
news:ud**************@TK2MSFTNGP09.phx.gbl...
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
"Kevin Burton" <an*******@discussions.microsoft.com> wrote in message
news:05****************************@phx.gbl...
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
rk**********@charter.net


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Steven Gutstein | last post by:
This is probably a fairly newbie type problem, but I'm trying to use PyOpenGL, and don't seem to have installed it correctly. I'm running Python 2.3 on a Windows NT machine. Whenever I go into...
0
by: pptran | last post by:
Hi, I am trying to rebuild our XS module using the newly installed Perl 5.8.4 with Dynamic Loading and 64-bit Integers enabled. During the XS make process, I ran into the following error...
0
by: Alex | last post by:
I am trying to write an Exit module for the Certification server in VB.NET and I cant get the module to be recognised by the Certification MMC snap in. Its function is to capture Serial Numbers of...
7
by: Alex | last post by:
Hi all, I've found a module that I think will help me combine fields properly, but I'm unsure how to add or use it with Access 2000. Below is the module I'd like to add: ...
3
by: Mark Denardo | last post by:
Does anyone have any good VB.NET example code that shows how to use the NOTIFY option using the mciSendString API and then handle the return value. The only examples I can find show the VB way...
9
by: jdlists | last post by:
I have inheirted some existing code, that i will explain in a moment, have needed to extend and ultimately should be able to run in threads. I've done a bunch of work with python but very little...
6
by: usenet1 | last post by:
I'm a newbie with hopefully an easy question. I'm trying to write some "C" code that will run a python script that can in turn call some "C" functions. However I'm having a problem getting...
5
by: Peter | last post by:
I have a webpage which creates reports, a report can take few seconds or several minutes to create. This webpage calls a web service which in turn does a remoting call to a windows service and the...
3
ram09
by: ram09 | last post by:
After deploying our site in the iis7 server, we encountered this error... ModuleName AspNetInitializationExceptionModule Notification 1 HttpStatus 500 HttpReason Internal Server Error ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.