Welcome, Guest
Username: Password: Remember me

TOPIC: End url that provide information about the token

End url that provide information about the token 1 year 5 months ago #97682

  • nicola_86
  • nicola_86's Avatar
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.
The administrator has disabled public write access.

End url that provide information about the token 1 year 5 months ago #97717

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 6665
  • Thank you received: 887
  • Karma: 263
Hello,

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

Denis
Last Edit: 1 year 5 months ago by DenisChenu.
The administrator has disabled public write access.

End url that provide information about the token 1 year 5 months ago #97835

  • nicola_86
  • nicola_86's Avatar
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.
The administrator has disabled public write access.

End url that provide information about the token 1 year 5 months ago #97837

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 6665
  • Thank you received: 887
  • Karma: 263
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
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.179 seconds
Donation Image