• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 509
  • Last Modified:

IFrame - Src page does redirect and causes IE to display a error code 500 page instead of the redirected destination

The Setup:

<iframe  src="http://localhost/gemini/sso.aspx?u=moconnor&p=8tTUTAG9rAfK38K5AmHUANTr0QBU8GCrcINKz0E%3d"></iframe>

That's all the HTML that is in an "test.htm" file.

The Problem:

The sso.aspx page takes the username and password from the URL and logs the user into the system, then does a redirect to the main page. This whole thing works in Firefox, but in IE it gives me a "Error Code: 500 Internal Server Error" page instead.

Is this some kind of IE bug with IFrames? If so please tell me how to fix this, will reward with extra points if answered in a timely fashion.
0
Matty0h
Asked:
Matty0h
  • 3
1 Solution
 
jpaw86Commented:
Could I see the source code of sso.aspx?

Also, do you have friendly error pages turned off in IE (Tools > Internet Options > Advanced > Uncheck 'Use friendly error pages")?

Thanks.
0
 
Matty0hAuthor Commented:
No. sso.aspx is a page from a premium web app, meaning i have no souce code for it. I'm sorry, I may not have been clear. The sso.aspx page works in IE when it is not inside an IFrame.

But when I put it inside an IFrame and I pass it a valid username and password it throws the errocode 500 thing. When i give it invalid password, the redirect works and it gives me the login page.
0
 
Matty0hAuthor Commented:
Solution:

The redirect apprently wasn't working on IE because it was localhost, when i run it on our dev server it works just fine... weird.
0
 
Matty0hAuthor Commented:
i don't know how to delete quesitons so i'll just give you the points
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now