ColdFusion Home

Testing Scripts


This is used to dump out all the variable information

<cfset A="This is a test variable" />
<cfdump var="#VAR_NAME#" label="NAME_OUTPUT" >

Example = This is a test variable

Here is an example with the sessions array.

<cfset A="This is a test variable" />
<cfdump var="#SESSION#" label="Current Session Information" >

Current Session Information - struct
sessionid BA20C91C4E4ECBC86D454E784289A3AF.cfusion
urltoken CFID=17241120&CFTOKEN=1a697e8bc55fac6c-402AD00B-B3BE-4F5C-2644F455AD8992D7&jsessionid=BA20C91C4E4ECBC86D454E784289A3AF.cfusion