View Single Post
  #5 (permalink)  
Old 03-07-2008, 11:47 AM
David David is offline
Junior Member
 
Join Date: Feb 2008
Posts: 18
Default

There is Zend Framework: Documentation

I played with it just yesterday:

Code:
Zend_Loader::loadClass('Zend_Session');
Zend_Loader::loadClass('Zend_Session_Namespace');

in bootstrap 
Zend_Session::start();
in indexcontroller

$sess = new Zend_Session_Namespace('user');
$sess->info = array( 'id' => '2',
'username' => 'David',
'pass' => '132');
Zend_Session::rememberMe(3600); // remember me for one hour
$sess->lock(); 
(you probably could use this when authenticating the data)

Zend_Session::namespaceGet('user'); //Experimental, haven't even tested it
Note, i'm just an amateur in ZF, still trying to work my way in on using sessions in a secured way
Reply With Quote