Gregory's Blog

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...
Extending Application.cfc's Using Mappings and Proxies

Extending Application.cfc's Using Mappings and Proxies


How to use multiple Application.cfc’s in a ColdFusion application and extend them using mappings and proxies.
Read More...