我如何...将登录设置为第一次

编程入门 行业动态 更新时间:2024-10-25 02:23:45
本文介绍了我如何...将登录设置为第一次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

美好的一天同事们。 我需要帮助才能让我的登录表单首先在项目的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[^].

更多推荐

我如何...将登录设置为第一次

本文发布于:2023-10-23 22:37:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1522204.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:设置为

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!