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/

Reply via email to