Hi
I have created a loginpage in which the user enters their username and password.,
the page gets loaded and validates the input and then it is redirectesd to the seeeion page using html code.,[code=php]correct code tags usage<?
if(username and password is correct)
{
?>
<meta http-equiv="refresh" content="0,url= session.php?use r=<? echo $user;?>" >
<?
}
?>
[/code]
., this is my code and once again in session page i am redirecting the datas in to another page using the same code.,
the code works well with firefox but not in IE.
In IE the same page itself gets loaded again and again.
the page was not redirected..
And i had tried even by php redirectin
[code=php]
header( 'Location: session.php?use r='.$user ) ;
[/code]
but i am responded with the error.,
"Headers already sent".
and tried even by giving the full path.,which results in the same errors.
can anyone help me??
regards
vijay
I have created a loginpage in which the user enters their username and password.,
the page gets loaded and validates the input and then it is redirectesd to the seeeion page using html code.,[code=php]correct code tags usage<?
if(username and password is correct)
{
?>
<meta http-equiv="refresh" content="0,url= session.php?use r=<? echo $user;?>" >
<?
}
?>
[/code]
., this is my code and once again in session page i am redirecting the datas in to another page using the same code.,
the code works well with firefox but not in IE.
In IE the same page itself gets loaded again and again.
the page was not redirected..
And i had tried even by php redirectin
[code=php]
header( 'Location: session.php?use r='.$user ) ;
[/code]
but i am responded with the error.,
"Headers already sent".
and tried even by giving the full path.,which results in the same errors.
can anyone help me??
regards
vijay
Comment