登录和注销功能 [英] login and logout functionality

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

问题描述



在asp.net中开发一个应用程序时,我正在使用登录页面,因为当用户注销时,我禁用后退按钮使用户无法访问,但是当我获取安全页面的URL并将其粘贴到新的浏览器中时,它将显示该安全页面如果没有登录,请帮帮我................!\

在此先感谢

Hi,

while developing one application in asp.net, I am using login page in that when user logout i disable backbutton to not accessable to user but when i take the url of my secure page and paste it in new browser and it will showing that secure page without login help me out pls................!\

Thanks in advance

推荐答案

在安全页面中尝试过使用isAuthenticatedUser()吗?
Have u Tried Using isAuthenticatedUser() in the secure page???


您可能应该考虑看这个:

检查ASP.NET的成员资格,角色和配置文件 [
You maybe should take a look at this:

Examining ASP.NET''s Membership, Roles, and Profile[^]

Hope it helps


这篇关于登录和注销功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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