use absolute path like including the last slash in php.ini: session.save_path=c:\temp\phpsess\
regds, -----Original Message----- From: Nick Chorley [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 12, 2002 17:11 To: [EMAIL PROTECTED] Subject: Sessions How can I use session functions on Windows? The PHP Manual says this: session.save_path defines the argument which is passed to the save handler. If you choose the default files handler, this is the path where the files are created. Defaults to /tmp. If session.save_path's path depth is more than 2, garbage collection will not be performed Note: Windows users have to change this variable in order to use PHP's session functions. Make sure to specify a valid path, e.g.: c:/temp. I tried this. I removed /tmp from my php.ini file and specified another directory and then saved the file. When I try to run a script with sessions in it, I get: Warning: Failed to write session data. Please check that the current setting of session.save_path is correct (/tmp) in Unknown on line 0. phpinfo() has the local and master value of session.save_path as being /tmp. How can I get it to work? Thanx, NC -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php