Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Session Error with IE11 / Win 8.1

  • FlowinBeatz
  • FlowinBeatz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #188290 by FlowinBeatz
Session Error with IE11 / Win 8.1 was created 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
The topic has been locked.
More
4 years 6 months ago #188293 by jelo
Replied by jelo on topic Session Error with IE11 / Win 8.1
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
The topic has been locked.
  • FlowinBeatz
  • FlowinBeatz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #188294 by FlowinBeatz
Replied by FlowinBeatz on topic Session Error with IE11 / Win 8.1
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...
The topic has been locked.
More
4 years 6 months ago #188296 by jelo
Replied by jelo on topic Session Error with IE11 / Win 8.1
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
The topic has been locked.
  • FlowinBeatz
  • FlowinBeatz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #188299 by FlowinBeatz
Replied by FlowinBeatz on topic Session Error with IE11 / Win 8.1
This only refers to using LimeSurvey in the frontend.
Backend would be a different story.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 6 months ago - 4 years 6 months ago #188301 by tpartner
Replied by tpartner on topic Session Error with IE11 / Win 8.1
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.
Last edit: 4 years 6 months ago by tpartner.
The topic has been locked.
  • FlowinBeatz
  • FlowinBeatz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #188302 by FlowinBeatz
Replied by FlowinBeatz on topic Session Error with IE11 / Win 8.1
No difference :-(
The topic has been locked.
  • FlowinBeatz
  • FlowinBeatz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #188303 by FlowinBeatz
Replied by FlowinBeatz on topic Session Error with IE11 / Win 8.1
We are talking about this button, right?

www.evernote.com/l/AYFIQuOBvhRCMpYTf3TMCqXB_2vap4rTAf0
The topic has been locked.
More
4 years 6 months ago #188304 by jelo
Replied by jelo on topic Session Error with IE11 / Win 8.1
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
The topic has been locked.
  • FlowinBeatz
  • FlowinBeatz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #188307 by FlowinBeatz
Replied by FlowinBeatz on topic Session Error with IE11 / Win 8.1
Where exactly do I have to add this? I'm just producing 500s here :D
The topic has been locked.
More
4 years 6 months ago #188317 by jelo
Replied by jelo on topic Session Error with IE11 / Win 8.1
Auch noch Händchenhalten heute ;-)

Location: ./application/config/config.php

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

You will find an part for session (commented out), which you can modify.
Code:
// 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
The topic has been locked.
  • FlowinBeatz
  • FlowinBeatz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #188323 by FlowinBeatz
Replied by FlowinBeatz on topic Session Error with IE11 / Win 8.1
Don't wanna celebrate too early, but seems like this little config fixed it.
Waiting for client approval.

Thanks so much!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose