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: brbr CFLOOP collection=#URL# ITEM=URLVar cfoutput#URLVar# - #URL[URLVar]# br/cfoutput /cfloop brbr FORM VARS: brbr CFLOOP collection=#FORM# ITEM=FORMVar cfoutput#FORMVar# - #FORM[FORMVar]# br/cfoutput /cfloop brbr CGI VARS: brbr CFLOOP collection=#CGI# ITEM=CGIVar cfoutput#CGIVar# - #CGI[CGIVar]# br/cfoutput /cfloop brbr SESSION VARS: brbr 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: brbr CFLOOP collection=#CLIENT# ITEM=CLIENTVar cfoutput#CLIENTVar# - #CLIENT[CLIENTVar]# br/cfoutput /cfloop brbr 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=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: outputting all client vars
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: brbr CFLOOP collection=#URL# ITEM=URLVar cfoutput#URLVar# - #URL[URLVar]# br/cfoutput /cfloop brbr FORM VARS: brbr CFLOOP collection=#FORM# ITEM=FORMVar cfoutput#FORMVar# - #FORM[FORMVar]# br/cfoutput /cfloop brbr CGI VARS: brbr CFLOOP collection=#CGI# ITEM=CGIVar cfoutput#CGIVar# - #CGI[CGIVar]# br/cfoutput /cfloop brbr SESSION VARS: brbr 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: brbr CFLOOP collection=#CLIENT# ITEM=CLIENTVar cfoutput#CLIENTVar# - #CLIENT[CLIENTVar]# br/cfoutput /cfloop brbr 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=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: outputting all client vars
What version of CF? -Original Message- From: Will Swain [mailto:will;hothorse.com] Sent: Tuesday, November 05, 2002 12:14 PM To: CF-Talk Subject: RE: outputting all client vars 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: brbr CFLOOP collection=#URL# ITEM=URLVar cfoutput#URLVar# - #URL[URLVar]# br/cfoutput /cfloop brbr FORM VARS: brbr CFLOOP collection=#FORM# ITEM=FORMVar cfoutput#FORMVar# - #FORM[FORMVar]# br/cfoutput /cfloop brbr CGI VARS: brbr CFLOOP collection=#CGI# ITEM=CGIVar cfoutput#CGIVar# - #CGI[CGIVar]# br/cfoutput /cfloop brbr SESSION VARS: brbr 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: brbr CFLOOP collection=#CLIENT# ITEM=CLIENTVar cfoutput#CLIENTVar# - #CLIENT[CLIENTVar]# br/cfoutput /cfloop brbr 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=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
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: brbr CFLOOP collection=#URL# ITEM=URLVar cfoutput#URLVar# - #URL[URLVar]# br/cfoutput /cfloop brbr FORM VARS: brbr CFLOOP collection=#FORM# ITEM=FORMVar cfoutput#FORMVar# - #FORM[FORMVar]# br/cfoutput /cfloop brbr CGI VARS: brbr CFLOOP collection=#CGI# ITEM=CGIVar cfoutput#CGIVar# - #CGI[CGIVar]# br/cfoutput /cfloop brbr SESSION VARS: brbr 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: brbr CFLOOP collection=#CLIENT# ITEM=CLIENTVar cfoutput#CLIENTVar# - #CLIENT[CLIENTVar]# br/cfoutput /cfloop brbr 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=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: outputting all client vars
CF5 will -Original Message- From: Everett, Al [mailto:AEverett;askallied.com] Sent: 05 November 2002 17:18 To: CF-Talk Subject: RE: outputting all client vars What version of CF? -Original Message- From: Will Swain [mailto:will;hothorse.com] Sent: Tuesday, November 05, 2002 12:14 PM To: CF-Talk Subject: RE: outputting all client vars 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: brbr CFLOOP collection=#URL# ITEM=URLVar cfoutput#URLVar# - #URL[URLVar]# br/cfoutput /cfloop brbr FORM VARS: brbr CFLOOP collection=#FORM# ITEM=FORMVar cfoutput#FORMVar# - #FORM[FORMVar]# br/cfoutput /cfloop brbr CGI VARS: brbr CFLOOP collection=#CGI# ITEM=CGIVar cfoutput#CGIVar# - #CGI[CGIVar]# br/cfoutput /cfloop brbr SESSION VARS: brbr 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: brbr CFLOOP collection=#CLIENT# ITEM=CLIENTVar cfoutput#CLIENTVar# - #CLIENT[CLIENTVar]# br/cfoutput /cfloop brbr 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=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: outputting all client vars
#Evaluate(i)# [EMAIL PROTECTED] 11/05/02 12:22PM 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: brbr CFLOOP collection=#URL# ITEM=URLVar cfoutput#URLVar# - #URL[URLVar]# br/cfoutput /cfloop brbr FORM VARS: brbr CFLOOP collection=#FORM# ITEM=FORMVar cfoutput#FORMVar# - #FORM[FORMVar]# br/cfoutput /cfloop brbr CGI VARS: brbr CFLOOP collection=#CGI# ITEM=CGIVar cfoutput#CGIVar# - #CGI[CGIVar]# br/cfoutput /cfloop brbr SESSION VARS: brbr 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: brbr CFLOOP collection=#CLIENT# ITEM=CLIENTVar cfoutput#CLIENTVar# - #CLIENT[CLIENTVar]# br/cfoutput /cfloop brbr 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=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: outputting all client vars
How would I dislay the value of the variables too, as that just gives me the variable names? #i# : #client[i]#br should do it... Must confess I haven't tried it Otherwise ~shudder~ : evaluate(client.i) Regards Stephen ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: outputting all client vars
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: brbr CFLOOP collection=#URL# ITEM=URLVar cfoutput#URLVar# - #URL[URLVar]# br/cfoutput /cfloop brbr FORM VARS: brbr CFLOOP collection=#FORM# ITEM=FORMVar cfoutput#FORMVar# - #FORM[FORMVar]# br/cfoutput /cfloop brbr CGI VARS: brbr CFLOOP collection=#CGI# ITEM=CGIVar cfoutput#CGIVar# - #CGI[CGIVar]# br/cfoutput /cfloop brbr SESSION VARS: brbr 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: brbr CFLOOP collection=#CLIENT# ITEM=CLIENTVar cfoutput#CLIENTVar# - #CLIENT[CLIENTVar]# br/cfoutput /cfloop brbr 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=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: outputting all client vars
Try this... cfoutput cfloop list=#GetClientVariablesList()# index=i delimiters=, #i#: Evaluate(CLIENT. #i#)br /cfloop /cfoutput Ade -Original Message- From: Will Swain [mailto:will;hothorse.com] Sent: 05 November 2002 17:23 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: brbr CFLOOP collection=#URL# ITEM=URLVar cfoutput#URLVar# - #URL[URLVar]# br/cfoutput /cfloop brbr FORM VARS: brbr CFLOOP collection=#FORM# ITEM=FORMVar cfoutput#FORMVar# - #FORM[FORMVar]# br/cfoutput /cfloop brbr CGI VARS: brbr CFLOOP collection=#CGI# ITEM=CGIVar cfoutput#CGIVar# - #CGI[CGIVar]# br/cfoutput /cfloop brbr SESSION VARS: brbr 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: brbr CFLOOP collection=#CLIENT# ITEM=CLIENTVar cfoutput#CLIENTVar# - #CLIENT[CLIENTVar]# br/cfoutput /cfloop brbr 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=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: outputting all client vars
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: brbr CFLOOP collection=#URL# ITEM=URLVar cfoutput#URLVar# - #URL[URLVar]# br/cfoutput /cfloop brbr FORM VARS: brbr CFLOOP collection=#FORM# ITEM=FORMVar cfoutput#FORMVar# - #FORM[FORMVar]# br/cfoutput /cfloop brbr CGI VARS: brbr CFLOOP collection=#CGI# ITEM=CGIVar cfoutput#CGIVar# - #CGI[CGIVar]# br/cfoutput /cfloop brbr SESSION VARS: brbr 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: brbr CFLOOP collection=#CLIENT# ITEM=CLIENTVar cfoutput#CLIENTVar# - #CLIENT[CLIENTVar]# br/cfoutput /cfloop brbr 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=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: outputting all client vars
that works randell. Thanks guys will -Original Message- From: Randell B Adkins [mailto:AdkinsR;GAO.GOV] Sent: 05 November 2002 17:31 To: CF-Talk Subject: RE: outputting all client vars #Evaluate(i)# [EMAIL PROTECTED] 11/05/02 12:22PM 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: brbr CFLOOP collection=#URL# ITEM=URLVar cfoutput#URLVar# - #URL[URLVar]# br/cfoutput /cfloop brbr FORM VARS: brbr CFLOOP collection=#FORM# ITEM=FORMVar cfoutput#FORMVar# - #FORM[FORMVar]# br/cfoutput /cfloop brbr CGI VARS: brbr CFLOOP collection=#CGI# ITEM=CGIVar cfoutput#CGIVar# - #CGI[CGIVar]# br/cfoutput /cfloop brbr SESSION VARS: brbr 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: brbr CFLOOP collection=#CLIENT# ITEM=CLIENTVar cfoutput#CLIENTVar# - #CLIENT[CLIENTVar]# br/cfoutput /cfloop brbr 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=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm