Session Error with IE11 / Win 8.1

More
10 months 6 days ago #188290 by FlowinBeatz
Hi folks,

we are desperately trying to get LimeSurvey running for IE11 on Win 8.1. Unfortunately we are always receiving a "We are sorry but your session has expired" Error message after answering the first question.
This issue occurs only on IE 11 with Win 8.1

The main reason for this is, that LimeSurvey sends two identical cookies to the browser which brings the IE to lose the session or something. More info can be found here:

stackoverflow.com/questions/2577026/cook...ng-overwriting-in-ie
stackoverflow.com/questions/22051626/ove...e-is-failing-in-ie11

The (not so) fun thing is, that it sometimes happens even on the official LimeSurvey Demo:



So my question is:

Had anyone the same issues? I assume it's somehow a thing of server configuration (That's why I posted it on the 'Installation' board).
Did anyone found a fix to make it properly work in IE11 and Win 8.1?

Thanks a lot,
Philipp
Attachments:

Please Log in to join the conversation.

LimeSurvey Partners
More
10 months 6 days ago #188293 by jelo
IE11 is no longer supported on the backend. Only for respondents.
What version of LimeSurvey is used in your installation?
The demo is still using Version 3.17.10.
I wouldn't expect the demo to be bugfree. Sounds silly, but demo is not providing a well tested version.

When you use a different browser you never get that issue?
I would be surprised.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

More
10 months 6 days ago #188294 by FlowinBeatz
We are running Version 3.17.5+190604

Strange thing is that on one system there is no issue at all (for example with crossbrowsertesting.com) and on the next system there is no way to avoid the issue. Both Win 8.1 with IE 11.

Regarding to the StackOverflow links from above this has to be a bug in Win 8.1.. But who knows... :-(

Any other browser is just fine.
This surveys have to run in a major corporate environment so IE11 is a big thing there...

Please Log in to join the conversation.

More
10 months 6 days ago #188296 by jelo
I wouldn't be so quick with the conclusion that the Stackoverflow links are about the issue you're experiencing on some systems.

The usage of LimeSurvey inside the corporate environment is limited to conducting surveys? Or logging into LimeSurvey as administrator as well.

Just to state the current browser compatibility:

For the survey-taking side, we currently support IE11 (intranet-mode excluded) and all newer comparable browsers like Edge, FF, Chrome, Opera etc. with activated JavaScript.

For the administration part, we currently support Edge and all newer comparable browsers like FF, Chrome, Opera etc. with activated JavaScript. We do not support any Internet Explorer versions in the administration part anymore.


The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

More
10 months 6 days ago #188299 by FlowinBeatz
This only refers to using LimeSurvey in the frontend.
Backend would be a different story.

Please Log in to join the conversation.

More
10 months 6 days ago - 10 months 6 days ago #188301 by tpartner
Try disabling AJAX mode in the survey theme options.

(jelo will probably laugh)

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Last edit: 10 months 6 days ago by tpartner.

Please Log in to join the conversation.

More
10 months 6 days ago #188302 by FlowinBeatz
No difference :-(

Please Log in to join the conversation.

More
10 months 6 days ago #188303 by FlowinBeatz

Please Log in to join the conversation.

More
10 months 6 days ago #188304 by jelo
Yes, correct.

Without a URL to a testsurvey on the used webserver it will be difficult to debug.
If only the IE11 corporate browser is failing, we have to consider that the IE11 is configured in a special way via group policies.

So what are the serverside specs of the LS installation (Version 3.17.5+190604)?
OS, Webserver, PHP version, etc.

But first, try the following on your installation.
Edit config.php to change the session name to something unique.

session' => array (
'sessionName' => "YourOwnCookieName",
),

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

More
10 months 5 days ago #188307 by FlowinBeatz
Where exactly do I have to add this? I'm just producing 500s here :D

Please Log in to join the conversation.

More
10 months 5 days ago #188317 by jelo
Auch noch Händchenhalten heute ;-)

Location: ./application/config/config.php

Under 'components' => array( ....
 
		// Set the name of the session
        'session' => array (
            'sessionName' => "Limetralaka",
        ),
 

You will find an part for session (commented out), which you can modify.
// Uncomment the following lines if you need table-based sessions.
		// Note: Table-based sessions are currently not supported on MSSQL server.
		// 'session' => array (
			// 'class' => 'application.core.web.DbHttpSession',
			// 'connectionID' => 'db',
			// 'sessionTableName' => '{{sessions}}',
		// ),

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

More
10 months 5 days ago #188323 by FlowinBeatz
Don't wanna celebrate too early, but seems like this little config fixed it.
Waiting for client approval.

Thanks so much!

Please Log in to join the conversation.

More
10 months 5 days ago #188325 by FlowinBeatz
Just got the client's feedback: Survey is running fine!
Thank you all so much for the awesome support!

Please Log in to join the conversation.

More
10 months 4 days ago - 10 months 4 days ago #188338 by c_schmitz
The real reason for this error is a second call (caused by the browser requesting the favicon), which is not properly handled by LimeSurvey. The following commit fixes the issue:

github.com/LimeSurvey/LimeSurvey/commit/...a10da0944928e2114fe4

See also bugs.limesurvey.org/view.php?id=15212

This took us so long to fix because the call does not usually show up in the developer console and every browser software requests it at a different time and we were not able to reproduce with recent browser versions.

Best regards

Carsten Schmitz
LimeSurvey project leader
Last edit: 10 months 4 days ago by c_schmitz.

Please Log in to join the conversation.

More
10 months 4 days ago - 10 months 4 days ago #188339 by jelo

c_schmitz wrote: The real reason for this error is a second call (caused by the browser requesting the favicon), which is not properly handled by LimeSurvey.

How do you come to that conclusion?

The case here is a running LS 3.17.5+190604 with a closed corporate user base with IE11/Win8.1 . The code changed with the missing ICO validation was done way later.


Changing the session name from the default to a unique one seemed to have fixed the issue here.
That wouldn't help when the missing ICO validation where in place.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 10 months 4 days ago by jelo.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now