Welcome, Guest
Username: Password: Remember me

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? 2 years 9 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.

Re: Restrict users to access an external webpage until they had completed survey? 2 years 9 months ago #70968

  • Steve
  • Steve's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 494
  • Thank you received: 46
  • 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.

Re: Restrict users to access an external webpage until they had completed survey? 2 years 9 months ago #70970

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6334
  • Thank you received: 818
  • Karma: 243
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
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.113 seconds
Donation Image