doudiza9154 2015-05-22 17:51
浏览 12

登出后为什么还能回到上一页?

After I log out, why can I still go back to the previous web page? I already put:

<?php 
    session_start();
    session_destroy();
?>
  • 写回答

1条回答 默认 最新

  • droxy80248 2015-05-22 19:43
    关注

    As everyone is saying we need more info to help. But my guess is the session is not getting destroyed cause you already sent a header before that. Turn the display_errors on in your php.ini and set error_reporting to E_ALL. You'll get more info on what's happening.

    评论

报告相同问题?