Jump to content

Zend_Auth && Zend_Session && Zend_Session_SaveHandler_DbTable


ignace

Recommended Posts

I am using the Zend_Session_SaveHandler_DbTable to store my sessions in the database, session data is stored like:

 

Zend_Auth|a:1:{s:7:"storage";O:8:"stdClass":1:{s:4:"role";s:14:"Anonymous user";}}

 

Zend_Auth does not contain __sleep() nor __wakeup() that is the reason why unserialize() doesn't work when i try to unserialize it,

 

so my question now is:

how can i "unserialize" this data to be able to work with it?

 

and optional:

how is the system actually able to unserialize() this data?

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.