revision de login

This commit is contained in:
humano 2019-02-19 05:46:49 -05:00
parent 307dc26b04
commit 7da49adf93
3 changed files with 4 additions and 4 deletions

View File

@ -5459,7 +5459,7 @@ $consulta= "SELECT *, $tabla_autenticacion.id AS id_usuario
<div class=' alert alert-success'><h3><b>Hola $_SESSION[username] </b</h3></div>";
//$url=urlencode('../index.php');
//$respuesta->addRedirect("$_SESSION[site]");
$respuesta->addScript("window.location='../'");
$respuesta->addScript("window.location='./'");
// $respuesta->addAssign($div,"innerHTML",$resultado);
//header("Location: ../");
//return;

View File

@ -33,7 +33,7 @@ if (isset($_REQUEST['consulta'])) {$consulta = $_REQUEST['consulta'];} else {$co
if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
?>
<!DOCTYPE html>
<html lang="en">
<html lang="es">
<head >
<meta charset="utf-8">
<meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">

View File

@ -20,11 +20,11 @@ function delayTimer() {
restante = (tiempo - transcurrido_minutos);
prefin = (tiempo*60)-transcurrido;
document.form_session.tiempo_session.value = "Cierra en: "+restante+" minutos ";
document.form_session.tiempo_session.value = "Cierra en: "+restante+" minutos "+inicio;
if(restante == 1 ){
//alert(transcurrido);
location.href="./salir.php";
location.href="../../salir.php";
}else{
setTimeout("revisarSession()",2000) ;
}