ive just checked my error log and it contains the same error message over and over again:-
[30-Mar-2009 15:25:29] PHP Notice: session_start() [<a href='function.session-start'>function.session-start</a>]: ps_files_cleanup_dir: opendir(C:\WINDOWS\TEMP\) failed: Invalid argument (22) in C:\inetpub\wwwroot\myserver.com\Class\cSession.php on line 29
This error used to occur say twice a month but now its occurring 50-100 times a day. No changes have been made to the php.ini file or the cSession.php file that is listed in the error message.
Does anyone know how to get around this?
my php.ini file settings (for sessions) are:-
Code: Select all
[Session]
session.save_handler = files
;session.save_path = "/tmp"
session.use_cookies = 1
;session.cookie_secure =
; session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
;dgb session.bug_compat_42 = 0
session.bug_compat_42 = 1
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 5
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"