Paste this code just before Page_Load event
Quote:
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetExpires(DateTime.Now.AddSeconds(-1));
Response.Cache.SetNoStore();
After that once you will leave Home Page by destroying session, you won't be able to go back to Home Page unless and until you log in
Please revert back to me in case of any doubts.
Thanks and regards
Suman Zalodiya.