Welcome to the LimeSurvey Community Forum

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

Session timeout: complaints by respondents

  • tammo
  • tammo's Avatar Topic Author
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
2 years 11 months ago #226535 by tammo
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.3.5
Own server or LimeSurvey hosting: Own
Survey theme/template: Custom
==================
Since some time now, respondents complain about session timeouts. What is the best way to approach this? How to find out what is happening? Any best practice?


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl

Please Log in to join the conversation.

  • tammo
  • tammo's Avatar Topic Author
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
2 years 11 months ago #226536 by tammo
Replied by tammo on topic Session timeout: complaints by respondents
www.limesurvey.org/manual/Troubleshootin...ssion_has_expired.22 (Manual page) did not help me. This mentions "Suhosin" which I have never heard of.


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl

Please Log in to join the conversation.

More
2 years 11 months ago #226537 by jelo
Ask for the exact error message people got.
Try to reproduce the session timeout on your own.
Check PHP setting for session duration and raise the time.
If you raise the timelimit ensure that there is enough storage for sessiondata. Mostly an issue if sessionhandler is filebased, the session directory in php is set to temp and temp is limited in space to prevent bigger files getting placed there. That setup is becoming less common in hosting. You see a dedicated session directory more often in the setups now.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 11 months ago #226541 by DenisChenu
Replied by DenisChenu on topic Session timeout: complaints by respondents
You have to track down PHP error file, and sometime nginx and apache error file.

Whan i don't found : i try SQL session.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • tammo
  • tammo's Avatar Topic Author
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
2 years 11 months ago #226542 by tammo
Replied by tammo on topic Session timeout: complaints by respondents
Most recent new information: this occurs when people use the "Back" button of the browser and not the "Back" button that is shown on screen lower left corner.

Is this preventable?


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 11 months ago #226543 by DenisChenu
Replied by DenisChenu on topic Session timeout: complaints by respondents
You reproduce ?
It must not throw a session time out.

> Is this preventable?

hardly and not really …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • tammo
  • tammo's Avatar Topic Author
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
2 years 11 months ago #226544 by tammo
Replied by tammo on topic Session timeout: complaints by respondents
This should be preventable, because you can instruct people not to use the back button of the browser, but people are used to using that.
 


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 11 months ago #226545 by DenisChenu
Replied by DenisChenu on topic Session timeout: complaints by respondents
PS : the timeout i have sometimes is when i start survey in a tab, when started on another tab.
bugs.limesurvey.org/view.php?id=17778

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

More
2 years 11 months ago #226550 by jelo

www.limesurvey.org/manual/Troubleshootin...ssion_has_expired.22 (Manual page) did not help me. This mentions "Suhosin" which I have never heard of.
 
If you are the administrator of the webserver running LimeSurvey you will know if you use Suhosin.
Suhosin had it's haydays a few years ago, when this PHP extensions helped getting PHP more secure. The development stalled and a Suhosin NG is trying to become part a everyones PHP setup again. sektioneins.de/en/blog/19-08-05-suhosin-ng.html

If your PHP setup is using Suhosin can be seen via phpinfo. Because Suhosin (the old one) hasn't be tested under PHP 7, you usually don't see Suhosin running under PHP 7 or PHP 8. In a nutshell: PHP 7 and 8 setups don't come with Suhosin preinstalled.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

  • tammo
  • tammo's Avatar Topic Author
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
2 years 11 months ago #226553 by tammo
Replied by tammo on topic Session timeout: complaints by respondents
We run on PHP 7 and 8....


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose