Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

session_abort(3) [php man page]

SESSION_ABORT(3)							 1							  SESSION_ABORT(3)

session_abort - Discard session array changes and finish session

SYNOPSIS
void session_abort (void ) DESCRIPTION
session_abort(3) finishes session without saving data. Thus the original values in session data are kept. RETURN VALUES
No value is returned. SEE ALSO
$_SESSION, The session.auto_start configuration directive , session_start(3), session_reset(3), session_commit(3). PHP Documentation Group SESSION_ABORT(3)

Check Out this Related Man Page

SESSIONHANDLERINTERFACE.READ(3) 					 1					   SESSIONHANDLERINTERFACE.READ(3)

SessionHandlerInterface::read - Read session data

SYNOPSIS
abstractpublic string SessionHandlerInterface::read (string $session_id) DESCRIPTION
Reads the session data from the session storage, and returns the results. Called right after the session starts or when session_start(3) is called. Please note that before this method is called SessionHandlerInterface.open(3) is invoked. This method is called by PHP itself when the session is started. This method should retrieve the session data from storage by the session ID provided. The string returned by this method must be in the same serialized format as when originally passed to the SessionHandlerInter- face.write(3) If the record was not found, return an empty string. The data returned by this method will be decoded internally by PHP using the unserialization method specified in session.serialize_han- dler. The resultig data will be used to populate the $_SESSION superglobal. Note that the serialization scheme is not the same as unserialize(3) and can be accessed by session_decode(3). PARAMETERS
o $session_id - The session id. RETURN VALUES
Returns an encoded string of the read data. If nothing was read, it must return an empty string. Note this value is returned internally to PHP for processing. SEE ALSO
The session.serialize_handler configuration directive. . PHP Documentation Group SESSIONHANDLERINTERFACE.READ(3)
Man Page