How can I make the cookie session.cookie_path
only available for the module "/admin/"
?
Zend Framework Code:
// Se Login?
public static function isLoggedIn() {
$namespace = new Zend_Session_Namespace('Zend_Auth');
$namespace->setExpirationSeconds(60*5); //5 Minutos dura una session
$namespace->cookie_path = '/admin/'
return Zend_Auth::getInstance()->hasIdentity();
}
I can't get PHPSESSION to have the path set to '/admin/'
. PHPSESSION always has the path set to '/'
in the cookie. ;-(