CFDUMP all variables? 
Author Message
 CFDUMP all variables?

I did this once but forgot how I did it. I want to do a CFDUMP so i can see ALL
the variables available on a given page including url, form, session,
application etc. I thought it was just doing a cfdump of #variables#, but thats
not it. Its something else, i just dont remember what.


Sat, 24 Oct 2009 00:39:05 GMT
 CFDUMP all variables?

There is a custom tag or two out there called "Mega Dump" or something
close to that.  It just basically goes through the various scopes and
dumps them one by one.


Sat, 24 Oct 2009 00:50:22 GMT
 CFDUMP all variables?
Quick fix, might not be terribly efficient. but try the following code.  Btw...
you should be able to see all those variables in the debugging... variables,
caller, thistag, this are really the only scopes not visible in debugging.

 <cfloop
list="application,session,variables,client,url,form,request,server,cgi"
index="i">
        <cfdump var=#evaluate(i)# label="#i#">
 </cfloop>



Sat, 24 Oct 2009 03:16:07 GMT
 CFDUMP all variables?

Quote:
> Quick fix, might not be terribly efficient. but try the following code.  Btw...
> you should be able to see all those variables in the debugging... variables,
> caller, thistag, this are really the only scopes not visible in debugging.

>  <cfloop
> list="application,session,variables,client,url,form,request,server,cgi"
> index="i">
>         <cfdump var=#evaluate(i)# label="#i#">
>  </cfloop>

Yeah I downloaded megadump (thats not something you hear everyday lol)
and thats essentially what its doing.


Sat, 24 Oct 2009 06:27:30 GMT
 
 [ 4 post ] 

 Relevant Pages 

1. CFDUMP all variables / structs / scopes

2. Using CFDUMP to email myself all variables passed to a page

3. CFDUMP to display session variables

4. CFDUMP CSS CLASSES NOT MATCHING CFDUMP OUTPUT

5. cfoutput and cfdump not working correctly?

6. cfdump not showing in Mozilla browsers

7. MACR: CFDUMP should have this feature...

8. CFDUMP assumption?

9. cfdump inside cfscript?

10. cfdump on cfcatch

11. CfDump in cfmail

12. CFDump not worthing with CFXML


 
Powered by phpBB® Forum Software