Token mismatch error

More
4 years 8 months ago - 4 years 8 months ago #86348 by olegb
olegb created the topic: Token mismatch error
Hello !

We use Version 2.00+ Build 120931.
I have a problem :( . I've created a new assesment survey. One person have to assess his colleague and boss. All question are the same for colleague and for boss. I've added attribute to token table to distinguish between those who will be assessed (one token for boss assesment, second token for colleague assesment) Also I've added this attribute to survey header (For example Boss assesment or Colleague assesment in survey header)When person received the invitations and clicks on first link all OK, but when clicks on another link system message in the browser :

Token mismatch

The token you provided doesn't match the one in your session.

Please wait to begin with a new session.
Last Edit: 4 years 8 months ago by olegb.

Please Log in to join the conversation.

More
4 years 4 months ago - 4 years 4 months ago #91939 by andor
andor replied the topic: Token mismatch error
I have noted this behaviour as well. The session has to be reset, and invoking the token mismatch page does this, as does subsequent reloading of the assessment that showed the toeken mismatch error. However, this is causing our clients some concern, as clients need to commence multiple assessments in the same session and they are finding this a problem. I am wondering if this can be handled more gracefully.

I have a workaround which is the format the links provided in using the /newtest/Y string at the end as the links use in the token management page in LimeSurvey, but obviously this is no desirable full time.

Having to educate clients about sessions and so forth just so they can load an assessment correctly is not a good look. Comments, anyone?
Last Edit: 4 years 4 months ago by andor.

Please Log in to join the conversation.

More
4 years 4 months ago #91948 by mdekker
mdekker replied the topic: Token mismatch error
The original message is old, if you still have this issue with the current version, could you please file a bug report and copy your message in the report and a link to this forum topic? It sounds like a serious issue that should be resolved.

---
Menno Dekker

Please Log in to join the conversation.

More
1 year 3 months ago - 1 year 3 months ago #133341 by minerj
minerj replied the topic: Token mismatch error
Workaround. You can append "newtest/Y" to the URL if you break it up into parts and concatenate them together. The only dynamic part of the URL in the invitation email is the token number. So you can compose the URL of 3 parts, the static prefix to the token number, the token number itself and the static suffix to the token. Use the JOIN function to concatenate the parts.

Example: Use the following substitute for {SURVEYURL}:
{join("https://xxxxxxxx/index.php/survey/index/sid/yyyyyyyy/token/",TOKEN,"/lang/en/newtest/Y")}
where xxxxxxxx = your survey web site, e.g. survey.mysite.com
and yyyyyyyy = the number of your survey, e.g. 342245
Last Edit: 1 year 3 months ago by minerj. Reason: Wrong word used

Please Log in to join the conversation.

More
1 year 3 months ago #133362 by DenisChenu
DenisChenu replied the topic: Token mismatch error
minerj : you earn a karma -1 to answer to a 3 year ago question.

And in mail @@SURVEYURL@@/newtest/Y directly no need other think.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
1 year 3 months ago #133437 by holch
holch replied the topic: Token mismatch error
Come on, Denis, at least he/she tried! :-)

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now