Aqui te adjunto el index.html aqui es donde marco los frames solamente .
He corregido lo que decias de poner lo de la session arriba del todo.
Y bueno lo de los divs con refresco no lo llevo nada bien . Si puede ser preferiria seguir con los frames.
Código PHP:
<?
session_start();
if($_SESSION["autorizacion"]="si"){
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>KeePass</title>
</head>
<frameset cols="20%,80%" frameborder="0" border="0" framespacing="0">
<frameset rows="12%,88%*" frameborder="0" border="0" framespacing="0">
<frame name="top" src="top.html" marginheight="0" marginwidth="0" scrolling="auto" noresize>
<frame name="menu" src="menu.php" marginheight="0" marginwidth="0" scrolling="auto" noresize>
</frameset>
<frameset rows="12%,88%*" frameborder="0" border="0" framespacing="0">
<frame name="alto" src="topnew.htm" frameborder="0" border="0" framespacing="0">
<frame name="content" src="content.html" marginheight="0" marginwidth="0" scrolling="auto" noresize>
</frameset>
</frameset>
</html>
<?
}else{
echo "No estas autenticado , se te va a redirigir al login.";
header("Location: login.php");
}
?>