ASPX templates
Version 5.x > ASPX templates > Captcha Issue in Chrome and Firefox View modes: 
User avatar
Member
Member
shafeez - 7/16/2012 3:01:31 PM
   
Captcha Issue in Chrome and Firefox
Hi all,

We have site based on kentico v5.5.3996 R2. We are using ASPX template mode.

We have blog with Captcha enabled. Strangely the captcha is always considered invalid even if you enter correctly.
I have tried changing the code
private bool mGenerateNumberEveryTime = true to false as suggested in other post without any luck.
This behavior is shown in Chrome and Firefox. Internet explorer is working fine.
Please suggest solution or workaround for this issue.

shafeez

User avatar
Kentico Support
Kentico Support
kentico_radekm2 - 7/17/2012 3:46:49 AM
   
RE:Captcha Issue in Chrome and Firefox
Hello.

Could you please try to apply the latest hotfix for your version, as I can see that you are using basic build?

Also, could you please verify that you are using supported version of a browser? KCMS 5.5R2 supports these browsers.

Is the problem related to ASPX template only, or are you able to reproduce it e.g. with BizForm on Portal engine page?

Thank you in advance for clarification.

Best Regards,
Radek Macalik

User avatar
Member
Member
shafeez - 7/17/2012 11:25:40 AM
   
RE:Captcha Issue in Chrome and Firefox
Dear Radek,

Thanks for you response. I am using latest version of browsers.
I debug the code and turned out that Postback is never detected in case of CHROME or FIREFOX and following code get executed every time.

if (!RequestHelper.IsPostBack())
{
// Create a random code and store it in the Session object.
if (!this.ForumExtension || this.Session["CaptchaImageText" + this.ClientID] == null)
{
WindowHelper.Add("CaptchaImageText" + this.ClientID, GenerateRandomCode());
}
}

Any idea why postback is not detected for firefox or chrome?

Thanks for all the help and support

Regards,
S.hafeez

User avatar
Kentico Support
Kentico Support
kentico_radekm2 - 7/19/2012 3:36:24 AM
   
RE:Captcha Issue in Chrome and Firefox
Hello.

I am afraid that the latest version of FF and Chrome browsers are not supported in KCMS 5.5R2. Chrome is not supported at all. You can see more info in system requirements link I sent you in my previous post.

To have KCMS compatible with the latest browsers, you need to have the latest KCMS version. So, you can consider upgrading to KCMS 6.0.

Best Regards,
Radek Macalik