[nycphp-talk] Sessions help
John W. Markert
markert at optonline.net
Thu Sep 11 20:52:13 EDT 2003
When I execute the following code:
--------------
<?php
$retStat = session_start();
echo "retStat is: $retStat";
?>
--------------
I get the following error:
--------------------------------
Warning: session_start() [function.session-start]: open(/tmp\sess_216759f1842cd310eb16bf6de9c5ad60, O_RDWR) failed: No such file or directory (2) in c:\program files\apache group\apache\htdocs\test\session1.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at c:\program files\apache group\apache\htdocs\test\session1.php:2) in c:\program files\apache group\apache\htdocs\test\session1.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at c:\program files\apache group\apache\htdocs\test\session1.php:2) in c:\program files\apache group\apache\htdocs\test\session1.php on line 2
retStat is: 1
Warning: Unknown(): open(/tmp\sess_216759f1842cd310eb16bf6de9c5ad60, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
----------------------------
Do I interpret this as I am missing a /tmp directory? If so, what is that a subdirectory of?
Thanks,
John
___________________________________________
John W. Markert
14 Joanna Way
Kinnelon, NJ 07405
Phone: (973)838-8956
Cell: (201)788-1740
Fax: (973)838-4561
email: markert at optonline.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20030911/803ccc4a/attachment.html>
More information about the talk
mailing list