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
485 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 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to count occurrences of each item in an array.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

742 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