Answers for "how to check session is set or not in php"

PHP
1

check if session variable exists php

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

session not working php

<?php
// make sure at the beginning of every file you have this:
session_start();
Posted by: Guest on June-12-2021

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

Browse Popular Code Answers by Language