Questions tagged [coldfusion-2018]

ColdFusion is a server-side rapid application development platform, from Adobe. ColdFusion 2016 is the current release of CF released on July 12, 2018.

Language New features in ColdFusion 2018

  • Asynchronous programming, using Futures
  • Abstract components and methods
  • Final components, methods, and variables
  • Optional semicolons
  • NULL support
  • Numeric member functions

Administrative New features in ColdFusion 2018:

  • Performance Monitoring Toolset
  • REST playground capability
  • Modernized Admin UI
  • Distributed cache support (Redis, memcached, JCS)

See: https://helpx.adobe.com/coldfusion/using/whats-new.html#WhatsnewandchangedinColdFusion2018release

124 questions
3
votes
0 answers

Error occurred while generating PDF in Coldfusion using cfhtmltopdf

I am getting the following error using cfhtmltopdf: Error occurred while generating PDF. Reason: PDF conversion is failed due to timeout. Increase the timeout value in PDFgService manager settings. According to these docs (see "Configuring the…
Paolo Broccardo
  • 1,942
  • 6
  • 34
  • 51
3
votes
1 answer

Efficient,secure cookie authentication and usage

I inherited a coldfusion application. The code is very old (think Allaire days) and I've been slowly upgrading it. Recently, we endured pentration testing, which failed in numerous areas. My focus at this moment is the login functionality,…
user460114
  • 1,848
  • 3
  • 31
  • 54
3
votes
1 answer

this.smtpServersettings is sending mail to undelivered options instead of gmail

I want to send a email to real gmail ID's to the end users. So I used smtp.gmail.com as mail server with my own email user name & password. But if I use this.smtpServersettings in my application.cfc it's not sending a email. All the mail's are went…
Kannan.P
  • 1,263
  • 7
  • 14
3
votes
0 answers

Coldfusion websocket cant create a websocket handshake while changing ws to wss protocol

Coldfusion websocket (using cfwebsocket with secure attribute true) cant create a websocket handshake, I am getting a connection refused error. To make websocket secure I followed these steps but I am getting Error in connection establishment:…
3
votes
1 answer

Could not disable HttpOnly flag in browser via ColdFusion

In our application, we use J2EE session variables for session management. We recently migrated from ColdFusion 9 to ColdFusion 2018. After migration, the logout functionality is not working. What we found is that, in ColdFusion 2018, the cookie…
3
votes
1 answer

ColdFusion 2018: How to setup a mapping correctly?

These are the steps I use: 1) I created new mapping inside CF Server => Server Settings => Mapping logical path: /mysite directory path: /Volumes/drive2/work/mysite 2) I restarted the server /Applications/ColdFusion2018/cfusion/bin/coldfusion stop…
mrjayviper
  • 2,258
  • 11
  • 46
  • 82
3
votes
2 answers

iText pdfReader Not Releasing File in ColdFusion 2018

I am upgrading to ColdFusion 2018. iText routines that I use to convert and rotate PDFs, the pdfReader puts locks on the file that do not release when the page is done. I have tried adding a close() method to my code. (It was not needed on the…
3
votes
1 answer

Coldfusion per application mapping randomly fails

In my application.cfc file I have the following code: this.mappings["/includes"] = "#expandPath('../../priv/inc/')#"; and then on a page I have the following CF include set up: For the…
csber3
  • 175
  • 2
  • 10
3
votes
1 answer

Create session variable

I am very new to ColdFusion (started yesterday). I am trying to create a session variable in checklogin.cfm, which equals the username input from form. So I can display the username on result page. Is it possible to do so? Or is there any better way…
3
votes
1 answer

Which EncodeFor on data- attributes with URLs

I am trying put a URL into a data- attribute. In particular ... OR perhaps it should be ... Note that ID can have special…
James A Mohler
  • 11,060
  • 15
  • 46
  • 72
3
votes
1 answer

Which EncodeFor should be used for location?

Which EncodeFor should be used location()? If I want to push some data via location, what should it look like? location("obtainBDK.cfm?message=#ErrorMessage#", false); //…
James A Mohler
  • 11,060
  • 15
  • 46
  • 72
2
votes
1 answer

How can I prevent ColdFusion from saying a defined variable is undefined?

In our CF code, inside a larger page/application, we have a block something like this (minus the dumps to the page - they are logged to a DB table):
Nick Petrie
  • 5,364
  • 11
  • 41
  • 50
2
votes
1 answer

ColdFusion 2018 u15 Administrator missing links to log files

I recently upgraded ColdFusion 2018 from u13 to u15. I updated the JVM to be 11.0.17. After a reboot & Ctrl+F5, the CF Admin > Debugging & Logging > Log Files does not have links for viewing the log files within the CF Admin page. All of the log…
Scott Jibben
  • 2,229
  • 1
  • 14
  • 22
2
votes
0 answers

Coldfusion 2018 The request has exceeded the allowable time limit Tag: cfhttp

I have been banging my head against this brick wall for awhile now. I have some beefy scheduled tasks that easily go over our global timeout. Since we upgraded to Coldfusion 2018, it seems like the standard fix of
2
votes
1 answer

ColdFusion 2018 scheduled tasks not working

We have recently began migrating to ColdFusion 2018 Enterprise, but have found that the scheduled tasks do not work. Although the relevant cfm file works if run in the browser on the same server, if we try and run it as a scheduled tasks then it…
jj2
  • 916
  • 1
  • 8
  • 19
1
2
3
8 9