具有Windows身份验证的站点 - 有时会提供密码提示 [英] Site with Windows authentication - sometimes gives password prompt

查看:109
本文介绍了具有Windows身份验证的站点 - 有时会提供密码提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个本地站点(IIS6,虽然类似的问题与使用IIS5.1完全不同的站点),它使用集成的Windows身份验证,我可以告诉 - 如果用户将URL输入地址栏,使用IE7,一切工作正常,用户自动登录。但是,如果用户单击电子邮件中的超链接(使用Outlook),则会打开该站点,但用户会收到登录提示 - 当输入详细信息时,一切正常。



任何人都可以解释为什么会这样吗?我应该说它实际上非常有气质,有时上面会发生,有时它不会......任何帮助都会受到赞赏。



欢呼!

解决方案

这两个案例的网址是否相同?如果网址中有,IE将不会尝试将用户凭据传递给网站,因此不会自动将您登录。<​​/ p>

示例: http://mysite/page.aspx http://mysite.domain不同。 local / page.aspx ,即使它们可能指向同一台服务器。



如果使用domain.local启动Outlook,您将得到你描述的行为。


I have a local site (IIS6, although similar issue with a totally different site using IIS5.1) which uses integrated windows authentication, from what I can tell - using IE7 if a user enters the URL into the address bar, everything works OK and the user is logged in automatically. However, if the user clicks on a hyperlink within an e-mail (using Outlook), the site opens but the user gets a login prompt - when details are entered everything then works fine.

Can anyone explain why this is the case? I should say it's actually very temperamental, sometimes the above occurs, sometimes it doesn't... any help is appreciated.

cheers!

解决方案

Are the urls of the two cases identical? If there is a . in the url, IE will not attempt to pass the user credentials to the site, and will therefore not automatically log you in.

Example: http://mysite/page.aspx is different from http://mysite.domain.local/page.aspx, even though they might point to the same server.

If Outlook is launching using the domain.local, you will get the behaviour you describe.

这篇关于具有Windows身份验证的站点 - 有时会提供密码提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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