- Posts: 4
- Thank you received: 0
- English support forums
- Can I do this with LimeSurvey?
- Multiple Surveys simultaneously from Local Hosting
Multiple Surveys simultaneously from Local Hosting
I've poked around a bit but I'm not having any luck finding a solid answer. Is there any reason why LimeSurvey would have an issue with running multiple surveys at the same time from a locally hosted instance of LimeSurvey?
So basically I'm hosting LimeSurvey myself on my machine and I'm trying to have multiple participants respond to the same survey simultaneously. Picture Several people in the same room with multiple connected computers all working on the same survey.
Is there any limitations with LimeSurvey that would cause problems doing this? I have tried it but am having issues and am not sure if it's a LimeSurvey limitation or just implementation error on my part somewhere.
Thanks for any help.
No limits in LimeSurvey.
DavidP001 wrote: Is there any limitations with LimeSurvey that would cause problems doing this? I have tried it but am having issues and am not sure if it's a LimeSurvey limitation or just implementation error on my part somewhere.
Without knowing what kind of issues you experienced, further answers would be pure speculation.
Without knowing the network, your local pc/server and the clients no educated guess makes sense.
So what is the setup? What kind of tests have you done?
I guess the problem your facing in your tests come from the fact you're using a single browser.
If your using multiple times the same browser for a same survey, you can have some session collision problems. Just add the paramater "newtest=Y" (or /newtest/Y/ ) in your URL to avoid it.
I'm hosting the surveys locally but running them on several local client computers. My surveys are closed access with a Token table so the actual survey URLs end up being something like this:
which is sort of the landing page for the survey and then once you click next and begin the survey the url is something like this:
The surveys work perfectly fine individually so I don't believe there are any issues with the survey structure. And when running the surveys on clients local-host is changed to the IP of the host computer. Basic communication and operation of individual surveys is not a problem.
Typically my problem will be one of the surveys opens alright but the second survey to open will give a token mismatch error. Also if I complete the first survey to open on a client and close it before moving to the next survey they function that way as well.
I have tried appending /newtest/Y/ to my URLs but then I get a different page telling me my survey is not currently active.
I've also noticed that refreshing the surveys that don't work will periodically correct the issue. However it isn't like a single refresh will consistently fix the issue. Sometimes it takes 5,6,7, or more times. Sometimes it never works until I close the browser and open it again.
Maybe someone here can help guide me the right direction. I would really appreciate it.
Also we're using the current stable version of Limesurvey. 3.x.x... I can look up the exact build if that's helpful but it's certainly one of the newer editions. I've seen references to bugs in version 2.0 suggesting to use the /newtest/Y/ to fix it but I have not been able to fix my issue that way.
What OS, PHP, Database and Webserver is LimeSurvey running on?
What OS are the Clients running.
Are you the administrator of the systems or is someone else administrating them?
I would try to access Surveys without token in the URL.
Enter token manually. Issue still pending?
Is the survey active. Is the token list still there?
How do you distribute the token to the clients?
One Token per user is default. So what are people doing, when sitting in front of the browser.
Browser: Firefox v58.0 for all computers.
All computers are using windows 10.
LimeSurvey Version 3.0.0+171222
All is being run through XAMPP Version: 7.2.0 and Apache web server.
Is there any reason why you feel the version of the software I'm running would have any bearing on whether or not LimeSurvey functions correctly? I can only see that mattering if there's a bug with LimeSurvey where it does not work well for Program X version Y or if I'm having compatibility problems somewhere but I'm not and I've already been told LimeSurvey is designed to operate just fine in these conditions.
As I said before the tokens work fine running one survey at a time. Of course the survey is active. It's not an issue with the computer networking or the software I'm running. It functions the way it should in most circumstances which leads me to believe there is no issue with my environment.
Each computer can run surveys individually. The only time an error is introduced is when multiple computers access the same survey. They each are using a unique token that is generated independently for each computer which is based on unique user IDs. The tokens themselves are unique.
Users never enter the tokens for themselves so there is not even opportunity for any input error. The surveys are part of a larger application that calls them as needed.
Also as I've already said the surveys usually correct themselves after some amount of refreshing/reloading. That wouldn't happen if there was an issue with the surveys or the computer administration. I've already ruled out just about every issue that is NOT related to LimeSurvey which is what brought me here. Hoping to learn something about LimeSurvey that could be causing the issue. Thanks.
I wasn't looking for input errors but URL errors depending on the actual token.
DavidP001 wrote: Users never enter the tokens for themselves so there is not even opportunity for any input error.
And because of that I wanted to know how the URL/Tokens are handed to the user.
So you have a application which generates the URL.
I would check, if the issue persists, when you clear all cookies between accessing another survey-link via token.
Not my experience.
Also as I've already said the surveys usually correct themselves after some amount of refreshing/reloading. That wouldn't happen if there was an issue with the surveys or the computer administration.
Well, if that is the case, then feel free to report a bug and post the bugticket URL here. Most of them are using Linux only. So a bug which only occurs running under Windows is not that unusual. Fancy URLs on Windows. Issues with rewriting URL correctly.
I've already ruled out just about every issue that is NOT related to LimeSurvey which is what brought me here. Hoping to learn something about LimeSurvey that could be causing the issue. Thanks.
But if you are sure that you have excluded all external sources for error, feel free to create a bug report. However, be more specific than in your first post and give as much information as possible.
Before this, I would check how Xampp handles sessions, how much space there is for sessions, etc. Limesurvey sessions can be rather large.
Please, update to latest version to fix the issue with newtest/Y/
then everything will work fine.
Although using completely separate browsers did seem to solve the issue so I don't believe it's XAMPP related. I could still be wrong but it appears to be related to Lime Survey session issues causing the problem and I was unable to fix it with the recommended/known solution that's been around since version 2.0.