I'm not a 100% sure but I think sessions only work with php compiled as an
apache module... could be wrong on that though. However, I do remember
reading something somewhere about that.
Anyway, have you checked that PHP was compiled with sessions tracking and
that cookies are enabled in your browser. You can do a phpinfo() to see if
PHP has been compiled with session support. I had errors as well until I
included --enable-trans-sid and --enable-track-vars.
Also, check to make sure that the sessions_save_path is valid and exists.
Check your php.ini file for the current setting.
Another way is to use phplib.
Dean
-----Original Message-----
From: Eric Pankoke [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 7:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Configuring Sessions In PHP
I apologize if this already made it to the list, but as far as I can tell
it did not. I am trying to use PHP 4.0.4pl1 with Windows 98 SE and
Personal Web Server 4.x (not sure exactly which version). So far
everything seems good, except when I try to add the line session_start() to
a PHP page I get an error. Are there some settings I need to add to
php.ini to get this to work? I am using php.exe. Any help that could be
offered would be much appreciated. Thank you.
Eric
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]