The official community for ColdFusion.
Récent
i need to maintain session data between sub domainsyou can do this easy by setting:this.setdomaincookies="yes"works perfectly because the cfid and cftoken cookies domain is set to ".domain.com" instead of "whatever.domain.com"here is the problem. we are using J2EE sessions.so the cookie that we need to have its sub domain blank is the JSESSIONIDthis cookie is not set to ".domain.com" it remains "whatever.domain.com"if i try to manually create the cookies by setting setclientcookies to false a very odd thing occurs. when i set the value to session.sessionid, the resulting value is set to for example: " F29D7D74818F64478776A879964C7E05%2Ecfusion", see how it has replaced the "dot" with "%2E"i think this causes the brains to mark it as an invalid cookie so it creates another one, which then has its own valid value but does not work for us because its now its own session. i read some stuff about editing the jrun-web.xml to fix this one million years ago but i cant find that file on cf2016.
Hi All,Is there a way to extract data from several fillable PDF forms to create a single report. I would like to create and end of day report in MS Word to distribute. At present we are manually typing the data from the PDF to the word doc.ThanksMat
Hello, all,A co-worker is working on a project whereby the client has a folder with sub-folders and files that _can_ go several levels deep. Client wants to make these files available to users for them to download, and does not want to bother with storing the files in a database.Are there any CFCs or code samples that show how to display folders as expandable DIVs that will have expandable DIVs for recursive folders and links for the actual files that users can click and download, keeping the folder structure?V/r,^ _ ^
Hi-Has any one used the toolTip value on this tag?Is so can you share the format of the JSON string you passed to the tag.Thanks.
Hello,I have a brand new workstation with a fresh install of Windows 10 Pro. I installed ColdFusion Server 2018 (CF + Tomcat Bundle for the application server) along with ColdFusion Builder 2018. All works fine. In previous versions of ColdFusion (10 & ?) that I have installed on other workstations and the 5 associated ColdFusion services did show up under Windows Services and from there I was able to control the startup type there. With my new install I don't see these services. In ColdFusion Builder 2018 you have the option to edit the server and from there I have selected "Use Windows Service to Start/Stop the Server" but still no luck. I ultimately want ColdFusion Server 2018 to automatically startup when the computer is turned on so I don't have to manually start through ColdFusion Builder 2018.Thanks in advance,Kirk
I'm using Canonicalize to check url's and have run into a problem. For some reason, &ne seems to always be translated as ≠ even in situations where that is not expected nor appropriate. For example:<cfset varURL = "www.mySite.com/myPage.cfm?someVar=abc&newVar=1" /><cfset varCheck = Canonicalize(varURL,true,true)/>The value of varCheck will be "www.mySite.com/myPage.cfm?someVar=abc≠wVar=1", not "www.mySite.com/myPage.cfm?someVar=abc&newVar=1" as I'm expecting.It seems to make this translation anytime that a URL variable (other than the first one following the ?) starts with "ne". Other than renaming the URL variables that start with "ne", is there a fix for this problem?I'm running CF2016 Update 6.
I am having an issue with services not being recognized. I am running CF 11 on a VM with win2012R2. This is dev box so the permissions are 777 from webroot to file.right now I am just trying to retrieve a list of cases from the DB and display them to the user.I am getting the following Error: Element CASESERVICE is undefined in a Java object of type class [Ljava.lang.String;.Type: Expressionthe Code:controller:component displayname='case'name='case controller' accessors="true"{property caseservice; writeLog(type='info', file='erctsTRACE', text='enter case controller'); public any function init( fw ) {variables.fw = fw;return this;}public any function default( rc ){param name = 'rc' type='struct'; writeLog(type='info', file='erctsTRACE', text='enter default()'); //rc.a = 1 ; //rc.b = 3; //rc.c = rc.a + rc.b; //writedump(var=rc.c, abort=false); w
Greetings all,Doing some work on an interface here at my site, and the Infrastructure people want me to use ADFS rather than going to individual Active Directory Servers. I have Coldfusion 2016 installed here, and have been using the CFLDAP call to do my authentication to those AD servers. I made the assumption that I could probably use the ADFS server in similar fashion, but that appears to not be the case.So, the question is: Does anyone know whether or not CFLDAP will function with an ADFS server?Many thanks for your answers and information
I have a website for which I am going to need hosting.One part of the larger HTML/CSS site is a sample website written in ColdFusion.Do you have any suggestions as to the best way/place to host my site?Another consideration is that I would like to have a different part/page of the site "show off" a java program I have written.I appreciate any guidance.Thank you.
Has anyone else noticed after installing Update 6 that the CF version listed in the Service Info screen says 2016.0.05.308055 instead of 2016.0.06.308055? Everything appears to have updated, the Tomcat version reflects the latest patches, but CF says 05 instead of 06 for its patch level.
I have a list of items in a database. I need a CF page that will allow a person to display all of the items and then prioritize (order) the list from "1 to n" and then have those prioritized numbers inserted back into the database. It seems that I need to somehow combine a cfoutput query="Qry" (to list all of the items) with an <cfinput type="text" (to add an order number) then have the order number inserted back into the database on the submit...but I would sure appreciate some initial guidance. I'm not sure I'm in the ballpark quite yet. TIA
I am moving our website to a virtual machine, I made some small changes to one of the .cfc file, but ColdFusion keeps giving me the old debug info even the old code doesn't exist. I have to restart coldFusion service in Windows Services every time in order to get the new debug info. Also I already canceled all the Caching options in Administrator page. What should I do?
I am using Coldfusion and I would like to display the first few words in a database memo (unlimited text) field as a link for the user to select the whole record. Is it possible to limit the display of the text in the memo field to just a few words?As an example:<A HREF="AFIELD.cfm?ID=#URLEncodedFormat(ID)#"> #AName#: #AText#:
Hello allI have this xml file:<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SoapRequestResponse xmlns="http://tempuri.org/"> <SoapRequestResult> <ExtensionData /> <Successful>Y</Successful> <ResponseCode>9999</ResponseCode> <HeaderMessage>Success</HeaderMessage> 
Migration to 2018 from 11?
Hello, all,I was just wondering if anyone has successfully accomplished a CORS via AJaX by setting the "Access-Control-Allow-Origin" header to either wildcard (*) or FQDN (www.anothersite.com)?I found a claim that I can use a CFHEADER tag to set the Access-Control-Allow-Origin and complete a cross-origin request. I was just wondering if anyone else has successfully done the same thing (regardless of server-side language).V/r,^ _ ^
I am looking to get ColdFusion 2016 running with Wildfly 10. I am not very familiar with either one of these two systems and I have not found any instructions or advice online. Our current application are running on ColdFusion 10 and Weblogic 12c but we are being forced by higher ups to move away from Weblogic to Wildfly 10. For security reasons we are moving away from ColdFusion 10 to 16. I don't even really know where to start. I looked on the adobe site and I saw instructions on how to get an old version of Jboss to work with ColdFusion 10 but when I tried to replicate that I got nothing.ThanksJamesd145
Anyone know of a good reason why the Createive Cloud updater requires that ColdFusion service be shutdown to install updates to completely unrelated programs - unrelated other than by the parent company? It's pretty annoying.
Our company has two web services that we host that a vendor uses to grab information from on a periodic basis. These services ran fine on a CF8 SSL site, but once we switched to 11, the services can no longer be created. However, I can create them on our unsecured test site (which also is running CF 11) and access them externally without issue. When I try to create the webservice in the url, I just get a blank page back instead of the XML I should be getting. Is there something special I am missing that has to be done to create web services in a secure environment? The raw error message I get when trying to invoke the secure web service is below:coldfusion.xml.rpc.XmlRpcServiceImpl$BadWsdlXMLException: Unable to parse WSDL as an XML document. at coldfusion.xml.rpc.XmlRpcServiceImpl.retrieveWSDL(XmlRpcServiceImpl.java:976) at coldfusion.xml.rpc.XmlRpcServiceImpl.access$000(XmlRpcServiceImpl.java:96) at coldfusion.xml.rpc.XmlRpcServiceImpl$1.run(XmlRpcServiceImpl.java:309) at java.securi
HiI have CF 11 running with SQL server 2005.I have a web server running on mydomain.com. All was well.I needed to switch mydomain.com to another host off of my network. But I wanted to keep the CF site that was on my network, running under another domain name. So I registered the domain name mydomaintest.com and pointed it to my current web server.All was well, and when I would go to mydomaintest.com, it would go to my current web server.However, once I switched the domain mydomain.com to point to the new web server, whenever I go to mydomaintest.com now, I get "DATASOURCE Undefined".Any suggestions? This was a custom CF site that I did not build.ThanksMike
HiI have inherited a Cold Fusion website and am interested in engaging an external consultant to help me manage and maintain the site. I have trawled the web but have not found any Sydney based consultants. Does anyone have any recommendations?cheersDavid
I am trying to use <cfspreadsheet> on a unix box, we are using weblogic as our app server.the code worked fine on my local machine ( win) and when moved over to the unix box, i getAn exception occurred while using action=write. coldfusion.excel.ExcelProcessException: An exception occurred while using action=write.the path has been adjusted for unix, the directory and file permissions all allow for write and execute.Has anyone run accross this? tiaJB
Will there be a way for parameters passed to a function to be final?
Adobe did have a pre-release nginx connector for 2016 which doesn't seem to have been released, is there a plan to release it and include it with CF2018?
I am interested in developing in ColdFusion 11... or in 2016 (it doesn't really matter). I see a 30 day trial for the ColdFusion 2016. Is the Developer version "free" or not? What happens at the end of the 30 day trial?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Vous avez déjà un compte d'utilisateur ? Connexion
Pas encore de compte ? Créer un compte
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.