private SessionCacheWithBackup() { _memcachedClientSection = ConfigurationManager.GetSection(DefaultConfigSection) as MemcachedClientSection; _locatorImpl = new SessionNodeLocatorImpl(); _sessionKeyFormat = new SessionKeyFormat(); }
internal void ResetMemcachedClient(string memcachedConfigSection) { if (_client != null) { _client.Dispose(); _client = null; } _locatorImpl = new SessionNodeLocatorImpl(); _memcachedClientSection = ConfigurationManager.GetSection(memcachedConfigSection) as MemcachedClientSection; InitializeClient(); }