I've set the following in my application.ini config file:
resources.session.cookie_domain = ".app.mydomain.com"
Then, in my Bootstrap file I've got:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
protected function _initSession()
{
Zend_Session::start();
}
.
.
.
As far as I can see, this config isn't being picked up.
If I try:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
protected function _initSession()
{
ini_set('session.cookie_domain', '.app.mydomain.com');
}
.
.
.
...It works! But clearly this is just a hack. What do I need to do to have ZF pick up my config setting? I can confirm that when I dump out the config options, I can see my config setting, it just seems it's not being applied to the session.