Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Goto the same survey with END-URL

  • Laquabilon_29257
  • Laquabilon_29257's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
11 years 5 months ago #86306 by Laquabilon_29257
Goto the same survey with END-URL was created by Laquabilon_29257
Hello,

I am currently using "LimeSurvey Version 2.0RC9 Build 120920" and want to create a survey which you can only acess with several keys. So far so god. But I want to redirect the user after finishing the survey to the survey again. So that he can start and complete a new one. I want one user with his key to complete the survey a bunch of times with entering his key just once.
Is that possible??
I tried it with using the END-URL to redirect the user: I set the URL of the survey as END-URL but this doesn´t work. When I use this link after finishing a survey I get the following message:
"Previous session is set to be finished.

Your browser reports that it was used previously to answer this survey. We are resetting the session so that you can start from the beginning.

Please wait to begin with a new session."

Is there a way to work around this message and to enter the survey with the key which the user already entered??
The topic has been locked.
  • Laquabilon_29257
  • Laquabilon_29257's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
11 years 5 months ago #86499 by Laquabilon_29257
Replied by Laquabilon_29257 on topic Aw: Goto the same survey with END-URL
I finally found a solution for my problem with using the END-URL feature:

http://meineDomain/index.php?sid={SID}&lang={LANG}&token={TOKEN}&newtest=Y

With this URL as END-URL you can redirect to the same survey: SID - Survey ID, LANG - Language and TOKEN - The used token. Very important as well is "&newtest=Y" to avoid any "Session expired"-Problems.
The following user(s) said Thank You: byan, bio
The topic has been locked.
More
10 years 4 months ago #101143 by byan
Replied by byan on topic Aw: Goto the same survey with END-URL
I'd like to add that the default survey URL in the 2.00+(131022) version is something like this
http://domainname/index.php/123456/lang-en. In my experience, you will need to change that into http://domainname/index.php?sid=123456&lang=en&&token={TOKEN}&newtest=Y to make it work.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose