session_get_cookie_params
session_get_cookie_params
Get the session cookie parameters
array **session_get_cookie_params**
Gets the session cookie parameters.
Returns an array with the current session cookie information, the array contains the following items:
-
- The lifetime of the cookie in seconds. "lifetime"
-
- The path where information is stored. "path"
-
- The domain of the cookie. "domain"
-
- The cookie should only be sent over secure connections. "secure"
-
- The cookie can only be accessed through the HTTP protocol. "httponly"
-
- Controls the cross-domain sending of the cookie. "samesite"
session.cookie_lifetimesession.cookie_pathsession.cookie_domainsession.cookie_securesession.cookie_httponlysession.cookie_samesite
session_set_cookie_params