Пример #1
0
        public void LogOut()
        {
            cookie.DeleteCookies();
            Session["keywords"] = null;
            dataParser.ParseAllData();

            var user         = new StudentUser("Not logged in", "", "", -1, SchoolCourses.VisAlt);
            var modelWrapper = CreateModelDataWrapper(DataWrapper.Instance.GetEventsWithName(user), user);

            CultureManager.UpdateCulture(HttpContext.Request);
            HttpContext.Response.Redirect(HttpContext.Request.UrlReferrer.AbsolutePath);
        }