diff options
author | Sascha Schumann <sas@php.net> | 2002-10-03 06:49:33 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2002-10-03 06:49:33 +0000 |
commit | 0ccb5d98b4b0027523fb1ce422cc93dc13f07ffd (patch) | |
tree | 86a91330e91511bce688acac1b06d184cb5793b0 /php.ini-dist | |
parent | 13f5db1b67f9434885121c3d5dd628b909726fb9 (diff) | |
download | php-git-0ccb5d98b4b0027523fb1ce422cc93dc13f07ffd.tar.gz |
Add new session options
Diffstat (limited to 'php.ini-dist')
-rw-r--r-- | php.ini-dist | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/php.ini-dist b/php.ini-dist index bc6d82ca4f..cbe1103ade 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -793,9 +793,22 @@ session.cookie_domain = ; Handler used to serialize data. php is the standard serializer of PHP. session.serialize_handler = php -; Percentual probability that the 'garbage collection' process is started +; Define the probability that the 'garbage collection' process is started ; on every session initialization. +; The probability is calculated by using gc_probability/gc_dividend, +; e.g. 1/100 means 1%. + session.gc_probability = 1 +session.gc_dividend = 100 + +; PHP 4.2 and less have an undocumented feature/bug that allows you to +; to initialize a session variable in the global scope, albeit register_globals +; is disabled. PHP 4.3 and later will warn you, if this feature is used. +; You can disable the feature and the warning seperately. At this time, +; the warning is only displayed, if bug_compat_42 is enabled. + +session.bug_compat_42 = 1 +session.bug_compat_warn = 1 ; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process. |