12/11/2013

Coldfusion: How to view all variables: local, URL, Post and others?

I'm taking over a new project, and have to learn Coldfusion ASAP.

One of the first things I wanted to know, for testing purposes, is:

How can I see all the variable names that have been stored or have been sent to the program I'm working on?

Answer: Use the cfdump command.

Examples of different types of variables from the scopes.

Local Variables
<cfdump var="#VARIABLES#">

URL / Query String
<cfdump var="#URL#">

FORM / Post
<cfdump var="#FORM#">

Session
<cfdump var="#SESSION#">

Application
<cfdump var="#APPLICATION#">

Cookies
<cfdump var="#COOKIE#">

12 comments :

  1. Are you looking for Web Application Development in India? Kanhasoft is providing Web Application Development services globally to boost your business. Get custom web application solution with professionals.

    ReplyDelete
  2. Wonderful post and I like your Post, as we know That blogging is not easy and which is dependent on your quality content and your topics to make much better. we should keep remembering about.web application development process

    ReplyDelete
  3. I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... best locksmith

    ReplyDelete
  4. Do not make your logo excessively specialized. Convoluted and imaginative logo confound the clients. logo design service

    ReplyDelete
  5. Enjoy reading your article. Best all the time. Discover a variety of movies on movierulz

    ReplyDelete
  6. If you have a business, Search Engine Optimization (SEO) is crucial to helping customers find your website. However, research suggests that customers are only willing to travel 20 minutes or less to reach a store. PBN service

    ReplyDelete
  7. That’s because if speed through this process, you backlinks won’t be as effective. High TF CF

    ReplyDelete
  8. Our clients span several sector range and sectors from small shop companies to international businesses. We certainly have efficiently supplied countless websites find out here now, from brochure internet sites to highly complex goal crucial web development answer service providers, e-commerce internet sites and social websites programs.find out here now

    ReplyDelete
  9. Big thanks to you for sharing such great information.
    get about

    ReplyDelete
  10. Do you mind if I quote a couple of your articles as long as I provide credit and sources back to your blog? My website is in the very same area of interest as yours and my users would really benefit from a lot of the information you present here. Please let me know if this okay with you. Regards! https://royalcbd.com/product/cbd-gummies-25mg/

    ReplyDelete
  11. The ability to deliver by deadline on a consistent basis while managing all development internally has proved it as a dependable partner. UI design company team tests the deliverables to ensure stability, resulting in a widely used app that has received no negative feedback.

    ReplyDelete