View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05468Bug reportsOtherpublic2012-03-14 21:08
Reportertpartner Assigned Tomot  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00a1 
Target Version2.00a1Fixed in Version2.00a1 
Summary05468: 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.

TagsNo tags attached.
Attached Files
Capture3.PNG (14,054 bytes)   
Capture3.PNG (14,054 bytes)   
Bug heat8
Complete LimeSurvey version number (& build)11014
I will donate to the project if issue is resolvedNo
BrowserFF
Database type & versionMySQL 5.1.41
Server OS (if known)Win
Webserver software & version (if known)Apache/2.2.14
PHP Version5.3.1

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-09-20 16:11

administrator   ~16303

I can reproduce. Happens definately when testing a survey. After trying to work on in the administration I need to login again.

mot

mot

2011-10-01 11:34

reporter   ~16356

I have set the session lifetime to 1000000

Where has this session lifetime set?

tpartner

tpartner

2011-10-01 14:19

partner   ~16357

Global settings --> General.

See attached Capture3.PNG

mot

mot

2011-10-03 00:41

reporter   ~16361

I made a small fix in rev 11081. Please test if the problem still occurs.

TMSWhite

TMSWhite

2011-10-03 04:15

reporter   ~16362

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.

c_schmitz

c_schmitz

2011-10-03 16:13

administrator   ~16363

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.

mot

mot

2011-10-04 09:42

reporter   ~16365

Last edited: 2011-10-04 11:14

@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.

mot

mot

2011-10-04 09:44

reporter   ~16366

Last edited: 2011-10-07 17:16

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.

mot

mot

2011-10-07 17:14

reporter   ~16376

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.

mot

mot

2011-10-23 21:31

reporter   ~16501

The too quick logout has been fixed.

c_schmitz

c_schmitz

2011-10-26 18:28

administrator   ~16524

New version released

Related Changesets

LimeSurvey: Yii 0b47c1e2

2011-10-02 15:41:01

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 19:41:47

TMSWhite

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 08:09:21

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 12:34:39

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

Issue History

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