Answers for "how to check session start or not run in php"

PHP
9

stop docker container

//Check if the container is running
docker ps -a

docker container stop {container-id}
Posted by: Guest on June-03-2020
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 "how to check session start or not run in php"

Browse Popular Code Answers by Language