Usuń LocalStorage
localStorage.removeItem("key");
Itchy Ibis
localStorage.removeItem("key");
sessionStorage.removeItem('key');
window.onunload = function () {
sessionStorage.removeItem('key');
}
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1));
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();
Session.Abandon();
Session.Clear();