Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Urgent: page-event

Status
Not open for further replies.

gd082

Programmer
Mar 12, 2002
42
BE
Is there an event that is triggered when a page is closed?
I want to do some clean up when the user leaves the current page.

Is there anyone who can help me?

thnx in advance
 
you can monitor close event on javascript on client side... and do a post back to server and do you clean up there. however, personally i don't think this is very good practice in web-base application. this kind of clean up is more suited to thick client applications like java apps. it is best to treat all web request as a singular unit and close connections when done or just pool connections.

Dix
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top