Website logs out members

What is the name of the domain?

Jandeane81.com

What is the error number?

N/A

What is the error message?

Logs out when proxied

What is the issue you’re encountering

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.

Thanks.

Hi there,

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.

Take care.

This topic was automatically closed after 15 days. New replies are no longer allowed.