Set cookie in a survey that has tokens table

Mehr
2 Monate 1 Woche her - 2 Monate 1 Woche her #183222 von yohay
Hi,
I need to set a cookie to prevent repeated participation from the same machine and I see that if I have participation table it doesn't work.
Is it the standard behavior or is it a bug ? Is there away to use it with a survey that has a tokens table?

Thank you in advance
Letzte Änderung: 2 Monate 1 Woche her von yohay.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
Mehr
2 Monate 1 Woche her - 2 Monate 1 Woche her #183227 von Joffm

it doesn't work.


What doesn't work?
The cookie is not set?
The survey does not start?
Or what?


I tested and it looks fine.

Joffm

But if you use tokens the participant can use it only once (in the default setting)
So what is the special reason to avoid the survey to be answered twice from the same machine.
(E.g. you invited two people of the same household. The have different tokens)


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Letzte Änderung: 2 Monate 1 Woche her von Joffm.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 1 Woche her - 2 Monate 1 Woche her #183228 von yohay
The cookie is not set. User can access the survey from the same machine over and over.
BUT I didnt mention something that might be the problem.
Every user has more than one "uses left".
The idea is that there is a group of responses on the same token and I want to restrict the use to only one machine (but can be completed more times under different machines)
Letzte Änderung: 2 Monate 1 Woche her von yohay.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 1 Woche her #183235 von yohay
I've just notice your PS question..
The reason is because of the following scenario:
- Course evaluation survey that is taken by different classes
- Survey participants need to be annonymos but they identify by their class id
- They're all taking it at the same time at the same computer lab
- The identification is done by an api taking a unique number from the attributes table (that's why only one record per class)

Thus I need:
- That every participant will be able to fill the survey only once (that's why the cookie)

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 3 Tage her #183368 von yohay
Hi
just updating that I've solved it by creating cookie handling in JS that I've added at the start and end page

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha