Answers for "check opened session 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

Browse Popular Code Answers by Language