Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/03/2003, 05:01
imimes
 
Fecha de Ingreso: marzo-2003
Mensajes: 12
Antigüedad: 21 años, 1 mes
Puntos: 0
Tambien he mirado las faqs y lo he probado así:(tmb me da error)

Registro la variable de sesion:

//usuario y contraseña válidos
//defino una sesion y guardo datos
session_start();
$_SESSION['autentificado']="SI";

Leo la variable de sesion:

<?php
session_start();
$registrado=$_SESSION['autentificado'];
if ($registrado=="SI")
{
echo ("<td width=\"225\" align=\"center\" height=\"2\">");
echo ("<a href=\"OfficeLittle.html\" target=\"content\">Configúralo</a></td>");
}
?>

Me da este error:

Warning: session_start() [function.session-start]: open(/tmp\sess_b8d2118ce95407a9f83dff1dcab4eca9, O_RDWR) failed: No such file or directory (2) in c:\appserv\www\html\s_office.html on line 45

Ya no se que hacer... Help me, please!!