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