> CGI["HTTP_X-MOZ"] > > '-' is illegal in a variable name. > > Hmm, how do you access such a variable name prior to CFMX?
You use array notation, as in your example. > Are you sure that CF doesn't map '-' in header names to '_'? Actually, it does, and I'd forgotten about that. You may also be able to access the correct header name using array notation. I'd just like to take this opportunity to point out that working with HTTP headers can be quite annoying from within CFMX. I was recently writing some CFML code that interacted with Breeze through its HTTP XML API, and I had to jump through a few hoops to make that work correctly, because Breeze uses dashes and lowercase names all over the place. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:205930 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

