public CurrentRequestSession(string currentSessionCookieValue) { CurrentContextReference = new FakeCurrentHttpContext(); if (!String.IsNullOrEmpty(currentSessionCookieValue)) { CurrentContextReference.Current.Response.Cookies[SessionCookieName].Value = currentSessionCookieValue; } CurrentSessionData = GetSessionData(GetSessionId()); _removeSession = false; _valueChanged = false; }