- Posts: 9
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
'm having a problem with the {TOKEN} parameter in LimeSurvey 6.6.2's End URL. On the final page, I want to include a link to an external site with these parameters: var1={SAVEDID}&var2={TOKEN}&var3={SID}&lang={LANG}All work except {TOKEN}, which returns empty. Survey responses are saved and viewable, with Tokens generated for each completion. The survey doesn't require registration. Why is {TOKEN} empty? I need it for an external program to securely retrieve survey responses and generate certificates. {SAVEDID} works but is sequential and easily guessable, while {TOKEN} is a large random number, offering better security. Please Log in to join the conversation.
How are the tokens "generated"? Typically, if no registration is required, you would need to create the participants (token) table.... with Tokens generated for each completion. The survey doesn't require registration.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Thank you for explanation.The seed is used for encrypting data. I don't believe it is available via an ExpressionScript variable.
Interesting idea! I’ve read through the documentation, and indeed, aside from the basic parameters in the "end URL" ({SAVEDID}, {TOKEN}, {SID}, and {LANG}), it’s also possible to use fields from the survey, and even expressions that could dynamically calculate the "encrypted" ID value.I suggest storing your own random number in a hidden equation type question. Maybe by appending one or more random numbers to the {SAVEDID}.
Please Log in to join the conversation.
The SAVEDID is generated after the submission of the first survey page/group. Insert your equation question after that.I just hope that the value from {SAVEDID} will already be available at this stage, meaning that the URL generation happens after the {SAVEDID} is saved and generated
Please Log in to join the conversation.
It was if you activate a new pluginThe seed is used for encrypting data. I don't believe it is available via an ExpressionScript variable.
Please Log in to join the conversation.