summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2016-03-31 07:45:01 +0000
committeririna <irinagomez@us.es>2016-03-31 07:45:01 +0000
commit1664a97a2ce21d9d466ae636ff85aca13ef46112 (patch)
treea6802aae80eb28eb929cb045ba999c7ceaedfa57
parent3d8ce6006322463115ac74048f95e8e46f4c02af (diff)
#730 Se resuelve errata al destruir la sesión después de salir de la aplicación
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4855 a21b9725-9963-47de-94b9-378ad31fedc9
-rw-r--r--admin/WebConsole/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/WebConsole/index.php b/admin/WebConsole/index.php
index 61ea54b9..96f3abbb 100644
--- a/admin/WebConsole/index.php
+++ b/admin/WebConsole/index.php
@@ -9,6 +9,7 @@
// Autor: Ramón Gómez - ETSII, Universidad de Sevilla
// Fecha: 2012-02-07
// *****************************************************************************
+session_start();
if(isset($_SESSION)){ // Si existe algua sesión ...
session_unset(); // Elimina variables
session_destroy(); // Destruye sesión