logout feature in code igniter

醉酒当歌 提交于 2019-12-04 18:02:21

I think this is a browser cache issue. If you click back you are actually seeing the cached page, the way it was when you were logged in.

Try and hit F5 when just after going back to the before logout page. It should now show that you are logged out.

amit

Adding header to my main constructor solved my problem with IE7:

$this->output->set_header("Cache-Control: no-store, no-cache, must-revalidate, no-transform, max-age=0, post-check=0, pre-check=0");
$this->output->set_header("Pragma: no-cache"); 
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!