View Single Post
  #1 (permalink)  
Old 05-13-2008, 02:04 PM
madmaxious madmaxious is offline
Junior Member
 
Join Date: Apr 2008
Posts: 7
Question Getting a Session set by Zend Auth

Hello,

I have a login Controller that uses an Zend Auth to authentcate the user.

I have a UserClass that is called in the bootstrap file that I need to look for the Zend Auth Session. If I print the session I can see the data after I am authenticated in the UserClass but I do not want to call it using.

PHP Code:
 $_SESSION 

I might be little simple here but I can not see a way to access that session using Zend_Session without doing

PHP Code:
<?php

$authSesssion 
=  Zend_Session::namespaceGet('Zend_Auth');

?>
This above is DEPRECATED according to the docs so I do nto want to use it.

Please help
Reply With Quote