diff options
| author | Sascha Schumann <sas@php.net> | 1999-07-18 01:00:42 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-07-18 01:00:42 +0000 |
| commit | e5cfc70f7d0d9dd803d513277be953c5bc8ff4f0 (patch) | |
| tree | 797509c7300167b8551f17881e77203d1ab8152e /php.ini-dist | |
| parent | 715dc6b23a0c5c29a2e51ff08f57cc0380e607a8 (diff) | |
| download | php-git-e5cfc70f7d0d9dd803d513277be953c5bc8ff4f0.tar.gz | |
add session config to php.ini and adapt the naming scheme for it
Diffstat (limited to 'php.ini-dist')
| -rw-r--r-- | php.ini-dist | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/php.ini-dist b/php.ini-dist index 4f0933dc5e..7bdbf602d1 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -241,3 +241,22 @@ ifx.blobinfile = 0 ; if set on, the contents of text&byte blobs are dumped to ; keeping them in memory ifx.nullformat = 0 ; NULL's are returned as empty strings, unless this is set to 1. In that case, ; NULL's are returned as string 'NULL'. + +[Session] +session.save_handler = files ; handler used to store/retrieve data +session.save_path = /tmp ; argument passed to save_handler + ; in the case of files, this is the + ; path where data files are stored +session.name = PHPSESSID ; name of the session + ; is used as cookie name +session.auto_start = 0 ; initialize session on request startup +session.lifetime = 0 ; lifetime in seconds of cookie + ; or if 0, until browser is restarted +session.serialize_handler = php ; handler used to serialize data + ; php is the standard serializer of PHP +session.gc_probability = 1 ; procentual probability that the + ; 'garbage collection' process is started + ; on every session initialization +session.gc_maxlifetime = 1440 ; after this number of seconds, stored + ; data will be seen as 'garbage' and + ; cleaned up by the gc process |
