session_destroy

(PHP 4 >= 4.0b1)

session_destroy -- Destroys all data registered to a session

Description

bool session_destroy ()

session_destroy() destroys all of the data associated with the current session.

This function returns TRUE on success and FALSE on failure to destroy the session data.