PHP 5: session_start() without any other statement still outputs "Cannot send session..." warning
Posted on 2007-12-04
Here is my test.php.
It displays the 2 lines of Warning "Cannot send session..." and then displays phpinfo correctly.
As you see there is nothing (not even a space), before session_start()
php.ini file has : session.save_path = "C:\dev\A_M_P\tmp"
I do see that the session file is created in this directory EVERYTIME I load the test page.
I googled, and people say I might have some character at the end of Config.php's ?>.
I verified and I don't have.
This is my first time using session for PHP. I do see that a new session file is created every time I acces the test.php. What else could be wrong unless XAMPP package is buggy?