session_destroy

(PHP 4 >= 4.0.0)

session_destroy -- Destroys all data registered to a session

Description

bool session_destroy (void)

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.