用户注销时清除会话和浏览器的历史记录 [英] Clear session and browser's history when user logout

查看:344
本文介绍了用户注销时清除会话和浏览器的历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友
我正在开发一个应用程序.在此应用程序中,我要在用户注销时清除所有缓存,浏览器历史记录和会话.请告诉我该怎么做.

Hello friends
I am developing an application. In this application I want to clear all cache, browser history, session when user logged out. Please tell me how to do that.

推荐答案

要清除会话,您需要做的只是注销事件中的Session.Clear().有关其他内容,请查看以下内容:注销后浏览器后退按钮问题 [^ ]
For clearing Session, all you need to do is Session.Clear() in the logout event. For other stuff, look at this: Browser back button issue after logout[^]


这篇关于用户注销时清除会话和浏览器的历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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