session start headers already sent error

please add the top of the page below these code
-----------------------------------------------
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");

ob_start();
session_cache_expire(30);
session_start();

Comments

Popular posts from this blog

php format date string short month

curl service example in php