Session Error with IE11 / Win 8.1

Mehr
1 Monat 2 Wochen her #188290 von 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
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her #188293 von 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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her #188294 von 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...

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her #188296 von 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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her #188299 von FlowinBeatz
This only refers to using LimeSurvey in the frontend.
Backend would be a different story.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her - 1 Monat 2 Wochen her #188301 von 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
Letzte Änderung: 1 Monat 2 Wochen her von tpartner.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her #188302 von FlowinBeatz
No difference :-(

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her #188303 von FlowinBeatz

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her #188304 von 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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her #188307 von FlowinBeatz
Where exactly do I have to add this? I'm just producing 500s here :D

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her #188317 von 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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her #188323 von FlowinBeatz
Don't wanna celebrate too early, but seems like this little config fixed it.
Waiting for client approval.

Thanks so much!

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her #188325 von FlowinBeatz
Just got the client's feedback: Survey is running fine!
Thank you all so much for the awesome support!

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her - 1 Monat 2 Wochen her #188338 von 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
Letzte Änderung: 1 Monat 2 Wochen her von c_schmitz.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 2 Wochen her - 1 Monat 2 Wochen her #188339 von jelo

c_schmitz schrieb: 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
Letzte Änderung: 1 Monat 2 Wochen her von jelo.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha