Jump to content

Cookies Problem ( i really need some advise)


Recommended Posts

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 by shahriar (see edit history)
Link to comment
Share on other sites

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 by shahriar (see edit history)
Link to comment
Share on other sites

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

×
×
  • Create New...