Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to do this bit...

Status
Not open for further replies.

tsisher

Programmer
Sep 14, 2004
36
GB
Is there any way I can capture form data if user closes the browser ?

I have got a form where a user fills the form fields but never hits the 'Submit' button and closes the browser. I still want to capture the form data AND SAVE IT INTO THE DATABASE.

This is required for some sort of history about user's information. I am wondering if there is any way to do that..

Thanks a lot.

 
If you run the whole project it opens in I.E. But you can be view indiviual page by right clicking the page and pick the option view in browser and it opens in some kind of its own browser in vs.net ONLY(not I.E). And this is where it works fine...
 
it open the new links if i click the links..

it doesn't work if i close the window..

That means some how onunload event is not being fired for opening a new window but onunload event works fine if i put some alerts..


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top