session_name("Jugadores"); session_start(); //TOMO VARIABLES DE SESION SOBRE LA AUTENTIFICACION //session_register("autentificado"); $autentificado=$_SESSION['autentificado']; //COMPRUEBA QUE EL USUARIO ESTA AUTENTIFICADO if ($autentificado != "SI") { //si no existe, envio a la página de autentificacion header("Location: S_autenticar.php"); //ademas salgo de este script exit(); } ?>
|