I have a site that requires authentication, once my logon.php process the submition, it redirects you to your corresponding area.
The page has three frames, the top banner, side menu and the main. Once redirected I want the new page to have a different banner same menu and different main.
What I am doing right now is
if ($SECURITY == 1){
header("Location: admin.html");
exit;
}
if ($SECURITY == 2){
header("Location:employee.html");
exit;
}
if ($SECURITY == 3){
header("Location:client.html");
exit;
but this only changes the main, I have tried sending it to a pre page using html and META refresh tag but I it will not allow me to specify top or even parent to refresh.
Any ideas?