summaryrefslogtreecommitdiff
path: root/php.ini-recommended
diff options
context:
space:
mode:
Diffstat (limited to 'php.ini-recommended')
-rw-r--r--php.ini-recommended3
1 files changed, 3 insertions, 0 deletions
diff --git a/php.ini-recommended b/php.ini-recommended
index 081743db65..4d62810888 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -970,6 +970,9 @@ session.cookie_path = /
; The domain for which the cookie is valid.
session.cookie_domain =
+; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
+session.cookie_httponly =
+
; Handler used to serialize data. php is the standard serializer of PHP.
session.serialize_handler = php