I haven\'t had much luck finding the answer through google searches, but is it possible to tell which page a user came from?
Or, send a query string on back button
You can use the NavigationService to accomplish the desired result. Specifically, you can do something like this:
var uri = NavigationService.CurrentSource;
if(uri != badUri) { /*proceed...*/ }
Here is the reference page:
http://msdn.microsoft.com/en-us/library/system.windows.navigation.navigationservice.currentsource.aspx