开发者

URL authorization. Check protect page on the login page

开发者 https://www.devze.com 2023-03-24 15:51 出处:网络
I have the secure page. ASP.NET redirect me to the lo开发者_StackOverflow社区gin page after non-authorized access to the secure page

I have the secure page. ASP.NET redirect me to the lo开发者_StackOverflow社区gin page after non-authorized access to the secure page

How do I know the secure page name on the login page?


If you are using Forms Authentication, you can use the FormsAuthentication.RedirectFromLoginPage method, this will automagically take you back to the original page requested.

0

精彩评论

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