This does not happen everytime I go to my page and I notice it only with my IE browswer. I have an external page checking for aMember log in. When the homepage loads, i get the following error: Line 2 reads: PHP: session_start(); Any thoughts?
I use a little function to check for the session. This has resolved all my problems Code: //Start session variable. Check if user is logged in and set $user variable function session_started(){ if(isset($_SESSION)){ return true; }else{ return false; } } //Start the output buffer so we dont create any errors with headers ob_start(); //Check to see if it has been started if(!session_started()){ session_start(); } //Flush the buffer to screen ob_end_flush(); if ($au=$_SESSION['_amember_user']){ // user is logged-in blah blah blah }