Check out the LimeSurvey source code on GitHub!

Don't Allow Multiple Logins per Survey (token based)

5 years 5 months ago #65410 by macphreak
Hello - we have a survey that is a token based survey. I was wondering if there would be a way (even if it's through php coding) to not allow someone else to login to the same survey if the current survey was being accessed with the same token?

Our situation is that our survey is being sent (via email with token links) to a single person. This single person might then forward their email to another person at the company for them to fill out their part of the survey at a later date.

However, we need to not allow both users in the survey at the same time if possible. The only way I could possibly think to do this is to create a session that is tied to the token that is passed through the link. Then, if this session is active, it doesn't allow anyone else access to the survey (just for that token).

Does Lime Survey already have something like this? If not, what would be the file I would need to look in to implement something like this?


Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form