예제 #1
0
        public void OnGet()
        {
            String sessionCode = _fastCastService.GetData("SessionCode");

            if (sessionCode == "-1")
            {
                ViewData["SessionAnswerError"] = "Could not authentify your request. Please re-enter your session code in the home page";
                Authenticated = false;
            }
            else
            {
                Authenticated               = true;
                ViewData["SessionCode"]     = sessionCode;
                ViewData["SessionName"]     = _fastCastService.GetData("SessionName");
                SessionFormId               = _fastCastService.GetData("SessionFormId");
                ViewData["SessionFormId"]   = _fastCastService.GetData("SessionFormId");
                ViewData["SessionDuration"] = _fastCastService.GetData("SessionDuration");
            }
        }
예제 #2
0
        public void OnGet()
        {
            String sessionCode = _fastCastService.GetData("SessionCode");

            _fastCastService.Refresh();

            if (sessionCode != "-1")
            {
                ViewData["SessionCode"] = sessionCode;
            }
        }