What's the best way to handle something like a login page on top of Zend Framework? (And why does my implementation explode?)
问题 EDIT: Sorry for the large amount of code here; I'm not sure exactly what's going on so I included more to be safe. I've currently got a login page which farms out to a central authentication service. I'd like to do a permissions check on the user. If the user is not logged in, I'd like to redirect them to the login page, and have the login page redirect them to do whatever action it was they were originally doing, running the access check again. If they don't have permission, I want to