Manual:MemcachedSessions.php/en

Details
MemcachedSessions.php file gets included if $wgSessionsInMemcached is set in the config. It redirects session handling functions to store their data in memcached instead of the local filesystem. Depending on circumstances, it may also be necessary to change the cookie settings to work across hostnames.