Page_UnLoad Event

  • Thread starter Thread starter Waldy
  • Start date Start date
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.
 
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 |
*********************************************
 
Back
Top