View Full Version : redirection problem with "frameset" where login page exists

02-21-2012, 11:21 AM
hello guys,

i have written a simple html user login form as follows


<script type="text/javascript" src = "adminIndex.js" >
<frameset rows="15%,*">
<frameset cols="30%,*">
<frame scrolling="no" src="site_logo.php" />
<frame scrolling="no" src="login_page.php" />



$message = "";
$message = $_REQUEST["message"];

<body bgcolor="black">
<table width="100%" >
<td width="50%"></td>
<td width="50%">
<form method="post" action="home.php"> // or else first i will validate user details and redirect to home page
<table width="100%">
<td width="100%" align="left"><b><font size="3" color="white"> EMAIL ID</font></b></td>
<td width="80%"align="left"><b><font size="3" color="white"> PASSWORD</font></b></td>
<td align="left"> <input type="text" id="texLoginId" name="texLoginId1"/> </td>
<td align="left"> <input type="password" id="pasPassword" name="pasPassword1"/> </td>
<td width="10%"><input type="submit" value="LOGIN" onClick = "return validate();"></td>
<td colspan="3" width="50%"><font color="red">
<h4 id="errorMessage">
echo $message;


http://s13.postimage.org/8imte31af/image.png (http://postimage.org/)
gif image hosting (http://postimage.org/)

http://s18.postimage.org/66gp9iwzd/image.png (http://postimage.org/image/5tpb3ceph/full/)
image hosting png (http://postimage.org/)

http://s14.postimage.org/ce6aar1ap/image.png (http://postimage.org/image/8ukckxykt/full/)
image hosting gif (http://postimage.org/)]

1) As you see in first image, the login interface is fine

2) and also in second image, entering login info is also fine

3) when i press login button, then only the frame portion of webpage only redirecting to home.php, but i want the entire webpage redicted to home.php, i mean complete webpage instead of that tiny little frame

Hope i can figure out this with your help.....

02-21-2012, 12:11 PM
guys can any one of you plz help, get out of this........