asb987
asked on
Need help overriding / bypassing a "base target" within an iframe
On our companies website I am integrating a web portal from one of our software providers that links our customers to data housed within a non web based server. I have this portal loading into an iframe. Everything works fine until someone does not log in correctly. The response page to a failed login contains a "base target='_top'" reference. This page is being served by a 3rd party server and we have no control or option of modifying this tag or removing it. My problem is once this page is encountered and someone logs in through it, this tag loads all the following pages out of the iframe and the integration is lost. Is there any way through the iframe or through some sort of script to tell the iframe or the webpage as a whole to ignore that base command. Any suggestions or ideas are greatly appreciated.
Andrew
Andrew
can you please post the corresponding tag verbatime with all it's attributes
ASKER
This is the <iframe> that is originally called:
<iframe name="accountsframe" target="_self" width="892" height="500" align="top" scrolling="auto" src="acctlogin.asp" style="border:0; background-color:#FFFFFF"> </iframe>
This is the base tag that is causing the problems:
<base target="_top">
I cannot modify or change the page that contains that base tag as its not being served from our servers.
<iframe name="accountsframe" target="_self" width="892" height="500" align="top" scrolling="auto" src="acctlogin.asp" style="border:0; background-color:#FFFFFF">
This is the base tag that is causing the problems:
<base target="_top">
I cannot modify or change the page that contains that base tag as its not being served from our servers.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.