In my app I have an AuthController.
Once the user has been validated etc I do the following:
$authSession = new Zend_Session_Namespace('Zend_Auth');
if ($rememberMe == true) {
$authSession->setExpirationSeconds(864000);
}
-----Original Message-----
From: drj201 [mailto:[email protected]]
Sent: 18 January 2009 21:27
To: [email protected]
Subject: [fw-general] Re[fw-general] member Me and Zend_Session with
Zend_Auth/Zend_Acl?
Hello,
I am a newbie with the Zend Framework so please bare with me...
My application has a default module and an admin module.
The application implements Zend_Auth and Zend_Acl to determine the roles and
users of the application and which modules they may gain access. In my
application their are "guests" and "members". Only members can access the
admin module.
This has been implemented and is working on a basic level with a simple
username and password check in a database. This is where the learning curve
seems to take a massive hike! I wish to implement a "remember me" system and
I am confused by the seemingly large amount of possible solutions.
Can somebody please point me in the right direction or explain their
solutions using the Zend Framework? I cannot find a complete example and
looking at the documentation for classes such as Zend_Session,
Zend_Http_Cookie etc I am getting confused as to the preferred solution?
I am not after huge replies just some brief direction i.e. "I use
Zend_Session with Zend_Auth" etc. That will help me focus my reading!
Thanks.
David
--
View this message in context:
http://www.nabble.com/Remember-Me-and-Zend_Session-with-Zend_Auth-Zend_Acl--
tp21533230p21533230.html
Sent from the Zend Framework mailing list archive at Nabble.com.
________________________________________________________________________
This email has been scanned for all known viruses by the MessageLabs Email
Security Service and the Macro 4 plc internal virus protection system.
________________________________________________________________________
________________________________________________________________________
This email has been scanned for all known viruses by the MessageLabs Email
Security Service and the Macro 4 plc internal virus protection system.
________________________________________________________________________