Link to home
Start Free TrialLog in
Avatar of Matty0h
Matty0h

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of jpaw86
jpaw86

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Matty0h
Matty0h

ASKER

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.
Avatar of Matty0h

ASKER

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.
Avatar of Matty0h

ASKER

i don't know how to delete quesitons so i'll just give you the points