This is my old home .. find me now at

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.

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

comments powered by Disqus
© AndyJarrett 2013 | RSS Feed