Skip to content

Opening book details…

Can I read PHP Session Management and Expiry on EtoBox?

PHP Session Management and Expiry by Qurban Qadir Mahar is a document available to read on EtoBox.

What is PHP Session Management and Expiry about?

Session variables expire after 24 minutes of inactivity by default. To check the expiry time, use ini_get("session.gc_maxlifetime"). Unset() destroys specified session variables without disabling session registration. session_destroy() destroys all session data but not global variables or the session cookie. session_id() gets and sets the session ID, which must be called before session_start() if setting. session_save_path() gets and sets the session save path, also requiring calling before session_start()

Author
Qurban Qadir Mahar
Language
EN

More by Qurban Qadir Mahar

Browse all works by Qurban Qadir Mahar