Page_UnLoad Event

W

Waldy

Hi there,
what event do I need to use to trap when the browser closes
or the user navigates away from a page? I thought it would be Page_UnLoad,
but this event is being called after Page_Load.
 
C

Cowboy \(Gregory A. Beamer\)

The web mechanism is stateless. State is held in a file on the user's side
called a server cookie. This means you can only add bits for navigation away
on the user's side (JavaScript is a good choice). You cannot do it from the
server side.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Blog:
http://feeds.feedburner.com/GregoryBeamer

*********************************************
| Think outside the box |
*********************************************
 

Ask a Question

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.

Ask a Question

Top