?
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
Medium Priority
?
494 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 1

Accepted Solution

by:
jpaw86 earned 1000 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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

741 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