Answers for "destroy seesion in ph"

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
4

php session variables

<?php
   session_start();
   $_SESSION['var'];
?>
Posted by: Guest on March-18-2020

Browse Popular Code Answers by Language