Home » PHP » session in socialengine

session in socialengine

socialengine basically using zendframework for development. Zendframework methods can see all through the socialengine code.
Session is  an important functionality in programming. For achieving the session in socialengine use the following code

$session = new Zend_Session_Namespace(‘invite’);
$session->invite_code = $this->_getParam(‘code’);
$session->invite_email = $this->_getParam(’email’);

Leave a Reply

x

Check Also

Export Database using codeigniter

Database Utility Class : CodeIgniter PHP script to download mysql db-codeigniter,Backup MySQL database with CodeIgniter ...