Survey Timeout

More
1 year 4 months ago #138896 by rhg
rhg created the topic: Survey Timeout
Where can I find information about changing the session timeout for a survey? Some of our users leave the survey open for 2 hours or so then when they come back they loss all there progress.

I through that setting the MySQL -> "settings_global" -> "iSessionExpirationTime" to 172800. Would keep the sessions open for 2 days but this was not the case.

Perhaps the Yii framework controllers this and I should read there?

Please Log in to join the conversation.

More
1 year 4 months ago - 1 year 4 months ago #138898 by Ben_V
Ben_V replied the topic: Survey Timeout
have a look at application/config/config-defaults.php file

( search for " iSessionExpirationTime ")

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last Edit: 1 year 4 months ago by Ben_V.
The following user(s) said Thank You: rhg

Please Log in to join the conversation.

More
1 year 4 months ago #138907 by DenisChenu
DenisChenu replied the topic: Survey Timeout
We use iSessionExpirationTime ONLY if you set session to DB in config.php.

If not : you must use server part (virtual host config) to allow so long session.

If you can't : framagit.org/SondagePro-LimeSurvey-plugi...lob/master/README.md or github.com/frederikprijck/limesurvey-plugin-heartbeat

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: Ben_V, hvgard, rhg

Please Log in to join the conversation.

More
1 year 4 months ago #138957 by rhg
rhg replied the topic: Survey Timeout

Ben_V wrote: have a look at application/config/config-defaults.php file

( search for " iSessionExpirationTime ")


Thank you this worked great

DenisChenu wrote: We use iSessionExpirationTime ONLY if you set session to DB in config.php.


Thank you as well this is helpful.

Please Log in to join the conversation.

More
6 months 2 weeks ago #154762 by ledoux
ledoux replied the topic: Survey Timeout
Hi Ben
Where do we enter in the PHP code (to find the file you mentioned)?
I want to increase the time before session expiration...
thank you

New user of LS but with the will to contribute to this great community !

Please Log in to join the conversation.

More
6 months 1 week ago #154850 by rhg
rhg replied the topic: Survey Timeout
You enter the PHP code in this file <place where limesurvey is installed>/application/config/config.php

in the return array there is a 'config' array and you want to add the following into that config array
'iSessionExpirationTime' => 172800,

of course replace that number with what ever you want.
The following user(s) said Thank You: ledoux, LouisGac

Please Log in to join the conversation.

More
6 months 1 week ago #154858 by ledoux
ledoux replied the topic: Survey Timeout
Yes thank you !

New user of LS but with the will to contribute to this great community !

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!