This seems pretty simple as a concept.

First, generate a set of .gif files that represent each character that can be used in a hash.
a.gif
A.gif
b.gif
etc.

Then on your page, show an image and a form field
<img src=""> <input type="text" name="secretcode">

in randomimage.cfm, generate a text hash. save that on your server for this session. DO NOT PASS IT TO THE BROWSER.
Take that text hash and build a list of alphabet samples.
Use imagemajik to build a single graphic out of the string of graphics (I do not know thie specifics of how to do this, but it should be possible)
Return that combined image using CFCONTENT

Once the image is used, it should not be used again anytime soon.

On the submission handler page, check to see if the text field matches the session variable to see if they got the match.

Jerry Johnson

>>> [EMAIL PROTECTED] 06/16/04 03:54PM >>>
Hi All,


  How would one provide a cfmx-only solution (no .Net) for a 'CAPTCHA' solution. Any ideas would be appreciated.


http://www.devx.com/dotnet/Article/21308

TIA,
Patrick Whittingham
United Space Alliance

  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to