注销会话中的问题 [英] problem in logout session

查看:76
本文介绍了注销会话中的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨先生,

我使用了用户登录页面..它运行正常,但问题是当用户点击退出时它会进入索引页面,但当点击返回按钮时,会话仍然没有被销毁...

这里是代码

展开 | 选择 | Wrap < span class =codeDivider> | 行号

解决方案

< blockquote>你确定会话没有销毁吗?


刷新并确保它被销毁,因为你可能会从页面获得

浏览器缓存


问候


HI先生,

我刷新它,但没有变化,请告诉我如何从浏览器中销毁缓存。


删除标题(& ;位置:的index.php");

,看看你到达那个页面时是否收到任何错误


问候


Hi Sir,
I used the user login page..it works properly, but problem is when a user clicks on logout it will come to index page, but when CLICK back BUTTON, the session is still not destroyed...
here is the code

Expand|Select|Wrap|Line Numbers

解决方案

are you sure that the session is not destroyed?

refresh and make sure that it is destroyed, because you may be getting
the page from the browser cache

Regards


HI sir,
I refresh it, but no changes,Please tell me how to destroy the cache from the browser.


remove the header("Location:index.php");
and see if you are getting any errors when you get to that page

Regards


这篇关于注销会话中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆