Maintaining Data Across Sessions:
- Use an
<INPUT TYPE="hidden" NAME="..."
VALUE="...">
field, or
- Pass the data via the
PATH_INFO
mechanism, or
- Use
<FORM METHOD=POST ACTION="...">
and pass
the data via QUERY_STRING
- It is a good idea to use
METHOD=POST
for all
interactive forms (cgi.pl
will handle it without changing
your code)
- Handling in-lined images:
- Clean up old image files each time the script is called, or
- Use another script that returns the image and then deletes it, and
use that script in the
<IMG SRC="URL">
tag