From ace7a6beacc9375c8e1c21ff427c4c9bb02e1257 Mon Sep 17 00:00:00 2001 From: Lloyd Hilaiel <lloyd@hilaiel.com> Date: Fri, 3 Aug 2012 10:36:00 -0600 Subject: [PATCH] Fix "IE doesn't keep you logged in between restarts (or page reloads)" problems by disabling cookie check in iframe. issue #2218 & issue #2183 --- resources/static/communication_iframe/start.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/resources/static/communication_iframe/start.js b/resources/static/communication_iframe/start.js index fa26648ae..6f5ba8bd2 100644 --- a/resources/static/communication_iframe/start.js +++ b/resources/static/communication_iframe/start.js @@ -16,6 +16,15 @@ network.init(); + // Do not check to see if cookies are supported in the iframe. Just + // optimistically try to work by running network requests. There are + // cases (especially in IE) where our checks will fail but our actual + // requests will not. issue #2183 + // (NOTE: if we want to try to improve failure modes for users with + // a "disable 3rd party cookies"-like preference set in their browser, + // we may need to re-visit this) + network.cookiesEnabledOverride = true; + var chan = Channel.build({ window: window.parent, origin: "*", -- GitLab