(PHP 5 >= 5.4.0)
SessionHandler::write — The write purpose
Writes the session data to the session storage. Called by session_write_close(), when session_register_shutdown() fails, and during request shutdown.
The session id.
The (session_encode()d) session data.
The return value of the session storage (usually 0 on success, 1 on failure).