Re-initialize session array with original values


(PHP 5 >= 5.6.0)

session_resetRe-initialize session array with original values

Описание

bool session_reset ( void )

session_reset() reinitializes a session with original values stored in session storage. This function requires active session and discards changes in $_SESSION.

Возвращаемые значения

This function returns TRUE if a session was successfully reinitialized, otherwise FALSE.

Смотрите также