PHP Sessions
| From: | Ben | Date: | Mon, 20 May 2002 03:39:47 +0000 |
| Subject: | PHP Sessions | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13866@lists.php.net to get a copy of this message | ||
Hey,
I am trying to work out PHP sessions, but are having some trouble at the
first step.
This code, which should be simplistic:
<?php
session_start();
print "your session id is: ".session_id();
?>
Results in this output:
Warning: open(/tmp\sess_52be4d339fbffacf1efc495cf16ed383, O_RDWR) failed: m
(2) in c:/documents/web/page1.php on line 2
your session id is: 52be4d339fbffacf1efc495cf16ed383
I am running windows. Is there some kind of configuration change I have to
make to enable sessions or something?
Thanks.