Answers for "how to unset all session variables in php"

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
3

unset session in php

session_unset();    //Destrol all session variables
Posted by: Guest on December-04-2020

Code answers related to "how to unset all session variables in php"

Browse Popular Code Answers by Language