> If I'm passing an URL Variable - with the variable name itself being > dynamic, what's the best was to extract the variable name (not the > value) on the receiving page? > > As in: > for: index.cfm?somevar=somevalue > I need to return "somevar" on the receiving page as a value. > > or for: index.cfm?bigdog=bruto > I need to return "bigdog" on the receiving page as a value. > > The receiving page won't know what the variable is in advance...
You can examine all the members of the URL scope, which can be treated like any other structure. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335205 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm