コード例 #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
ファイル: ChannelService.svc.cs プロジェクト: s1me0n/Teamwork
        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"];
        }