Welcome to the LimeSurvey Community Forum

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

Get logged in users and users taking a survey

  • jimmi4u
  • jimmi4u's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 9 months ago #242496 by jimmi4u
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.6.9
Own server or LimeSurvey hosting:own
Survey theme/template:own
==================
Hi,
can I somehow retrieve the current number of logged in users and the number of current users who are taking surveys?. the login procedure happens through ldap and LS cache uses redis  but local sessions, php-fpm session handler uses also redis (LS and php-fpm in different redis db). Maybe from the LSRC2?
Thanks in advance!
jim

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 9 months ago - 1 year 9 months ago #242518 by holch
The term "users" in Limesurvey is a little tricky, because "user" can be a lot of things.

So usually "survey admin" is used, when we talk about people who can log into the Limesurvey backend and "participants" is used for survey takers. There is no "login" for survey takers in Limesurvey, this would be either via tokens or the CPDB.

It would be great if you could explain "users" in your context.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
Last edit: 1 year 9 months ago by holch.

Please Log in to join the conversation.

  • jimmi4u
  • jimmi4u's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 9 months ago #242541 by jimmi4u
Replied by jimmi4u on topic Get logged in users and users taking a survey
Hi holch and thanks for your reply!
Yes, those are exactly the users for those two scenarios I meant. The survey takers and the admins. I think I found a possible solution: for the admins: change session cookies to redis and then check redis db and for the participants: reading apache logs, maybe? Yii is no help I suppose?
Thanks,
jim

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose