I am learning HTML and Java, and I am getting message that says, "Your session has timed out.", within my iFrame. The page that I'm trying to open in my iFrame is from a website that is not mine. The website's page that I am trying to open will automatically redirect to a page from the same website that says, "Your session has timed out."
No login is required to access the website's page that I am trying to load in my iFrame, and I can load the website fine if I paste the exact same link into my web browsers address box. This problem only occurs when I try to load the page into an iFrame.
For example, I am trying to load "www.website.com/Hello" within my iFrame, and the iFrame goes to "www.website.com/TimeOutError".
What causes this and is there a way that I can load the page within an iFrame?