Session cookie lost in iFrame

Been having an odd issue where a site of mine (on a different domain) was pulled up in a iFrame was not working. The framed site used its own session vars for some references but after a page load (within the frame) all would be lost. Of course this was IE only, Chrome, Firefox and Safari had no issues.

\n\n

The fix was adding a header to every page you serve within the frame. This can be done at the server Web Server level view .htaccess or something similar, or you can do it, like I did, via CFHEADER

\n\n
comments powered by Disqus