Monday, January 23, 2012

Loggged out and refresh page when open again

Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetExpires(DateTime.Now.AddSeconds(-1));
Response.Cache.SetAllowResponseInBrowserHistory(false);
Response.Cache.SetNoStore();