private void GetSession(HttpContext context) { if (context.Session["sessionState"] != null) { _sessionState = (boSessionState)context.Session["sessionState"]; } if (context.Session["restoreSession"] != null) { _restoreSession = (RestoreSession)context.Session["restoreSession"]; } }
private void GetSession() { if (HttpContext.Current.Session["sessionState"] != null) { _sessionState = (boSessionState)HttpContext.Current.Session["sessionState"]; } if (HttpContext.Current.Session["restoreSession"] != null) { _restoreSession = (RestoreSession)HttpContext.Current.Session["restoreSession"]; } }