×
Home About Us Products Services News Free Scripts Contact
news php scripts and software

PHP example - How to destroy the current session and any variables associated with it?


PHP - How to destroy the current session and any variables associated with it?

In order to destroy the current session and any variables associated with it, you should use the special function called session_destroy()

<?php
...
session_destroy(); 
...
?>

Category: PHP

 
<< Go back