如果我的登录页面是https,web配置的forms选项卡中的"requireSSl“是否重要?
目前,我正在使用IIS将页面重定向到HTTPS。当我设置requiressl时,它似乎会导致问题。
有没有人能正确地看待这两个设置。谢谢
发布于 2010-03-28 10:06:56
如果您在服务器级别设置https,那么requireSsl无关紧要(将其设置为on或off应该没有任何区别)。设置好https required后,如本文所述设置一个重定向:
http://www.jppinto.com/2009/01/automatically-redirect-http-requests-to-https-on-iis-6/
====参考http://msdn.microsoft.com/en-us/library/system.web.security.formsauthentication.requiressl.aspx
通过设置requireSSL属性,可以在ASP.NET应用程序的Web.config文件中指定是否需要SSL (安全套接字层)将表单身份验证cookie返回到服务器
https://stackoverflow.com/questions/2531360
复制相似问题