Changeset 945

Show
Ignore:
Timestamp:
09/26/07 14:55:08 (1 year ago)
Author:
mikey
Message:

write more session information as global vars into template

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/websites/memphis/stubMemphisProcessor.php

    r939 r945  
    177177        $this->template->addGlobalVar('PAGE_NAME', $this->getPageName()); 
    178178        $this->template->addGlobalVar('VARIANT', $this->session->getValue('net.stubbles.websites.variantmanager.variant', '')); 
    179         $this->template->addGlobalVar('SID', $this->session->getId()); 
     179        $this->template->addGlobalVar('SID', $this->session->getName() . '=' . $this->session->getId()); 
     180        $this->template->addGlobalVar('SESSION_NAME', $this->session->getName()); 
     181        $this->template->addGlobalVar('SESSION_ID', $this->session->getId()); 
    180182         
    181183        // check for user data