coldfusion

Setting Up Flex Project with Coldfusion

We recently built a new dev server for flex builder and installed coldfusion 8. We currently have everything working on our old server using coldfusion 7. We copied the services-config.xml and our project over to the new server. It compiled fine, I updated all references to the new server. When I try to run the flex application I receive...

open PDF in the browser

I want to open the PDF in browser so that i have wriiten the below code but i have occured the error: "file does not begin with %PDF". <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Conten...

Problems with sessions and ColdFusion only in IE6

Hi there. We have a strange problem when implementing sessions with ColdFusion in IE6. After login and after a refresh on the page all the session variables are lost. Its some kind of config in the Administrator? Could you give me some troubleshooting tips to this issue? Thanks in advance! ...

Make .cfm template accessible only via ajax call?

I have a template set up that I'm making ajax calls to via jQuery. I'm passing a URL parameter called "method" and then doing a <cfswitch> through each method to determine what block of code to execute. Problem is, I don't want this page to be accessible outside of the ajax call. In other words, I don't want the template to run if someo...

Create a mock request that cffile action=upload will process

I'm writing an upload function for ColdFusion of Wheels and need to unit test it once it's finished. The problem I'm having though is that I have no idea on how to create a mock multi-part form post in ColdFusion that I can use in my unit tests. What I would like to be able to do is create the mock request simulating a file being upload...

How to ask CF9 ORM to use CHAR(2)?

How to ask CF9 ORM (hibernate) to use CHAR(2) as sql column type? ...

How to define a Not Null column in CF9 ORM?

I tried added @required true to a property, but the table generated by CF9 ORM is still Nullable. Any way to make a column a non-nullable column? Thanks. ...

Differences between New/CreateObject() vs EntityNew() in CF9 for persistent CFC?

What are the differences (if any) between New/CreateObject() to create an object vs EntityNew() to create an entity in CF9 for persistent CFC? ...

Retrieval of input type=password Request.Form["strPassword"] gives null

Are there any special considerations trying to read up data from an HTML form where the element is an input type="Password"? When a ColdFusion page POSTs my handler with form data I am getting null for the password instead of the typed value. Here is the key line from the larger block below: string password = context.Request.Form["str...

How secure is my site to intruders with CFLOGIN

How secure is my site to intruders with CFLOGIN, is there a way to bypass the username and password form? the form is called from the application.cfc ...

High Load Event Gateways For ColdFusion

how good are event gateways to handle high loads of volumes? 2k-20k requests per second? ...

Install ColdFusion 8 on Snow Leopard?

Has anyone found a way to install ColdFusion 8 on Snow Leopard? Is it possible? ...

Cleanup Transfer ORM definitions?

Started researching Transfer ORM recently and find it pretty cool. Today I've noticed that definitions directory contains some old files from my previous development sessions (ex. 27/08, 28/08). I have only few objects in transfer.xml for that project, but they produced few definition files each already. Should I worry about them? M...

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 changed so it will send to the 7 correct people and only fail for the one person. I'm using C...

Java class cached in ColdFusion

When developing my own Java class to use within ColdFusion 8 I stumble upon a problem that ColdFusion doesn't recognize that the *.java or *.class was changed, at least i don't see the change I made appear on the page. Is it some kind of caching issue? ...

HMVC framework for Coldfusion?

I'm given a task to develop a couple of applications in ColdFusion that will share some of the data - same data but different presentation. The first solution that comes in mind is to create a ColdFusion widget that as I understand breaks some MVC rules within ColdBox I am currently using. I need more of a view within another view with ...

Consume a redirected webservice in ColdFusion

I've been provided a WSDL file that points to a webservice. I use this webservice to log in and create a session. In addition to the session token, the login response provides a URL I'm supposed to redirect my webservice calls to. Other than the URL I'm addressing, the definitions are the same, so no new WSDL is provided. What is the...

coldfusion builder rds fails dreamweaver cs4 rds works

I am currently attempting use Adobe RDS built into Coldfusion Builder to connect to our servers RDS setup, no matter how I set it up to match Dreamweaver CS4 RDS it fails. Everything through Dreamweaver RDS works fine, but I would rather use cf builder, any ideas or links? ...

Persistent login info from server to server

Hi, I am currently working on 2 web servers, One Coldfusion and the other PHP. Right now, the Coldfusion server is my main server where users log in to access restricted data. However, I have also begun using a PHP server and want to make it transparent for users to access a specific page on that server - that server requires log in inf...

&#145; &#147; &#233; == ‘ “ é, but on what encoding/reference?

I have a ColdFusion script that does: <cfset content = replace(content,"&##147;","""","all")> Which replaces &147; by ". Google understands this too, if you type &#145; &#147; &#233; at its search box its transformed on the results page to ‘ “ é". If I search for é on this HTML Entity Character Lookup page, it'll return &#233; to me....