I am having a problem while i am running in the Firefox and IE browser
============================================================
This is my redirect code ij (index.php)
here i just want the user to login into the site
Code: Select all
<?php
if($_SESSION['AdminLogin']=="")
{
///check login
}
if(isset($_SESSION['AdminLogin']))
{
/// if already set then redirect him to the controlpanel
header("location:controlpanel.php");
}
?>
I want the login'd user wont go back to the login screen at any more... if he/she gets login into the site....i want them not to go to the index.php
(login page).In that page I checked that isset($_SESSION['AdminLogin']) if SESSION is already set then redirect him to the controlpanel itself...
Works in Firefox not in IE...Please advice how to come out his problem...Sorry for my bad english...
Thanks and Help me
jo