WebView and Tinydb

How can I save user WebView usage, return user to the page there were on when they return to WebView. For for explanation, Please I want users who are newly visiting the WebView to be directed to the home site. And the users usage to be save on tinydb. If the user leaves the WebView screen, and later return, two pop up buttons are to show, asking the users if they want to resume where to stopped last time or not. If the user click on return, then the WebView should get the user last visited url which is saved with tinydb. I want to know how to set the tinydb, I have no knowledge about it. Please can someone teach me how.

You can use the currentUrl block of the webviewer to track web page location.

Search the FAQ for tinydb.