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 30EDB4400DF56C276D67CCE762362EC6.cfusion
urltoken CFID=22688204&CFTOKEN=8cb1886fdfa308cb-2E0B9628-A4DB-2B1C-927F87F1AE57C86B&jsessionid=30EDB4400DF56C276D67CCE762362EC6.cfusion