Answers for "check if session empty"

0

check if session empty

session_start();
if(!empty($_SESSION['mySession'])){
   //session is not empty
}
else{
   //empty
}
Posted by: Guest on February-14-2021

Browse Popular Code Answers by Language