Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

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

Don't Allow Multiple Logins per Survey (token based) 5 years 3 months ago #65410

  • macphreak
  • macphreak's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
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?

The administrator has disabled public write access.
Time to create page: 0.184 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form