Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check if session is set

if (isset($_SESSION["userid"])) {
	echo "Logged in";
} else {
	echo "Not Logged in";
}
 
PREVIOUS NEXT
Tagged: #check #session #set
ADD COMMENT
Topic
Name
3+3 =