session_destroy

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 always returns true.

Note: This function was added in PHP 4.0.