2009年4月20日星期一

Re: [fw-db] Storing new data in Zend_Auth Session

Session data should be stored into a Zend Session namespace. Zend_Auth
uses Zend_Session out of the box, specifically stored in the 'Zend_Auth'
namespace.

TO store your own data:

$sessSpecialPlace = new Zend_Session_Namespace('MySpecialPlace');
$sessSpecialPlace->dataname = 'new more interesting data';

http://framework.zend.com/manual/en/zend.session.basic_usage.html

-ralph

Erdal YAZICIOGLU wrote:
> Hello All,
>
> How can I store new data into the Zend_Auth session. I already have a
> opened session with Zend_Auth, I want to set a new data and then unset it.
>
> Thanks
>
>
> Erdal YAZICIOGLU
> Field Project Engineer Manager
> Page Europa
> A GENERAL DYNAMICS COMPANY
> Ras Laffan Industrial City
> Doha, Qatar
> Mobile: +974 325 4479

没有评论: