how to delete previous session data on back navigation in metro app javascript. RRS feed

  • Question

  • I am using a navigation app template. When i navigate from one page control to another (lets say page1 to page2) an event is fired and some data is retrieved from the web services for particular query. The forward navigation work fine and data is loaded on the next page.

    I use  WinJS.Navigation.navigate() function. When i click on the back button the navigation takes place and page1 loads (page2 to page1),

    but when i fire another query on the page1 , the navigation takes place from page1 to page2 but the old query data is loaded. It means the sessions data is stored and external navigation takes place. I want to reset the history when i move back to page1 but still want to load page1 content so that when i move again to page2 with new query the all new data must be loaded.

    I am new to app development kindly provide some link to let understand about the navigation history and session state.I am bit confused with all these terms.

    deepanshu jaiswal monocept

    Wednesday, January 23, 2013 12:24 PM

All replies

  • Can you post your code or share your sample project on SkyDrive? That will help understand the scenario in a better way.



    Saturday, January 26, 2013 1:55 AM