Exemple #1
0
 private void ClearSessions()
 {
     sessionUtils.ClearString(HttpContext, QuizStatus);
     sessionUtils.ClearInt(HttpContext, CurrScore);
     sessionUtils.ClearInt(HttpContext, CurrQuestionId);
     sessionUtils.ClearString(HttpContext, QuizStartTime);
     sessionUtils.ClearString(HttpContext, QuizPreviousQuestionList);
 }
Exemple #2
0
 public bool Exit()
 {
     sessionUtils.ClearString(HttpContext, "userId");
     sessionUtils.ClearString(HttpContext, "userName");
     return(true);
 }