cfloop doesn't work with client variables.  Try GetClientVariablesList() instead.  For 
other scopes, it depends on your version of CF.  CF 4.5 lets you loop over the form 
and url scopes (and others).

This is from the ColdFusion 4.5 New Features document in the CF docs:

   Variable Scope Enhancements

      URL, CGI, FORM, and Cookie variables can now
      be accessed through structure objects with
      the same names. These names are now reserved
      for use by CFML. This enhancement makes
      these scopes behave the same as application,
      session, and request. 

      This has not been done with the Server scope
      partially for security reasons - so that server
      variables whose names are unknown cannot be
      accessed. It has also not been done with the
      Client scope because of the performance
      implications of having to enumerate all
      persistent variable names. 

      Note that customer applications using these
      variable names for other purposes will most
      likely break in 4.5.

-------------------------------------------
At 10:17 PM -0700 7/25/00, Nat Papovich wrote:
>cfloop collection=#client# (or #application#, etc)
>
>-----Original Message-----
>From: Jason Lotz [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 25, 2000 5:54 PM
>To: '[EMAIL PROTECTED]'
>Subject: List of scoped variables
>
>
>Is there a way to get a list of all the variables of a specified scope?  For
>example, if I want a list of the all the current client.* variables, could I
>get that through Cold Fusion?  In other words, I want a list like the
>form.fieldnames list, but for variables.  Please let me know if there is
>something like this out there.  Thanks in advance.
>
>Jason
>
>_______________________________________________
> Jason Lotz         231 W Giaconda Way, Ste 113
> Developer          Tucson, Arizona 85704
> HMweb              520.742.2611
>                    www.HMweb.com 

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to