Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last page of previous customer gets cached after logout and is shown to next customer after login #329

Open
Lez-2 opened this issue Aug 2, 2018 · 0 comments

Comments

@Lez-2
Copy link

Lez-2 commented Aug 2, 2018

I recently started using Lesti FPC in one of my M1.9 sites and for the most part it works pretty well.

But I came accross an issue with the logged in customer session being cached and provided to other logged in customers.

To better explain the issue, let's say there are 2 customers.

The 1st one logs in and searches for "PANTS" and gets some results, but then loggs out and leaves the site.

Then the 2nd customer visits some product page (e.g. "T-SHIRT") and then logs in.

After logging in, he should be redirected back to the T-SHIRT product, but he's instead being redirected to the search results of the previous logged in customer.
So I presume the referer url gets cached on the customer login form.

I've tried setting the customer_form_login block as lazy or dynamic and tried setting a refresh action customer_account_loginPost, but it's not working.

Any ideas what causes this issue or how to solve it?

@Lez-2 Lez-2 changed the title Last page of previous customer gets cached after logout and is shown for next customer login Last page of previous customer gets cached after logout and is shown to next customer after login Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant