Re: php session GC error

From: Date: Tue, 13 Jan 2009 21:12:51 +0000
Subject: Re: php session GC error
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-286267@lists.php.net to get a copy of this message
Frank Stanovcak wrote:
"Shawn McKenzie" <nospam@mckenzies.net> wrote in message news:F8.EF.24097.E510D694@pb1.pair.com...
Frank Stanovcak wrote:
I'm trying to make sure that my sessions are timed out by my server. I'm running it on winxp, and my php.ini contains the following session.gc_probability = 1
session.gc_divisor     = 1
; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process. session.gc_maxlifetime = 30 I am now getting this error PHP Notice: session_start() [function.session-start]: ps_files_cleanup_dir: opendir(C:\WINDOWS\TEMP\) failed: No such file or directory (2) in C:\Inetpub\wwwroot\Envelope1\edit\EditMain.php on line 2 What do I have to do to make this work right? Frank
Does C:\WINDOWS\TEMP\ exist? -- Thanks! -Shawn http://www.spidean.com
Yes it does, well C:\Windows\Temp does, but win isn't case sensitive...does it matter to PHP?
try changing it to the correct case then come back and tell us if case matters? :)

« previous php.general (#286267) next »