Hi,
i have a class that implements Zend_Session_SaveHandler_Interface to
save the session data inside a database. now i want this save handler to
be used to store the identity after authentication.
in the manual i found this:
/By default, Zend_Auth provides persistent storage of the identity
from a successful authentication attempt using the PHP session. Upon
a successful authentication attempt, Zend_Auth::authenticate()
stores the identity from the authentication result into persistent
storage. Unless configured otherwise, Zend_Auth uses a storage class
named Zend_Auth_Storage_Session, which, in turn, uses Zend_Session.
A custom class may instead be used by providing an object that
implements Zend_Auth_Storage_Interface to Zend_Auth::setStorage()./
What does that mean for the Zend_Session_SaveHandler implementation ? Is
Zend_Auth_Storage_Interface the same interface ??
I only found Zend_Session::setSaveHandler() but i have no idea how to
use this in combination with Zend_Auth (because Zend_Auth handles
Zend_Session internal).
I hope someone can help me with this.
best regards,
Truppe Steven