Welcome to the LimeSurvey Community Forum

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

Set a cookie to avoid repeated entries

  • marquartnicolas
  • marquartnicolas's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 5 months ago - 4 years 5 months ago #190904 by marquartnicolas
Set a cookie to avoid repeated entries was created by marquartnicolas
Hello,

It happens to me that when I set "Set a cookie to avoid repeated entries" to "Active" I answer the survey and it shows me the correct completion sign, but if I re-enter it allows me to modify the survey again and at the end it shows me an error screen "You have already completed this survey."

The question is..

I have the cookie that says I completed the survey correctly because I saw the cookie with the information, that should not send me directly to a page and not start the survey?


The other question is ..
If the "You have already completed this survey" screen is this, how can I modify it so that it does not look like an error?
Last edit: 4 years 5 months ago by marquartnicolas. Reason: Translate question
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 5 months ago #190905 by Joffm
Hi,
this is the English section of the forum.
So please use the correct language.

[hr]
Esta es la sección en inglés del foro.
Por favor use el idioma correcto.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • marquartnicolas
  • marquartnicolas's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 5 months ago #190906 by marquartnicolas
Replied by marquartnicolas on topic Set a cookie to avoid repeated entries
Sorry, I just did the translation.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 5 months ago #190907 by Joffm
Replied by Joffm on topic Set a cookie to avoid repeated entries
I only can reproduce this when starting the survey from LS by clicking "Execute survey".
If I start by using the link I get this message immediately.

What did you do?

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • marquartnicolas
  • marquartnicolas's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 5 months ago #190909 by marquartnicolas
Replied by marquartnicolas on topic Set a cookie to avoid repeated entries
Ok, I share the link I am using.

I am using autofill in the URL.

The configuration I have of presentation is section by section and remove the welcome screen.

survey.marquartnicolas.com/index.php/255...255193X6X31SQ001=A11
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 5 months ago #190920 by Joffm
Replied by Joffm on topic Set a cookie to avoid repeated entries
Remove "newtest/Y"

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • marquartnicolas
  • marquartnicolas's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 5 months ago #190943 by marquartnicolas
Replied by marquartnicolas on topic Set a cookie to avoid repeated entries
Thanks Joffm, is work! Now I'm going to modify the template since it seems like a system error.

That parameter ("newtest/Y") for what would it be? to force and view the survey?
The topic has been locked.
More
4 years 5 months ago #190948 by jelo
Replied by jelo on topic Set a cookie to avoid repeated entries

marquartnicolas wrote: That parameter ("newtest/Y") for what would it be? to force and view the survey?

If the variable newtest is set to Y(Yes), a new usersession is used when entering the survey. That is only useful for testing. If you want to check the experience of an enduser, don't use that parameter. Instead use a fresh session via anonymous mode of your browser.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • marquartnicolas
  • marquartnicolas's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 5 months ago #190959 by marquartnicolas
Replied by marquartnicolas on topic Set a cookie to avoid repeated entries
Thanks Jelo, very clear
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose