Bob Imperial wrote:
Warning: session_start(): open(/tmp\sess_ff8651f382492ae56f436690d81ff124, O_RDWR) failed: No such file or directory (2) in c:\inetpub\wwwroot\phptest\listing10.1.php on line 15
You just need to set session.save_path in you php.ini file or use session_save_path() before you call session_start(). Either way, the path needs to be set to a valid path on your machine that the web server has access to read and write from. It looks like you're using IIS, so either set up the directory so "Everyone" can read/write from it or the "IUSR_<computername>" user, which is what IIS runs as.
You are getting the error because PHP is looking for a "/tmp" folder (by default) which doesn't exist on your machine.
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php