Ok, thanks guys for your help, I sort of figured that's the problem, but I
didn't want to touch the ini settings without being sure, and getting some
advice from people that know. Thanks again, great help.

I made the changes, now how do I restart php? So the changes are used?

- Vic

-----Original Message-----
From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 10:23 AM
To: Victor Stan; [EMAIL PROTECTED]
Subject: Re: [PHP] PHP on IIS session problems

> I get these errors from a simple "session_start();" script.
>
> Warning: session_start() [function.session-start]:
> open(/tmp\sess_f4aa3ef3c537bb6327d5e7b991e91be7, O_RDWR) failed: No such
> file or directory (2) in c:\inetpub\wwwroot\picoblog\admin.php on line 2

Do you have a /tmp folder on your computer? Probably not, so that's why PHP
is throwing a warning, because it can't write to a directory that doesn't
exist.

> Warning: session_start() [function.session-start]: Cannot send session
> cookie - headers already sent by (output started at
> c:\inetpub\wwwroot\picoblog\admin.php:2) in
> c:\inetpub\wwwroot\picoblog\admin.php on line 2
>
> Warning: session_start() [function.session-start]: Cannot send session
cache
> limiter - headers already sent (output started at
> c:\inetpub\wwwroot\picoblog\admin.php:2) in
> c:\inetpub\wwwroot\picoblog\admin.php on line 2

These are just by-products of the first error.

Set your session.save_path setting in php.ini to a folder that IIS can write
to.

---John Holmes...


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

Reply via email to