PHP » GoLang |
login |
register |
about
|
GoLang SessionHandlerInterface::write
request it (404)
GoLang replacement for PHP's SessionHandlerInterface::write
[edit | history]
PHP SessionHandlerInterface::writePHP original manual for SessionHandlerInterface::write [ show | php.net ]SessionHandlerInterface::write(PHP 5 >= 5.4.0, PHP 7) SessionHandlerInterface::write — Write session data Description
abstract public bool SessionHandlerInterface::write
( string
$session_id
, string $session_data
)Writes the session data to the session storage. Called by session_write_close(), when session_register_shutdown() fails, or during a normal shutdown. Note: SessionHandlerInterface::close() is called immediately after this function. PHP will call this method when the session is ready to be saved and closed. It encodes the session data from the $_SESSION superglobal to a serialized string and passes this along with the session ID to this method for storage. The serialization method used is specified in the session.serialize_handler setting. Note this method is normally called by PHP after the output buffers have been closed unless explicitly called by session_write_close() Parameters
Return Values
The return value (usually |
more
Recently updated
more
Most requested
more
Last requests
|