Questions tagged [coldfusion-8]

For issues relating to using ColdFusion, version 8.

ColdFusion is a server-side rapid application development platform, from Adobe. ColdFusion 8 new features include

  • Built in AJAX for various UI elements. This is based ext-js
  • Exchange support
  • RSS
  • ZIP files
580 questions
3
votes
4 answers

generating thumbnails using CF8 cfimage tag - large filesize caused by image metadata

i'm building a small web app that will resize images to different pixel dimensions after they have been uploaded. I am attempting to create 150px X 100px thumbnail from a 3mb jpg image, but am unable to get the filesize smaller than 68kb ( I would…
Mark
  • 31
  • 2
3
votes
2 answers

Is there an equivalent to PHP's htmlentities in ColdFusion?

My ColdFusion app is required to create Word 2003 documents, with complex data like images (only a small text portion needs to be dynamic, though). To let this happen, I've saved a Word document that I use as a template in "single-file HTML" (read:…
zneak
  • 134,922
  • 42
  • 253
  • 328
3
votes
1 answer

Passing variable to .NET dll in ColdFusion

I built a very simple .dll in C# to call from a simple ColdFusion page. Everything works fine if I pass in literal values but as soon as I try and pass in a variable (#rollYear#) I get a message stating it can't find the method anymore. The…
Matt
  • 128
  • 1
  • 8
3
votes
4 answers

When should cfthread be used?

Would you please give a simple scenario where threading is necessary? Thank you, Nich
n_kips
  • 585
  • 11
  • 20
3
votes
1 answer

Login and get cookies Using CFHTTP

I want to log in (https://pacer.login.uscourts.gov/csologin/login.jsf) using CFHTTP.Using Http Live Header we have collect all required parameter and post to the login url.Here is my Example Code:
3
votes
2 answers

ColdFusion Query-of-Queries Wildcard LIKE condition not working with single quotes?

I have a query-of-queries that performs a LIKE condition on a variable string: When the variable contains a single word that includes a single quote, some results are returned, but not all:
Eric Belair
  • 10,574
  • 13
  • 75
  • 116
3
votes
1 answer

Generate multiple files, add them to a zip and then send the zip as a file download.

I have a cfm page that generates multiple spreadsheet objects, right now if i try to send the files for download, only the last generated spreadsheet file is send as a download. Is there a way to write these files to a zip and send the zip file as a…
DesTroy
  • 390
  • 4
  • 17
3
votes
1 answer

HTML form error in ColdFusion: "Element __ is undefined in FORM."

I'm trying to submit an html form which includes check boxes for the days of the week. When they are checked, I pass a value of 1 for that check box. To handle unchecked boxes, I pass a value of 0 in a CFPARAM tag in the form action page. I take…
Franco Parico
  • 33
  • 1
  • 3
3
votes
1 answer

Getting current IIS app name with ColdFusion

I'm trying to get the current IIS application name in my ColdFusion scripts but I have no idea where to get this information. I want to use the app name to communicate with IIS using cfexecute by running appcmd.exe.
Jelle Kralt
  • 980
  • 6
  • 16
3
votes
1 answer

ColdFusion 10 does not throw any errors but ColdFusion 8 does

Sorry, this is the best title I can come up with. I am hoping someone on here can give me an explanation to this behavior. My employer just decided to upgrade CF 8 to CF 10 (yeah, I know). However, some of the servers are on CF 10 and some are on CF…
Monte Chan
  • 1,193
  • 4
  • 20
  • 42
3
votes
1 answer

cfquery not returning results when mulitple cfqueryparam are used

The following cfquery is failing in ColdFusion when the multiple cfqueryparams are used; however, when they are not used or only limited to one or the other the query returns the expected results:
rjzii
  • 14,236
  • 12
  • 79
  • 119
3
votes
1 answer

coldfusion cfcase not working as per documentation

I have the following code in ColdFusion 8 This works fine and all is correct when the value is envelope, but when the value is addrfile the case is not executing. When I remove envelope and just write
Betty Mock
  • 1,373
  • 11
  • 23
3
votes
3 answers

CFInclude vs Custom Tag vs CFC for Presentation and Security

I'm just starting out with ColdFusion OOP and I am wanting to make a DIV which shows different links to users depending on what page they are on and what login rights (role) they have. Basically a 'context' menu. Should I put this toolbar/navigation…
volume one
  • 6,800
  • 13
  • 67
  • 146
3
votes
1 answer

ColdFusion CFCHART Pie Chart Data Label Position

I have created a pie chart using the cfchart tag and as of the moment the labels for the chart data show outside of the pie chart, where I would like them placed inside each respective slice. I've looked through CF documentation but can seem to…
Phil
  • 4,029
  • 9
  • 62
  • 107
3
votes
1 answer

Is the use of CFLOCATION good/bad practice for "next step" operations?

I often design step-by-step processes (i.e. Shopping Cart) in the following way: Form posts to itself On post, validate entries. If NOT valid, display the form with error messages. If valid, save the entries (to SESSION or database, etc.), then…
Eric Belair
  • 10,574
  • 13
  • 75
  • 116