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
2
votes
3 answers

How can I design a ColdFusion page to update an Array of data across requests without using the SESSION scope?

This is more of a conceptual question. I have a working application that allows users to upload a CSV file of addresses, then parses the data into an Array of Address objects, then validates each Address object against certain rules (certain fields…
Eric Belair
  • 10,574
  • 13
  • 75
  • 116
2
votes
1 answer

How can I get ColdFusion to scale images of any type?

Server Config: Windows Server 2003 IIS 6 ColdFusion 8 Standard Edition Java Version 6 Update 18 I have a ColdFusion application that allows users to upload images that will be added to an existing PDF. When the images are added to the PDF, they…
Eric Belair
  • 10,574
  • 13
  • 75
  • 116
2
votes
1 answer

How can I scale an image with ColdFusion without losing resolution?

Server Config: Windows Server 2003 IIS 6 ColdFusion 8 Standard Edition Java Version 6 Update 18 I have a ColdFusion application that allows users to upload images that will be added to an existing PDF. When the images are added to the PDF, they…
Eric Belair
  • 10,574
  • 13
  • 75
  • 116
2
votes
2 answers

Coldfusion: Pass json from a CFM to another CFM?

Basically I am calling from a CFM another CFM which creates an object, calls several methods on this object and logs a user in; otherwise it prints an error on the screen. Rather then printing the Error, is there a way to take a CFM and have it…
Snow_Mac
  • 5,727
  • 17
  • 54
  • 80
2
votes
1 answer

Comparing Coldfusion and PHP timestamp in milliseconds

I'm creating a timestamp in CF8 using a custom function. It's then being passed via query string to PHP and compared, again, to the current timestamp (using time()). Since CF8 doesn't have a built-in millisecond option for DateDiff(), I appended 3…
justacoder
  • 2,684
  • 6
  • 47
  • 78
2
votes
4 answers

is causing the weirdest error

I have been having the hardest time trying to resolve the weirdest error when any kind of condition is used within any kind of loop. The error I keep getting is: "Complex object types cannot be converted to simple values." on the line that contains…
Salsero69
  • 2,160
  • 3
  • 23
  • 27
2
votes
4 answers

The symbol you provided is not a function

Key points before reading further All variables are properly var'ed (you'll have to trust me) Scopes are not being reset while these long-running processes are happening When dumping the metadata for the supposedly missing/invalid method, I get…
Dan Short
  • 9,598
  • 2
  • 28
  • 53
2
votes
1 answer

Is there a way to automate the CFX tags installation?

I'm currently in the process of re-installing a web farm of ColdFusion 8 servers (W2K8, IIS 7.5). I have to install a number of CFX tags (C++) on each server to get the code running. Is there a way to automate the installation of the CFX tags…
E. Jaep
  • 2,095
  • 1
  • 30
  • 56
2
votes
2 answers

Get username/account name from email address

Client table contains first name, last name, email, and department. I need to compare the username portion of the email address (that is, everything before @) to the session's username to verify authenticity. How may I structure my cfquery to…
aparker81
  • 263
  • 1
  • 5
  • 23
2
votes
3 answers

Conditional statement in CFSet

I can't remember what it is called, but I need to do a sort of conditional statement inside of a CFSet statement. What I mean is something like the following siteSettings = { mailserversmtpport = resourceBean.getValue('mailsmtp'), // SMTP Port…
Dave Long
  • 9,569
  • 14
  • 59
  • 89
2
votes
2 answers

Can a cfargument be of type "list"?

I want to have an argument like this: I don't see it in the docs at…
Nic Cottrell
  • 9,401
  • 7
  • 53
  • 76
2
votes
4 answers

Good or bad practice to store query result in Application.cfc

In my application I have a sidebar (on every page) that displays a list of job openings for a smallish company. Is it wise to run the query in Application.cfc and store the results there somehow or is there a smarter way to run the query and store…
Ofeargall
  • 5,340
  • 5
  • 28
  • 33
2
votes
2 answers

Coldfusion security issue...how to hide directory of files?

So, I decided to try to break my website...I googled my site by typing in site:mysite.com/whatever and behold, all of the users uploaded files were available for view under a specific directory. What kind of script/ counter measure should I use to…
Bri
  • 729
  • 2
  • 17
  • 38
2
votes
2 answers

Coldfusion Redirecting a page with statuscode 410

my web site generate the links dynamically and after some period of time the links will be expired and will be no more valid. I redirect such links to a static page with a statuscode 301 which for google only means that the old link should be…
user160820
  • 14,866
  • 22
  • 67
  • 94
2
votes
5 answers

Can we renew session in Coldfusion?

I am storing 5-6 variable values in my session. Any suggestions on how can I renew my session struct when its about to expire? I am using Coldfusion 8. Thanks!!
Deepak Yadav
  • 1,724
  • 3
  • 23
  • 38