Answers for "check session is active or not in php"

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 start session if not started

#you could just ignore warnings messages
@session_start();
Posted by: Guest on November-30-2020

Code answers related to "check session is active or not in php"

Browse Popular Code Answers by Language