summaryrefslogtreecommitdiff
path: root/php.ini-recommended
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-08-10 13:50:56 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-08-10 13:50:56 +0000
commite5fe441cbd20df608a1a71e18644caf74c82f691 (patch)
tree77b540d35af849be2005ad6f9f9114e661e8f744 /php.ini-recommended
parent1ec10ac8c7dc0d8302ba7cb83f6eafdffbdd3952 (diff)
downloadphp-git-e5fe441cbd20df608a1a71e18644caf74c82f691.tar.gz
Added support for httpOnly flag for session extension and cookie setting
functions. # Original patch by Scott MacVicar
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