Check out the LimeSurvey source code on GitHub!

Global survey timeout

More
6 years 2 weeks ago #54688 by szantopeter
I would like to use lime survey for job interviews. To do this it is important to limit the time a candidate spends on the survey, is there any way to set a global time limit for the survey? I found the time limit option on the question level, but it is not exactly what I need. The other problem with that is if I add two questions into the same group with 20 sec time limit the timer starts immediately for both questions. Is there any way to start the timer only when the question is first entered?

Please Log in to join the conversation.

More
6 years 2 weeks ago #54694 by tpartner
1) As far as I know there is no way to have a survey timer without using cookies and that would be very insecure.

2) I don't understand "when the question is first entered". If they are in the same group and the survey is displayed group-by-group, both will be "entered" when the page opens.I think you need them on different pages.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
6 years 2 weeks ago #54696 by szantopeter

tpartner wrote: 1) As far as I know there is no way to have a survey timer without using cookies and that would be very insecure.

Would it be possible to count the time on the server side? The counter would start when the user enters the first page.

tpartner wrote: 2) I don't understand "when the question is first entered". If they are in the same group and the survey is displayed group-by-group, both will be "entered" when the page opens.I think you need them on different pages.

It can work, but a bit complicated to set up 100 questions each of them in a separate group, but if this is the only way I will do that.

Please Log in to join the conversation.

More
6 years 2 weeks ago - 6 years 2 weeks ago #54698 by tpartner

Would it be possible to count the time on the server side?

I don't believe so because there is no interaction with the server until a page is submitted. This would allow a page to stay open indefinitely. (maybe a PHP expert can make a liar of me)

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 6 years 2 weeks ago by tpartner.

Please Log in to join the conversation.

More
6 years 2 weeks ago #54699 by szantopeter

tpartner wrote:

Would it be possible to count the time on the server side?

I don't believe so because there is no interaction with the server until a page is submitted. This would allow a page to stay open indefinitely. (maybe a PHP expert can make a liar of me)


I see, in this case my question is if I use the timeout for individual questions is it safe or has the same issue?

Please Log in to join the conversation.

More
6 years 2 weeks ago #54702 by tpartner
It is possible to disable the timer while viewing a page.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
6 years 2 weeks ago #54707 by szantopeter
thank you, at least I know what can I expect :)

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form