在同一浏览器的不同选项卡中打开 sitecore 门户和公共网站时,我收到“应用程序访问被拒绝”。错误(下图)。我发现它是如何发生的。首先我登录到 sitecore 门户,然后我登录到公共网站,两者都在同一个浏览器中打开。然后我单击 sitecore 树项,它重定向到 sitecore 门户主页。(http://myWebsite/sitecore/shell/default.aspx)
在公共网站中,我使用 FormAuthontication cookie 和服务器会话来处理每个用户。但我发现 sitecore 也使用了 FormAuthontication cookie。
当我登录到 sitecore 时,它将创建 FormAuthontication cookie。但是我登录到 FormAuthontication cookie 被修改的公共网站。
因此,这个 FormAuthontication cookie 和 sitecore 重定向到 sitecore 主页之间存在冲突。有没有办法处理这种情况?