?
Solved

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

Posted on 2008-02-03
3
Medium Priority
?
1,669 Views
Last Modified: 2013-12-08
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
0
Comment
Question by:bryan_9044
  • 2
3 Comments
 
LVL 2

Expert Comment

by:mailBoy2
ID: 20811682
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
 

Author Comment

by:bryan_9044
ID: 20813057
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
 
LVL 2

Accepted Solution

by:
mailBoy2 earned 1000 total points
ID: 20817569
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Several part series to implement Internet Explorer 11 Enterprise Mode
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

601 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