When a user closes a window, or the browser window is forced to close, I would like to have an event that would *somehow* execute a query to update a specific record. I would do a window.open that opens to the page that has the query code in it, but I don't want to take the chance that the user has a pop-up blocker.
The record that I'm updating has a lockid field. When its set to null the record is not locked, and can be edited by a user. So during onClose, I would like to unlock the record. Is this something I can do with javascript? I am using ColdFusion, if I should try something with CF.
Thanks.
The record that I'm updating has a lockid field. When its set to null the record is not locked, and can be edited by a user. So during onClose, I would like to unlock the record. Is this something I can do with javascript? I am using ColdFusion, if I should try something with CF.
Thanks.