summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/controllers/IndexController.php2
-rw-r--r--application/modules/fbgui/controllers/IndexController.php11
-rw-r--r--application/modules/fbgui/views/scripts/index/index.phtml2
3 files changed, 10 insertions, 5 deletions
diff --git a/application/controllers/IndexController.php b/application/controllers/IndexController.php
index df57d9a..221817c 100644
--- a/application/controllers/IndexController.php
+++ b/application/controllers/IndexController.php
@@ -19,7 +19,7 @@ class IndexController extends Zend_Controller_Action
$d = new Pbs_Debug();
$d->debug(array('MainIndexController',$_SERVER['REMOTE_ADDR'],implode("\t",$mySession->postdata)));
- $this->_redirect("/fbgui/index/index?" . session_name() . "=" . session_id());
+ $this->_redirect("/fbgui/index/index");
}
// action body
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index ac0c716..9e9da93 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -86,7 +86,7 @@ class Fbgui_IndexController extends Zend_Controller_Action
$pbsFilter = new Pbs_Filter();
$bootmenuID = $pbsFilter->evaluate();
if($bootmenuID != null){
-
+ $this->view->alphasessionID = $_SESSION['alphasessionID'];
// print_a('Debug Output',
// 'Session is now set',
// 'Your sessionID is '.$session->getID(),
@@ -147,9 +147,14 @@ class Fbgui_IndexController extends Zend_Controller_Action
$session->setBootosID($bootmenuentry->getBootosID());
$sessionMapper->save($session);
+ if(isset($this->_request->getParam('a'))){
+ $a = $this->_request->getParam('a');
+ }
+ else{
+ $a = $_SESSION['alphasessionID']
+ }
$this->view->host = '132.230.4.27';
- $this->view->alphaid = $_SESSION['alphasessionID'];
-
+ $this->view->alphaid = $a;
}
}
diff --git a/application/modules/fbgui/views/scripts/index/index.phtml b/application/modules/fbgui/views/scripts/index/index.phtml
index 0ef6e4e..d5fc8f6 100644
--- a/application/modules/fbgui/views/scripts/index/index.phtml
+++ b/application/modules/fbgui/views/scripts/index/index.phtml
@@ -38,7 +38,7 @@
});
function start(){
if($('#selectedBootOs').val() != ''){
- window.location='/fbgui/index/start/bme/'+$('#selectedBootOs').val();
+ window.location='/fbgui/index/start/bme/'+$('#selectedBootOs').val()+'/a/<?php echo $this->alphasessionID;?>';
}
else{
alert('You have to select a BootOs');