![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
05/12/2011, 08:03
|
| | Fecha de Ingreso: octubre-2011
Mensajes: 129
Antigüedad: 13 años, 4 meses Puntos: 1 | |
Respuesta: problema con session_handler Hola chicos, me gustaría acabar de preguntar alguna cosas , en las hojas si que utilizo el codigo de SirDuque
Pero me da error en las línias que estan en negrita me podríais ayudar ? Es error de sintaxi por eso.
session_start();
if(!isset($_SESSION['time_start']))
{
header ('Location: login.php');
exit;
}elseif( ( (microtime(true) - $_SESSION['time_start'] ) >= 70 ) header('Location: tiempo_excedido.php')
exit;
}
Y ya le he echado un vistazo a lo mio pero prefiero asi ....
Última edición por campussummertime; 05/12/2011 a las 08:23 |