Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\webboard\question_view.php:8) in C:\AppServ\www\webboard\chksession.php on line 2
ควรไปแก้ไขที่ไหนช่วยบอกหน่อยนะค่ะ
ขอบคุณค่ะ
โค้ดที่ใส่ chksession.php
โค้ด: เลือกทั้งหมด
<?
session_start();
$sess_userid=$_SESSION[sess_userid];
$sess_username=$_SESSION[sess_username];
if ($sess_userid<>session_id() or $sess_username=="") {
header("Location: index.html"); exit();
}
?>