session_start() creates new session on page reload
Posted on 2008-06-20
I have a lot of experience with php but this one is new on me. It seems that a new session is created everytime the session_start() function is accessed, even though we are still in the same session. I am using PHP 5.2.6 on Windows Vista Business 32-bit. To further complicate the issue, when I use $_SESSION variables in my script as well as $_COOKIE variables, it prevents me from setting more than one $_COOKIE and only shows the last one set. Any ideas? Thanks.