session_reset

(PHP 5 >= 5.6.0, PHP 7)

session_resetRe-initialize session array with original values

说明

void session_reset ( void )

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

返回值

没有返回值。

参见