Goto the same survey with END-URL

4 years 5 months ago #86306 by SGAMaddin

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??

Please Log in to join the conversation.

4 years 5 months ago #86499 by SGAMaddin
I finally found a solution for my problem with using the END-URL feature:


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

Please Log in to join the conversation.

3 years 4 months ago #101143 by byan
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.

Please Log in to join the conversation.