Session Funzioni
PHP Manual

session_reset

(PHP 5 >= 5.6.0)

session_resetRe-initialize session array with original values

Descrizione

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.

Valori restituiti

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

Vedere anche:


Session Funzioni
PHP Manual