cash 纯属cash你干脆 session_destroy()

解决方案 »

  1.   

    是不是你返回的那个页面有设置了session?
      

  2.   

    session_unset();
    session_destroy();header("location: login.php");
    exit();
      

  3.   

    <?php
    session_start();
    session_destroy();
    header("location: login.php");
    ?>好了,谢谢!!
      

  4.   

    <?phpa
    session_start();session_unset();
    session_destrou();header("Location:login.php");?>