Our setup is like this: we use a coldfusion 10 server, and files are on a local intranet. Users use a domain login to access any files over https. I'm interested in using html5 websockets, but the first attempt gave me an error because no credentials
I need to get a file from this ftp server (ftp.cetip.com.br), located in directory /MediaCDI/ with name "20160412.txt". The complete address is ftp://ftp.cetip.com.br/MediaCDI/20160412.txt. This is an open ftp, but cfftp requires a user and pass
I have a CFM Page where I call a Stored Procedure. The page seems to be timing out due to the query taking too long to execute. We have tried optimizing/tuning the SQL query, made Clustered and Non-Clustered Indices , but the query is still taking ar
Take the following query example: <cfquery name="Test" Datasource = "TestDB"> Select * from Table_Test </cfquery> Assume that the "Test" query returns 10 rows. I want to show single row on current time. Note: I do
If I'm doing an AJAX call from a coldfusion page (to another coldfusion page), will coldfusion correctly use sessions? I can't use cookies this way, right? The two pages would have separate application.cfc/cfm pages.Different applications (appliactio
quick question - Currently my urls look like this: index.cfm/camp/another-test I would like for them to look like this: camp/another-test I'm able to do this fine on apache with my .htaccess but I need to be able to do it on iis7 with the web.config.
I'm running the following SQL queries and am not getting a desired output: <cfquery datasource = "XX.XX.X.XX" name="master"> SELECT count(Timedetail) as Occurances, date_format(Timedetail,'%m-%d-%Y') FROM MyDatabase WHERE EVENTS
When I type cfstatus in a command window I get the message: could not contact ColdFusion application server on this machine When I type cfstart I get the message: ColdFusion could not be started because its already runningDid you install coldfusion D
I have three radio buttons on a form. When a radio item is selected, a sub menu will appear just below the radio option. I'd like to have it when the radio button is clicked, the other sub menu will hide first, then the sub menu corresponding to the
I am unable to delete a row from my JQGrid because I can't figure out how to send the data I need to the file that holds the MySQL. I am using ColdFusion. In my JQGrid file, my editurl parameter is set as such: editurl: url+"process_delete.cfc?method
We're just looking at porting a legacy script to ColdFusion 10 and I believe I have come across a bug/change in functionality relating to the use of multiple form fields using the same name. In ColdFusion 9 these would have been appended to the relev
(I tried posting this to the CFWheels Google Group (twice), but for some reason my message never appears. Is that list moderated?) Here's my problem: I'm working on a social networking app in CF on Wheels, not too dissimilar from the one we're all fa
[Note: it's generally bad practice to include code in your cfcs, (see answers below), so consider this just research] To summarize, I have a class and a subclass and one method that is overridden by the subclass. When I hard-code the method in the ch
I'm trying to create a pdf with a barcode using CFDocument. (Barcode font is loaded. Can see it in the CF admin.) Found a boat load of folks complaining about the font not being recognized, but no solutions anywhere.OK, for anyone else having this is
Is there any possibility to call some callback function for Debugging purpose before and after the cfinclude tag. for example if i have <cfinclude template="xyz.cfm" /> and is Logging is enabled, I would like to call abefoeInclude and afte
I'm stopped on a couple of pages because of this error. I'm not sure why my cfc method is returning anything to the output stream. It's the success function that is returning the error message. The database is being updated correctly. function onSele
I am dealing with an SQL injection and I need to replace sql params in coldfusion querytags by cfquerparam tags. For this I am matching anything that looks like the params in this: select * from table where test = #var2#, test ='#var3#' test2 like '%
I am using Coldfusion 9 cfgrid. I want to do things: 1) Call a javascript function when all data inside cfgrid finish loading. 2) Call a javascript function when we click on next page in pagination.1) use "onload" to specify a javascript functio
My normal process for inserting into one table and then getting the ID back so that I can insert into another table is like this in MSSQL: DECLARE @transactionKey uniqueidentifier SET @transactionKey = NEWID() INSERT INTO transactions(transactionKey,
Is there a way to detection if a user is on a mobile device using just coldfusion only? I'm not doing a mobile redirect. I am using CSS media queries to change the layout to fit screen width. I just want to do a simple if mobile render this informati
I want to know how to limit records in SQL Server 2000. In Oracle, I already wrote a SQL query like that. <cfquery name="myQuery" datasource="myDSN"> SELECT * from tbl where rownum <= 10 </cfquery> In SQL Server 2000, I
I would like to know if storing pdfs in a database table is a good long term idea. Here is a description of the problem: I have a customer that has hundreds of clients that upload numerous pdf files as proofs. These pdf files range from fairly small
we have a bunch of 'cflocation' tags in our cfmx apps, which lead to the session identifiers getting appended to the url. Our main concern here is to remove the jsessionid, cfid and cftoken from the url for security measures. We have tried the follow
Update: I've found a workaround. If I submit a dummy form field along with the file, it works. Is this a ColdFusion bug, or is there something in the HTTP spec that says forms must contain at least one non-file form field? Update 2: I'm convinced thi
Recently a problem arose regarding hooking up an API with a payment processor who were requesting a string to be encrypted to be used as a token, using the TripleDES standard. Our Applications run using ColdFusion, which has an Encrypt tag - that sup
Do I use a comma or semicolon? I can't seem to find it in the live docs. I also can't seem to find any consistency looking online as some examples use a comma while others use a semicolon. Are both acceptable?Per http://livedocs.adobe.com/coldfusion/
<cfoutput query="getGames"> <li> <a href="#link_url#" style="background: #E97B2A; display: block; height: 320px; width: 500px;">#name#</a> </li> </cfoutput> the background color # is breaki
This is an architecture question, but its solution lies in ColdFusion and MySQL structure--or at least I believe so. I have a products table in my database, and each product can have any number of screen-shots. My current method to display product sc
Does anyone know of a way to store values as NVARCHAR in a manually created query in ColdFusion using the querynew() function? I have multiple parts of a largish program relying on using a query as an input point to construct an excel worksheet (usin
How do I solve the error: Unable to read WSDL from URL: https://workflowtest.site.edu/_vti_bin/Lists.asmx?WSDL. Error: 401 Unauthorized. I can successfully view the WSDL from the browser using the same user account. I'm not sure which authentication