oTree Forum >

How to get correct countdown after page refresh, hide, close?

#1 by HGGshiwo2

Hi there,

I want all the page strictly follow the same countdown number, for example, they should show the same number at the same time. That page is following a wait page, so every player enter the page at the same time. My problem is  that when user hide the page, or close it in waiting page, then reopen it, the countdown number for that page is different from other pages. So how can I solve it?   Much thanks.

#2 by HGGshiwo2

I have found the solution: https://otree.readthedocs.io/en/latest/timeouts.html?highlight=get_timeout_seconds#timeouts-that-span-multiple-pages, sorry for the duplicate, but I cann't find somewhere to delete one.

Write a reply

Set forum username