No, in most cases a captcha is stored in a Session variable. When a user submits a form that has a captch you simply compare the value submitted against the value stored in the session (that's if you are using sessions).
An example of a simple captcha example is here:
CAPTCHA Image[
^]