in your CFAPPLICATIOn tag in the application.cfm as well as making sure its enabled in the CFADMIN.
Bill Wheatley Senior Database Developer Macromedia Certified Advanced Coldfusion Developer EDIETS.COM 954.360.9022 X159 ICQ 417645 ----- Original Message ----- From: "Tony Weeg" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, September 24, 2002 12:23 PM Subject: RE: client variables issue > I guess my main question is..... > > I don't see where to "enable client variables" > I have a datasource set up fine that was setting my > cfid/cftoken correctly, when I tried to set my first > client variable...i got this crap :( > > help. > > ..tony > > Tony Weeg > Senior Web Developer > Information System Design > Navtrak, Inc. > Fleet Management Solutions > www.navtrak.net > 410.548.2337 > > > -----Original Message----- > From: Tony Weeg [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 12:20 PM > To: CF-Talk > Subject: client variables issue > > > hi all. > > odd thing, im getting this error when trying to set a client > variable.... > > <cfif NOT isDefined("client.wddx_reportSettings")> > > <cfset reportSettings = #StructNew()#> > <cfset reportSettings.Color1 = "##33CCCC"> > <cfset reportSettings.Color2 = "##000000"> > <cfset reportSettings.Color3 = "##0000CD"> > <cfset reportSettings.Color4 = "##FFFFFF"> > <cfset reportSettings.Color5 = "##FFFF00"> > <cfset reportSettings.Color6 = "##000000"> > <cfset reportSettings.Color7 = "##FF0000"> > <cfset reportSettings.Color8 = "##FFFFFF"> > <cfset reportSettings.Speed1 = 10> > <cfset reportSettings.Speed2 = 35> > <cfset reportSettings.Speed3 = 55> > <cfset reportSettings.format = "html"> > <cfset reportSettings.NewViewStyle = "Asc"> > <cfset reportSettings.timeDisplay = "tw4hour"> > <cfset reportSettings.stopLineColor = "##efefb8"> > <cfset reportSettings.Page1 = "NotLowBandwidth"> > <cfset reportSettings.Page = "OneVehicle"> > <cfset reportSettings.defaults = 1> > <cfwddx action="CFML2WDDX" input="#reportSettings#" > output="client.wddx_reportSettings"> > > </cfif> > > Exception during WDDX operation. > coldfusion.runtime.NoOperScope$ScopeDisabledException: The requested > scope CLIENT has not been enabled.. > > The Error Occurred in C:\Inetpub\wwwroot\Application.cfm: line 59 > > 57 : <cfset reportSettings.Page = "OneVehicle"> > 58 : <cfset reportSettings.defaults = 1> > 59 : <cfwddx action="CFML2WDDX" input="#reportSettings#" > output="client.wddx_reportSettings"> > 60 : > 61 : </cfif> > > any ideas? > > .tony > > Tony Weeg > Senior Web Developer > Information System Design > Navtrak, Inc. > Fleet Management Solutions > www.navtrak.net > 410.548.2337 > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists