You will need to make sure the pages behind the login (those that can only be accessed after login) are not cached in the browser:
Page.Response.Cache.SetCacheability(HttpCacheability.NoCache);
If using forms authentication, you will also need to abandon the session and logout:
Session.Abandon();
FormsAuthentication.SignOut();
See this, this and this.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…