GoLang session_reset

request it (109)
GoLang replacement for PHP's session_reset [edit | history]



Do you know a GoLang replacement for PHP's session_reset? Write it!

PHP session_reset

PHP original manual for session_reset [ show | php.net ]

session_reset

(PHP 5 >= 5.6.0, PHP 7)

session_resetRe-initialize session array with original values

Description

bool 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.

Return Values

Returns TRUE on success or FALSE on failure.

See Also