Skip to content

Creative Notice

An ensemble of ideas about development, project management & techniques.

  • Home
  • About
  • Tips & Tricks
  • Topics
    • Coldfusion
    • SQL
    • JavaScript

Coldfusion

Return http response code from cfscript

August 26, 2014 by Ryan Mueller

In order to return a http response code from cfscript use:

getPageContext().getResponse().setStatus( 400 );
Posted in ColdfusionTagged cfscriptLeave a comment

Faster, More Detailed CF DirectoryList

March 15, 2013March 15, 2013 by Ryan Mueller

So I wanted a better DirectoryList method for Coldfusion. Better meaning faster with more details.

I found this post by Anuj Gakhar which was pretty good. I’ve added some more flexibility. It’s you’re to use; if you make improvements, please post those on the Gist so everyone can benefit.

Posted in ColdfusionTagged CF, directorylist, javaLeave a comment

Check if a Key / Value exists in an Array of Structures

December 3, 2012December 3, 2012 by Ryan Mueller

Needed a quick way to check if a key / value pair existed in an array of structures in Coldfusion.
Came up with this little number.

Posted in Coldfusion, Tips & TricksTagged array, CF, coldfusion, struct, structureLeave a comment

Check if a Struct Key and Value Exist

August 23, 2012August 23, 2012 by Ryan Mueller

I got tired of having to check if not only the key existed but had a value and so whipped this up. Please share if you’ve a better way to accomplish this.

Posted in ColdfusionTagged CF, coldfusion, key, structLeave a comment

ColdFusion/Java Servlet Alternative CGI Methods

July 25, 2012 by Ryan Mueller

Here’s a note to self. While referencing a a cgi key will always return true even if the key doesn’t exist, using the java servlet alternatives won’t so here’s a link to their reference. http://cookbooks.adobe.com/post_CGI_Variables_and_their_Respective… Thanks Stephen Withington

Posted in ColdfusionLeave a comment

Posts navigation

← Older posts

Archives

Recent Posts

  • CUPS Server Resource Management
  • Cleaning up Magento 1.9 Disk Session Storage
  • Two Ways to Clean Email from ERP Database
  • Cleaning SQL Columns for Export
  • Manual Install / Upgrade OpenSSH on Ubuntu
Qwerty Theme by Seven Bold