注销,返回历史记录,关闭浏览器 [英] logout,back in history,closure of browser

查看:81
本文介绍了注销,返回历史记录,关闭浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果用户注销了

绝对不允许他回去

如果假设他关闭浏览窗口的话

如何注销或关闭会话

他登录时

绝对不允许他回去


请帮助

if suppose the user logs out

he must not be permitted to go back

if suppose he closes the brower window

how to logout or close the session

while he is logged in

he must not be permitted to go back


please help

推荐答案

1)在会话上设置超时
2)用户注销后,使用Session.Abandon().
1) Set a timeout on the session
2) Use Session.Abandon() once the user logs out.


您将看到:-
http://www.codeproject.com/Questions/173363/Asp-net-Page-登录验证
http://www.codeproject.com/Questions/173986/Forms-Authentication-with-role
You see this :-
http://www.codeproject.com/Questions/173363/Asp-net-Page-Login-Validation
http://www.codeproject.com/Questions/173986/Forms-Authentication-with-role


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

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