Tag: cookie on magento

  • Remember me box on login page in magento

    Steps for Remember me functionality in login.phtml Step 1: Please find the following path http:\\yourdomain\app\code\core\Mage\Customer\controllers\AccountController.php Step2: Find following function: public function loginPostAction() and Replace with: public function loginPostAction() { if ($this->_getSession()->isLoggedIn()) { $this->_redirect(’*/*/’); return; } $session = $this->_getSession(); if ($this->getRequest()->isPost()) { $login = $this->getRequest()->getPost(’login’); if (!empty($login[’username’]) && !empty($login[’password’])) { try { $_SESSION[’user_name’] = $login[’username’]; $_SESSION[’user_password’]…