I am testing our store and randomly getting logged out when clicking on links (account/cart/checkout/home/etc). The timing is random and the link is different every time. I cant find any repeatable pattern to replicate the issue. What I can see in fiddler traces is there seems to be a /cart URL followed by /account/logout. Even pages like the checkout page which I don’t think calls /cart has the /cart in my fiddler trace. When this happens I can see the customer ID gets set to null. We use an app called locksmith to ensure users can only hit pages after authentication. Since the customer is getting set to null we get the login prompt after this happens. Sometimes I get the issue after a few seconds. Sometimes I get it after several minutes.
- First page is the checkout page.
- Then I clicked on the company logo to go to the index page /
- Not sure why /cart would be called after I hit the checkout page or why it would trigger in a 302 redirect to the logout
- I had just one browser tab open so it wasnt a conflicting tab logging me out
