It free all session variables.

session_unset ( )

Description:

The unset() function is used to free the specified session variable.

Example:
Code:

 
 
 // you  have to open the session to be able to modify or remove it 
 session_start(); 
 
 // or this would remove all the variable in the session 
 session_unset(); 

  
 

Explanation:

This function would remove all the variable in the session.

eXTReMe Tracker