Browse Source

manejo de tiempo de session

pull/23/head
humano 1 year ago
parent
commit
ade42da280
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      salir.php

+ 6
- 0
salir.php View File

@@ -0,0 +1,6 @@
<?php if(!isset($_SESSION)) { if(!isset($_SESSION)) { session_start(); } }

session_destroy();
$pagina=$_SERVER['HTTP_REFERER'];
header("Location:./index.php");
?>

Loading…
Cancel
Save