Очистить сеанс при выходе из браузера для phpPhp

Кемеровские программисты php общаются здесь
Гость
Очистить сеанс при выходе из браузера для php

Сообщение Гость »


I am working on a PHP project where I need to clear the session on click browser close.

My project :

Index.php -> userdata.php -> reports.php ->finalreport.html

is it possible to handle session destroy?

I need to clear session, whenever user exits browser while they are in any page.

Please let me know how can we handle this.


Источник: https://stackoverflow.com/questions/912 ... it-for-php

Вернуться в «Php»