Answers for "Which of the following is used to destroy the session?"

PHP
3

clear session php

<?php
   unset($_SESSION['counter']);
?>
Posted by: Guest on June-30-2020
1

php session destroy

<?php
// Destroy the currently active session.
session_destroy();
?>
Posted by: Guest on April-14-2020

Code answers related to "Which of the following is used to destroy the session?"

Browse Popular Code Answers by Language