|
Posted by Mikel Astiz on 09/26/05 10:45
Hi,
I am looking for a simple way to detect session ends so I can update a
session table. I am new to PHP and don't understand how such event can be
handled, since there seems not to be a corresponding overridable function.
I've found 'register_shutdown_function', but apparently it detects
connection breaks while the page is being loaded (I'm not sure though).
I supose it will always be possible to control timeouted sessions by
polling, but I wouldn't like to do so. Of course, client side scripts are
not enough. I want to handle broken connections and prevent from evil users
too.
Any ideas will be welcome, and please correct me if I said something
senseless.
Thanks,
Mikel
Navigation:
[Reply to this message]
|