ColdFusion Trick
June 25, 2007 – 10:09 pmI learned a handy trick which solved couple of problems today. CGI variables accessible in ColdFusion, like CGI.HTTP_USER_AGENT, which tells you what browser someone is using to look at your website.
The code below will tell you what CGI variables are available on your server. Just put it in a page and run it to see what you’ve got:
<cfdump var=’#cgi#’>
You can also put this on a page where you want to check what is being sent through without having to write exact checking code.
Tags: ColdFusion