New features
Version 3.x > New features > captcha caching View modes: 
User avatar
Member
Member
jason@bestlives.net - 6/17/2008 6:42:02 PM
   
captcha caching
I have implemented a "site feedback" form that uses a captcha and noticed the captcha image was not reloading to reflect the correct values so the user input would always fail after the first form was submitted. I tried dissabling caching on the page level from the CMS Desk, but this did not help. I have now added:
Response.Cache.SetCacheability(HttpCacheability.NoCache);
to the Page_Load event of CaptchaImage.aspx in CMSPages and it is working great.

Please included this code in your next release so I do not have to remember why my forms break upon upgrade.

I love the product and thanks,
Jason

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 7/1/2008 6:59:14 AM
   
RE:captcha caching
Hi,
Thank you for your suggestion. We will consider it for some future versions.

Best Regards,
Juraj Ondrus