I don't think there's a guaranteed way in the sense that while the "page
unload" code is running, the user might click stop, and then manually enter
in a new address and just go to some other page.
However, you could probably insert code in all your postback events to
put the intended target location in a session object or something similar.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.