Yes, modify your php.ini file to tell PHP where to write the session to. It's trying to write it to /tmp, which is either not a valid file, or PHP doesn't have permissions to write a file there.
---John Holmes... > -----Original Message----- > From: Alex Francis [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 2002 10:23 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Sessions > > Newbie question > > I have installed PHP 4.1.2 on a Windows 2000 for test purposes. I have > never > used sessions before and am having difficulty with them. > > I am using > > session_start(); and get the following error. > > Warning: open(/tmp\sess_51d4849918d3ffe4d2cc70013d678f6b, O_RDWR) failed: > No > such file or directory (2) > > I have session support enabled, is there something else I need to do. > > -- > Alex Francis > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php