Anda cukup mengubah nama cookie adminhtml untuk subdomain.
Dua perubahan dalam file app/code/core/Mage/Core/Controller/Varien/Action.php
.
Di preDispatch
baris fungsi berubah
/** @var $session Mage_Core_Model_Session */
$session = Mage::getSingleton('core/session', array('name' => $this->_sessionNamespace))->start();
untuk
$namespace = $this->_sessionNamespace.($_SERVER['SERVER_NAME']=='subdomain.example.com'?'_subdomain':'');
/** @var $session Mage_Core_Model_Session */
$session = Mage::getSingleton('core/session', array('name' => $namespace))->start();
Dalam fungsi setRedirectWithCookieCheck
berubah
/** @var $session Mage_Core_Model_Session */
session = Mage::getSingleton('core/session', array('name' => $this->_sessionNamespace));
untuk
$namespace = $this->_sessionNamespace.($_SERVER['SERVER_NAME']=='subdomain.example.com'?'_subdomain':'');
/** @var $session Mage_Core_Model_Session */
$session = Mage::getSingleton('core/session', array('name' => $namespace));
Dan setelah itu cari teks
Mage::getSingleton('core/session', array('name' => 'adminhtml'));
di semua file dan ganti dengan
Mage::getSingleton('core/session', array('name' => 'adminhtml'.($_SERVER['SERVER_NAME']=='subdomain.example.com'?'_subdomain':'')));
jika ada kejadian akan ditemukan.
.
depan domain, penting!