CGI variables are kind of quirky. Some are available all the time, but the rest are only defined when they're asked for. When you ask for a CGI variable, CF will return it if it knows the answer, otherwise it will pass the request off to the web server, and return whatever it says. Did you try dumping CGI after you'd manually referenced #cgi.systemroot#?
This can be the source of a lot of errors in the logs, because CF keeps processing a request until it finished or times out, but web servers are smart enough to kill of the request if the browser stops waiting for it. So if CF requests a CGI from the web server on a request that has been aborted, an error is logged, and CF proceeds with the empty string for the value. cheers, barneyb On 8/18/05, Figy, Kam <[EMAIL PROTECTED]> wrote: > Sometimes CFDUMP doesn't show everything. > > On Apache 2.0.52/win, you can output #cgi.systemroot# and get C:\WINDOWS > (or whatever the system environment var is) > On IIS 5.1 and 6.0, the variable is defined, but is an empty string > > In no case did the system environment variables show up on a cfdump of > the cgi scope. Curious. I couldn't find anything in the docs about this. > > I assume it's related to what the web server passes to CF, or else what > the CF connectors pass on to the server. It just seems odd that cfdump > wouldn't dump things that are defined. > > /k > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215726 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54