I use DeleteClientVariable() alot and it works ok. Try out putting the var after you delete it. <cfif isDefined("client.wddxFormBuffer")> <cfwddx action="WDDX2CFML" input="#client.wddxFormBuffer#" output="attributes"> <cfset DeleteClientVariable("wddxFormBuffer")> <cfoutput>#CLIENT.wddxFormBuffer#</cfoutput> <cfabort> </cfif>
That way you can be sure if it's being deleted or not, chances are it's just being created elsewhere. Ade -----Original Message----- From: Smith, Matthew P -CONT(DYN) [mailto:Matthew.P.Smith@;cnet.navy.mil] Sent: 04 November 2002 15:55 To: CF-Talk Subject: deleteclientvariable on mx not working? I'm downloading the mx cfml reference now, but I figured I would fire this off in case anyone knows the answer. I'm sure it is something obvious, but I can't find it. I'm trying to delete a client variable, but it doesn't seem to be working. It works fine on my local box, which is cf5. But when I upload the same app to our MX development server, the client variable is not deleted when it is supposed to be, which is(obviously) causing problems. Does anyone have an idea where it is going wrong? <cfif isDefined("client.wddxFormBuffer")> <cfwddx action="WDDX2CFML" input="#client.wddxFormBuffer#" output="attributes"> <cfset DeleteClientVariable("wddxFormBuffer")> </cfif> I have also tried the following: <cfset tmp = DeleteClientVariable("wddxFormBuffer")> <cfset tmp = DeleteClientVariable("client.wddxFormBuffer")> Matthew P. Smith Web Developer, Object Oriented Naval Education & Training Professional Development & Technology Center (NETPDTC) (850)452-1001 ext. 1245 [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm