XF 1.1 cookies and xcache

Banana Pup

Well-known member
I recently made a move from ngnix to litespeed and now using cache instead of memcache.

Anytime I do anything in admin panel, every page load logs me out and have to log back in to save change. Then when I move on to another option or area, logged out again. Only has happened since changing my config, I removed it and for 20 minutes now I have not been logged out once.

$config['cache'] = array(
    'enabled' => true,
    'frontend' => 'Core',
    'frontendOptions' => array(
            'caching' => true,
            'automatic_serialization' => false,
            'cache_id_prefix' => 'forum_',
            'lifetime' => 18000
    'backend' => 'Xcache',
    'backendOptions' => array(),
    'cacheSessions' => true

Jake Bunce

XenForo moderator
Staff member
That likely indicates a problem with the cache you have setup. You should review the current configuration and state of your cache to make sure it's healthy. In the meantime you can set 'cacheSessions' => false to fix your login problem.