Re: Session Problems
| From: | Neil Freeman | Date: | Tue, 06 Aug 2002 13:42:51 +0000 |
| Subject: | Re: Session Problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111370@lists.php.net to get a copy of this message | ||
You will need to change session.save_path within your php.ini file to point to a real directory, /tmp does not exist on windows.
Neil
David Russell wrote:
************************************************************************** This Message Was Virus Checked With : SAVI 3.59 May 2002 Last Updated 8th July 2002 ************************************************************************** Hi all I have developed a session enables site under Linux/Apache. I have now moved my development environment to Windows XP Pro/Apache I have changed a few (minor) paths from absolute to relative paths, and now my sessions do not work... Error message: *Warning*: open(/tmp\sess_80d92f298761864b71d80a0f9a8302e1, O_RDWR) failed: No such file or directory (2) in *c:\webpages\intranet\phpinc\stdinc.php* on line *20* *Warning*: Cannot add header information - headers already sent by (output started at c:\webpages\intranet\phpinc\stdinc.php:20) in *c:\webpages\intranet\phpinc\stdinc.php* on line *27* Line 20 is merely a session_start(), while line 27 is a header("Location:nextpage"); I can only assume that it a directory permissions thing - where do I find the directory. (/tmp\sess_dfhaskdjf;ljkds Thanks David R-- ---------------------- www.curvedvision.com ----------------------