/ Published in: ColdFusion
Expand |
Embed | Plain Text
This takes an image that was created, shows it and deletes it. This is good for captcha images since you dont want to keep them arround after they are created. ------------------------- <img src="/blog/serveCaptcha.cfm?captchaImage=<cfoutput>#captcha.image#</cfoutput>" border=1> ------------------------- This page feeds back the image and deletes it after <cfparam name="captchaImage"> <cfcontent deletefile="yes" file="#application.blogcfm.captchaImageRoot##application.blogcfm.dirsep##captchaImage#" type="image/x-png">
You need to login to post a comment.
