Guys,
i'm afraid, there's some trap in using this event.
It may fire when:
a) Closing the current browser window
b) Navigating to another location by entering a new address or selecting a Favorite
c) Clicking the Back, Forward, Refresh, or Home button
Then how you suppose to determine that...
The only way to do it is to "parse" queries without executing it. Otherwise, you will have to run those queries making load on server and having delays caused by this execution.
I'm afraid ADO is incapable of parsing statements.
We use openx from www.openx.ca, which has Prepare() method.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.