You can give each project a unique session name so there will be no conflicts, even without modifying Zend_Auth.
-Hector
On Wed, Apr 22, 2009 at 7:25 AM, Tom Graham <tom.graham@jadu.co.uk> wrote:
Try having different session namespaces for the two projects, for example:// 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,
TomOn 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!
没有评论:
发表评论