Check If Session Variable Exists Php

[Solved] Check If Session Variable Exists Php | Php - Code Explorer | yomemimo.com
Question : check if session variable exists php

Answered by : testy-tuatara-3pce04am1ym5

if (isset($_SESSION['errors']))
{ //Do stuff
}

Source : https://stackoverflow.com/questions/10855972/determine-if-session-superglobal-exists-in-php | Last Update : Wed, 13 May 20

Answers related to check if session variable exists php

Code Explorer Popular Question For Php