View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05468 | Bug reports | Other | public | 2011-09-20 15:45 | 2012-03-14 21:08 |
Reporter | tpartner | Assigned To | mot | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00a1 | ||||
Target Version | 2.00a1 | Fixed in Version | 2.00a1 | ||
Summary | 05468: Repeatedly required to login | ||||
Description | I have set the session lifetime to 1000000 but am still required to login every few minutes. I have not been able to determine a pattern - it may (or may not) happen when clicking to view a survey, edit a question, edit general settings... Additionally, after logging in, I am not redirected to the origionally requested page. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 11014 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | FF | ||||
Database type & version | MySQL 5.1.41 | ||||
Server OS (if known) | Win | ||||
Webserver software & version (if known) | Apache/2.2.14 | ||||
PHP Version | 5.3.1 | ||||
I can reproduce. Happens definately when testing a survey. After trying to work on in the administration I need to login again. |
|
Where has this session lifetime set? |
|
Global settings --> General. See attached Capture3.PNG |
|
I made a small fix in rev 11081. Please test if the problem still occurs. |
|
unfortunately, the change in 11081 actually makes it worse. It closes the session after the first page so I can't take a survey at all. I'm going to revert that fix. |
|
Tom, we need a solution for this, soon. If the solution is that we revert all the session changes in total, I am fine with that. Let me know. |
|
@TMSWhite: 11081 allowed me to run the test survey in parallel with being logged into admin. My survey consisted of a welcome page, and one group with a question, so I could take it over the first page. It's merely debugging, thanks for testing. @c_schmitz: Yeah, as written in IRC I'm not fine with that change either, it was the smallest change I could trigger something with. @all: I'm not so familiar with the whole process, but if one could guide me what feature we need (are we switching sessions / using multiple sessions in parallel?), I think it's most easy to integrate this into the session class. For example to have it only create a session if the ->session is actually used to maintain compatibility with additional session management. |
|
What I see is that most parts of controller in Admin use the ->session interface. The survey does not. The admin session is configured via the config files, it's current setting is 3600 seconds (one hour). The expiration setting referenced by TMSWhite refers to a Limesurvey setting I don't know to which session class it belongs (admin session, survey session, both?). Please clarify. |
|
I committed (r11121) a new fix. On my development box, this fixes getting logged out from admin when opening a survey for testing. The survey can be completed. The admin does not get logged out from backend. |
|
The too quick logout has been fixed. |
|
New version released |
|
LimeSurvey: Yii 0b47c1e2 2011-10-02 17:41 Tim Klingenberg Details Diff |
Fixed Issue 05468: When launching test, user get's logged out from administration. Fixed. git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11081 b72ed6b6-b9f8-46b5-92b4-906544132732 |
Affected Issues 05468 |
|
mod - application/controllers/survey.php | Diff File | ||
LimeSurvey: Yii 6a0c8835 2011-10-02 21:41 Details Diff |
Revert 11081 as did not fix issue 05468 git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11082 b72ed6b6-b9f8-46b5-92b4-906544132732 |
Affected Issues 05468 |
|
mod - application/controllers/survey.php | Diff File | ||
LimeSurvey: Yii a51e4a0c 2011-10-07 10:09 Tim Klingenberg Details Diff |
Fixed Issue 05468: When launching test, user get's logged out from administration, 2nd. Fixed. git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11121 b72ed6b6-b9f8-46b5-92b4-906544132732 |
Affected Issues 05468 |
|
add - application/libraries/LS/PHP/Session.php | Diff File | ||
mod - application/controllers/survey.php | Diff File | ||
mod - application/core/LSCI_Controller.php | Diff File | ||
mod - application/libraries/LS/LS.php | Diff File | ||
LimeSurvey: Yii 9c2009a4 2011-10-07 14:34 Tim Klingenberg Details Diff |
Fixed Issue 05468: When launching group-test, user gets access denied. Fixed. - Takeover admin session data into survey session if survey session is new. git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11124 b72ed6b6-b9f8-46b5-92b4-906544132732 |
Affected Issues 05468 |
|
mod - application/controllers/survey.php | Diff File | ||
mod - application/libraries/Session/Session.php | Diff File | ||
mod - application/libraries/Session/drivers/Session_native.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-09-20 15:45 | tpartner | New Issue | |
2011-09-20 16:10 | c_schmitz | Assigned To | => magiclko |
2011-09-20 16:10 | c_schmitz | Status | new => assigned |
2011-09-20 16:11 | c_schmitz | Note Added: 16303 | |
2011-09-27 13:10 | c_schmitz | Assigned To | magiclko => mot |
2011-10-01 11:34 | mot | Note Added: 16356 | |
2011-10-01 14:18 | tpartner | File Added: Capture3.PNG | |
2011-10-01 14:19 | tpartner | Note Added: 16357 | |
2011-10-03 00:41 | mot | Note Added: 16361 | |
2011-10-03 04:15 | TMSWhite | Note Added: 16362 | |
2011-10-03 16:13 | c_schmitz | Note Added: 16363 | |
2011-10-04 09:42 | mot | Note Added: 16365 | |
2011-10-04 09:44 | mot | Note Added: 16366 | |
2011-10-04 11:13 | mot | Note Edited: 16365 | |
2011-10-04 11:14 | mot | Note Edited: 16365 | |
2011-10-07 17:14 | mot | Note Added: 16376 | |
2011-10-07 17:16 | mot | Note Edited: 16366 | |
2011-10-23 21:31 | mot | Note Added: 16501 | |
2011-10-23 21:31 | mot | Status | assigned => resolved |
2011-10-23 21:31 | mot | Fixed in Version | => 2.00a1 |
2011-10-23 21:31 | mot | Resolution | open => fixed |
2011-10-26 18:28 | c_schmitz | Note Added: 16524 | |
2011-10-26 18:28 | c_schmitz | Status | resolved => closed |
2012-03-14 21:08 | Changeset attached | => Import 2012-03-09 13:30:34 Yii 9c2009a4 | |
2012-03-14 21:08 | Changeset attached | => Import 2012-03-09 13:30:34 Yii a51e4a0c | |
2012-03-14 21:08 | TMSWhite | Changeset attached | => Import 2012-03-09 13:30:34 Yii 6a0c8835 |
2012-03-14 21:08 | Changeset attached | => Import 2012-03-09 13:30:34 Yii 0b47c1e2 |