Ver Mensaje Individual
  #5 (permalink)  
Antiguo 08/12/2008, 10:41
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Error con sesion y aplicación

Tu archivo de login debe de ser asi:
Código php:
Ver original
  1. if ($variable['password'] != 0) {
  2. $_SESSION['nombredesesion'] = "SI";
  3. header("Location: portada.php");
  4. } else {
  5. header("Location: index.php");
  6. }

Saludos.