I'm working on an app that uses devise and allows the User to view a series of videos.
The requirements are for the session timeout to be set to, say 45 minutes.
If the User is watching a video that's, say, an hour long, and is just watching it, not interacting with the browser in any way, it seems like their session would be timed out by the time they got to the end of the video and tried to navigate to another page.
So, a couple of questions:
1. Is the assumption above true, or does having a video playing in the background count as "user activity"?
2. If video playback doesn't count as "user activity", then is there a way, given a current_user, to reset/refresh that user's timeout_in value? We're hitting a controller update action periodically during playback, so if I could call something on current_user at that point, that would work too. Just not sure if that's possible.
Thanks
Kenton