a few days ago we moved to a load balanced system. We have got one load balancer (Apache2, Proxypass) and two web nodes. The two webnodes are configured in php.ini to use the same memcached server for sessions.
Now we got the following problem: If you login to the Admin Area, the site is going to reload (empty fields). If you press [F5] after that, you'll be logged in. Same in logging out from the forum, the site reloads but you aren't finally logged out by the system.
Our Cache / Session Settings in library/config.php are configured as follows:
$config['cache']['cacheSessions'] = true; $config['cache']['enabled'] = true; $config['cache']['frontend'] = 'Core'; $config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_'; $config['cache']['backend'] = 'Memcached'; $config['cache']['backendOptions'] = array( 'compression' => false, 'servers' => array( array( // your memcached server IP /address 'host' => '10.11.12.10', // memcached port 'port' => 11211, ) ) ); $config['cookie'] = array( 'prefix' => 'xemforo_lp_', 'path' => '/', 'domain' => '' );
Its very critical. I haven't worked with Xenforo before, so it isn't easy for me. I spended a few hours finding the mistake - without a solution.