Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/11/2008, 03:18
manguiti
 
Fecha de Ingreso: junio-2007
Ubicación: Cádiz
Mensajes: 369
Antigüedad: 16 años, 10 meses
Puntos: 7
se carga 2 veces la pagina al hacer login

Hola, necesito ayuda referente al tema de los frames, ya se que están desfasados pero la apliacion que estoy "retocando" los lleva y necesito arreglar una anomalía que ocurre al iniciar sesión en ella. Está dividida en 3 frames, top, main y bottom. Entonces cuando entro como usuario, se cargan 2 veces tanto el topframe como el botttomframe y cuando actualizo se soluciona el problema, os paso el index.php y si quereis que os pase otro archivo me lo decis a ver si podeis ayudarme....gracias!!tambien os muestro una imagen de lo que ocurre para que tengais mas idea....




Código PHP:
<?php
include ("digitalimp_PCU.php");
session_start();

session_register("autentificado");
//COMPRUEBA QUE EL USUARIO ESTA AUTENTIFICADO
//if ($autentificado == "SI") {
//Configuracion
echo"
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Frameset//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />
<title>DIGITAL IMPRESION</title>
<style type='text/css'>
<!--
body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
-->
</style></head>

<frameset rows='105,*,44' frameborder='no' border='0' framespacing='0'>
  <frame src='topframe.php' name='topFrame' scrolling='No' noresize='noresize' id='topFrame' title='topFrame' />
  <frame src='inicio.php' name='mainFrame' id='mainFrame' title='mainFrame' />
  <frame src='bottomframe.html' name='bottomFrame' scrolling='No' noresize='noresize' id='bottomFrame' title='bottomFrame' />
</frameset>
<noframes><body>
</body>
</noframes></html>
"
;
//}
//else "NO OLVIDE INTRODUCIR LA CLAVE CORRECTA";
?>