0

We installed SSL and got the https:// working on our magento 1.9.2 site however we can only login once when we clear our cookies. We can not logout and then log back in again...When we press login it just goes back to the same login page again...unless we clear our cookies and reset the browser. We tried adding the form_key after to both the customer and peristent login files but its still not working. Does anyone have any ideas?

enter image description here

enter image description here

1

1 Answer 1

0

try this code frinds:- Magento 1.9 has been used form key validation at customer loggin and register page.On Post action it check the form key using function _validateFormKey() at controller

form key issue: form key missing so add this code in your form

<input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />

OR

Cookie domain setting issue goto check setting is proper or not

at Admin>System>configuration>General>Web>Session Cookie Management

1
  • Hello we have tried the formkey solution. Is our Session Cookie Management setting correct?
    – Jacob Lu
    Apr 1, 2016 at 14:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.