Implement save state for session timeout
When a session times out for a password protected user the password entry page is shown and the user is returned to the main menu. So if a user left the player whilst browsing movies then returns after a session timeout they have to re-navigate from the main menu.
Now that the page history is being accurately tracked it should be possible to implement save states where details of the current users session are saved to the filesystem after each page is displayed. Then after a session timeout has occured the page history can be restored from the save state and the user automatically returned to the page they were browsing before the timeout. The save state should be saved for each user so that child accounts are not returned to a page being browsed by an adult account.
Now that the page history is being accurately tracked it should be possible to implement save states where details of the current users session are saved to the filesystem after each page is displayed. Then after a session timeout has occured the page history can be restored from the save state and the user automatically returned to the page they were browsing before the timeout. The save state should be saved for each user so that child accounts are not returned to a page being browsed by an adult account.
Leave a comment
(In revision:1658) Added a save state whereby the page history is written to a file '##_save_state' in the cache directory.
Refs #274
Refs #274