Local debugging switches
[bus.git] / busui / index.php
blob:a/busui/index.php -> blob:b/busui/index.php
--- a/busui/index.php
+++ b/busui/index.php
@@ -1,5 +1,13 @@
 <?php 
 include('common.inc.php');
+ // remove all the variable in the session 
+ session_unset(); 
+
+ //destroy the session 
+ session_destroy();
+ if (isset($_REQUEST['service_period'])) $_SESSION['service_period'] = $_REQUEST['service_period'];
+ if (isset($_REQUEST['time'])) $_SESSION['time'] = $_REQUEST['time'];
+ 
 include_header("bus.lambdacomplex.org",false, true)
 ?>
 <div data-role="page" data-theme="b" id="jqm-home" class="ui-page ui-body-b ui-page-active">