Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Restrict users to access an external webpage until they had completed survey?

Restrict users to access an external webpage until they had completed survey? 4 years 11 months ago #70964

  • aahkjcfp
  • aahkjcfp's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
How can I restrict users to access an external webpage until they had completed the survey? Is there any token or information can be passed out after users completed the survey (or saved inside the database which can be read by another system) where I can use those information to give access to some external webpage/online documents?
The administrator has disabled public write access.

Restrict users to access an external webpage until they had completed survey? 4 years 11 months ago #70968

  • Steve01
  • Steve01's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 493
  • Thank you received: 47
  • Karma: 17
Hello,

there is a "status" cookie for the survey that has the value "COMPLETE" if the participant successfully answered the survey. I mentioned this at www.limesurvey.org/de/forum/can-i-do-thi...ionredirecting#70571 , perhaps this will help you.
Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
The administrator has disabled public write access.

Restrict users to access an external webpage until they had completed survey? 4 years 11 months ago #70970

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
Hello,

You can use too {SAVEDID} and {TOKEN} in an endurl, then link to your own php file, make request on this SAVEDID and/or TOKEN to test if survey is achieve.

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 (use private message).
The administrator has disabled public write access.
Time to create page: 0.255 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form