Answers for "php check if session is working"

PHP
4

check debian version

$ lsb_release -a
Posted by: Guest on May-06-2021
0

php start session if not started

if (session_status() == PHP_SESSION_NONE) {
    session_start();
}
Posted by: Guest on November-30-2020
0

php check session status

session_status();

// Possible results:
//  - PHP_SESSION_DISABLED = 0
//  - PHP_SESSION_NONE     = 1
//  - PHP_SESSION_ACTIVE   = 2
Posted by: Guest on July-07-2020

Code answers related to "php check if session is working"

Browse Popular Code Answers by Language