I\'m making a Windows Phone 7 app that has login/logout semantics (authenticating to a web app). When the user logs out I navigate back to the login screen and forget the sessio
You should create "Loaded" event for your page
private void LayoutRoot_Loaded(object sender, RoutedEventArgs e) { try { while (NavigationService.RemoveBackEntry() != null) ; } catch (System.NullReferenceException ex) { } }