How to run code when a web page closes?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to check that certain data fields has been saved to a SQL server when
a user leaves a web page (one way or another i.e. by clicking the X (close)
button or the Back-button or...). I don't want to save data at each field. Is
there a page_close ala page_load you can use for this?
 

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

Back
Top