예제 #1
0
        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"];
            }
        }
예제 #2
0
        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"];
            }
        }