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

HEAD request performance

We are currently testing performances on our web servers and are getting very different results between production servers and test servers. The test we are making is the following: Download the RSS feed XML available on the site Make a HEAD…
E. Jaep
  • 2,095
  • 1
  • 30
  • 56
3
votes
2 answers

How can I escape commas inside cfparam VARCHAR lists generated with ValueList?

Let's say there is a SQL table Fruit id | name --- ------ 1 | 'apples' 2 | 'pears' 3 | 'kiwi' 4 | 'bananas, peaches and plumbs' Given the following queries SELECT name FROM…
Daniel Mendel
  • 9,862
  • 1
  • 24
  • 37
3
votes
2 answers

How can I centralize business rules between SQL queries and application logic (ColdFusion 8)?

I've slowly but surely been re-factoring one of my client's websites to improve the overall business logic and avoid duplicate code. One of the primary areas I've been working on is the products in a basic shopping cart application: Item Search,…
Eric Belair
  • 10,574
  • 13
  • 75
  • 116
3
votes
2 answers

cfexecute command line

I've just installed wkhtmltopdf which converts webpages to pdfs. I can run it from the command line on the server like so: wkhtmltopdf http://www.google.co.uk c:\google.pdf wkhtmltopdf was added added to the path environmental variable. The real…
Sam
  • 444
  • 1
  • 4
  • 14
3
votes
2 answers

Why does Coldfusion not send any email if only one of them is invalid?

I have a cfmail sending out to approxiamately 8 people (dynamically). One of these addresses is incorrect and therefore the whole email is not sent out. Is there any settings in the coldfusion administrator or in the cfmail tag where this can be…
Jason
  • 17,276
  • 23
  • 73
  • 114
3
votes
1 answer

Link clicked in MS Word loses CF Session vars, but copied & pasted works fine

Been trying to figure this out for an hour now and I'm stymied. Simple site that allows employees to register. Typically the employer has a company wide u/p for all employees to use to access the registration page, but client also wanted a way to…
Steve
  • 2,776
  • 3
  • 25
  • 44
3
votes
4 answers

Adding Select All to dropdown

This is my query: SELECT firstname + ' ' + surname name, userid, mobileno, extension FROM currentstaff WHERE (mobileno IS NOT NULL OR Left(LTrim(extension), 2) = '07') …
Alias
  • 415
  • 1
  • 6
  • 20
3
votes
2 answers

CF QoQ is throwing runtime error. "Column reference is not a column in any of the tables of the FROM table list."

In my code, I first create the Query Object: I can then verify…
Dan
  • 3,246
  • 1
  • 32
  • 52
3
votes
2 answers

Coldfusion 8 -> 9 update, functions no longer working

HELP!! Just migrating a site from one server to another, the coldfusion version is changing from cf8 to cf9 [linux/centos] this code used to work before: cfinclude('../SQL/contact.sql.cfc'); form.phone = unFormatPhone(form.phone); contactID =…
3
votes
3 answers

Getting CLOB data from ColdFusion 8

I am trying to retrieve CLOB data from our Oracle database. the code is the following:
E. Jaep
  • 2,095
  • 1
  • 30
  • 56
3
votes
4 answers

Should the length of a URL string be limited to increase security?

I am using ColdFusion 8 and jQuery 1.7.2. I am using CFAJAXPROXY to pass data to a CFC. Doing so creates a JSON array (argument collection) and passes it through the URL. The string can be very long, since quite a bit of data is being passed. The…
Evik James
  • 10,335
  • 18
  • 71
  • 122
3
votes
2 answers

Storing Coldfusion CFC instance in REQUEST scope, is it safe?

Is it safe to store a CFC object in the REQUEST scope to be accessed later? Right now, our sites load up navigation data at least twice, possibly three times if they use our breadcrumbs feature. Some times, this data can vary, however, most of the…
jzimmerman2011
  • 1,806
  • 2
  • 24
  • 37
2
votes
1 answer

Coldfusion Cookies from javascript function

What would be the best way to handle ColdFusion Cookies from a javascript function? I need to get and set the Cookie's value. I guess there is an alternative solution to using document.cookie ?
Francis P
  • 13,377
  • 3
  • 27
  • 51
2
votes
1 answer

coldfusion arrayclear xml

I am using cfscript to delete xml nodes, however, I am having issues deleting the names dynamically. hard coded pseudo example: ArrayClear(xmlNav.myXmlDoc.UL[1].LI[2]); how can I set value to be deleting dynamically i.e. …
Chris Hough
  • 3,389
  • 3
  • 41
  • 80
2
votes
1 answer

Coldfusion 8 doing both CFIf and the CFElse statement

I am making a user signup app for an ecomerce site, but I have run into a very odd problem. When I run this code: SELECT var_username,…