codefighta
Programmer
Hi,
From time to time (no noticable pattern) I get this warning message on a page of my php app:
The line of code this message is refering to looks like this:
in my php.ini I have this:
C:\WINDOWS\TEMP\ is a valid directory on the server and the sessions are really stored there (but they do not seem to be cleaned up)
Garbage collection settings in php.ini are as follows (defaults)
Any ideas?
Thanks
cf
From time to time (no noticable pattern) I get this warning message on a page of my php app:
Code:
Notice: session_start(): ps_files_cleanup_dir: opendir(C:\WINDOWS\TEMP\) failed: Invalid argument (22) in c:\inetpub\[URL unfurl="true"]wwwroot\intranet\fccm\include\patUser.php[/URL] on line 465
The line of code this message is refering to looks like this:
Code:
461if( $this->useSessions )
462{
463 if( !defined( "SID" ) )
464 {
465 session_start();
466 }
.
.
.
Code:
session.save_path = "c:\windows\temp"
Garbage collection settings in php.ini are as follows (defaults)
Code:
; Define the probability that the 'garbage collection' process is started
; on every session initialization.
; The probability is calculated by using gc_probability/gc_divisor,
; e.g. 1/100 means there is a 1% chance that the GC process starts
; on each request.
session.gc_probability = 1
session.gc_divisor = 100
; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440
Thanks
cf