Welcome, Guest
Username: Password: Remember me

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

LS in iframe - "Session Expired" in Chrome & Safari but not Firefox 1 week 6 days ago #112136

  • Eray
  • Eray's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
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.
The administrator has disabled public write access.

LS in iframe - "Session Expired" in Chrome & Safari but not Firefox 1 week 6 days ago #112137

  • c_schmitz
  • c_schmitz's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 779
  • Thank you received: 111
  • Karma: 92
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.
Support us, too. Donate to the LimeSurvey project and help keep us going!
The administrator has disabled public write access.
The following user(s) said Thank You: Eray

LS in iframe - "Session Expired" in Chrome & Safari but not Firefox 1 week 6 days ago #112138

  • Eray
  • Eray's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Thanks a lot for the fast answer.

Is there any other way to embed Limesurvey into another site?
The administrator has disabled public write access.

LS in iframe - "Session Expired" in Chrome & Safari but not Firefox 1 week 6 days ago #112139

  • c_schmitz
  • c_schmitz's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 779
  • Thank you received: 111
  • Karma: 92
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 LimeService supports it.
Support us, too. Donate to the LimeSurvey project and help keep us going!
Last Edit: 1 week 6 days ago by c_schmitz. Reason: typo
The administrator has disabled public write access.
The following user(s) said Thank You: Eray

LS in iframe - "Session Expired" in Chrome & Safari but not Firefox 1 week 5 days ago #112141

  • Eray
  • Eray's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
I appreciate your help C.

I did as you prescribed and it works!

Thank you very much!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.107 seconds
Donation Image