From 2309f2caffde01967477baf5633b7a1783eff159 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 16 Mar 2011 11:44:10 +0100 Subject: session erstellen in fbgui verschoben, library kann von überall verwendet werden --- application/modules/fbgui/controllers/IndexController.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'application/modules/fbgui/controllers/IndexController.php') diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php index c1621dc..d141733 100644 --- a/application/modules/fbgui/controllers/IndexController.php +++ b/application/modules/fbgui/controllers/IndexController.php @@ -11,6 +11,15 @@ class Fbgui_IndexController extends Zend_Controller_Action public function indexAction() { // action body + + // Call this Procedure after Login to create a session and save the alphasessionID to session + $n = new Pbs_PbsSession(); + $session = new Application_Model_Session(); + $session->setBootisoID(1); + $session->setTime(time()); + $session->setIp($_SERVER['REMOTE_ADDR']); + $session = $n->createsession($session); + $_SESSION['alphasessionID'] = $session->getAlphasessionID(); } -- cgit v1.2.3-55-g7522