How to get a cookie domain in Magento?

To get cookie domain you have to put this How to get a cookie domain in Magento? code in your phtml file and this phtml file was called by the page where you want to showing it. echo $cookieDomain = Mage::getModel(‘core/cookie’)->getDomain($_cookieName); Please leave your comment for asking any question or suggestion.
Need Help?how-to-get-cookie-domain-in-magento