User session handling functions.

The user-level session storage handlers:

are assigned by session_set_save_handler() in bootstrap.inc and are called automatically by PHP. These functions should not be called directly. Session data should instead be accessed via the $_SESSION superglobal.

File

includes/session.inc

Functions

Namesort descending Description
backdrop_save_session Determines whether to save session data of the current request.
_backdrop_session_close Session handler assigned by session_set_save_handler().
backdrop_session_commit Commits the current session, if necessary.
_backdrop_session_delete_cookie Deletes the session cookie.
_backdrop_session_destroy Session handler assigned by session_set_save_handler().
backdrop_session_destroy_uid Ends a specific user's session(s).
_backdrop_session_garbage_collection Session handler assigned by session_set_save_handler().
backdrop_session_initialize Initializes the session handler, starting a session if needed.
_backdrop_session_open Session handler assigned by session_set_save_handler().
_backdrop_session_read Reads an entire session from the database (internal use only).
backdrop_session_regenerate Called when an anonymous user becomes authenticated or vice-versa.
_backdrop_session_regenerate_existing Regenerates an existing session.
backdrop_session_start Starts a session forcefully, preserving already set session data.
backdrop_session_started Returns whether a session has been started.
_backdrop_session_write Writes an entire session to the database (internal use only).