View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
11489Bug reportsSurvey takingpublic2017-07-21 17:08
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Summary11489: Session time out : get back to first step without any information
Description

If the session tume out : user get back to fisrt page of survey without information and a new responses is created

Steps To Reproduce
  • Start a survey in group by group mode
  • Enter some information at first page
  • Go to second page
  • Use firebug or any other system to delete your session cookies
  • Click next
  • Start a page 1 without answer or information
Additional Information

Child of https://github.com/LimeSurvey/LimeSurvey/commit/ef3e2b03bf4b12be8057af27f07aeb43e47a272a

After set $SESSION['survey'.$surveyid]['s_lang'] with SetSurveyLanguage( $surveyid, $sDisplayLanguage); function (https://github.com/LimeSurvey/LimeSurvey/commit/ef3e2b03bf4b12be8057af27f07aeb43e47a272a#diff-c60bef10a130572a2bf26fd0a9db519bR140)

We test if it's set in function _didSessionTimeout

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)20160725
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)debian8
Webserver software & version (if known)apache
PHP VersionPHP Version 5.6

Relationships

child of 11335 closedLouisGac Wrong language when resuming saved survey 

Users monitoring this issue

Mazi

Activities

DenisChenu

DenisChenu

2016-07-26 15:47

developer   ~40060

Solution in 2.06lts : use step : https://github.com/LimeSurvey/LimeSurvey/compare/4d756170b4ae...a8add6c7691c#diff-c60bef10a130572a2bf26fd0a9db519bR626

drogu02

drogu02

2016-10-25 22:18

reporter   ~41540

I have a similar problem.
When a user anwser a group by group survey for the first time on a computer and when he try to go to the third page, user get back to fisrt page of survey without information. Maybe lost session problem?

When the user go anwser again, everything work well.

Mazi

Mazi

2016-10-25 23:45

updater   ~41541

What is the general use case/issue with this problem? Is it just losing your session cookie during survey taking for whatever reason?

DenisChenu

DenisChenu

2016-10-26 08:51

developer   ~41542

@Mazi : no : the $_SESSION is broken : it's not the purpose of this bug is not the session time out. It's about information about the session time out : user lost his answer : maybe it take 24hour to answer => it's OK. But we need to inform this user.

Mazi

Mazi

2016-10-26 09:58

updater   ~41543

Ahh, I see. In this case providing better feedback to the user will surely help.

DenisChenu

DenisChenu

2016-10-31 09:51

developer   ~41610

Fix committed to answers_html branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=21214

c_schmitz

c_schmitz

2017-07-21 17:08

administrator   ~44179

Version 3.0.0-beta.1 released

Related Changesets

LimeSurvey: answers_html 0bfb1c6f

2016-10-31 10:48

DenisChenu


Details Diff
Fixed issue 11489: Session time out : get back to first step without any information
Dev: use Permission::model() to control preview access to survey
Affected Issues
11489
mod - application/controllers/survey/index.php Diff File

Issue History

Date Modified Username Field Change
2016-07-25 11:14 DenisChenu New Issue
2016-07-25 11:15 DenisChenu Relationship added child of 11335
2016-07-26 15:47 DenisChenu Note Added: 40060
2016-08-30 10:17 Mazi Issue Monitored: Mazi
2016-10-25 22:18 drogu02 Note Added: 41540
2016-10-25 23:45 Mazi Note Added: 41541
2016-10-26 08:51 DenisChenu Note Added: 41542
2016-10-26 09:58 Mazi Note Added: 41543
2016-10-31 09:38 DenisChenu Assigned To => DenisChenu
2016-10-31 09:38 DenisChenu Status new => assigned
2016-10-31 09:51 DenisChenu Changeset attached => LimeSurvey answers_html 0bfb1c6f
2016-10-31 09:51 DenisChenu Note Added: 41610
2016-10-31 09:51 DenisChenu Resolution open => fixed
2016-10-31 09:51 DenisChenu Status assigned => resolved
2016-10-31 09:51 DenisChenu Fixed in Version => 3.0
2017-07-21 17:08 c_schmitz Note Added: 44179
2017-07-21 17:08 c_schmitz Status resolved => closed