Mandatory Logout for Inactivity
Aug 21, 2014
We have a new requirement (for a compliance course) that states "the course must log students out of the course after 6 minutes of inactivity. It must be a background timer. The course is to be configured such that the student is not presented with a time-out warning. If the student is logged out due to inactivity, they must return to the start of slide where inactivity was detected."
I understand why this is needed. Typically our LMS does this tracking and logout, but the new LMS team is telling us that the course should handle this.
I've looked through most of the Storyline settings and nothing seem obvious abut how I should do this in the tool. Any ideas/help/suggestions?
There has to be a solution - I am just missing it, I think.
Thanks!
9 Replies
Hi Jon and welcome to E-Learning Heroes!
Storyline does not set a timeout limit, so any timeouts would be controlled by the LMS.
Perhaps another user in the community has some experience with this and would be able to assist.
Hi Jon, I'm not an expert by any means but have dabbled in javascript and Storyline. You may need to experiment with some javascript for this. There is a very helpful article located here with explanations from the author that may help:
Detecting if the user is idle or inactive
When the goInactive function hits, you could have a pop-up window come up, your course window exit, etc. And of course you'd set the course to resume when launched again so the learner would pick up where they left off.
Thank you, Duane. The inactive javascript concept seems like a great solution. However, I am stuck and I can't figure out the next step. I am trying to base it on a variable, so that when the javascript function = inactive, my variable changes to True, and either a pop-up layer appears or the course jumps to a page with a timeout warning.
Do you think this is possible? I can't figure out what code to write in the "do something" section to make my variable "ActivityTimer"="True".
function goInactive() {
// do something
}
Hi Jen,
I'm not certain that Duane is still subscribed to this thread as it's about 11 months old. You are welcome to reach out to him directly by using the "contact me" feature on his profile to send him a message in case he's able to assist.
Best of luck with your project!
Did you ever find a solution for this? Did the java script work? I have the same question.
Hi Katie,
This thread is a bit older so I'm not sure if folks are still subscribed but you may want to message them using the "contact me" button on their profiles to reach out and see what they were able to resolve.
Katie,
Hey, i noticed this and I know it's been awhile but I wondered if you found a solution for the inactivity timeout?
I have the same issue and I haven't found a solution yet (although will try talking with a programmer about the java part of this).
Appreciate any thoughts Katie,
Thank you
Jon,
Hey I know it's been awhile since you posted this, but I have to find a solution for this inactivity timeout.
Were you able to find a solution?
Any thoughts appreciated Jon
Thanks!
Hi Hailey and welcome to E-Learning Heroes :)
Looks like this thread is a bit dated and you are certainly welcome to reach out to the user directly via the 'Contact Me' option on the user profile if you do not hear back soon.
Looks like you may have gotten what you needed from Brian here though.
This discussion is closed. You can start a new discussion or contact Articulate Support.