iframe problem in IE, login page in Iframe, not creating cookies, IE

Hi all,

I create a login form and put it into an iframe on my website. All looks great.

I tested it with Firefox and opera, it was working fine.

but when I tried to login using IE7 all that happens is that the login box gets refreshed and nothing else appears to happen.

if I change my form target "_self" to "_blank" or "_top" then it is working fine. but why it is not working when terget is "_self".
I guess login page in Iframe, not creating cookies, IE
please tell me it solution.

regards
Bryan
bryan_9044Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mailBoy2Commented:
Do you have any code for us to look at? - Maybe the 2 html pages.

Are they both on your site? if so why not use server side includes (SSI) instead of an iframe (iframes are really not good) - If it's on multiple sites then maybe try turning off the IE7 phishing filter as that may be stopping you.
0
bryan_9044Author Commented:
hello
Yes The login page created in another website which I don't access to it and that's why I have to use Iframe to put it in my website.
I attached the iframe included section code too
Thank u
                        <table border="0" width="100%">
							<tr>
							<br>
							<br>
								<td>								
	<iframe  src="http://report.purevpn.net/vpnlogin.php" scrolling="yes" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" width="732" height="900" ></iframe>
 
								
								</td>
							</tr>
						</table>

Open in new window

0
mailBoy2Commented:
The issue is that there is no action on the form.

Why not just remove the iFrame and have the html code on your own site something like the code snippet below. - I'm sure you'll get approvals and everything before doing that. That way you don't have to worry about _self etc and you can just do what ever you like.

The other option of course is to just use frames and have the src of one frame to be their login page.

Cheers,
<table border="0" width="100%">
<tr>
<br>
<br>
<td> 
<form method="POST" name="login" action="http://report.purevpn.net/vpnlogin.php">
					<input type="hidden" name="action" value="post">
				
				<table  border="0" cellspacing="10" cellpadding="0">
				  <tr>
					<td width="70">Username : </td>
					<td width="130"><input class="register-input" type="text" name="username" dir="ltr" value="" tabindex="1"></td>
				  	<td class="comment"><a href="vpnforgot_password.php">Forgot Password ?</a></td>
				  </tr>
				  <tr>
 
				    <td>Password : </td>
				    <td><input class="register-input" type="password" name="password" dir="ltr" tabindex="2"></td>
			     	<td class="comment">&nbsp;</td>
				  </tr>
				  <tr>
				    <td>&nbsp;</td>
				    <td align="left">
 
					<div class="mailinglist-button" style="background-image:url(interface/images/submit_button.gif); float:none; width:53px;">
 
					<input class="button" name="change" type="submit" value=" Login " />
					
										</div>					</td> 
				    <td class="comment">&nbsp;</td>
			      </tr>
		  </table>
</form>
</td>
</tr>
</table>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.