diff options
author | Andrey Andreev <narf@devilix.net> | 2022-01-05 17:52:24 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2022-01-05 17:52:24 +0100 |
commit | 1a2651040ef701e750b1c13cd69cc70814b079d0 (patch) | |
tree | 50d2317b96af4f26945f8a1f8a59c37629ce4586 /user_guide_src/source/libraries/sessions.rst | |
parent | f370f2c042905e521fa3a25283f7e275606a8724 (diff) |
Add SameSite cookie support to Session library
Diffstat (limited to 'user_guide_src/source/libraries/sessions.rst')
-rw-r--r-- | user_guide_src/source/libraries/sessions.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/sessions.rst b/user_guide_src/source/libraries/sessions.rst index 994dc2e08..ced4463d0 100644 --- a/user_guide_src/source/libraries/sessions.rst +++ b/user_guide_src/source/libraries/sessions.rst @@ -438,6 +438,8 @@ Preference Default Options ============================ =============== ======================================== ============================================================================================ **sess_driver** files files/database/redis/memcached/*custom* The session storage driver to use. **sess_cookie_name** ci_session [A-Za-z\_-] characters only The name used for the session cookie. +**sess_samesite** ci_session 'Lax', 'Strict' or 'None' SameSite attribute value for session cookies. + Defaults to ``session.cookie_samesite`` on PHP 7.3+ or 'Lax' if not present at all. **sess_expiration** 7200 (2 hours) Time in seconds (integer) The number of seconds you would like the session to last. If you would like a non-expiring session (until browser is closed) set the value to zero: 0 **sess_save_path** NULL None Specifies the storage location, depends on the driver being used. |