|
Posted by Maarten on 11/07/39 11:31
Hi there Angelos,
You could create a javascript function that sends a signal to the
server when the editing page unloads. onUnload is a standard javascript
event supported by every browser (that has javascript support switched
on).
Alternatively, if your server supports cron jobs, you could create a
program that runs in the background and checks the flag's status every
30 minutes or so. If the status hasn't changed for, say more than 30
minutes, you may assume the user has left the page and the flag should
be reset. This acts as a sort of timeout function.
Kind of a cool problem you are dealing with!
Regards, Maarten
Navigation:
[Reply to this message]
|