# Adding a timeout warning

**URL:** <https://community.evolveauthoring.com/t/adding-a-timeout-warning/2227>\
**Category:** General Help\
**Created:** [March 31, 2023, 9:38am UTC](https://community.evolveauthoring.com/t/adding-a-timeout-warning/2227 "2023-03-31T09:38:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SilviaD](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/silviad/32/714_2.png) [@SilviaD](https://community.evolveauthoring.com/u/SilviaD)\
**Post date:** [March 31, 2023, 9:38am UTC](https://community.evolveauthoring.com/t/adding-a-timeout-warning/2227/1 "2023-03-31T09:38:39Z")

</div>

Hi everyone,

We have a client that needs to track the time that learners spend in their courses.  
However, they noticed that some people spent 7h with the course open - the LMS they are using has an 8h timeout that can’t be adjusted by course.  
We wanted to know if it was possible to implement a timeout warning in Evolve courses - for example, after 5 minutes without interacting with the course, a pop up opens with the question “Are you still there?” - and if no answer is given, it cuts the connection with the API.

Is this even possible?  
Many thanks!

---

<div class="post-metadata">

**Author:** ![Sam\_Cook\_Evolve\_LQA](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/sam_cook_evolve_lqa/32/902_2.png) [@Sam\_Cook\_Evolve\_LQA](https://community.evolveauthoring.com/u/Sam_Cook_Evolve_LQA)\
**Post date:** [March 31, 2023, 10:45am UTC](https://community.evolveauthoring.com/t/adding-a-timeout-warning/2227/2 "2023-03-31T10:45:25Z")

</div>

Hi @SilviaD , unfortunately there’s isn’t a way to do that in Evolve, but I would have thought the LMS itself would have that capability?  
Cheers-Sam

---

<div class="post-metadata">

**Author:** ![SilviaD](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/silviad/32/714_2.png) [@SilviaD](https://community.evolveauthoring.com/u/SilviaD)\
**Post date:** [March 31, 2023, 11:11am UTC](https://community.evolveauthoring.com/t/adding-a-timeout-warning/2227/3 "2023-03-31T11:11:06Z")

</div>

Hi Sam,

That’s what I thought, thank you.

The LMS does have,that capability, but it changes the timeout duration for the whole LMS, and not just these specific courses where time spent is an important indicator.

---

<div class="post-metadata">

**Author:** ![Matt\_Leathes](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/matt_leathes/32/586_2.png) [@Matt\_Leathes](https://community.evolveauthoring.com/u/Matt_Leathes)\
**Post date:** [March 31, 2023, 11:12am UTC](https://community.evolveauthoring.com/t/adding-a-timeout-warning/2227/4 "2023-03-31T11:12:14Z")

</div>

@SilviaD Evolve’s SCORM code has timer that triggers a ‘save’ of all tracking data to the LMS every 10 mins. That might well prevent the LMS from timing out.

---

<div class="post-metadata">

**Author:** ![SilviaD](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/silviad/32/714_2.png) [@SilviaD](https://community.evolveauthoring.com/u/SilviaD)\
**Post date:** [March 31, 2023, 4:14pm UTC](https://community.evolveauthoring.com/t/adding-a-timeout-warning/2227/5 "2023-03-31T16:14:46Z")

</div>

@Matt_Leathes thank you! I’m going to check that 🙂

---

<div class="post-metadata">

**Author:** ![Martin](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@Martin](https://community.evolveauthoring.com/u/Martin)\
**Post date:** [April 12, 2023, 6:29pm UTC](https://community.evolveauthoring.com/t/adding-a-timeout-warning/2227/6 "2023-04-12T18:29:27Z")

</div>

SilviaD – Hi – not sure this’ll work, but Evolve variables can be increased or decreased with a delay in milliseconds. Might be possible to start a timer when a page loads by setting a variable and then having a trigger decrement it every 1000 milliseconds until five minutes have elapsed. You could then use another trigger to display the warning content when the elapsed variable value reached zero. Love to hear thoughts on this. The only issue I see is that the timer running may, itself, actually constitute ‘activity,’ so you’d need to play around with this… find a trigger (time on a page, time in a component) that would work.
