View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06484Bug reportsSurvey takingpublic2012-09-20 14:12
Reporteruser16774Assigned Touser16774 
PriorityimmediateSeveritycrash 
Status closedResolutionfixed 
Product Version2.00RC8 
Target Version2.00+Fixed in Version2.00+ 
Summary06484: Session variable troubles taking surveys
Description

If you take a survey in one tab and test a survey from the admin interface in another tab, you'll get PHP errors.

Steps To Reproduce

Start taking a survey.
Go to the admin interface.
Test a survey/question group/question.
Observe the errors.

Additional Information

Note: this happens in either order - whether you test the survey first or whether you start taking the survey first.

EDIT: Also, taking two different surveys at the same time causes this problem as well. Clearly, the we need to make sure that session variables are indexed by surveyid within EM.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)0
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)Windows
Webserver software & version (if known)Apache
PHP VersionPHP

Users monitoring this issue

There are no users monitoring this issue.

Activities

lolo

lolo

2012-08-16 13:17

reporter   ~20484

I confirm the issue, happens to me regularly.
The workarounds are to either clear the browser cache or open another browser.
But these are just workarounds, not real solutions.

I'm worried that it couldd happen with participants taking surveys. We just cannot expect them to deal with their browser cache.

user16774

2012-08-16 18:40

  ~20485

https://github.com/LimeSurvey/LimeSurvey/commit/a040e6ac153287f5ad04565043b055b82b1853c3

This commit should fix the majority of the session troubles with EM because setting the survey forces EM to reload if the surveyid has changed. I still don't think this is quite the right approach, however, because the original survey is reset. I think we should work to move all frontend session variable in to different session arrays (each with ID survey_######) so that two or more surveys can be taken concurrently without issue.

Issue History

Date Modified Username Field Change
2012-08-15 15:05 user16774 New Issue
2012-08-15 15:27 user16774 Priority normal => immediate
2012-08-15 15:27 user16774 Severity partial_block => crash
2012-08-16 13:17 lolo Note Added: 20484
2012-08-16 18:40 user16774 Note Added: 20485
2012-08-16 18:40 user16774 Status new => resolved
2012-08-16 18:40 user16774 Fixed in Version => 2.00+
2012-08-16 18:40 user16774 Resolution open => fixed
2012-08-16 18:40 user16774 Assigned To => user16774
2012-09-20 14:12 c_schmitz Status resolved => closed