ASP script runs when page closes
I have an app that needs to run an ASP script contained on that page when the page is closed. I have something similar to this working now by calling another ASP page using the body OnBeforeUnLoad event.
Can this be accomplished in the same ASP page?. I think I've seen examples of calling ASP scripts from events, but I can't remember where. The script has to run when the page closes -hence the OnBeforeUnLoad event.
Any ideas?
Thanks
|