session_start();
$sess_userid=$_SESSION[sess_userid];
$sess_username =$_SESSION[sess_username];
if ($sess_userid<>session_id() or $sess_username=="") {
header("Location : index.htm"); exit();
}
?>
แล้วมันขึ้นงี้ Warning: Cannot send session cookie - headers already sent by (output started at c:\appserv\www\chksession.php:11) in c:\appserv\www\chksession.php on line 13
Warning: Cannot send session cache limiter - headers already sent (output started at c:\appserv\www\chksession.php:11) in c:\appserv\www\chksession.php on line 13
Warning: Cannot add header information - headers already sent by (output started at c:\appserv\www\chksession.php:11) in c:\appserv\www\chksession.php on line 17