diff --git a/reference/session/functions/session-get-cookie-params.xml b/reference/session/functions/session-get-cookie-params.xml index f64ddd7edc..d70f0a9481 100644 --- a/reference/session/functions/session-get-cookie-params.xml +++ b/reference/session/functions/session-get-cookie-params.xml @@ -1,5 +1,5 @@ - + @@ -21,7 +21,7 @@ - "lifetime" - The lifetime of the cookie. + "lifetime" - The lifetime of the cookie in seconds. diff --git a/reference/session/functions/session-set-cookie-params.xml b/reference/session/functions/session-set-cookie-params.xml index b5e0976bde..d5062b647a 100644 --- a/reference/session/functions/session-set-cookie-params.xml +++ b/reference/session/functions/session-set-cookie-params.xml @@ -1,5 +1,5 @@ - + @@ -18,8 +18,10 @@ boolsecure - Set cookie parameters defined in the &php.ini; file. The effect of this - function only lasts for the duration of the script. + Set cookie parameters defined in the &php.ini; file. The effect of this + function only lasts for the duration of the script. Thus, you need to + call session_set_cookie_params for every request and + before session_start is called.