Quick Search for:  in language:    
URL,CGI,Displays,query,application,session,cl
   Code/Articles  |  Newest/Best  |  Community  |  Jobs  |  Other  |  Goto  | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
ColdFusion Stats

 Code: 5,644. lines
 Jobs: 19. postings

 How to support the site

 
Sponsored by:

 
You are in:
 

Does your code think in ink?
Login





Latest Code Ticker for ColdFusion.
There is currently no new code. Please check back soon.
Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!

Affiliate Sites



 
 
   

CFDumpAllMX

Print
Email
 
VB icon
Submitted on: 6/3/2003 2:34:45 AM
By: Tom Barr  
Level: Advanced
User Rating: Unrated
Compatibility:Cold Fusion MX

Users have accessed this code 1346 times.
 
 
     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, appli
    //     cation, session, client, cookie, form, U
    //     RL, and CGI variables available to a Col
    //     dFusion 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 templ
    //     ate. 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/Sh
    //     owCode.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 notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
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
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | ColdFusion Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.