I would like to use something like a session_on_close function with a php
function as argument, so that this php function gets called when a session
is closed or destroyed. Such a function is very usefull for keeping certain
statistics and in the old days we used it a lot in asp. As far as i know,
this does not exist yet in php. I've searched the mailinglists and some
websites but i could not find anything about it. Is there any possibility
that such a function can be added to php? Any idea what is needed to get
this into php? I've completeley no experience with the development op php. I
only use it as a normal user: i write php scripts. Do you think this is to
difficult to implement myself?
1) This is a developer list for development purposes only.
Iif you´ve general questions regarding the use of PHP, please contact php-general@lists.php.net or subscribe at php-general-subscribe@lists.php.net.
Thanks for using PHP.
2) manual->session->session_set_save_handler
there, write handler