Think I got it, it doesn't like the fact there is no index.cfm specified....
Solved the problem, now there is another one, my framework looks at the cgi.path_info to see what page to include, and I don�t think the server side forward modifies this header... -- Taco Fleur Senior Web Systems Engineer http://www.webassociates.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Taco Fleur Sent: Thursday, 23 September 2004 9:24 AM To: CFAussie Mailing List Subject: [cfaussie] RE: getPageContext().forward error Hi Barry, Thanks for that. I thought it only kept the request scope? So I already kept that in mind <cfset variables.object = request.object /> <cfset variables.myFunction = request.myFunction /> <cfset structClear( request ) /> <cfset getPageContext().forward( application.setting.webRoot & "/" & variables.object & "/list/?action=" & variables.myFunction ) /> -- Taco Fleur Senior Web Systems Engineer http://www.webassociates.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Beattie Sent: Thursday, 23 September 2004 9:15 AM To: CFAussie Mailing List Subject: [cfaussie] RE: getPageContext().forward error Taco, I had similar errors earlier this year - they might be related. hope this helps: my origional question (cfaussie 29/4/04) ========================== I'm using this in CFScript: getPageContext().forward(thispage & "?action=addnew"); to reload the page after a save for a new form display. Trouble is that it, with the logic I'm using (below), it seems to want to go around again, like the FORM scope persists. answer from Steve Onnis ========================= getPageContext().forward(thispage & "?action=addnew"); does it serverside basically telling the server to, when its done processing, to do to that page rather than the page defined in the original headers, so your not actually leaving the cf servers environment in this case, thus holding onto your form scope. you may have to clear the form scope before you call the redirect, or write a little CFFUNCTION that calls the getPageContext.... ... etc, etc... ===================================================== Taco, the bottom line is that the request scope still exists and so does any values. For me that meant that FORM variable still existed and the page re-submitted. I actually got it to go into an endless loop, used up all the resources and crashed the machine (oops!) for you it might mean that re-processing the page is happening or the variables scope is still hanging around, etc. that's all I can suggest without a better understanding of the rest of the pages' processing. hope that this is some help cheers barry.b ________________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Taco Fleur Sent: Thursday, 23 September 2004 8:39 AM To: CFAussie Mailing List Subject: [cfaussie] getPageContext().forward error I�am getting an error when I use�getPageContext().forward � The error is non descriptive, i.e. there is nothing but: � Error Occurred While Processing Request � Please try the following: � The version of CF is 6,1,0,hf45343_61 � the code � <cfset getPageContext().forward( "../edit/index.cfm?action=edit" ) /> � or � <cfset getPageContext().forward( application.setting.webRoot & "/" & variables.object & "/list/?action=" & variables.myFunction ) /> -- Taco Fleur Senior Web Systems Engineer http://www.webassociates.com � --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
