本文介绍了我如何...将登录设置为第一次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
美好的一天同事们。 我需要帮助才能让我的登录表单首先在项目的debuging阶段开始。一个人需要始终首先登录。如何在asp表单上设置它? 我尝试过: < authentication mode =Forms> < forms loginUrl =〜/ Account / Login.aspx/>
Good day colleagues. I need help on how can make my login form start first on the debuging stage on my project. a person need to login first at all time. how to set that on asp forms? What I have tried: <authentication mode="Forms"> <forms loginUrl="~/Account/Login.aspx" />
推荐答案您需要做的就是使用FormsAuthenticaiton。这很容易做到,请参阅此文章以获取更多信息, ASP.NET Forms身份验证概述 [ ^ ]。 All you need to do is use FormsAuthenticaiton. It's pretty easy to do, see this article for more information, ASP.NET Forms Authentication Overview[^].
更多推荐
我如何...将登录设置为第一次
发布评论