Solved

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

Posted on 2006-06-30
4
479 Views
Last Modified: 2012-08-13
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
Comment
Question by:Matty0h
  • 3
4 Comments
 
LVL 1

Accepted Solution

by:
jpaw86 earned 500 total points
ID: 17021662
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
 

Author Comment

by:Matty0h
ID: 17031995
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
 

Author Comment

by:Matty0h
ID: 17032609
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
 

Author Comment

by:Matty0h
ID: 17032615
i don't know how to delete quesitons so i'll just give you the points
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question