Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\register\checksession.php:1) in C:\AppServ\www\register\checksession.php on line 1
ติดอยู่บรรทัดเดียวครับพี่
Code (PHP)
<?php session_start();
$sess_userid=$_SESSION[sess_userid];
$sess_username=$_SESSION[sess_username];
if ($sess_userid <>session_id() or $sess_username=="") {
header("Location: main.php");
exit();
}
php?>