PHP Sessions on Windows
| From: | David Mitchell | Date: | Wed, 12 May 2004 02:07:53 +0000 |
| Subject: | PHP Sessions on Windows | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185948@lists.php.net to get a copy of this message | ||
Hello,
How does one get sessions working on Windows? I have modified my php.ini
file so that session.save_path = C:\Temp, restarted and Apache. Still I get
this error message:
Warning: session_start(): open(/tmp\sess_26310affee160329c9e50f27663f8971,
O_RDWR) failed: No such file or directory (2) in
c:\apache\htdocs\dbmdata\admin\61646d696e.php on line 2
This is the code that is triggering the error. It seems very straightforward
to me:
session_start();
echo $_SESSION['user'];
Why is this so incredibly difficult?
Thanks,
Dave