Ver Mensaje Individual
  #4 (permalink)  
Antiguo 10/06/2005, 00:39
Avatar de jam1138
jam1138
/** @package Moderador */
 
Fecha de Ingreso: julio-2004
Ubicación: sèveR led onieR lE
Mensajes: 9.368
Antigüedad: 19 años, 8 meses
Puntos: 102
Supongo te abrás asegurado haces una correcta asignación a tus variables de sesión y las recibes correctamente...

Por otra parte, ya te lo había dicho!!!, ¿para qué condicionar a 2 variables???... si tu loguin está bien hecho con una sobra y basta (ilumina código):
Código PHP:
<?PHP
session_start
();
?>
<html>
<head>


<style type="text/css">
<!--
body {
SCROLLBAR-FACE-COLOR:#6699CC;
SCROLLBAR-HIGHLIGHT-COLOR: #6699CC;
SCROLLBAR-SHADOW-COLOR: #6699CC;
SCROLLBAR-3DLIGHT-COLOR: #FFFFFF;
SCROLLBAR-ARROW-COLOR: #FFFFFF;
SCROLLBAR-TRACK-COLOR: #E3E3E3;
SCROLLBAR-DARKSHADOW-COLOR: #000000;
}
-->
</style>


<FRAMESET COLS="*,745,*" FRAMEBORDER="0" BORDER="0">
<FRAME NAME="Blanco" SRC="blanco.html" scrolling="no">

<frameset rows="98,*" frameborder="NO" border="0" framespacing="0" marginwidth="0" marginheight="0">
<frame src="frame.php" scrolling="NO" noresize>

<frameset cols="150,*" frameborder="NO" border="0" framespacing="0">
<?php
if(isset($_SESSION["username"])){
?>
<frame src="menu.php?" scrolling="NO" noresize>
<?php
} else {
?>
<frame src="frame2.php" scrolling="NO" noresize>
<?php
}
?>


<frameset rows="*,84" frameborder="YES" border="0" framespacing="0">
<?php
if( isset($_SESSION["username"])) {
?>
<frame src="noticias/index.php" scrolling="NO" noresize>
<?php
} else {
?>
<frame src="index.php" name="mainFrame" noresize>
<?php
 
}
?>
<frame src="frame3.php" name="bottomFrame" noresize>
scrolling="NO">
</frameset>
</head>
</html>
__________________
٩(͡๏̯͡๏)۶
» Cómo hacer preguntas de manera inteligente «

"100 años después, la revolución no es con armas, es intelectual y digital"