coldfusion Questions
2
I have the following code in my coldfusion code that works:
<cfexecute name="curl" arguments = "https://myPath/myFile.xlsx -k" timeout="10" variable="test" />
<cfdump var="#test#" />
...
Availability asked 2/10, 2014 at 9:24
2
I am using below code to get current page URL in coldfusion :-
host = structKeyExists(cgi,'http_host') ? cgi.http_host : '';
req_url = 'https://' & host & cgi.script_name;
But in req_url...
Schoolmistress asked 17/7, 2017 at 6:30
3
Solved
In C#, I created static methods to help me perform simple operations. For example:
public static class StringHelper
{
public static string Reverse(string input)
{
// reverse string
return reve...
Gardenia asked 2/9, 2011 at 19:21
10
Solved
I have a function that receives a string of tags. In order to save the tags individually, the function transforms the string into an array:
this.tags = listToArray(this.tags, ", ");
How do I remo...
Sheridan asked 26/5, 2011 at 2:54
1
Solved
Given e.g. of the Pseudo Constructor in CFML:
component{
// Pseudo Constructor start
... here comes some cfml scripting code..
// Pseudo Constructor end
function init(){
return this;
}
...
Overhang asked 16/12, 2021 at 11:15
3
Solved
I am calling a function with the following code:
var resultz = nsEditor.updateStringCall(debtID, column2Change, value2Change, 4, 10);
The function that is being called but doesn't return a value
u...
Durstin asked 21/2, 2012 at 20:22
2
Solved
How can I confirm that my JAR files have been loaded in Coldfusion? I'm on CF10.
I'm currently getting this error:
Could not find the ColdFusion component or interface org.apache.batik.transcoder...
Matchlock asked 6/8, 2014 at 14:39
3
Solved
For example, if I have a custom tag like <cf_AppSwitch action="Check"> my assumption would be something like AppSwitch(action="Check"), but I am not certain CF can resolve that as a custom ta...
Scorcher asked 9/2, 2012 at 17:9
3
Solved
I'm passing an HMAC-MD5 encoded parameter into a form and the vendor is returning it as invalid. However, it matches what their hash generator gives me, with the exception of capitalization on the ...
Elliellicott asked 17/7, 2017 at 20:55
5
Solved
I'm trying to convert an Application.cfc to script. The original had this:
<cfcomponent displayname="Application" output="false">
<cfset this.name = "testing">
<cfset this.applica...
Orbit asked 8/11, 2011 at 18:50
7
Solved
I have a data struct being stored in JSON format, converted using the serializeJSON function. The problem I am running into is that strings that can be boolean in CF such as Yes,No,True,and False a...
Blazer asked 8/12, 2009 at 15:33
2
Solved
I am trying to get a file from a auto download url using cfhttp.
I am using the following code:
<cfhttp method="get" url="http://www.example.com/getfile" path="E:/" file="abc.csv">
In this...
Monophagous asked 12/2, 2015 at 7:29
3
Solved
CONTROLLED ENVIRONMENT: IE8, IIS 7, ColdFusion
When issuing a GET request pointing to a media file such as .mp3, .mpeg, etc. from IE, the browser will launch the associated application (Window Med...
Nephology asked 15/10, 2013 at 15:31
3
The following code to find prime numbers greatly differs between Adobe ColdFusion (10) and Lucee (4.5) regarding performance. Tested on the same machine (6C i7 3930k @ 4 GHz, Windows 10 64 Bit, JVM...
Pelerine asked 4/5, 2016 at 20:18
2
Solved
I am attempting to detect the file type of a library of files on our webserver as we are implementing code that is designed to stream files to the browser securely. Previously, the files were being...
Better asked 19/9, 2010 at 23:17
6
Solved
(This is a coldfusion question)
I've got two different Structs that may or may not contain the same data, and I want to be able to see if they do! My Structs will always contain simple values (Num...
Reddick asked 30/6, 2010 at 7:13
8
I have an API that runs fine on one of my two web servers but not on the other one or on my local machine, instead I get a connection failure when I send https requests as part the login process.
...
Fustigate asked 9/12, 2013 at 11:15
1
We have a ColdFusion 8 (Linux) application that uses an Oracle timestamp. We just converted to Oracle 11g from 10g and we're now using Oracle's thin client on the data sources. We're getting an err...
Tiffaneytiffani asked 31/12, 2013 at 1:54
4
Solved
I have the following two files and would like the second to extend the first:
wwwroot\site\application.cfc
wwwroot\site\dir\application.cfc
However, when I go to declare the component for the s...
Mess asked 21/11, 2008 at 0:41
4
Solved
In my application I have all my CFC's in a cfc folder. From the site root I can access them without any trouble by simply referring to them in my <cfinvoke> tag as component=cfc.mycomponent m...
Punchball asked 18/10, 2011 at 22:10
1
I'd like to initiate some logging of requests and, more importantly, queries within my application. Lucee makes this pretty easy, and I'm able to log all queries within any given page run with a fe...
Rambort asked 15/11, 2020 at 0:20
2
I'm creating a company directory using our existing Active Directory information. I'm able to pull all the data I need, but I wanted to use Active Directory for the photo as well.
I found this sni...
Auxochrome asked 31/10, 2013 at 22:3
1
Solved
Is it possible to configure Visual Studio Code (installed on my Windows 10 client machine) to run and debug ColdFusion code, that is located server side in the path C:\inetpub\wwwroot\dir\dev?
I'm ...
Panegyric asked 27/10, 2020 at 13:38
3
Solved
I am using ColdFusion 9 and have checked the documentation but it is ambiguous.
https://helpx.adobe.com/coldfusion/developing-applications/the-cfml-programming-language/elements-of-cfml/constants.h...
Winslow asked 25/4, 2013 at 16:37
7
Solved
I'm using ColdFusion with Microsoft SQL Server 2005 and on occasion I get this error:
"[Macromedia][SQLServer JDBC Driver]Object has been closed."
The traceback invariably leads to an SQL query a...
Milkwhite asked 2/11, 2010 at 14:32
© 2022 - 2024 — McMap. All rights reserved.