Important alert: (current site time 7/16/2013 6:45:00 AM EDT)
 

VB icon

CFDumpAllMX

Email
Submitted on: 6/3/2003 2:34:45 AM
By: Tom Barr  
Level: Advanced
User Rating: By 1 Users
Compatibility: Cold Fusion MX
Views: 11217
 
     Displays all query, application, session, client, cookie, form, URL, and CGI variables available to a ColdFusion template.
 
code:
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
				
//**************************************
// Name: CFDumpAllMX
// Description:Displays all query, application, session, client, cookie, form, URL, and CGI variables available to a ColdFusion template.
// By: Tom Barr
//
// Inputs:No inputs.
//
// Returns:HTML display of all available variables.
//
// Assumes:Cut and paste this into your ColdFusion template and view up to eight sets of variables available to the template. This will help in debugging as you see what ColdFusion is seeing.
//
//This code is copyrighted and has// limited warranties.Please see http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=79&lngWId=9//for details.//**************************************

<cfparam name="query" default="">
Query<BR><cfdump var="#query#" label = "Query Data"><BR>
Application<BR><cfdump var="#application#" label = "Application Variables"><BR>
Session<BR><cfdump var="#session#" label = "Session Variables"><BR>
Client<BR><cfdump var="#client#" label = "Client Variables"><BR>
Cookie<BR><cfdump var="#cookie#" label = "Cookie Variables"><BR>
Form<BR><cfdump var="#form#" label = "Form Variables"><BR>
Url<BR><cfdump var="#url#" label = "URL Variables"><BR>
Cgi<BR><cfdump var="#cgi#" label = "CGI Variables">


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
7/2/2003 7:19:17 PM

Hello, Tom,

Thanks for the code. When I use it, everything works fine except the Session variables. That bit causes the following error: Variable SESSION is undefined.

Any ideas?

Thanks,

Nat
(If this comment was disrespectful, please report it.)

 
6/25/2008 4:38:20 AMcriix

what an utterly pointless thing to post.
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.