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

TOPIC: Session clearing on survey complete is causing me a problem.

Session clearing on survey complete is causing me a problem. 4 years 8 months ago #68437

  • lukestagg
  • lukestagg's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Hi Guys,

On completion of a survey, LimeSurvey seems to clear the users session - which makes sense - but i am currently using LimeSurvey within a site utilising a session based login system - so when the user completes the survey, it clears all their login and usage sessions.

All i am trying to do is locate the point at which the sessions clearing/destroying/unseting happens. I found the killSessions() function and modified this, but it appears that this isn't actually doing the clearing in question.

Can anyone advise where the survey complete session_unset/destroy is occurring?

Thanks, Luke
The administrator has disabled public write access.

Session clearing on survey complete is causing me a problem. 4 years 8 months ago #68499

  • lukestagg
  • lukestagg's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
At the current time there has been 63 views of this topic - yet no responses. If anyone needs some additional information - please specify and i will supply the info.

Thanks, Luke
The administrator has disabled public write access.

Session clearing on survey complete is causing me a problem. 4 years 8 months ago #68522

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9293
  • Thank you received: 1327
  • Karma: 384
Hello,

I don't look, but sometimes, for workaround, you can use : user can print their answer: then session aren't cleared.

:)
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Session clearing on survey complete is causing me a problem. 4 years 8 months ago #68722

  • lukestagg
  • lukestagg's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Hi, Thank you for your response.

Setting the printing to on clears all sessions levaing just the session variables relating to the questions completed.

To me this makes no sense - why build the system like this? Can somebody please just tell me in which file, at which line the session clearing on completion happens so that i can manually override this.

Thanks

Luke
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.192 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form