Loading frame content
When you try to view a web page that includes one or more frames, you may experience an issue where the frame content does not load. For example, in the Mozilla Firefox web browser, you see only a blank area where the frame content should appear on the page. Additionally, the Developer Tools console displays an error message that resembles the following:
Additionally, the Developer Tools console displays an error message that resembles the following:
- sameorigin: When the X-Frame-Options header is set to sameorigin, content can only be loaded in a frame that has the same origin as the page itself. For example, if the server at example-1.com sends the X-Frame-Options header set to sameorigin, then a page at example-2.com cannot load content from example-1.com in a frame.
- deny: When the X-Frame-Options header is set to deny, content cannot be loaded in a frame at all.