SessionHandler
PHP Manual

SessionHandler::destroy

(PHP 5 >= 5.4.0)

SessionHandler::destroyDestroy a session

Description

public bool SessionHandler::destroy ( string $session_id )

Destroys a session. Called by session_regenerate_id(), session_destroy() and when session_decode() fails.

Parameters

session_id

The session ID being destroyed.

Return Values

The return value (usually TRUE on success, FALSE on failure).


SessionHandler
PHP Manual