website logs members out but only when I turn on the proxied through cloudflare
What steps have you taken to resolve the issue?
I am not sure what to do, when I turn on proxied in the DNS my members get logged out of my website when they click on links in my forum ,when I turn this off everything works fine and no issue’s whatsoever with getting logged out.
I know this is probably a simple fix and any help would be appreciated.
Likely you’re caching user data.
Here’s my suggestion:
Go to Caching > Cache Rules and press Create rule.
Add a name to your rule
Press Edit expression and paste this expression:
(http.request.uri.path contains "login.php") or (http.request.uri.path contains "register.php") or (http.request.uri.path contains "private.php") or (http.request.uri.path contains "usercp.php")
Set Cache eligibility to Bypass cache
Place at (Select Order) First.
Press Deploy
Now test it out. Feel free to add any other path that contains private user data to the above rule.