我用的是php+MySQL做了一个网站
当调试网站的的时候网站的功能是正常的,可是在首页出现了这个问题
session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at F:\phpdocs\bbs\index.php:79) in F:\phpdocs\bbs\menu.php on line 4
  基中源程序为
 if (!isset($_SESSION)) {    //第3行
  session_start();           //第4行
}                            //第5行
还有另一个问题就是,当注册的会员注销后,能达到注销的效果,但是注销后跳转出来的页面显示出这样的结果:
Warning: Cannot modify header information - headers already sent by (output started at F:\phpdocs\bbs\login.php:96) in F:\phpdocs\bbs\menu.php on line 24
源代码为:
 if ($logoutGoTo) {                                 //23行
    header("Location: $logoutGoTo");                //24行
    exit;                                           //25行,
  }请问如何修改,谢谢!