How can I handle when SESSION END (session_destroy()) in PHP raise!!!
When the user close the browser - SESSION of that user die, how can I handle on server (with my PHP server logic) this event...
** In MS ASP.NET I can handle that event in Session_End procedure.....**
I need when the user close the browser handle the end of his session on server and
update info about this user in database MySQL with such SQL-query:
UPDATE Users
set Active=0
where id=some_id
Thank's for help....from sema....