Menu

Undefined variable: PHPSESSID

Help
Anonymous
2003-08-08
2003-08-08
  • Anonymous

    Anonymous - 2003-08-08

    HELP!!! I have tried installing this project both with and without MYSQL but with both installation I get the SAME error. Please help me find out what am I doing wrong.

    Here is the error that I am getting:

    <h3>Notice: Undefined variable: PHPSESSID in d:\installs\apache group\apache\htdocs\phpgedview\login.php on line 39

    Warning: Cannot modify header information - headers already sent by (output started at d:\installs\apache group\apache\htdocs\phpgedview\login.php:39) in d:\installs\apache group\apache\htdocs\phpgedview\login.php on line 39
    </h3>

    Please help... Thank you!!!

    TheHawk...

     
    • John Finlay

      John Finlay - 2003-08-08

      Your PHP configuration is probably using a custom session name. 

      Try changing line 39 of login.php to be:
      header("Location: $url?".session_name()."=".session_id());

      --John

       

Log in to post a comment.