Answers for "php set and unset session variables"

PHP
6

php unset session variable

// Destroy a sesion variable name 'variable_name' 
<?php
unset($_SESSION['variable_name']);
?>
Posted by: Guest on April-25-2020
0

unset session key

unset($_SESSION['variable_name']);
Posted by: Guest on January-28-2021

Browse Popular Code Answers by Language