iraj23\ That seems pretty silly. There is not much benefit of using the same captcha image on every load. The point of captcha images is to be dynamic, ensuring a warm body is on the other end of the request.
If you just want to use the same image, for the same action, and the same user (like validation failed the first time, etc) there are ways to do that. (perhaps by using session and checking for existence of $data) Anyway I have a great disdain for captcha images cause they tend to be a pain. Have you considered using logical questions to prevent bots? Asking if ice is cold, if rain is wet, or 5 * 3, etc. For one of my client's site I just created a table full of random questions like that, used in conjunction with session variables. might be worth a look. http://edwardawebb.com/programming/php-programming/cakephp/logical-bot-check-cakephp-captcha (it also uses some logic to determine whether it should load a new question, or reuse the existing one, if nothing else this portion may be helpful to you.) On Mar 5, 6:39 am, iraj23 <[email protected]> wrote: > yes i want to see SAME captcha image on every load > > -- > View this message in > context:http://www.nabble.com/Captcha-reload-problem%2C-works-in-ff-not-in-IE... > Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
