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#">

7 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