coldfusion

ColdFusion 9 Upgrade: Illegal target of jump or branch

I am working on upgrading our codebase from MX7 to 9. I have the Developer Edition of 9 installed on my 10.6 Mac with MAMP Pro 1.9 to verify everything works before we buy upgrade licenses. Many things work just fine. But on several pages I am getting an error that I simply cannot explain. I have gone over the erroring page, report_list....

ColdFusion debugging problem in Eclipse (Break points not hit)

Hi, I am trying to get the debugger (CF extension for Eclipse) working for last few hours. And struck in strange situation. My settings are listed below ColdFusion 8 Eclipse 3.4 I set up the RDS & modified the JVM.config settings and verified the connection & debugger, both returns successful in test run. But When i attach a debugg...

Un-encrypting / re-encrypting a ColdFusion encrypted string in PHP

Hi there, I'm in the unenviable position where I have to maintain functionality with an existing ColdFusion application. As part of it's login process the Coldfusion app stores a cookie with an encrypted string. encrypt(strToEncrypt, theKey, "AES", "Base64") I can successfully decrypt this string in PHP using MCrypt and the followi...

Sorting issues in flexigrid with "json" data

I'm currently using flexigrid to display data in a current project, but am running into issues with its ability to properly sort certain columns that contain dates or numbers. The data is being sent from a ColdFusion CFC that selects the appropriate data and then delivers it in the proper "json" format. As the date/time stamps and other ...

How does ColdFusion serialize variables returned from web service calls?

I would like to know how ColdFusion serializes variables returned from web service calls so that I can figure out how large (in bytes) they are. I am having issues where when a few of my web requests are returning (I can tell from log statements) but then I get INVOCATION ERROR: Cannot perform web service invocation. My hunch from the ...

Coldfusion MX 7.0 Flash based multiple file uploader causing issues after 2/3 files upload

Hi, I have an application that uses a single signon for login in Coldfusion Mx 7.0. It essentially has a cfldap in the application.cfm. But the real issue is that I am trying to use a multi-file upload third party tool that submits to a coldfusion script with cffile and stuff in it. Both the Flash based tool and the Java based tool are...

cfinput minimum password length

Hi, How can the cfinput tag be set to validate the minimum input length? (E.g. To a minimum of 8 characters long) Currently have: <cfinput type="password" name="password " label="Password" required="yes" message="Please Enter Your Password"> Any help will be appreciated. ...

Set session variable with select box via jQuery/ Ajax with Coldfusion

Ok so here is my epic journey problem going on for a month now...: First problem: I was building a form with coldfusion-ajax tags which was the worst mistake ever. IE completely hates it and I was unable to bind anything. YES, my code was correct. I had it verified by many people and many forums. So I have NO IDEA what was wrong. So co...

Does ColdSpring work with MX 6?

I'm embarrassed to ask such a simple question, but my searches are turning up zip. So .. does ColdSpring works with MX 6? Thanks from heat fried brain ... ...

What is int(x) really doing?

I have the following code: <cfloop list="1|1.2|1,2|1,2,3" delimiters="|" index="x"> #X# - #int(x)# <br /> </cfloop> Which produces this output: 1 - 1 1.2 - 1 1,2 - 40180 1,2,3 - 37623 What's happening when I pass in these lists? ...

Question on JqGrid paging.

Hi, I would like not to lose the paging and the sort parameters when I leave a page with a grid and I come back to this page. Is it possible to get the page, rowNum, sortname, sortorder params (I think with getGridParam), put them in the URL scope, go to another page, and get those params back through the URL scope and give them in the...

How do I use ColdFusion to replace text in HTML without replacing HTML tags?

I have a html source as a String variable. And a word as another variable that will be highlighted in that html source. I need a Regular Expression which does not highlights tags, but obly text within the tags. For example I have a html source like <cfset html = "<span>Text goes here, forr example it container also **span** </span>" ...

XML document for UPS Freight Shipping

I was wondering if anyone knew of where I could find an example XML document so that I could get get a FREIGHT LTL shipping quote from the UPS API. My XML mojo is seriously deficient, and all UPS has provided me is an XSD document. My client is really hoping that I can get this done sooner rather than later, and I need to send this as ...

How do you retrieve HTML from an external website into a variable in ColdFusion?

In PHP there's a simple function called file_get_contents, and if I wanted to retrieve and display the HTML on, say, google.com, I would just do this: <?php $html = file_get_contents('http://www.google.com/'); echo $html; ?> Is there an equivalent to this in ColdFusion? Can you retrieve the output of an external site into a string var...

Nesting queries in CF

I'm using this code to display a list of platforms. If a platformID was specified upon entering the page, I would like to create a list of genres underneath the specified platform. browse.cfm was accessed via a link that specified a platformID of 1 browse.cfm will list all available platforms browse.cfm will now list all available gen...

How can I prevent automatic form submission by bots?

I am running ColdFusion MX, so I don't have the possibility of using the built-in cfimage Captcha functionality in my application, before form submitting. But the problem is without captcha the bots submit the forms. What will be best way to prevent automatic submitting? ...

How can I access the CFFileServlet directory on a ColdFusion Web Server using multisite.dll?

I am using the multisite.dll ISAPI filter (http://www.hairy-spider.com/post/Multisite.aspx) in order to develop on several websites simultaneously on my Windows XP Professional/IIS 5.1 workstation. I am developing both HTML and ColdFusion websites. On the ColdFusion websites, when I use CFIMAGE to create an image in memory - a CAPTCHA im...

Does restarting CF server log everyone out?

If CF server is restarted, are all the existing Session and Client variables lost? ...

I am creating a web-based sysadmin portal for monitoring my web server

This will involve monitoring, coldfusion, sql server 2005, iis, coldfusion errors, hardware. For example, I want to create graphical easy to understand charts showing coldfusion performance, but I want to know what data can i access underneath the system to get that? Are there any resources for that? Yes I know there is a balance from...

Why isn't my jQuery recognizing the return from my CFC?

I have a page that uses a .post to submit to my cfc. I know the function works fine because the database is being updated but the alert that's being fired is the one in the 'else' statement. Can any of you see why my return isn't firing the correct alert? Am I not capturing the return properly? Some of my variables are hard coded for t...