Questions tagged [coldfusion-7]

For issues relating to using ColdFusion, version 7.

ColdFusion is a server-side rapid application development platform, from Adobe. ColdFusion can also refer to CFML, the dynamic programming language which Adobe ColdFusion ("CF") implements, also used by a number of alternative CFML engines - notably Open BlueDragon and Railo.

66 questions
5
votes
2 answers

Migrating from ColdFusion MX7 to ColdFusion 9. Any issues?

I'm planning a migration on a server from ColdFusion MX7 to ColdFusion 9. Does anyone know which steps I should take in order to achieve this without major issues? I can't find anything on the web that talks about this and I don't want to jump into…
AbsolutG
  • 113
  • 1
  • 2
  • 6
5
votes
1 answer

What returntype should I use when returning a Java object?

What returntype should I use when returning a Java object created with createObject("java", "") from a function? Is "Any" the only solution?
leokhorn
  • 505
  • 1
  • 4
  • 11
3
votes
1 answer

How to check whether http header is present

How can I check whether Accept-Language header is present in request? I've tried this, but it produces an error ... Sorry for probably lame…
alpha-mouse
  • 4,953
  • 24
  • 36
3
votes
3 answers

How to Deep Copy (clone) a structure while ignoring components

In versions of ColdFusion prior to 8 the duplicate function throws an error if there are any components in the structure. In 8 and beyond it will work, but there are issues when copying components. So, What I need is a way to create a deep copy of a…
invertedSpear
  • 10,864
  • 5
  • 39
  • 77
3
votes
1 answer

Custom CFInclude for file customization

Our code base has quite a bit of the following example as we allow a lot of our base pages to be customized to our customers' individual needs.
AntiTcb
  • 609
  • 4
  • 15
3
votes
2 answers

Scheduled Tasks not running - Coldfusion Server Administration

I have a series of scheduled tasks that all run at various times of the day. Since the migration from Coldfusion version 7 to 10, these tasks have stopped running. When I check the box, that outputs the results to a file, I get a text file that…
3
votes
1 answer

How does Coldfusion deal with createObject internally?

Say I want to call a static function from a CFC from within a cfscript block. As far as I know, the only method is using createObject() which returns a reference to the CFC object. Is this good practice? I think I remember reading that cfinvoke…
leokhorn
  • 505
  • 1
  • 4
  • 11
3
votes
2 answers

Spam-prevention for my contact form

I've been doing a lot of research about spam-prevention methods, I do not want to resort to using CAPTCHA. The form typically sends an email to the user and the webmaster with the contents of the form. The first thing I've done is to remove the…
Daniel Cook
  • 1,033
  • 1
  • 9
  • 19
3
votes
2 answers

Application.cfm missing Session variables after 301 redirect

Running ColdFusion 7. The Application.cfm loops all session variables into request.session The OnRequestEnd.cfm loops all request.session values back into session It does this so it only needs to lock the scope once when writing the variables in a…
3
votes
2 answers

using cfswitch cfcase to display every 3 months

I am working on a tax project. Taxes are broken down into quarters. the months the taxes are run are March, June, Sept, and December. once run my website displays when the taxes will run again. my problem is that in my results page when the next run…
3
votes
3 answers

How do I sort a query object in ColdFusion 7?

I have a query object, with, say, fifteen rows returned. For all intents and purposes, I can't modify the SQL which generates the query object, but I need to sort this query object by column. Is there a way to do this in ColdFusion 7 without…
Hooray Im Helping
  • 5,194
  • 4
  • 30
  • 43
2
votes
3 answers

CFSchedule Does Not Work Twice, Looking for ColdFusion Downtime Checking Script

I need some help with creating an automatic timing script with ColdFusion. Every 60 minutes I would like to see if a page on one of my servers (http://www.mysite.com/ALERT.cfm) is working or not. If the page is down when it is checked, then it will…
Mike
  • 947
  • 2
  • 12
  • 18
2
votes
3 answers

ColdFusion AJAX -- works on CF9, how about CF7?

I have the following, very simple CFC that I'm calling with jQuery. It works fine locally on CF9, but the client is on CF7, and there's no returnformat attribute in cffunction in CF7. How can I make this work? I tried using SerializeJSON() on the…
RobG
  • 576
  • 2
  • 9
  • 21
2
votes
2 answers

How to Increase ColdFusion Timeout

I have a CFM Page where I call a Stored Procedure. The page seems to be timing out due to the query taking too long to execute. We have tried optimizing/tuning the SQL query, made Clustered and Non-Clustered Indices , but the query is still taking…
user3114356
  • 71
  • 1
  • 2
2
votes
2 answers

Assign one error log file per application

We have multiple applications running on the same server and default log files end up being a mess of everything, especially the Exception log for which the admin panel does not offer search capacities. Is it at all possible to have Coldfusion log…
leokhorn
  • 505
  • 1
  • 4
  • 11
1
2 3 4 5