Page 1 of 1

resuming view of web app page

Posted: Mon Sep 23, 2013 10:38 pm
by Sean Kelley

I have web app (not phonegap) with page for admin functions. If user turns off device while on page (or bookmarks page) I want to be able to force reload the page when they come back.

I am not sure what this would be called or if its possible Is see the resume event as option but that is for phonegap app right?

I use appery db and currently assume good token for this page's various possible edits. I do not want to have to check/get new token for each activity if at all possible. Rather, I want to reload page and test for good token.

A slightly separate issue is with the sub pages. I want to disallow them to be used again (on resume or bookmark) without starting on main admin page- I want to force user back to main admin page. Is this possible?


resuming view of web app page

Posted: Tue Sep 24, 2013 1:44 am
by maxkatz

Check if there is a special browser event that is fired when the app is resumed.

As for disallowing some pages to be viewed -- that's possible but the logic would need to be coded.