[nycphp-talk] Sessions help
Peter Lehrer
pl at eskimo.com
Fri Sep 12 10:13:35 EDT 2003
On Thu, 11 Sep 2003, John W. Markert wrote:
You have to specify your session directory in your php.ini file which
should reside in your windows directory.
Peter Lehrer
> 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
>
More information about the talk
mailing list