Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

I need to call Application_End()

I need to clean up at the end of a session by deleting a record. What else must I do since I presume I am overriding the default behavior?

Thanks,
newbieweb
ASKER CERTIFIED SOLUTION
Avatar of John Claes
John Claes
Flag of Belgium image

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
Avatar of curiouswebster

ASKER

Does Application_End() not get called when running inside Visual Studio? It's called "Once per lifetime", and not when I end the application.

Any idea why not?
neither Application_End() not Dispose() is getting called.

"nor"
Also, when I start in Visual Studio, Application_Start() is also not getting called. I see I need to read that link, but I do need to catch every time the session ends. What's a better function to that Application_End()?
Thanks, here's my link to the EE question I placed where I am looking for a different function that's called when the browser closes:

https://www.experts-exchange.com/questions/26864364/Need-to-catch-Browser-Close.html