shahriar Posted February 4, 2014 Share Posted February 4, 2014 (edited) I searched a lot about this issue , even searched about server as well maybe solve problem but no chance 1- in my account page , after customer enter details and click on log , page refresh and nothing happen . for first time everything is ok , customer registered and can to log in , but when come back again to site they cannot log in 2- after add product to cart ,by click on basket shows message that cart is empty When i check Browser Cookies it has 2 cookies on my site domain.com and www.domain.com when i removed only domain.com cookies able to login to shop what shall i do to stop to not making domain.com cookies? as soon as customer only remove my site cookies from browser they able to log in , other wise they wont . I CAN NOT TELL TO EACH CUSTOMER PLEASE BEFORE TRYING TO LOGIN CLEAR YOUR BROWSER HISTORY OR ONLY MY SHOP COOKIES PS 1.5.6.1 Multistore 3 shops Any single correct advise appreciate it is not english language top of the site click on Lock icon so you will go to My Account page Edited February 4, 2014 by shahriar (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted February 4, 2014 Share Posted February 4, 2014 can you provide the front office url so we can try this issue? note: you can later delete the url by editing your post. Link to comment Share on other sites More sharing options...
Tobiasz Posted February 4, 2014 Share Posted February 4, 2014 Did you modify .htaccess file? What domain is your shop running on and what domain is set up in configuration? Link to comment Share on other sites More sharing options...
shahriar Posted February 4, 2014 Author Share Posted February 4, 2014 can you provide the front office url so we can try this issue? note: you can later delete the url by editing your post. Thank you for fast reply , i sent for you shop url Link to comment Share on other sites More sharing options...
shahriar Posted February 4, 2014 Author Share Posted February 4, 2014 Did you modify .htaccess file? What domain is your shop running on and what domain is set up in configuration? i tried many times to touch .htaccess , as soon as i touch it , all shop explode i just did domain running only with www. Link to comment Share on other sites More sharing options...
Tobiasz Posted February 4, 2014 Share Posted February 4, 2014 And that is probably your problem. Some browser does not accept cookies from other domains than the site. And www.domain.com and domain.com are different domains. Try to remove www redirection, clear everything and try again. Link to comment Share on other sites More sharing options...
shahriar Posted February 4, 2014 Author Share Posted February 4, 2014 (edited) And that is probably your problem. Some browser does not accept cookies from other domains than the site. And www.domain.com and domain.com are different domains. Try to remove www redirection, clear everything and try again. when i checking browser history it i will show 2 cookies one is domain.com other one is www.domain.com i need domain redirect to www Edited February 4, 2014 by shahriar (see edit history) Link to comment Share on other sites More sharing options...
shahriar Posted February 4, 2014 Author Share Posted February 4, 2014 I just test one thing now , i removed only domain.com and leave www.domain.com . and i able to login 1 Link to comment Share on other sites More sharing options...
Tobiasz Posted February 5, 2014 Share Posted February 5, 2014 when i checking browser history it i will show 2 cookies one is domain.com other one is www.domain.com So you've answered yourself. You cannot push cookies from 2 different domains, that would be a security breach. Try to set up your domain at webhosting level to always point www.domain. Link to comment Share on other sites More sharing options...
Recommended Posts