开发者

Website Administration Tool

开发者 https://www.devze.com 2023-02-09 01:23 出处:网络
I am developing a usermanagement for my ASP.NET Web application. I Used Website administration Tool as custom forms in my application.Currently i am Setting folder based permiss开发者_运维知识库ions t

I am developing a usermanagement for my ASP.NET Web application. I Used Website administration Tool as custom forms in my application.Currently i am Setting folder based permiss开发者_运维知识库ions to the Roles.After that when the anonymous user click on a menuitem it will redirect it to the login page. I want to change the redirecting page to another one that showing 'The user have no rights to access this Page'. How can i redirect it?I am new in asp.net. Any body knows please help me...Thanks...


In the web.config set the loginUrl to your error page, which displays the message you want

<forms name="AuthCookie" path="/" loginUrl="noaccess.aspx">
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号