LS in iframe - "Session Expired" in Chrome & Safari but not Firefox

More
2 years 9 months ago #112136 by Eray
Eray created the topic: LS in iframe - "Session Expired" in Chrome & Safari but not Firefo
Hi,

I run Limesurvey in an iframe on my website. Limesurvey itself is hosted on another domain.

It is working fine in Firefox, but in Chrome and Safari, I get the error message "Error - We are sorry but your session has expired."

I tried it both with the template basic as well as a template with minimal css.

What can I do to fix this issue?

Thanks a lot.

Please Log in to join the conversation.

More
2 years 9 months ago #112137 by c_schmitz
c_schmitz replied the topic: LS in iframe - "Session Expired" in Chrome & Safari but not Firefo
You can't do anything about it except for not running in in a frame.

The problem is that more and more browser don't allow third-party cookies. But a third party cookie is, if the iframe is loading from another domain, a requirement - how would LimeSurvey be able to establish the survey session? If you disallow third-party cookies in FF then you will have the same problem there.

Best regards

Carsten Schmitz
LimeSurvey project leader
The following user(s) said Thank You: Eray

Please Log in to join the conversation.

More
2 years 9 months ago #112138 by Eray
Eray replied the topic: LS in iframe - "Session Expired" in Chrome & Safari but not Firefo
Thanks a lot for the fast answer.

Is there any other way to embed Limesurvey into another site?

Please Log in to join the conversation.

More
2 years 9 months ago - 2 years 9 months ago #112139 by c_schmitz
c_schmitz replied the topic: LS in iframe - "Session Expired" in Chrome & Safari but not Firefo
Only Domain aliasing. Create a subdomain on the destination server and point the IP address of the DNS 'A' entry for this subdomain to the server of your LimeSurvey installation. Make your LimeSurvey server listens for the new domain. That's the way LimeSurvey Professional (previously LimeService) supports it.

Best regards

Carsten Schmitz
LimeSurvey project leader
Last Edit: 2 years 9 months ago by c_schmitz. Reason: typo
The following user(s) said Thank You: Eray

Please Log in to join the conversation.

More
2 years 9 months ago #112141 by Eray
Eray replied the topic: LS in iframe - "Session Expired" in Chrome & Safari but not Firefo
I appreciate your help C.

I did as you prescribed and it works!

Thank you very much!

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now