Another way to just see the values for debugging is <cfdump var="#CLIENT#">
the output isn't pretty, but it's there. Robert J. Polickoski Senior Programmer, ISRD Inc. (540) 842-6339 [EMAIL PROTECTED] AIM - RobertJFP ---------- Original Message ---------------------------------- From: "Mark Johnson" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Tue, 5 Nov 2002 09:37:29 -0800 ><cfoutput> > <cfloop list="#GetClientVariablesList()#" index="i" delimiters=","> > #i# = #client[i]#<BR> > </cfloop> ></cfoutput> > >-----Original Message----- >From: Will Swain [mailto:will@;hothorse.com] >Sent: Tuesday, November 05, 2002 9:23 AM >To: CF-Talk >Subject: RE: outputting all client vars > > >thats the one Adrian!! > >How would I dislay the value of the variables too, as that just gives me the >variable names? > >Thanks a bunch > >will > >-----Original Message----- >From: Adrian Lynch [mailto:adrian.l@;thoughtbubble.net] >Sent: 05 November 2002 17:09 >To: CF-Talk >Subject: RE: outputting all client vars > > >I don't think you can view them like that. > >Try > ><cfoutput> > <cfloop list="#GetClientVariablesList()#" index="i" delimiters=","> > #i#<br> > </cfloop> ></cfoutput> > > >See if that works. > >Ade > > >-----Original Message----- >From: Will Swain [mailto:will@;hothorse.com] >Sent: 05 November 2002 16:57 >To: CF-Talk >Subject: outputting all client vars > > >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