Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php session destroy not working

//make sure you don't forget to initialize session before destroying it
session_start() ;
session_destroy();
$_SESSION = [];//and clear it for this request
 
PREVIOUS NEXT
Tagged: #php #session #destroy #working
ADD COMMENT
Topic
Name
3+2 =