How to cancel execution of all logic when user leaves a page?
<p>Not sure if this is possible, but when a user leaves a page to go to another page I want all server logic on the current page to end execution.  I don't want a user to see an error that came from a page they were previously on (e.g. long running SQL query that times out).  How would I do this?</p>
