RE: Server Side Redirects in CFMX

2002-08-19 Thread Dave Watts
I've heard that there is a server-side redirect function for CFMX... I haven't been able to track it down and I remember hearing something about it here. Would someone have the syntax for this handy? cfscript getPageContext.forward('somewhere.cfm'); /cfscript Dave Watts, CTO, Fig Leaf

RE: Server Side Redirects in CFMX

2002-08-19 Thread Pete Freitag
cfscript getPageContext.forward('somewhere.cfm'); /cfscript Actually getPageContext is a method, not an instance, so you need the () cfscript getPageContext().forward('somewhere.cfm'); /cfscript _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/

RE: Server Side Redirects in CFMX

2002-08-19 Thread Dave Watts
cfscript getPageContext.forward('somewhere.cfm'); /cfscript Actually getPageContext is a method, not an instance, so you need the () cfscript getPageContext().forward('somewhere.cfm'); /cfscript D'oh! Thanks for the correction! Dave Watts, CTO, Fig Leaf Software

Re: Server Side Redirects in CFMX

2002-08-19 Thread Adam Churvis
for ColdFusion http://www.macromedia.com/support/forums/team_macromedia/ - Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, August 19, 2002 12:36 PM Subject: RE: Server Side Redirects in CFMX cfscript getPageContext.forward('somewhere.cfm

RE: Server Side Redirects in CFMX

2002-08-19 Thread Joel Nath
Subject: RE: Server Side Redirects in CFMX I've heard that there is a server-side redirect function for CFMX... I haven't been able to track it down and I remember hearing something about it here. Would someone have the syntax for this handy? cfscript getPageContext.forward('somewhere.cfm

RE: Server Side Redirects in CFMX

2002-08-19 Thread Matt Liotta
, August 19, 2002 7:15 PM To: CF-Talk Subject: RE: Server Side Redirects in CFMX Hi, Whats the diff between cflocation and getPageContext().forward('somewhere.cfm') or is it just the same thing done in two diff ways.. any pro's or con's.. cheers Joel -Original Message

RE: Server Side Redirects in CFMX

2002-08-19 Thread Pete Freitag
cflocation is a client-side redirect while .forward is a server-side one. Just to elaborate on that, a client side redirect is done by sending a response back to the client (usually your browser) telling it to make a request for a different page. Where a server side redirect is done by

RE: Server Side Redirects in CFMX

2002-08-19 Thread Joel Nath
]] Sent: Tuesday, 20 August 2002 12:36 To: CF-Talk Subject: RE: Server Side Redirects in CFMX cflocation is a client-side redirect while .forward is a server-side one. Just to elaborate on that, a client side redirect is done by sending a response back to the client (usually your browser) telling

RE: Server Side Redirects in CFMX

2002-08-19 Thread Pete Freitag
so i assume it is safe to use [server side redirects] in CF without any known problems or limitations. The only limitation is that your code will not be backwards compatible with CF5 and below, otherwise I haven't seen any problems with using it. _