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

18 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. Do not make your logo excessively specialized. Convoluted and imaginative logo confound the clients. logo design service

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

    ReplyDelete
  5. 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
  6. That’s because if speed through this process, you backlinks won’t be as effective. High TF CF

    ReplyDelete
  7. 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
  8. Big thanks to you for sharing such great information.
    get about

    ReplyDelete
  9. 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
  10. I see the greatest contents on your blog and I extremely love reading them.
    learn the facts here now

    ReplyDelete
  11. Enormous blog you individuals have made there, I entirely appreciate the work.
    UX design firms

    ReplyDelete
  12. After clicking F5 to view my project in web browser in asp.net web application (VB .NET), this error message is shown...
    Wikipedia Writers for hire

    ReplyDelete
  13. This is wonderful and quite informative blog I have learnt so many things from here.
    https://ministryoffreedomreview.org/

    ReplyDelete
  14. This is my very first time that I am visiting here and I’m truly pleasurable to see everything at one place.
    user experience company

    ReplyDelete
  15. Nice post. thanks to you for sharing such great informationWeb Development

    ReplyDelete