cookie on magento | naveenOS https://www.naveenos.com How may I help you - E-Commerce | Full-Stack Developer Fri, 09 Jul 2010 06:33:21 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 Remember me box on login page in magento https://www.naveenos.com/2010/07/remember-me-box-on-login-page-in-magento https://www.naveenos.com/2010/07/remember-me-box-on-login-page-in-magento#comments Fri, 09 Jul 2010 06:33:21 +0000 http://naveenos.com/?p=158 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’] […]

The post Remember me box on login page in magento first appeared on naveenOS.]]>
https://www.naveenos.com/2010/07/remember-me-box-on-login-page-in-magento/feed 4