View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18975 | Bug reports | Survey editing | public | 2023-07-21 04:08 | 2023-08-23 15:13 |
Reporter | adamzammit | Assigned To | |||
Priority | none | Severity | minor | ||
Status | acknowledged | Resolution | open | ||
Product Version | 6.1.x | ||||
Summary | 18975: Administrative user logout when rapidly refreshing question or group preview | ||||
Description | When previewing in a question / question group / survey as a survey administrator and you rapidly refresh the preview window, eventually you will receive a 401 permission denied due to being logged out. On further inspection, it appears for each refresh of the preview page, the session id is regenerated, see: https://github.com/LimeSurvey/LimeSurvey/blob/5a08c33c58b0e7477f840e062219c9b102b82c82/application/helpers/frontend_helper.php#L789 and https://github.com/LimeSurvey/LimeSurvey/blob/5a08c33c58b0e7477f840e062219c9b102b82c82/application/helpers/frontend_helper.php#L1381 eventually the session id becomes out of sync with the current page load in the browser, so it appears the user has been logged out (although the last session remains sitting on the server) | ||||
Steps To Reproduce | Steps to reproducepreview a question as an administrator Expected resultpreview just refreshes indefinitely Actual resultpreview eventually displays a 401 and the admin user becomes logged out / disconnected from session | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 6.1.8 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | Mariadb 10.5 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 8.1 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2023-07-21 04:08 | adamzammit | New Issue | |
2023-07-21 04:08 | adamzammit | File Added: limesurvey-logout-on-preview-refresh-2023-07-21_12.07.13.webm | |
2023-07-21 08:05 | DenisChenu | Note Added: 76207 | |
2023-07-21 08:05 | DenisChenu | Bug heat | 0 => 2 |
2023-07-21 08:05 | DenisChenu | Relationship added | related to 17778 |
2023-08-23 15:13 | gabrieljenik | Status | new => acknowledged |