Answers for "how to destroy php session from server"

PHP
3

php delete session

session_destroy(); // To delete whole session
// OR
unset($_SESSION['myVar']); // To delete a session var
Posted by: Guest on January-24-2020
0

linux delete php sessions

rm -fr  /var/lib/php/sessions/*
Posted by: Guest on August-11-2020

Browse Popular Code Answers by Language