Yesterday I had a problem with X-Frame-Options
, as can be seen in this post . However, I added the solution, and it worked perfectly.
I added the solution, but I have no idea what it does, and I would like an explanation.
The solution added in my Global.asax
was:
protected void Application_PreSendRequestHeaders()
{
Response.Headers.Remove("X-Frame-Options");
Response.AddHeader("X-Frame-Options", "AllowAll");
}
My question now is:
What is X-Frame-Options
?
How do you use it, and why does it show the type of problem?