Charlie Arehart wrote:

Ben, it seems what you're looking for is the equivalent of a server transfer in 
CFML. That is enabled in CFMX by way of
getpagecontext().forward("yourtemplate.cfm"). Yes, it's an odd looking beast. 
The getpagecontext() function returns an
object with several methods, one of which is a forward, which does the server 
side transfer you seek. I wrote about this
in a June 2002 CFDJ article, back when it came out in CFMX 6.0:

New Possibility in CFMX: Server-Side Redirects http://www.sys-con.com/story/?storyid=41768&DE=1
Be very wary of using forward(), see my blog entry regarding a BIG change in behavior between CFMX6.1 and CFMX7 (then blackstone when tested) in how forward() is implemented. It appears that CFMX7 actually fixed a 6.1 bug in forward(), but since the behavior is so different in 6.1 -- you may a hard time migrating an application you wrote on 6.1 to 7 or vice-versa.

http://blog.maestropublishing.com/index.cfm?mode=entry&entry=00DBE0F7-FE1A-2E74-2397A3E4CF5CD401

Best,
.Peter

--
Peter J. Farrell :: Maestro Publishing
http://blog.maestropublishing.com

Rooibos Generator - Version 2.1
Create boilerplate beans and transfer objects for ColdFusion for free!
http://rooibos.maestropublishing.com/

- Member Team Mach-II
- Member Team Fusion!



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to