PHP - Session destroy after closing browser

前端 未结 9 1445
陌清茗
陌清茗 2020-11-27 07:43

Though this question has multiple duplicates i could not find proper solution for me. Need Some help.

I have used ini_set(\'session.cookie_lifetime\', 0);

9条回答
  •  旧巷少年郎
    2020-11-27 08:18

    If you are confused what to do, just refer to the manual of session_destroy() function:

    http://php.net/manual/en/function.session-destroy.php

    There you can find some more features of session_destroy().

提交回复
热议问题