Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / June 2007

Tip: Looking for answers? Try searching our database.

What Event Occurs When Someone Leaves Your Web Site?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ross Culver - 14 Jun 2007 20:55 GMT
I need to ensure that session variables are removed whenever someone leaves
my web site.  My understanding is that this should be happening
automatically with the session mode set to InProc.  But it's not.  Every
machine I'm testing this on does the same thing, but then again, everyone is
using Internet Explorer 7.0 with multiple tabs active.

Also, this problem just popped up, probably due to a change I've made, but I
don't have a clue what that might have been.

Thanks.

Ross
Ross Culver - 14 Jun 2007 21:15 GMT
Sorry, I think I posted this on the wrong group.

>I need to ensure that session variables are removed whenever someone leaves
>my web site.  My understanding is that this should be happening
[quoted text clipped - 8 lines]
>
> Ross
Kevin Spencer - 15 Jun 2007 11:04 GMT
There is no event when someone "leaves" a web site. HTTP is strictly
Request/Response, which means that the server has no idea when it receives a
Request from a client whether it will ever receive another one. That is why
there are Sessions. Sessions are managed by timers that are reset whenever a
fresh Request comes in from the same client. When the timer elapses, the
Session ends.

Signature

HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

>I need to ensure that session variables are removed whenever someone leaves
>my web site.  My understanding is that this should be happening
[quoted text clipped - 8 lines]
>
> Ross

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.