The only problem is that in order to do this, since client variables are
stored in a database or the registry. For every single page request CF would
have to do a database query or read the registry and build that structure.
That's a big performance hit.
Perhaps if they made it an optional thing in the CF admin, like the Disable
global client variable updates option, then i'd think it is a good idea. The
problem is that would confuse the API a bit, the docs would all have to have
a little *, so people would know to check to see if that option was
enabled...
I usually just store a wddx packet as the client variable, then it's only
one line of code to turn the client variable I'm after into a nice struct.

jon
----- Original Message -----
From: "David Schmidt" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, February 27, 2002 1:26 PM
Subject: RE: local variable dump?


> Yes.  I knew about the GetClientVariablesList.  But that is not quite the
> same code as a standard loop over the structure.
>
>
> -----Original Message-----
> From: Stephen Moretti [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 27, 2002 9:53 AM
> To: CF-Talk
> Subject: Re: local variable dump?
>
>
> > Ah, if wishes could come true...
> > Unfortunately, I don't believe you can loop through the variables or
> client
> > scopes.
> >
>
> Client variables you can.  Use GetClientVariablesList() if CFDump doesn't
> work.
>
> Server variables are the other scope that you cannot CFDUMP.
>
> Regards
>
> Stephen
>
> 
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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

Reply via email to