> Is there a variable (maybe a cgi variable) that stores the root web > path for the current template. For example..
Unfortunately, ColdFusion doesn't seem to have anything similar to the ASP APPL_MD_PATH variable. If all of you're files are in the same directory, then you can use a combination of CGI variables (<cfdump var="#cgi#">) to build the URL. You can treat the CGI.SCRIPT_NAME as a list delimited by "/". If your files are in various sub-directories, then it's probably just as easy to hard code a global variable that stores the relative portion of the path. Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186128 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54