Check out the LimeSurvey source code on GitHub!

End url that provide information about the token

  • nicola_86
  • nicola_86's Avatar Topic Author
  • Visitor
  • Visitor
3 years 7 months ago #97682 by nicola_86
Hi,
I was reading some documentation about this topic. I'm not I have understood if its possible.
I need that my system after calling limesurvey for the survey, have a response back, that contains information about the token who use the survey.
Thanks in advance.

Please Log in to join the conversation.

More
3 years 7 months ago - 3 years 7 months ago #97717 by DenisChenu
Hello,

Somethink like that:
http://example.org/endscript.php?token={TOKEN:TOKEN}&firstname={TOKEN:FIRSTNAME}

Denis

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).
Last Edit: 3 years 7 months ago by DenisChenu.

Please Log in to join the conversation.

  • nicola_86
  • nicola_86's Avatar Topic Author
  • Visitor
  • Visitor
3 years 7 months ago #97835 by nicola_86
Thanks DenisChenu, I'm wondering how it's implemented this function. If it's a javascript a meta or a simple link. Another question is if the user can easily avoid to click on it, or he's forced. I need a system that guarantee that the user uses this end url.
Thanks in advance.

Please Log in to join the conversation.

More
3 years 7 months ago #97837 by DenisChenu
Hello,

See: Automatically load URL when survey complete
manual.limesurvey.org/Creating_a_new_sur...ation_.26_navigation

No javascript : redirect in PHP, but user can change it after redirect.

If you need complete control for security: need own PHP script after redirect:
- Take $_SESSION information,
- verify according datatable information from token and survey .

Denis

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).

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form