注销,返回历史记录,关闭浏览器

问题描述:

如果用户注销了

绝对不允许他回去

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

如何注销或关闭会话

他登录时

绝对不允许他回去


请帮助

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