表单身份验证问题 [英] form authentication issue

查看:103
本文介绍了表单身份验证问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用表单身份验证并在我的配置文件中设置fallowing属性



Hi All,
I am using form authentication and set the fallowing properties in my config file

<forms loginUrl="~/Login.aspx" protection="All" timeout="30" name="ewAppsCookie" requireSSL="false" slidingExpiration="true" defaultUrl="~/HomePage.aspx" cookieless="UseCookies" enableCrossAppRedirects="false"/>

当我点击登录按钮然后我正在调用

when i clicked on Login button then i am calling

FormsAuthentication.RedirectFromLoginPage(UserName, true)



方法该方法将我重新命名为HomePage。

但是当我再次运行应用程序时,用户名和密码不会自动

填充,

为什么会发生?

我该怎么办才能解决我的问题?


method that method redirct me to HomePage.
but when i again run the application then username and password does not auto
populate,
why is happening?
what should i do to resolve my issue?

推荐答案

是的这是一个已知的问题/设计行为。请参考以下链接



http://blogs.msdn.com/b/friis/archive/2010/08/18/remember-me-checkbox-does-not- work-with-forms-authentication.aspx [ ^ ]





http://blog.jitbit.com/2009/07/aspnet -forms-authentication-remember-me.html [ ^ ]
Yeah that''s a known issue / by design behavior. Please refer following links

http://blogs.msdn.com/b/friis/archive/2010/08/18/remember-me-checkbox-does-not-work-with-forms-authentication.aspx[^]


http://blog.jitbit.com/2009/07/aspnet-forms-authentication-remember-me.html[^]


这篇关于表单身份验证问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆