SessionHandler::readRead session data Description
public stringfalse SessionHandler::read(string
$id )Reads the session data from the session storage, and returns the result back to PHP for internal processing. This method is called automatically by PHP when a session is started (either automatically or explicitly with session_start and is preceded by an internal call to the SessionHandler::open. This method wraps the internal PHP save handler defined in the session.save_handler ini setting that was set before this handler was set by session_set_save_handler.
If this class is extended by inheritance, calling the parent For more information on what this method is expected to do, please refer to the documentation at SessionHandlerInterface::read. Parameters
Return Values
Returns an encoded string of the read data. If nothing was read, it must return |