使用membership,如何禁止自动logout?
来源:百度知道 编辑:UC知道 时间:2024/05/21 06:43:06
在试图进入未经许可的页面的时候,.net会自动logout并转到login页面.
问:
如何才能在此时不要logout而是跳到我指定的页面提示错误信息.
请回答详尽些,谢谢!
问:
如何才能在此时不要logout而是跳到我指定的页面提示错误信息.
请回答详尽些,谢谢!
我试了,不会自动Logout!只是转到Login页面而已。你可以试试,它还何以回退到刚才允许的网页!是ASP.net 2.0吧哈
你想显示提示信息,可以在web.config中:
<authentication mode="Forms">
<forms loginUrl="~/ErrorMessage.aspx"/>
</authentication>
然后在ErrorMessage.aspx上设一个到Login.aspx的链接。
或者,只是在Login.aspx上加一个Label。
使用membership,如何禁止自动logout?
membership是什么?
your membership fee is based on 120,000 members
including office bearers and membership fees, if any
那位大哥大姐Rad Essays的Membership?
急救!!!利用Membership在注册时判断用户是否重名!
如何使用
请问By checking the box you agree to be bound by our Terms of Membership是什么意思?
You are about to apply for a 1 year FREE Sinful Comics membership
翻译这句话China's WTO Membership Benefits china's Economics Growth