手机版
热门标签
站点地图
我要投稿
广告合作
联系我们
搜 索
广告位招租
广告位招租
切换导航
首页
编程教程
编程导航
编程百科
编程问答
编程博文
编程实例
硬件设备
网络运营
软件教程
移动数码
办公软件
操作系统
网络运维
设计教程
技术频道
▸ 编程语言
▸ 前端开发
▸ 移动开发
▸ 开发工具
▸ 程序设计
▸ 行业应用
▸ CMS系统
▸ 服务器
▸ 数据库
公众号推荐
微信公众号搜
"智元新知"
关注
微信扫一扫可直接关注哦!
forms-authentication
forms-authentication专题提供forms-authentication的最新资讯内容,帮你更好的了解forms-authentication。
连接 .defaultURL 和 .loginURL 的表单认证
后面有 vb.net 的 ASP.NET。 当我浏览到我的 Web 应用程序的默认 URL (http://MYMACHINE/MyWebApp) 时,我希望看
作者:佚名 时间:2022-04-28
如何将 FormsAuthentication 添加到 Blazor 应用程序
我有一个 Blazor 服务器应用程序 (.Net 5),我在其中使用了“个人帐户”身份验证类型。 用户登录后
作者:佚名 时间:2022-04-24
登录功能在我的 mvc 5 应用程序中工作,但经过一些操作后它会自动注销
登录功能在我的 mvc 5 应用程序中工作,但在某些操作后它会自动注销 并重定向到登录页面。 我已使用
作者:佚名 时间:2022-04-24
ASP .NET Core FormsAuthentication Cookie
我有几个 ASP.NET MVC 5 应用程序。所有应用程序都部署在公共域的子域上。单个应用程序负责用户登录,
作者:佚名 时间:2022-04-19
将用户信息存储在 Web 服务器根目录下的单个文件中 JavaScript/HTML/CSS
我正在尝试为一个应该存储在 Intranet 上的网站建立一个身份验证系统。这家伙告诉我,他希望将用户(
作者:佚名 时间:2022-09-09
表单 cookie 与 C# 表单身份验证中的会话 cookie
我正在用 C# 开发一个 .NET MVC Web 应用程序,它实现了表单身份验证。 我的 <code>web.config</code> 文件
作者:佚名 时间:2022-07-02
c# – OWIN Cookies与FormsAuthentication
使用基于OWIN cookie的身份验证而不是基于表单身份验证基于cookie的身份验证来开发MVC Web应用程序有什么主要优势吗? 我问的原因是我不会使用任何基于实体框架的钩子进行OWIN身份验证.我已经基于Forms身份验证构建了多年的应用程序,并且能够为管理员(更快的超时),匿名用户和注册用户创建不同的身份验证令牌.使用票证的UserData部分,我能够实现通用注销,存储自定义属性等. O
作者:佚名 时间:2019-11-19
表单验证 – 如何使用FormsAuthentication授予对URL的匿名访问权限?
在大多数情况下,我的webapp需要身份验证才能做任何事情。有几页,即首页,我希望人们能够访问而不进行身份验证。 具体来说,我想允许匿名访问这些网址: /home /default.aspx 我使用asp.net MVC和FormsAuthentication。两个url都指向相同的视图: /home/index.aspx 这是我目前在web.config中的配置。 <authenticatio
作者:佚名 时间:2019-10-27
表单验证 – 升级到ASP.NET 4.5/MVC 4表单验证失败
我刚刚下载了一个VS 2012以及ASP.NET 4.5和MVC 4.0,并使用示例应用程序踢轮胎,发现与ASP.NET 4.0 / MVC 3完美配合的表单验证不再适用于最新版本。 当我在动作控制器中调用Login函数时,WebSecurity.Login调用失败: public ActionResult Login(LoginModel model, string returnUrl) {
作者:佚名 时间:2019-11-29
通过cookie共享ASP.NET webforms和MVC身份验证
好像我的问题的部分答案分布在多个帖子上,但是把它放在一起对我来说到目前为止还没有用,所以我希望当这篇文章得到解答时它会形成更完整的指南 问题 我有一个ASP.NET webforms应用程序(W1),我想在一段时间内开始升级到单独的MVC应用程序(M1).包含W1的解决方案已升级到4.5,并且已在解决方案中创建了M1. W1使用ASP.Net成员资格框架. 测试用例 在M1中,我将Authoriz
作者:佚名 时间:2020-01-04
创建持久认证cookie的问题:ASP.NET MVC
好的,这是我的代码创建一个认证cookie: // get user's role List<UserType> roles = rc.rolesRepository.GetUserRoles(rc.userLoginRepository.GetUserID(userName)); List<string> rolesList = (from r in roles
作者:佚名 时间:2020-01-31
.net表单验证 – 手动设置HttpContext.Current.User在自定义AuthorizeAttribute中不起作用
我已经打了几个小时,我被困了.我正在向MVC 5控制器发出一个ajax发布请求,试图自动登录一个特定的预定义的“超级”用户.在控制器方法中,我试图通过编程方式设置HttpContext.Current.User并进行身份验证,所以超级用户可以跳过手动登录的过程.这个共识似乎在这里,我实现了: setting HttpContext.Current.User 这似乎有效,直到我尝试使用自定义Auth
作者:佚名 时间:2020-03-05
通过web.config进行身份验证不能在ASP.net 3.5中进行身份验证
这是一件非常简单的事情,我根本无法解决为什么它不工作. 我试图为ASP.net 3.5应用程序设置一些非常快速的身份验证,但将用户名和密码存储在web.config文件中(我知道这不是很安全,但它是一个内部应用程序,我不断被要求添加和删除登录,因此这是最快的方法). 所以,相关的配置部分看起来像这样: <authentication mode="Forms"> <forms loginUrl
作者:佚名 时间:2020-03-05
表单验证 – MVC4 ExtendedMembershipProvider和实体框架
我想能够使用与应用程序相同的数据库作为表单身份验证的asp成员资格.我目前正在使用MVC4.当我启动并将system.web.providers添加到我的项目中时,我有一个单独的默认连接.我修改了字符串以指向与我的应用程序(entityframework)中使用的数据库相同的数据库. 我是否希望提供商自动创建此数据库中的表,即 > webpages_Membership > UserProfile
作者:佚名 时间:2019-04-28
jQuery – ASP.NET MVC强制将AJAX请求重定向到登录页面时,FormsLogin会话不再活动
我有一些 AJAX调用,通过jQuery. AJAX方法渲染PartialViewResults.这样做很棒,我的意见让我完全按照我想要的方式呈现. 当我离开页面一段时间并且Forms auth会话到期时,会出现问题.当我点击执行AJAX请求的操作时,它会显示我的div中的登录页面. 我想要将WHOLE页面重定向到登录页面. 在Global.asax的Application_EndRequest(
作者:佚名 时间:2020-05-03
c# – ASP.NET MVC 3 – 处理会话变量
我有一个使用Form的身份验证的应用程序,当用户登录时,我检索用户的实际名称并将其分配给会话变量,如下所示: [HttpPost] public ActionResult LogOn(LogOnModel model, string returnUrl) { if (ModelState.IsValid) { if (Membership.ValidateUser(
作者:佚名 时间:2019-12-05
c# – 使用自定义窗体身份验证的表单身份验证续订问题
由于表格身份验证Cookie冲突,我的项目更新了表单身份验证会话. 详细说明: 用户登录后,会创建一个表单身份验证cookie(FACookieA),并对其进行身份验证.但是,在更新cookie时,会创建第二个表单auth cookie(FACookieB),并且不会续订FACookieA.在FACookieA中的到期时间之后,用户被重定向到页面请求上的登录页面,即使它在FACookieB中的到期
作者:佚名 时间:2019-12-18
c# – 单点登录,有2个子域,一个Java,一个.NET
我正在寻找上述问题的一个很好的解决方案.我们可能会在.NET上运行表单身份验证. 我有一个在a.mydomain.com上运行的ASP.NET MVC应用程序和一个在b.mydomain.com上运行的基于Java的应用程序. 什么是最好的方法,这样我就不必登录每个应用程序.比如,当我登录a.mydomain.com然后打开Java b.mydomain.com时,它会检查并看到我已经登录了? W
作者:佚名 时间:2019-12-26
c# – 如何在FormsAuthentication cookie中存储其他数据?
我正在从网址中检索租户名称.我更喜欢只做一次,将它存储在cookie中,并在新页面请求中需要时从那里检索它. 我使用下面的代码来“创建”一个cookie.我希望界面允许我存储其他信息,但事实并非如此.有没有办法做到这一点,还是我走错了路? public void SignIn(string userName, bool createPersistentCookie) { i
作者:佚名 时间:2020-01-05
c# – .Net Forms身份验证是否需要会话?
我们正在讨论表单身份验证的确如何运作. 是否所有标识用户的信息都存储在cookie中,或者是否存储在会话中的某些信息? 有关正在进行身份验证的用户的信息存储在 FormsAuthenticationTicket中的cookie中,默认名称为.ASPXAUTH. 有关用户会话的信息与有关身份验证的信息不同.会话的标识符可以存储在cookie(与认证cookie不同的cookie)中,或者如Henk所
作者:佚名 时间:2020-01-21
上一页
1
2
3
4
下一页
小编推荐
苹果市值2025年有望达4万亿美元
• 苹果iPhone屏幕划痕如何去除?7个法子可
• iPhone SE 4首发!苹果自研5G基带第一个
• 史无前例:iPhone 16系列电池容量公布
• 首批iPhone 16在路上了!苹果已发货 明
• 绝!iPhone16开卖:北京上海用户暴雨中
• iPhone 18用上台积电2nm芯片!但苹果又
• 粉碎不支持iPhone谣言!微信官宣:朋友
热门标签
更多
python
JavaScript
java
HTML
PHP
reactjs
C#
Android
CSS
Node.js
sql
r
python-3.x
MysqL
jQuery
c++
pandas
Flutter
angular
IOS
django
linux
swift
typescript
路由器
JSON
路由器设置
无线路由器
h3c
华三
华三路由器设置
华三路由器
电脑软件教程
arrays
docker
软件图文教程
C
vue.js
laravel
spring-boot