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.
 

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

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top