Well it's only because you put multiple sites on the same virtual server that u need to write such code. Most Sensible developers like their dev environment to reflect the live environment, which is every site on it's own virtual server. You certainly don't need to be using variables all over your code declaring the path to your files if you know that everything is relative to the root of your site. So I would say this utility is at the very least a solution to your problem of having to write all that pointless code and use all those pointless path and ref variables.
Russ -----Original Message----- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: 03 January 2006 22:38 To: CF-Talk Subject: Re: Multiple IIS sites on Windows XP This is going to be a stupid question I guess, but why would anyone need this utility? I set up IIS and I get one web site. Fine. I also write code that has, within /Application.cfm, something like this: <cfscript> if ((not CompareNoCase(cgi.Server_Name,"localhost"))) { request.SSLHRef="http://localhost/foohbar/"; request.BareHRef="http://localhost/foohbar/"; request.FilePath="c:/inetpub/wwwroot/foohbar/"; } else { request.SSLHRef="https://secure.foohbar,com/"; request.BareHRef="http://foohbar.com/"; request.FilePath="z:/somewhere/else/"; } </cfscript> I almost never use cookie-scope vars, but for those who do suppose I can see why you might want to be able to examine a 'clean' cookie not affected by stuff from another project. But as they go this has always given me seamless operation between dev and live web servers. Given that, this utility seems to be a solution looking for a problem. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228311 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

