Skip to content
Snippets Groups Projects
Commit ff964085 authored by Dimas's avatar Dimas
Browse files

Change session cookies flag

parent bc882532
Branches
No related merge requests found
Pipeline #59648 canceled with stages
...@@ -1368,7 +1368,7 @@ session.use_strict_mode = 0 ...@@ -1368,7 +1368,7 @@ session.use_strict_mode = 0
session.use_cookies = 1 session.use_cookies = 1
; https://php.net/session.cookie-secure ; https://php.net/session.cookie-secure
;session.cookie_secure = session.cookie_secure = 1
; This option forces PHP to fetch and use a cookie for storing and maintaining ; This option forces PHP to fetch and use a cookie for storing and maintaining
; the session id. We encourage this operation as it's very helpful in combating ; the session id. We encourage this operation as it's very helpful in combating
...@@ -1400,13 +1400,13 @@ session.cookie_domain = ...@@ -1400,13 +1400,13 @@ session.cookie_domain =
; Whether or not to add the httpOnly flag to the cookie, which makes it ; Whether or not to add the httpOnly flag to the cookie, which makes it
; inaccessible to browser scripting languages such as JavaScript. ; inaccessible to browser scripting languages such as JavaScript.
; https://php.net/session.cookie-httponly ; https://php.net/session.cookie-httponly
session.cookie_httponly = session.cookie_httponly = 1
; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF) ; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF)
; Current valid values are "Strict", "Lax" or "None". When using "None", ; Current valid values are "Strict", "Lax" or "None". When using "None",
; make sure to include the quotes, as `none` is interpreted like `false` in ini files. ; make sure to include the quotes, as `none` is interpreted like `false` in ini files.
; https://tools.ietf.org/html/draft-west-first-party-cookies-07 ; https://tools.ietf.org/html/draft-west-first-party-cookies-07
session.cookie_samesite = session.cookie_samesite = "Strict"
; Handler used to serialize data. php is the standard serializer of PHP. ; Handler used to serialize data. php is the standard serializer of PHP.
; https://php.net/session.serialize-handler ; https://php.net/session.serialize-handler
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment