I am developing a Windows Phone app and need to implement below functionality:-
There is logged in section in the app. And if user is idle for 5 mins MessageBox should come saying "Session Time Out. Please login again." with OK button on Message Box and on click of OK button user will be logged out of application and login page should come.
This is implemented successfully but if the user clicks Hardware Back button of Windows Phone, MessageBox disappears and user can still access the app even after 5 minutes.
Please let me know how to restrict Hardware Back when MessageBox is in open state and Message box should remain active till the time user clicks Ok button.
Thanks in advance.
Regards, Jatin Juneja