1500 ; After this number of seconds, stored data will be seen as 'garbage' and
1501 ; cleaned up by the garbage collection process.
1502 ; http://php.net/session.gc-maxlifetime
1503 session.gc_maxlifetime = 1440
1504
1505 ; NOTE: If you are using the subdirectory option for storing session files
1506 ; (see session.save_path above), then garbage collection does *not*
1507 ; happen automatically. You will need to do your own garbage
1508 ; collection through a shell script, cron entry, or some other method.
1509 ; For example, the following script would is the equivalent of
1510 ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1511 ; cd /path/to/sessions; find -cmin +24 | xargs rm
1512
1513 ; PHP 4.2 and less have an undocumented feature/bug that allows you to
1514 ; to initialize a session variable in the global scope, even when register_globals
1515 ; is disabled. PHP 4.3 and later will warn you, if this feature is used.
1516 ; You can disable the feature and the warning separately. At this time,
1517 ; the warning is only displayed, if bug_compat_42 is enabled. This feature
1518 ; introduces some serious security problems if not handled correctly. It's
1519 ; recommended that you do not use this feature on production servers. But you
1520 ; should enable this on development servers and enable the warning as well. If you
1521 ; do not enable the feature on development servers, you won't be warned when it's
1522 ; used and debugging errors caused by this can be difficult to track down.
1523 ; Default Value: On
1524 ; Development Value: On
1525 ; Production Value: Off
1526 ; http://php.net/session.bug-compat-42