Ravi, I did a quick google search and came up with this
getPageContext().forward("/path/page.cfm"); or GetPageContext().getResponse().sendRedirect('PageName.cfm') -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (919) 874-6229 (home) (703) 220-2835 (cell) -----Original Message----- From: [STS] Ravi Gehlot [mailto:[EMAIL PROTECTED] Sent: Monday, April 14, 2008 9:29 AM To: CF-Talk Subject: Re: Using tags with CFSCRIPT 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:303291 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4