How do I clear navigation history in Silverlight/Windows Phone 7?

前端 未结 5 1443
無奈伤痛
無奈伤痛 2021-02-10 08:18

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

5条回答
  •  被撕碎了的回忆
    2021-02-10 09:05

    There are a few things to look at here. First is I recommend familiarising with the guidance offered here.

    Introducing the concept of “Places” - Peter Torr's Blog

    Redirecting an initial navigation - Peter Torr's Blog (down at the moment sorry)

    If you're able to work within this guidance that is the best path. There is specific advice for dealing with login screens.

    If you are compelled to offer a home button feature. Be careful how you apply this, as certifiers are knocking apps back for behaving in unexpected ways with respect to navigation. I feel if this function is behind a home button you should be ok in the surprise department. How this stands over time with certification we will see. Arguably a "logout" scenario applies equally.

    Here are three approaches from Richard Woo, Maarten Struys, Sam Jarawan.

提交回复
热议问题