diff options
| author | Simon | 2011-03-16 11:44:10 +0100 |
|---|---|---|
| committer | Simon | 2011-03-16 11:44:10 +0100 |
| commit | 2309f2caffde01967477baf5633b7a1783eff159 (patch) | |
| tree | 71103009e4838c3c685002b5fae5acf4d61692e5 /application/modules/fbgui/controllers/IndexController.php | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-2309f2caffde01967477baf5633b7a1783eff159.tar.gz pbs2-2309f2caffde01967477baf5633b7a1783eff159.tar.xz pbs2-2309f2caffde01967477baf5633b7a1783eff159.zip | |
session erstellen in fbgui verschoben, library kann von überall verwendet werden
Diffstat (limited to 'application/modules/fbgui/controllers/IndexController.php')
| -rw-r--r-- | application/modules/fbgui/controllers/IndexController.php | 9 |
1 files changed, 9 insertions, 0 deletions
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(); } |
