Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Different Users but same Timer State, Same Browser Same Device

  • SimonPressler
  • SimonPressler's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 5 days ago - 1 year 5 days ago #242700 by SimonPressler
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.6.14
Own server or LimeSurvey hosting: LimeSurvey hosting
Survey theme/template: fruity
==================
Dear Forum,
I tried to set up the a survey with multiple choice answers. Each question has its own question group and a timer of 45 seconds. If the timer is running down, the next question group is shown to the user. The survey was supposed to be run on two Ipdas, and to offer a nice user experience the survey has been marked as web app capabel by adding the following lines to the layout_global.twig:
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="NameOfSurvey"/>
    <meta name="mobile-web-app-capable" content="yes">
The link to the survey has been used to save the survey to the home screen of the two devices. 
This set-up worked for the first survey respondent, however the second respondet's timers were set to the time remaining from the first respondent.
I tried to solve this issue by manually deleting all Safari cookies, but this failed to solve that issue.
What is going one here, and how can I avoid timer state being shared for multiple users, doing the survey in the same browser on the same device?
Sorry for the lengthy description, but i don't know which of these factors might be relevant to solve the problem so I decided that more information is always better. 
Best regards
Simon
Last edit: 1 year 5 days ago by SimonPressler.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 5 days ago #242704 by tpartner
Add the newtest=Y parameter to the survey URL.

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.

  • SimonPressler
  • SimonPressler's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 days ago #242735 by SimonPressler
Thank you, this indeed seems to solve the problem.

However, could you elaborate on the exact nature of the underlying problem, and is there a different option to avoid it? Having to manually add a url parameter seems to be rather cumbersome. Can I set a parameter somewhere that makes this behaviour the default?

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 days ago #242737 by tpartner
This resets the session. There is no global setting to change the behaviour.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • SimonPressler
  • SimonPressler's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 days ago #242738 by SimonPressler
Would there maybe be a way to do this using java script when loading the first page of the survey?

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 2 days ago #242746 by tpartner
No, the session is already set when the first survey page loads.

I don't understand the problem with appending the parameter to the URL.

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.

Lime-years ahead

Online-surveys for every purse and purpose