Solved

Different behaviors in IE6 for an iframed popup...

Posted on 2009-05-15
1
510 Views
Last Modified: 2013-12-08
Okay. Here is an interesting one... please let me put forward three pieces of background info before the question as I think they are necessary to know beforehand...

Piece One...

We (our company) currently has a website... worldhotels.com (www.worldhotels.com)

We also currently have an in house PowerDNS controlling the namespace, and doing some rudimentary GEO IP targetting, which points surfers to use one of two different web servers, depending on where they are surfing from.

Right now surfers in our APAC region and US region get pointed to the web server in the US which is at 74.50.24.105

Surfers in EMEA (Europre, Middle East and Africa), get pointed to the server in Germany which is 80.242.152.56

Due to geo-targetting, in order to surf the actual content of the different web server (to see web pages), ... meaning, if you are in America but you would rather surf to and receive web content from the German server,... you must have been directed there either through a resolved DNS request (which is not possible if you are in America, since DNS would have noted your location in the GEO IP database and resolved you to the US mirror) ... or you must have altered your hosts file to point to an alternate server (which will be the case, in tests we have run this is really the only way to do it if you want - say, to look at the German server content while surfing to it from a box in America).

So... GEO IP DNS is working for us. That is not my question, but I wanted to provide some background on my question coming up.

2nd Piece of the Background Puzzle:

Right now, if a user in Germany surfs to worldhotels.com, they receive content from the 80.242.152.56 German server, and if they go to the http://www.worldhotels.com/for-travel-agents.html?L=0 page on the German server, and click the "Login" button at the bottom of the page, the page pops up an iframed js popup. This popup successfully displays its contents, which happens to be a username and password login input boxes.

Clicking on the "Login" does NOT send any kind of HTTP or HTTPS request to the server, it merely uses the code behind the scenes to launch the initial popup which contains an iframe. We have tested this using Fiddler2 and we see repeatedly that no HTTP requests are made while clicking on the button. Just the iframe popup... and...

...the page that is being iframed in the popup is... http://www.worldhotels.com/fileadmin/php_includes/login.php

This surfing behavior, and a successful popup with the correct content appearing in the iframe,... appears/functions normally when a German surfer surfs to the page and clicks the "Login" button. It works. Popup happens. iFrame shows the login box correctly.

It works from a surfer in Germany using IE7 and IE6.

Okay, Last background piece of the puzzle...

When a surfer from the US surfs to the US server (which is what they are routed to via the GEO IP DNS resolution)... the US server residing at 74.50.24.105 ... they can surf to the mirrored http://www.worldhotels.com/for-travel-agents.html?L=0 page on the US server, with exactly the same content on it as the German one.

They can click on the "Login" button at the bottom, and the js / iframed popup appears...

BUT...

The js / iframed popup ONLY shows the correct content from the iframed http://www.worldhotels.com/fileadmin/php_includes/login.php page IF...

...the American surfer is using IE7. IE7 works. It produces the correct results.

However, is the American surfer is using IE6... it does not produce the content inside the js / iframed popup. It is white. It does not say "Page cannot be displayed" (which is what happens if ANY surfer, German or American attempts this popup using IE5.5),... it is just the color white with IE6, from an American user, surfing to the American mirror server.

And just to make it a little weirder... if an American surfer edits their hosts file to FORCE their browser to resolve to the German server at 80.242.152.56, and then surfs to the German server page http://www.worldhotels.com/for-travel-agents.html?L=0 from America, and now tries to use IE6 to surf to it and click the "Login" button at the bottom of the page,...

NOW the js / iframed popup WORKS! and displays the correct iframed content from the German-based http://www.worldhotels.com/fileadmin/php_includes/login.php on the German server.


So here is my question... DEEP BREATH (thanks to everyone who stayed with me through the whole explanation)....

Why can a US surfer surf to the German site using IE6 and the popup / iframed content functions/displays properly, but as soon as the surfer is being GEO-targetted to the American site using IE6, the popup / iframed content does not display? And conversely, how come the US surfer CAN see the popup iframe content if they are using IE7???

This set of somewhat confusing circumstances has our webmasters and IT departments somewhat befuddled, and we cannot figure out if this is an error at the application layer (meaning there is something about the IE6 browsers used in the US that do NOT take well to this coding), or this is a DNS GEO IP problem (but then WHY does IE7 somehow work? Because a GEO IP problem would be completely inedpendent of ANY browser used, and would produce content or NO content based soley on the DNS resoltuion of a page, which seems highly unlikely since GEO IP DNS works for the ENTIRE site of the mirror and has never malfunctioned before...)

Help.
ERRORS.JPG
0
Comment
Question by:TylerDassman
1 Comment
 
LVL 8

Accepted Solution

by:
Timoros earned 500 total points
ID: 24399963
Almost the same problem i had a week ago and IE 6 was opening blank pop up windows (like yours)
I tried EVERYTHING , no succes , then i installed Mozilla and.....OOleee ... it worked !!!!
I was trying to understand the problem but of all the things i've read while googling it i got confused...so...i installed IE7 and it worked just fine !
Anyway i guess it's a matter of "rendering the page" that IE6 for some reason does not handle very well !

After i redirect your site in my hosts file (74.50.24.105 www.yoursite.com) openig you website page i've noticed (with Mozilla) that the page has this "<meta http-equiv="X-UA-Compatible" content="IE=7" />"

Plus i found these link Hope that helps:
http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx
http://web-graphics.com/2008/01/23/x-ua-compatible/ (very good !! )
http://snipplr.com/view/5544/how-to-set-ie8-in-previous-ie7-ie5-rendering-mode-for-backwards-compatibility/

Somewhere i've read that the VGA drivers may cause this but never had the chance to update them and see if this is true !

I believe it's a bug from some update that installed in IE6 !

Can you open this http://www.art-cad.gr/codes.htm ?? (If you don't see the popup then we had the same problem -)
Just let me know - Thanx !!!
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

757 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now