In a default out of the box Magento installation you have two options for the session.
- adminhtml - set in Mage_Adminhtml_Controller_Action
- frontend - set in Mage_Core_Controller_Front_Action
When the Mage_Core_Controller_Varien_Action
runs it's preDispatch function it will start the session for the appropriate section.
$session = Mage::getSingleton('core/session', array('name' => $this->_sessionNamespace))->start();
The construct of the session will take in the name of the section you are in, frontend or adminhtml, and will limit the data that you can access.
public function __construct($data=array())
{
$name = isset($data['name']) ? $data['name'] : null;
$this->init('core', $name);
}