Page 1 of 1

How would i be able to update a mysql database field when

Posted: Wed Jul 31, 2002 9:39 am
by blubba54
How would i be able to update a mysql database field when the user
closes the browser window? And to do this without opening a new window on "unload" in body or somthing like that?

/thanks in advance

:idea: :?:

Posted: Wed Jul 31, 2002 9:54 am
by llimllib
Unfortunately, HTTP is stateless, and as such, you have to assume that sessions are open-ended. You've hit on the only solution, opening a document on unload(), but that is far from garaunteed to work. There is no reliable solution.