session_save_path

From: Date: Tue, 05 Dec 2000 22:09:35 +0000
Subject: session_save_path
Groups: php.general 
Request: Send a blank email to php-general+get-28722@lists.php.net to get a copy of this message
Hi, I've a "big" trouble using the session func on a NT box with IIS ... I start my script with session_save_path() in order to store the created session file on my custom folder, but always I get a "strange" error ... I mean: <? session_save_path("D:\\cubanismo\\applicazioni\\sess_dir"); session_start(); blah blah ... ?> and my php script print out: -------------- Warning: open(D:\cubanismo\applicazioni\sess_dir\sess_67e53baaa13ca694637732de5249d07 9, O_RDWR) failed: m (13) in D:\cubanismo\prova.php on line 3 Warning: open(D:\cubanismo\applicazioni\sess_dir\sess_67e53baaa13ca694637732de5249d07 9, O_RDWR) failed: m (13) in Unknown on line 0 Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (D:\cubanismo\applicazioni\sess_dir) in Unknown on line 0 -------------- Well, I'm sure the path is correct and I've the right permission to write on that folder ... Anyone could help me? Many thanks in advance. max

« previous php.general (#28722) next »