Answers for "php check if session exists"

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
1

check if session variable exists php

if (isset($_SESSION['errors']))
{
    //Do stuff
}
Posted by: Guest on May-06-2020

Code answers related to "php check if session exists"

Browse Popular Code Answers by Language