Variable CFLOCATION is undefined. The error occurred in C:\Websites\156945dm2\index.cfm: line 4
2 : <cfscript> 3 : switch(cgi.http_host) { 4 : case 'www.brightWebWorks.com':cflocation(theURL:'brightWebWorks.com/'); break; 5 : 6 : } On Mon, Apr 14, 2008 at 9:13 AM, [STS] Ravi Gehlot < [EMAIL PROTECTED]> wrote: > Scott, > > You made an excellent observation about CFScript. It does process > faster because it reads a whole block instead of reading tag by tag. Well, > the code doesn't work because it says that the cflocation is an undefined > variable. I have searched Google to find out how to use CFTags with CFScript > and it looks like I got the correct syntax. Can you replicate this error? > > Ravi. > > > -- ------------------------------------------------------------ Ravi Gehlot Web Programmer & IT Specialist Sunshine Tech Solutions, LLC http://www.sunshinetechsolutions.com [EMAIL PROTECTED] President ------------------------------------------------------------ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303289 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4