session_is_registered

(PHP 4, PHP 5 < 5.4.0) Find out whether a global variable is registered in a session bool session_is_registered ( string $name ) Finds out whether a global variable is registered in a session. Parameters: name The variable name. Returns: session_is_registered() returns TRUE if there is a global variable with the name name registered in the cur

session_id

(PHP 4, PHP 5, PHP 7) Get and/or set the current session id string session_id ([ string $id ] ) session_id() is used to get or set the session id for the current session. The constant SID can also be used to retrieve the current name and session id as a string suitable for adding to URLs. See also Session handling. Parameters: id If id is specified, it will replace the

session_get_cookie_params

(PHP 4, PHP 5, PHP 7) Get the session cookie parameters array session_get_cookie_params ( void ) Gets the session cookie parameters. Returns: Returns an array with the current session cookie information, the array contains the following items: "lifetime" - The lifetime of the cookie in seconds. "path" - The path where information is stored. "domain" - The domain of the cookie. "secu

session_encode

(PHP 4, PHP 5, PHP 7) Encodes the current session data as a session encoded string string session_encode ( void ) session_encode() returns a serialized string of the contents of the current session data stored in the $_SESSION superglobal. Please note, the serialization method is not the same as serialize(). The serialization method is internal to PHP and can be set using session.serialize_handler. Re

session_destroy

(PHP 4, PHP 5, PHP 7) Destroys all data registered to a session bool session_destroy ( void ) session_destroy() destroys all of the data associated with the current session. It does not unset any of the global variables associated with the session, or unset the session cookie. To use the session variables again, session_start() has to be called. In order to kill the session altogether, like to log the user out, the session

session_decode

(PHP 4, PHP 5, PHP 7) Decodes session data from a session encoded string bool session_decode ( string $data ) session_decode() decodes the serialized session data provided in $data, and populates the $_SESSION superglobal with the result. Please note the unserialization method is not the same as unserialize(). The serialization method is internal to PHP and can be set using session.serialize_handler. Param

session_commit

(PHP 4 >= 4.4.0, PHP 5, PHP 7) Alias of session_write_close() This function is an alias of: session_write_close().

session_cache_limiter

(PHP 4 >= 4.0.3, PHP 5, PHP 7) Get and/or set the current cache limiter string session_cache_limiter ([ string $cache_limiter ] ) session_cache_limiter() returns the name of the current cache limiter. The cache limiter defines which cache control HTTP headers are sent to the client. These headers determine the rules by which the page content may be cached by the client and intermediate proxies. Setting the cache limiter

session_cache_expire

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Return current cache expire int session_cache_expire ([ string $new_cache_expire ] ) session_cache_expire() returns the current setting of session.cache_expire. The cache expire is reset to the default value of 180 stored in session.cache_expire at request startup time. Thus, you need to call session_cache_expire() for every request (and before session_start() is called).

session_abort

(PHP 5 >= 5.6.0, PHP 7) Discard session array changes and finish session void session_abort ( void ) session_abort() finishes session without saving data. Thus the original values in session data are kept. Returns: No value is returned. See also: $_SESSION - session.auto_start -