It destroys all stored data registered with the current session.

Syntax: session_destroy()

Description:

This function will reset your session and you will lose all your stored session data.

Example:
Code:

 

 session_start(); 
 
 // destroy the session   
 session_destroy();  
 
eXTReMe Tracker