session_pgsql_get_field

(PECL session_pgsql SVN) Get custom field value string session_pgsql_get_field ( void ) This function is currently not documented; only its argument list is available. See also: session_pgsql_set_field() -

session_pgsql_get_error

(PECL session_pgsql SVN) Returns number of errors and last error message array session_pgsql_get_error ([ bool $with_error_message = false ] ) Get the number of errors and optional the error messages. Parameters: with_error_message Set to TRUE the literal error message for each error is also returned. Returns: The number of errors are returned a

session_pgsql_add_error

(PECL session_pgsql SVN) Increments error counts and sets last error message bool session_pgsql_add_error ( int $error_level [, string $error_message ] ) Parameters: error_level error_message Returns: Returns TRUE on success or FALSE on failure. This function is currently not docu

SessionHandlerInterface::write

(PHP 5 >= 5.4.0, PHP 7) Write session data 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

SessionHandlerInterface::read

(PHP 5 >= 5.4.0, PHP 7) Read session data abstract public string SessionHandlerInterface::read ( string $session_id ) Reads the session data from the session storage, and returns the results. Called right after the session starts or when session_start() is called. Please note that before this method is called SessionHandlerInterface::open() is invoked. This method is called by PHP itself when the session is started. Thi

SessionHandlerInterface::open

(PHP 5 >= 5.4.0, PHP 7) Initialize session abstract public bool SessionHandlerInterface::open ( string $save_path, string $name ) Re-initialize existing session, or creates a new one. Called when a session starts or when session_start() is invoked. Parameters: save_path The path where to store/retrieve the session. name The session n

SessionHandlerInterface::gc

(PHP 5 >= 5.4.0, PHP 7) Cleanup old sessions abstract public bool SessionHandlerInterface::gc ( int $maxlifetime ) Cleans up expired sessions. Called by session_start(), based on session.gc_divisor, session.gc_probability and session.gc_lifetime settings. Parameters: maxlifetime Sessions that have not updated for the last maxlifetime seconds will be removed.

SessionHandlerInterface::destroy

(PHP 5 >= 5.4.0, PHP 7) Destroy a session abstract public bool SessionHandlerInterface::destroy ( string $session_id ) Destroys a session. Called by session_regenerate_id() (with $destroy = TRUE), session_destroy() and when session_decode() fails. Parameters: session_id The session ID being destroyed. Returns: The return value (usually TRUE on

SessionHandlerInterface::close

(PHP 5 >= 5.4.0, PHP 7) Close the session abstract public bool SessionHandlerInterface::close ( void ) Closes the current session. This function is automatically executed when closing the session, or explicitly via session_write_close(). Returns: The return value (usually TRUE on success, FALSE on failure). Note this value is returned internally to PHP for processing.

SessionHandler::write

(PHP 5 >= 5.4.0, PHP 7) Write session data public bool SessionHandler::write ( string $session_id, string $session_data ) Writes the session data to the session storage. Called by normal PHP shutdown, by session_write_close(), or when session_register_shutdown() fails. PHP will call SessionHandler::close() immediately after this method returns. This method wraps the internal PHP save handler defined in the session.save_