> <cfscript>
> GetPageContext().forward("Somepage.cfm?myid=7"); // works 
> similar to asp3.0 server.redirect(whatever.asp)
> </cfscript>
> 
> so does this bit about "works similar" need to be there? 
> 
> I havent the faintest idea what was right or wrong in asp3.0
> and have seen this same snippet elsewhere...why does everyone
> always keep that line (works similar....) in there? or do 
> both lines need to be in there?

This part in the above CFSCRIPT block is supposed to be a comment:

"// works similar to asp3.0 server.redirect(whatever.asp)"

Since it's a comment, you don't need it; it's just comparing this function,
which is new in CF MX, to the similar feature found in ASP 3. Also, I think
it's Server.Transfer, not Server.Redirect, but it's been a while since I've
done anything with ASP 3.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to