View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
18666Bug reportsSurvey takingpublic2023-03-09 14:40
ReporterDenisChenu Assigned To 
PrioritynoneSeverityminor 
Status acknowledgedResolutionopen 
Product Version3.28.x 
Summary18666: Usage of multiple tabs can throw session issue
Description

When open different survey on multiple tables and move in this survey !: it can throw session issue

And maybe potential data loss

Steps To Reproduce

Steps to reproduce

have a long time server (i use a SQL not in same network to check)
Import the 3 survey
Look at questioin 1 in Go tab survey adapt
Launch the Go tab survey, with the token
Open 1st link in new tab, wait
Open 2nd link in new tab AND during loading of page : move index on 1st tab.

Expected result

Survey move to 2nd page

Actual result

have session time out issue

TagsNo tags attached.
Attached Files
Peek 03-03-2023 16-56.gif (561,616 bytes)
Bug heat4
Complete LimeSurvey version number (& build)5.50 + 3.28.46
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2023-03-03 17:03

developer   ~74024

Warning : removing Yii:app()->session->regenerateID(true); https://github.com/LimeSurvey/LimeSurvey/blob/7102654987cf7ca88893f04b7686dd8324441ffd/application/helpers/frontend_helper.php#L1381 seems to fix the issue,
But it worst : since you can loss data (the page 1 of survey is empty with this solution)

I think we need more control on Expression manager : maybe there are other potential data loss with long time server.
Compare a static variable to the current sid in expression before save ?

DenisChenu

DenisChenu

2023-03-03 17:04

developer   ~74025

acknowledged ?

gabrieljenik

gabrieljenik

2023-03-09 14:40

manager   ~74074

I have stumbled with this problem but when using the same survey on multiple tabs.
I just feel there should be a checker telling you to not use multple tabs.

Issue History

Date Modified Username Field Change
2023-03-03 16:59 DenisChenu New Issue
2023-03-03 16:59 DenisChenu File Added: Peek 03-03-2023 16-56.gif
2023-03-03 17:03 DenisChenu Note Added: 74024
2023-03-03 17:03 DenisChenu File Added: survey_archive_314175.lsa
2023-03-03 17:03 DenisChenu File Added: survey_archive_443896.lsa
2023-03-03 17:03 DenisChenu File Added: survey_archive_282267.lsa
2023-03-03 17:03 DenisChenu Bug heat 0 => 2
2023-03-03 17:04 DenisChenu Status new => acknowledged
2023-03-03 17:04 DenisChenu Note Added: 74025
2023-03-09 14:40 gabrieljenik Note Added: 74074
2023-03-09 14:40 gabrieljenik Bug heat 2 => 4