+ admin controller
+ my controller
In short, I need to authenticate a user from 'my controller' and then pass
on the request to the admin controller. Authentication currently works with
a session variable which has a method 'isLoggedOn()'.
My issue is that the session which I create in 'my controller' does not
persist when I redirect to the 'admin controller'. Any thoughts on this?
Here is how I redirect:
$request->setRouteName('adminhtml')
->setControllerName('adminhtml')
->setActionName('index')
->setModuleName('admin')
->setDispatched(false);
--
View this message in context: http://www.nabble.com/Preserve-Session-Across-Controllers--tp23801799p23801799.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论