SESSION_GET_COOKIE_PARAMS(3) 1 SESSION_GET_COOKIE_PARAMS(3)
session_get_cookie_params - Get the session cookie parameters
SYNOPSIS
array session_get_cookie_params (void )
DESCRIPTION
Gets the session cookie parameters.
RETURN VALUES
Returns an array with the current session cookie information, the array contains the following items:
o"lifetime" - The lifetime of the cookie in seconds.
o"path" - The path where information is stored.
o"domain" - The domain of the cookie.
o"secure" - The cookie should only be sent over secure connections.
o"httponly" - The cookie can only be accessed through the HTTP protocol.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.2.0 | |
| | |
| | The "httponly" entry was added in the returned |
| | array. |
| | |
+--------+---------------------------------------------------+
SEE ALSO
session.cookie_lifetime, session.cookie_path, session.cookie_domain, session.cookie_secure, session.cookie_httponly, ses-
sion_set_cookie_params(3).
PHP Documentation Group SESSION_GET_COOKIE_PARAMS(3)