Esempio n. 1
0
        public ActionResult LogOff()
        {
            JVKCache jvkCache = new JVKCache();

            //remove jvkUserPrivateData and jvsUser from cache
            jvkCache.RemoveFromCache("jvsUserData" + jvkUserPrivateData.userUID);
            jvkCache.RemoveFromCache("jvsUser" + jvkUserPrivateData.userUID);

            FormsAuthentication.SignOut();
            return(RedirectToAction("Index", "Home"));
        }