Security Question Answer always incorrect

More
5 years 1 month ago #85655 by JonM
JonM created the topic: Security Question Answer always incorrect
Hi,

I have been trying to set up a survey using version 1.92 but it is always telling me that my security code is incorrect when I try to save an unfinished survey.

I have checked for this issue online and saw that the suhosin and mod_security extensions can cause problems that make this happen but I have checked and these are not installed on the server our survey is on but cannot find any other mention of other possible solutions to this problem.
Unfortunately after having turned debug to 1 this is no error information for this for me to think there is a problem and it does not allow me to create my own debug output so I cannot really see what is happening.

Is there anyway to turn the security code check off?

Please Log in to join the conversation.

More
5 years 1 month ago - 5 years 1 month ago #85669 by Ben_V
Ben_V replied the topic: Security Question Answer always incorrect
I've already seen this problem (with LS older version)... when trying to embed a survey using iframe (different domains)...
In fact the verification of the security question was ok with safari but not with ie or ff !
In this case the failure was evidently due to a client-side cross-domain security.
That's all I can say...

Ben/

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last Edit: 5 years 1 month ago by Ben_V.

Please Log in to join the conversation.

More
5 years 1 month ago #85672 by JonM
JonM replied the topic: Security Question Answer always incorrect
It is not being used like that to the best of my knowledge from what I have seen but thanks for the insight.
Seemed to have narrowed down the problem anyway, the session variable 'secanswer' set in the verification php file is set to a session variable to be checked by the save php file but it is not actually being set or the session variable is being killed before it is passed so it cannot check the given answer against the correct one at the moment.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now