This is what i have at the very top of the page.
PHP Code:
<?php
session_start();
header("Cache-control: private");
?>
Putting this code at the very very top of the page has fixed my problem of getting the error:
Warning: session_start(): Cannot send session cookie - headers already sent by ~~~~~~
I have checked, and made sure there isn't a second session start or anything of that kind on the page. The only thing that deals with sessions is something like:
PHP Code:
$Blah = $_SESSION['BlahBlah'];
What can i do to get rid of this?