Please Help, Detect [X] close button.

S

Steve Cosh

Hi,

Im writting an asp app that tracks the users scores and info (its a
training app) to a access database, ive disabled the ie toolbars and
everthing so the user must use my nav buttons so i can track what pages
they have been to.

My problem is if the user closes IE with the close button [X], is there a
way i can redirect them to my close database and save results page, i cant
use the unload event as this is trggered every time the use goes to the
next page.

Thanks for any help.
 
J

John Blessing

Steve Cosh said:
Hi,

Im writting an asp app that tracks the users scores and info (its a
training app) to a access database, ive disabled the ie toolbars and
everthing so the user must use my nav buttons so i can track what pages
they have been to.

My problem is if the user closes IE with the close button [X], is there a
way i can redirect them to my close database and save results page, i cant
use the unload event as this is trggered every time the use goes to the
next page.

Thanks for any help.

Short answer in asp: No.

Design it differently.

--
John Blessing

http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.room-booking-software.com - Schedule rooms & equipment bookings
for your meeting/class over the web.
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook
http://www.outlook-find-replace.com - Find & Replace in Emails, Contacts,
Appointments, Tasks and Notes
http://www.schedule-email.com - Schedule multiple individual
emails/newsletters
 
H

Hal Rosser

Steve Cosh said:
Hi,

Im writting an asp app that tracks the users scores and info (its a
training app) to a access database, ive disabled the ie toolbars and
everthing so the user must use my nav buttons so i can track what pages
they have been to.

My problem is if the user closes IE with the close button [X], is there a
way i can redirect them to my close database and save results page, i cant
use the unload event as this is trggered every time the use goes to the
next page.

Doesn't each page stand alone? And each page may get info from previous page
with forms or links.
When the user sees your page, shouldn't the database connection already be
closed?
Isn't the database connection opened and closed with each page request in
response to form data?
Can't the user use [alt]+left-arrow and [alt]+rightArrow to go back and
forth even without the toolbars?
You can use cookies, too. You can make one page depend on previous page
visits to enable access.
 

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

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top