From 131323e792c67f6ef8cf9cc281bdb7a4bb7d6a0f Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Fri, 15 Nov 2013 14:35:16 +0000 Subject: [PATCH] Init Session --- application/controllers/ReportController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/controllers/ReportController.php b/application/controllers/ReportController.php index 9594b74..d2a8c39 100644 --- a/application/controllers/ReportController.php +++ b/application/controllers/ReportController.php @@ -18,8 +18,9 @@ class ReportController extends Zend_Controller_Action //Open session to backup the state of the process $cmdState = 0; - Zend_Session::destroy(); + $session = new Zend_Session_Namespace('Cmd'); + $session->unsetAll(); $session->state = $cmdState; $request = $this->getRequest();