Link to home
Start Free TrialLog in
Avatar of covisible
covisible

asked on

Run ASP Script on Close of Windows Explorer


  I want to Run Server Side Script when use close application by close button of Explorer of ALT + F4.

  just like in VB Application we have event QueryUnload for Form.
Avatar of jhance
jhance

I don't think there is any event for this so I don't think you can do what you want here.  

Perhaps there is some "trick" to get something similar that someone else knows...
ASKER CERTIFIED SOLUTION
Avatar of lostcarpark
lostcarpark

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I agree 100% with lostcarpark's points ^

You could try using the Session_OnEnd event in global.asa - theoretically, once the browser closes, the session should end soon thereafter.
Not sure how important the timing is in what you want to accomplish...