Цитата | ||
---|---|---|
KraxSiR пишет:
|
У меня php.ini лежит тут:
C:\Program Files (x86)\Bitrix Environment\apache2\zendserver\etc
Ищем в php.ini этот параметр:
session.gc_maxlifetime = 1440 (тут ставим то что нам требуется в секундах)
; NOTE: If you are using the subdirectory option for storing session files
; (see session.save_path above), then garbage collection does *not*
; happen automatically. You will need to do your own garbage
; collection through a shell script, cron entry, or some other method.
; For example, the following script would is the equivalent of
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
; cd /path/to/sessions; find -cmin +24 | xargs rm