redirection problem
Posted: Wed Mar 04, 2009 5:21 am
Hi friends,
when the session is out iam redirecting my pages to login page.
using this code
if(!isset($_SESSION['userid']))
{
header("Location:login.php");
}
But my problem is iam using iframes
so login form is coming in iframe.
But i want the total page should redirect to login page
can anyone please help me.....
when the session is out iam redirecting my pages to login page.
using this code
if(!isset($_SESSION['userid']))
{
header("Location:login.php");
}
But my problem is iam using iframes
so login form is coming in iframe.
But i want the total page should redirect to login page
can anyone please help me.....