Gregory's Blog

Popular Blogs

Read More...
Read More...

All Blogs

Getting the Clients IP Address Using Lucee and ColdFusion

Getting the Clients IP Address Using Lucee and ColdFusion


As a long-term ColdFusion developer, I have used CGI environment variables for the last twenty years to extract IP addresses and client variables. However, in this day and age, getting the IP address is much more complex and is no longer a trivial issue. 
Read More...
Bypassing ColdFusion and Lucees Global Script Protection When Designing a Content Management System

Bypassing ColdFusion and Lucees Global Script Protection When Designing a Content Management System


ColdFusion and Lucee's Global Script Protection is designed to discourage cross-site scripting attacks by replacing scripts and other potentially harmful tags in forms before sending the data to the server. However, sometimes, this can get in the way, especially when trying to develop a content management system.
Read More...
Working With ColdFusion/Lucee HQL and Java HashMap Objects

Working With ColdFusion/Lucee HQL and Java HashMap Objects


In this article, I will introduce key ORM concepts and show you how to create and use Java Hashmaps with HQL
Read More...
Building Dynamic SQL Statements Using the OR Operator With ColdFusion

Building Dynamic SQL Statements Using the OR Operator With ColdFusion


In this article, I will show you how to create a dynamic database or statements using checkboxes on the client that allow the user to select multiple filters for a query.
Read More...
Tags vs Cfscript in ColdFusion and Lucee

Tags vs Cfscript in ColdFusion and Lucee


ColdFusion supports both a tag-based language, similar to PHP, and cfscript, which is a C-style language similar to Javascript. In this article, we will discuss some of the potential use cases of both styles.
Read More...
Enabling Detailed Errors with ColdFusion and IIS

Enabling Detailed Errors with ColdFusion and IIS


An in-depth look at how to enable detailed error messages with ColdFusion and IIS                                      
Read More...
ColdFusion Like JavaScript Functions

ColdFusion Like JavaScript Functions


I am sharing a collection of ColdFusion-like Javascript functions that should allow you to employ similar strategies to solve problems when using JavaScript.
Read More...
Using ColdFusion to Synchronize Time Across Time Zones

Using ColdFusion to Synchronize Time Across Time Zones


This article will walk you through the process to synchronize a date-time stamp across various time zones.
Read More...
Using Cookies to Pass JavaScript Variables to ColdFusion

Using Cookies to Pass JavaScript Variables to ColdFusion


This article shows you how to pass JavaScript variables to ColdFusion using cookies.                                       
Read More...