XF 1.2 Keep getting signed out

BaeFell

Member
Hi,

Sometimes when I refresh or navigate around our forum it signs me out. It doesn't appear to happen to other users on the forum, and to my knowledge no changes have been done which could make this happen.

I have deleted my cookies, cache and session storage to check that it's not just a xf_session problem, but it still happens.

My xf_session cookie is being set and I can see it in the database. I also use CloudFlare however I have added:
Code:
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }
to the top of my config (obviously below <?php) and this seemed to have fixed it a while back, but it keeps happening again.

Any help? Please... :cry:
 
Top Bottom