tried that:

An error occurred while evaluating the expression:


"#CLIENT#"



Error near line 36, column 15

works for session though.

Cheers

will

-----Original Message-----
From: Randell B Adkins [mailto:AdkinsR@;GAO.GOV]
Sent: 05 November 2002 17:07
To: CF-Talk
Subject: Re: outputting all client vars


WHy not use CF_Dump var="#client#">
Alot easier.


>>> [EMAIL PROTECTED] 11/05/02 11:56AM >>>
Hi all,

I've written some basic debug code to output all url, form, and
session
variables on a page:

URL VARS:
<br><br>
<CFLOOP collection="#URL#" ITEM="URLVar">
        <cfoutput>#URLVar# - #URL[URLVar]# <br></cfoutput>
</cfloop>
<br><br>
FORM VARS:
<br><br>
<CFLOOP collection="#FORM#" ITEM="FORMVar">
        <cfoutput>#FORMVar# - #FORM[FORMVar]# <br></cfoutput>
</cfloop>
<br><br>
CGI VARS:
<br><br>
<CFLOOP collection="#CGI#" ITEM="CGIVar">
        <cfoutput>#CGIVar# - #CGI[CGIVar]# <br></cfoutput>
</cfloop>
<br><br>
SESSION VARS:
<br><br>
<CFLOOP collection="#SESSION#" ITEM="SESSIONVar">
        <cfoutput>#SESSIONVar# - #SESSION[SESSIONVar]# <br></cfoutput>
</cfloop>

nice and straight forward. BUT, I want the same thing for client
variables.
However, trying

CLIENT VARS:
<br><br>
<CFLOOP collection="#CLIENT#" ITEM="CLIENTVar">
        <cfoutput>#CLIENTVar# - #CLIENT[CLIENTVar]# <br></cfoutput>
</cfloop>
<br><br>

just throws up the error:

Error Diagnostic Information

An error occurred while evaluating the expression:


"#CLIENT#"



Error near line 37, column 22.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to