summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-11-09 14:27:56 +0000
committerSascha Schumann <sas@php.net>1999-11-09 14:27:56 +0000
commita4ff16dd6881707edd733beb6eb5ffd4a5984d57 (patch)
tree197537effd59eff9abf10abec0de3411ead17b5f /ext
parenteb231bb180b142f3624e7dd2912366234f9554ef (diff)
downloadphp-git-a4ff16dd6881707edd733beb6eb5ffd4a5984d57.tar.gz
- set default path for cookie to the root directory ("/")
- complete session documentation in php.ini-dist
Diffstat (limited to 'ext')
-rw-r--r--ext/session/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index 7a67783a10..edd011d310 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -70,7 +70,7 @@ PHP_INI_BEGIN()
PHP_INI_ENTRY("session.gc_maxlifetime", "1440", PHP_INI_ALL, NULL)
PHP_INI_ENTRY("session.serialize_handler", "php", PHP_INI_ALL, NULL)
PHP_INI_ENTRY("session.cookie_lifetime", "0", PHP_INI_ALL, NULL)
- PHP_INI_ENTRY("session.cookie_path", "", PHP_INI_ALL, NULL)
+ PHP_INI_ENTRY("session.cookie_path", "/", PHP_INI_ALL, NULL)
PHP_INI_ENTRY("session.cookie_domain", "", PHP_INI_ALL, NULL)
PHP_INI_ENTRY("session.use_cookies", "1", PHP_INI_ALL, NULL)
PHP_INI_ENTRY("session.extern_referer_check", "", PHP_INI_ALL, NULL)