I login successfully and goto desire page. But i have another page for admin. In this page i see some error with the same code that is working another page. Error 'Warning: Cannot modify header information - headers already sent'
<?php
session_start();
if(!isset($_SESSION["user_name"]))
{
header("location:Index.php");
}
?>