- Posts: 13597
- Thank you received: 2487
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
remove 401 error for survey inside iframe
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
4 years 9 months ago #185970
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic remove 401 error for survey inside iframe
Currently, survey is not activated, then i can‘t check again. But i think @Joffm use Chrome.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- gtardy
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
4 years 9 months ago #185975
by gtardy
Replied by gtardy on topic remove 401 error for survey inside iframe
I have enabled preview for non admins.
And I found out one interesting thing :
In an iframe cross-domain ( pilierpublic.com/fr/survey_in_frame ), while the Next button fails in Chrome, it works fine in Firefox & Internet Explorer.
The problem in Chrome (when clicking on Next) shows up in the console as Error 400 :
VM12907 pjax.js:1302 POST lifestooeasy.com/survey/index.php/867832?1561390340470 400
module.exports @ VM12907 pjax.js:1302
loadUrl @ VM12907 pjax.js:286
formAction @ VM12907 pjax.js:751
(anonymous) @ VM12907 pjax.js:769
And I found out one interesting thing :
In an iframe cross-domain ( pilierpublic.com/fr/survey_in_frame ), while the Next button fails in Chrome, it works fine in Firefox & Internet Explorer.
The problem in Chrome (when clicking on Next) shows up in the console as Error 400 :
VM12907 pjax.js:1302 POST lifestooeasy.com/survey/index.php/867832?1561390340470 400
module.exports @ VM12907 pjax.js:1302
loadUrl @ VM12907 pjax.js:286
formAction @ VM12907 pjax.js:751
(anonymous) @ VM12907 pjax.js:769
The topic has been locked.
- gtardy
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
4 years 9 months ago #185976
by gtardy
Replied by gtardy on topic remove 401 error for survey inside iframe
manual.limesurvey.org/Global_settings#Security
explains further about IFrame embedding :
Theoretically, it is working. However, this function might not work
when it is enabled because it heavily depends on the used web browser
and whether it allows iframes or not.
Which reinforces my belief that one cannot rely on this feature, and thus it is best to avoid iframes (or at the very least put them on the SAME domain).
explains further about IFrame embedding :
Theoretically, it is working. However, this function might not work
when it is enabled because it heavily depends on the used web browser
and whether it allows iframes or not.
Which reinforces my belief that one cannot rely on this feature, and thus it is best to avoid iframes (or at the very least put them on the SAME domain).
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3964
4 years 9 months ago #185977
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic remove 401 error for survey inside iframe
Just to add something:
There is another thread about iframes here
www.limesurvey.org/forum/can-i-do-this-w...rvey-in-another-site
There is another thread about iframes here
www.limesurvey.org/forum/can-i-do-this-w...rvey-in-another-site
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 9 months ago #185988
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic remove 401 error for survey inside iframe
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.