Re: [PHP] writing to the db on close

2003-02-05 Thread Ernest E Vogelsinger
es to another page (even within your own site). Having JS disabled will also inhibit transmission of the form. - Original Message - From: "Edward Peloke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 05, 2003 2:33 PM Subject: [PHP] writing t

[PHP] writing to the db on close

2003-02-05 Thread Edward Peloke
Hello, I need a way to write a record to the db when the user closes their browser. How can I do this? I looked last night at the onunload javascript event but am not sure how that can trigger the php code to enter a row in the db. I am using sessions so is there a way to write to the db when th