Yesterday, I added the free CDN services CloudFlare offers to my forum. I used all of the recommended settings. The used bandwidth dropped drastically and the site loaded a lot faster so I was pretty happy. But then (a small) percentage of the users told me they keep getting logged out automatically.

I lowered the caching settings and a few people stopped getting logged out, but not everybody, so I disabled CloudFlare. Is this a known issue? Google didn't tell me anything useful. And is there any way I can enable it again without getting this issue?

  • Please include the configuration settings, screenshots are welcomed if its easier, also if you have any expires set please let us know those too. This is likely because of the expires set on the cookies. – Simon Hayter Sep 23 '13 at 11:32
  • Additionally check out: support.netdna.com/howto/use-cdn-with-cloudflare for the settings I'm referring too.. – Simon Hayter Sep 23 '13 at 11:37
  • 1
    While this is old, someone will probably stumble across this. The issue here is probably that there isn't something to restore original visitor IP (needed because we're a reverse proxy). Solution for phpbb: support.cloudflare.com/hc/en-us/articles/… – damoncloudflare Apr 22 '14 at 23:54
  • If anyone finds this through Google: if you decide to remove Cloudflare from your site and notice the number of online guests is always at 0 or 1, this is the reason. You have to revert this fix if you stop using Cloudflare. – Ivo van der Veeken Jan 16 '15 at 18:21

Browse other questions tagged or ask your own question.