coldfusion Questions

3

I'm trying to use Jquery/AJAX/JSON with a CFC to send an email (easy right?) After spending many hours trying to find one complete example of how this should work, I'm getting close but am stuck on...
Destructible asked 10/4, 2016 at 1:23

3

Solved

Special characters in the subject line of the mail getting converted in to question marks or boxes. I have tried to wrap the dynamic string of the subject line in URLEncodedFormat , however ended ...
Subsequent asked 21/2, 2012 at 9:21

3

Solved

I have a “best-practices” question in regards to the correct way to instance CFCs that all need to talk to each other in a given project. Let’s say for example you have a web application that has ...
Stringent asked 7/11, 2014 at 16:38

9

Solved

I am trying to discover the list of trusted authorities in my Java Runtime using the instructions in this article. When I typed the command below: C:\ColdFusion8\runtime\jre\lib>keytool -list -...
Workroom asked 17/10, 2013 at 16:6

2

I'm running into an issue that only seems to affect our production server and without any apparent rhyme or reason. Essentially, we're getting the following error (I'm going to use dummy names to i...
Verein asked 31/1 at 17:38

7

Solved

I want have a query with a column that is a hardcoded value not from a table, can this be done? I need it basically as a placeholder that I am going to come back to later and fill in. example: SE...
Cavicorn asked 3/3, 2011 at 19:50

2

Solved

The ColdFusion 10 documentation on Updating Your Database has a section on Database-related enhancements in ColdFusion 10. That page mentions that there is now support for CF_SQL_NVARCHAR among oth...
Nippy asked 29/5, 2012 at 15:42

3

Solved

How can I convert a ColdFusion date to Unix Timestamp? myDate = DateAdd("m", -1, Now()); I would like to convert myDate to unix timestamp using ColdFusion Thanks
Bonkers asked 19/8, 2019 at 17:42

3

Solved

I am creating a site using VMC and using beans to transfer the data from the Model to the Controller/Views. I plan to implement some basic and very simple caching that will store the beans in a si...
Rotten asked 31/12, 2012 at 1:32

6

Solved

Is there a way of writing this logic in a single, elegant line of code? <cfif ThumbnailWidth EQ 0> <cfset Width = 75> <cfelse> <cfset Width = ThumbnailWidth> </cfif&gt...
Maclay asked 16/12, 2009 at 16:16

4

Solved

I am trying to implement an HTML5 input field that lets the user select multiple files to upload. I have the following in my form: <form method="post" enctype="multipart/form-data" action="inde...
Feathercut asked 7/9, 2011 at 18:10

1

I have a web page that you log into which then creates a session variable that’s checked on all subsequent page accesses and if it doesn’t exist or doesn’t match whats recorded against the session ...
Apeldoorn asked 1/12, 2017 at 10:44

5

What's the most efficient way to calculate the last day of the CURRENT quarter? Example: given the date 3/5/09, I want to return 3/31/09. Platform is ColdFusion and SQL Server
Propman asked 5/3, 2009 at 17:36

1

Solved

I installed Adobe's ColdFusion extension. I added local server (127.0.0.1:80), created workspace and now I want to debug my project. I opened some cfml file, I go to "Run and Debug" tab a...
Hamer asked 19/9, 2022 at 19:10

3

We are in the process of upgrading from ColdFusion 9 to ColdFusion 2016 and we have noticed an overall decrease of performance. We ran several simulations to give more insight. Below is a script th...
Testerman asked 11/4, 2018 at 9:18

2

Solved

I am converting a ColdFusion application to C# (I'm a CF n00b). I have a script that performs a cfquery and then cfloop's through the results, and it appears to be trying to compare the current ro...
Hyperplasia asked 8/1, 2013 at 23:10

4

Solved

Please read before marking as duplicate I have not been able to create or find a RegEx that works for all IPv6 formats (my test cases are below). I am aware of this question that everyone points t...
Presentationism asked 7/2, 2014 at 15:31

5

Solved

I just applied update 5 and now I am getting XML errors: "Error","ajp-nio-127.0.0.1-8020-exec-10","10/13/22","11:28:42","Medlists3","coldfusio...
Bays asked 13/10, 2022 at 15:57

4

Solved

In HTML, I was always taught to close self-closing with a "/>". For example "<br />", "<input type='button' value='myButton' />", etc. In Coldfusion, though, it seems to be standard to...
Crespi asked 25/9, 2011 at 8:20

7

Solved

I am trying to stop a form from submitting when using a barcode scanner to input text into the highlighted field. When I press the button on the scanner it automatically tries to submit using a hig...
Chagres asked 12/2, 2013 at 18:18

2

Solved

I've been adding this to my pages: pagewithinclude.cfm <cfinclude template = "_pagename.cfm"> _pagename.cfm <cfif Not IsDefined("variables.included_pagename")> <cfparam name = "...
Disembowel asked 25/3, 2010 at 16:59

5

I am creating an API, and within each method I make a call to a logging method for auditing and troubleshooting. Something like: <cffunction name="isUsernameAvailable"> <cfset logAccess(...
Falter asked 19/2, 2009 at 21:30

2

Solved

I noticed something funny with serializeJSON when it's passed a query containing dates (in this case, from SQL Server, but it could be other date data). When I inspect the query before it's passed...
Merger asked 11/2, 2016 at 16:36

3

Solved

We have the following code in our Application.cfc: <cffunction name="onError" returnType="void" output="false"> <cfargument name="exception" required="true"> <cfargument name="eve...
Maryettamaryjane asked 2/4, 2012 at 18:6

2

Solved

In my code I have a query of query, something like this: <cfset someQueryVar = someComponent.getSomeQuery()> <!--- ... ---> <cfquery name="abc" dbtype="query">...
Carmelinacarmelita asked 29/12, 2021 at 15:25

© 2022 - 2024 — McMap. All rights reserved.