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

codeigniter Deprecated error and A PHP Error was encountered [SOLVE]

how to check ban-word user in put using php

Difference between session_register and $_SESSION[] in phpsession_register and $_SESSION[] in php