[cgiapp] Reading a Cookie

Stephen Carville stephen.carville at gmail.com
Thu Jul 24 15:36:49 EDT 2008


I have a form page drawn by HTML::template with the tag:

<img src="captcha.cgi" alt="Four Characters" title="Enter these in the
space to the right" />

The program captcha.cgi sets a cookie with some identifying
information and sends the graphic.  The cookie is nothing fancy eg:

     Name:  captcha
   Content:  10.21.242.163.39432
        Host:  intranet01.totalflood.com
        Path:  /selfhelp/
 Send For: Encrypted connections only
    Expires:  at end of session

So how do I read the cookie back using CGI:Application?  All the
tutorials seem to assume the cookie is just there.  Maybe I'm
overlooking something.

-- 
Stephen Carville


More information about the cgiapp mailing list