Welcome to the LimeSurvey Community Forum

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

long text question lost because of session timeout

  • bdlemieux
  • bdlemieux's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #130550 by bdlemieux
Hello, I think I should have searched in more depth but I'am in a bit of a thight spot. I have a survey online with a final question (alone, in a separate question group) which is a long text question. One survey respondent emailed me saying that he was writing along (for more than the defautl php session length of 24 minutes) and when he pressed the next button, he was "outed" and his response lost.. My question, without tempering with the default session.gc_maxlifetime in php ini, is it possible, or is there, a way to write a javascript to autosave answers on certain question types (e.g. long test questions) ?
I am using Version 2.06+ Build 151215 hosted on a shared hosting plan from BlueHost.
Thanks in advance for any suggestions.
Benoît
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 2 months ago #130556 by DenisChenu
You can trye to use DB session.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: fdubreuil75
The topic has been locked.
  • bdlemieux
  • bdlemieux's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #130580 by bdlemieux
Thank you Denis, I was starting to read about this in the manual and it seems like a good solution. I will however write a post in development suggestion for a jquery script that could automatically save long text question at specific intervals (e.g. every 3-5 minutes) in order to prevent loss of long text entry which can, from my experience, happen quite often
But in the meantime, thanks for the tip, I will try to configure db session for now
Regards,
Benoît
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 2 months ago #130609 by DenisChenu
The best solution:

Have a plugin to save in ajax ...

Can be done, but no time actually (or client).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
7 years 6 months ago #142364 by fdubreuil75
Replied by fdubreuil75 on topic long text question lost because of session timeout
Can you tell me what the db session is ?
I'm looking, but still have pb with both finding the default session.gc_maxlifetime in php ini
or the db stuff.
The topic has been locked.
More
7 years 6 months ago #142366 by fdubreuil75
Replied by fdubreuil75 on topic long text question lost because of session timeout
vu ca
manual.limesurvey.org/LimeSurvey_2.5_dat...layout_documentation

in effect so far I'm lost, don't know where to start.
The topic has been locked.
More
7 years 6 months ago #142369 by fdubreuil75
Replied by fdubreuil75 on topic long text question lost because of session timeout
OK Database, won't work for me I'm in an opensurvey.
version 2.5
consultationreinvention.org/index.php?r=survey/index&sid=415994

so where do i temper with the php ini in order to
www.limesurvey.org/forum/installation-a-...sible-solution#78119

je crois comprendre que c'est pas moi l'administrateur limesurvey, c'est le pb de php sur le serveur ... bon.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 6 months ago #142520 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose