ChrisB: session.save_path wie muss die Pfadangabe sein

Beitrag lesen

Hi,

der Session.save_path sollte nicht zu lang werden, weil es da wohl mal Probleme mit dem GC gab.

Vor allem den N-Parameter zur Aufteilung auf Unterverzeichnisse sollte man noch mal erwähnen, bzw. von seinem EInsatz in einer "normalen" Umgebung eher abraten.

session.save_path:
"Also note that if N is used and greater than 0 then automatic garbage collection will not be performed, see a copy of php.ini for further information."

Und in der php.ini steht dann noch mal
; 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.

MfG ChrisB

--
Light travels faster than sound - that's why most people appear bright until you hear them speak.