私は3つのドメインを持っています:
example.com
m.example.com
dev.example.com
セッションは と で共通である必要がexample.com
ありm.example.com
ます。どのように私はそれを作った。Bootstrap.php:
protected function _initSession()
{
Zend_Session::setOptions(array(
'cookie_domain' => '.example.com',
'name' => 'ExampleSession'
));
Zend_Session::start();
}
しかし、このセッションも機能しdev.example.com
ます。の一般的なセッションを回避するにはどうすればよいdev.example.com
ですか? ありがとう!