[PHP] Session Data Not Saving

2002-03-19 Thread Jesse Warden

I am getting errors when I try to start a session.

I get a permission denied (13) for trying to open the session data.
I also get Failed to write session data (files).  Please verify that the
current setting of session.save_path is correct.

I got a few others, but they didn't look to pertinent.  I am running this on
my personal web server using win2k, IIS 5 (or so), and PHP4.

Any suggestions?

J


** Scanned for Viruses **

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Session Data Not Saving

2002-03-19 Thread Jason Wong

On Tuesday 19 March 2002 23:29, you wrote:

 Should I change session.save_path?  I have no idea of the ramifications of
 doing that, therefore I am not touching it unless someone says so.

The error message is quite explicit.

As a quick fix and to confirm whether that is the problem:

Check what session.save_path is set to and set whatever directory that is 
to be world read/writeable.

 As for permission denied, I am barely wet around the ears (or something)
 when it comes to permission setting.  I am not sure what to set to allow
 who to access what.

I'm not sure how W2K (that's what you're using?) runs the webserver. In Linux 
one would set the directory to be accessible by the user running the 
webserver.



-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk

/*
When the going gets tough, the tough get empirical.
-- Jon Carroll
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php