PHP 8.1.31 Released!
add a note

User Contributed Notes 1 note

up
23
mmchristian at gmail dot com
8 years ago
It should be noted that this gets the session cookie ini file parameters, not the parameters from the cookie itself.

ie. if you set the cookie lifetime using session_set_cookie_params(12345) and then try to use session_get_cookie_params, you will not get back 12345. Instead, you will get the lifetime set in the ini file.
To Top