noijet
asked on
I would like to prevent spamming with random image
Hi, I would like to prevent spamming on my coldfusion form. I see that some sites like Yahoo.com, before a user can click submit to create an account, they have to enter some random text from a randomly generated image before clicking.
Does coldfusion have some api, tutorial, or technique that I can create this random image, any ideas ?
Thank you so much,
noijet
Does coldfusion have some api, tutorial, or technique that I can create this random image, any ideas ?
Thank you so much,
noijet
ASKER
Hi pmascari, thanks so much for your reply! I will try to use the second link 'compoundtheory.com' since it is free! My remaining question is:
So now I guess the next step for me is to create a random text --> store text to a session var --> use the captcha.cfc to generate a image with that text. Now on the form, user would enter in the text --> In my next cf page, I compare entered user text and the text in my session var --> If there is a match, success --> If no match, I return failure.
Is this a good way to go about this?
Thanks so much,
noijet
So now I guess the next step for me is to create a random text --> store text to a session var --> use the captcha.cfc to generate a image with that text. Now on the form, user would enter in the text --> In my next cf page, I compare entered user text and the text in my session var --> If there is a match, success --> If no match, I return failure.
Is this a good way to go about this?
Thanks so much,
noijet
Sounds good. There should be no way a spam bot could find out the var stored in your session. You may want to build in a feature to allow the user to "switch" the image in case they are having trouble reading it, themselves.
ASKER
Hi pmascari, I'm currently going to try out the compoundtheory.com, I'll get right back to you once I have a sample for my site.
Thanks so much,
noijet
Thanks so much,
noijet
ASKER
Hi pmascari, I finally got this code put into my app, it works so far!, thank you, before I close this app, I see that some sites, use a audio button to "say" the captcha, do you know any samples about this?
Thanks so much,
noijet
Thanks so much,
noijet
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi pmascari, you have been super help already, thanks again for your help !
noijet
noijet
http://www.alagad.com/index.cfm/name-captcha
http://www.compoundtheory.com/?action=captcha.index