// In the first project
$auth = new Zend_Auth();
$auth->setStorage(new Zend_Auth_Storage_Session('project1'));
// In the second project
$auth = new Zend_Auth();
$auth->setStorage(new Zend_Auth_Storage_Session('project2'));
Hope that helps,
Tom
On 22 Apr 2009, at 15:09, Guillermo Caserotto wrote:
Hi folks, i have one server and its configured with zend for using two o more projects at the same time. Also have an index page for each project with their IndexControllers. I did a LoginController on the two projects using Zend_Auth but i can't getting to work with two projects. For example, I enter login a password in project one, its authenticated, when i go to the second project its show me directly the menu page, its like im logged in.
How can i do?
Thanks!
没有评论:
发表评论