Friday, 16 November 2012

Kohana Framework


Here i will share one of solved question related to Kohana Framework development.. May be helpful for Kohana Developers.

Question: 

I'm implementing captcha for my project in Kohana. I have configured and created captcha which was already added to Kohana modules by client'e developer. I could display the captcha but, I'm not able to reset it. I created a reset link and using ajax created a new captcha. I tried to replace the image using JS, but the first image remains as it is.

How can I reset the captcha ?

Answer:

I have faced issue of changing image (but not for captch) using jQuery and to resolve it I have added below code:
 append code with your URL: '?' + new Date().getTime());

I will come with more QA Soon.