Quantcast
Channel: Adobe Community: Message List - ColdFusion
Browsing all 21760 articles
Browse latest View live

cfif with or problem

hii'm trying to use multiple expressions in a cfif ex:<cfif (Evaluate(test.itemcode) is not "HDMI") OR (Evaluate(itemcode) is not "DVI")>this should result in returning everything that 's not...

View Article


Re: cfif with or problem

Don't use evaluate!  And I think you should be using an AND instead of an OR (I might have misunderstood your requirements though) <cfif test.itemcode is not "HDMI" AND itemcode is not "DVI">

View Article


Re: cfif with or problem

Then why does the evaluate work if there's only 1 requirement?Or it has to be.. i want to exclude the hdmi and dvi  Verzonden vanaf Samsung Mobile <div

View Article

Re: cfif with or problem

ok , i did a litle more testing... as I thought already , the evaluate didn't do anything wrong and is needed because of some other code...you were right on the other hand on the OR ... i changed it to...

View Article

Coldfusion 10 working Slow

I have installed the CF 10 on my windows server 2008 R2. Now problem is that when I open site page it's take almost 30 second to load the page. My system is good and I think it's not an issue of my...

View Article


Re: cfif with or problem

I very much doubt that evaluate() is really required.  There's usually better ways to do the same thing, and is generally considered bad practice to use it among CF developers these days. Regardless,...

View Article

Cannot browse server following installation of hotfix 4 to Cold Fusion 9.0.1

Hi I've been tasked with updating a ColdFusion 9.0.1 installation to the latest patches.  I've started with Hotfix 4.  The installation appeared to go OK, and the services started after I applied the...

View Article

Re: Strange CF10 Cookie Behaviour

This works just fine, and it's what we've been doing, but I need something that I can do server side. I'm hosting several ecommerce websites on this server and I can't have each customer coming to the...

View Article


Paypal IPN + Coldfusion 7 not working?

I am trying to set up coldfusion to handle payPal IPN but I cant find any tutorials that explain how to get it to work, anything I find is out of date or I just cant get it to work. I've tried using...

View Article


Re: Strange CF10 Cookie Behaviour

I agree it would be nice to find a server side solution (or any logical reasons this happens at all), but at least for me it has happened so rarely that I've never bothered to look.  My hunch is that...

View Article

CF10 database connection BLOCKED?? - JDBCPool.checkOut/checkIn

I am continuing to troublshoot some 503 issues with my new server.  I recently enabled the Dump Snapshot feature inside Server Monitor and whenever I have an Unresponsive Server alert and I am seeing...

View Article

How can I determine if the current date is between two dates?

I am trying to display a link when the current date falls between two dates. I have setup the startdate and the enddate.When the current date falls between the startdate an the enddate, the link will...

View Article

Re: How can I determine if the current date is between two dates?

Well, I think if you get a pen and paper and try a couple of dates, you'll see the basic math problem with storing the dates as mm/dd/yyy.  You have two choices.  One is to represent the dates as...

View Article


Re: How can I determine if the current date is between two dates?

Not sure what you are talking about. I have been using the #dateformat(date_entered, 'mm/dd/yyyy')# for years with no problem. I googled the datediff function before posting here and what I found is...

View Article

Re: How can I determine if the current date is between two dates?

DateFormat() returns a string, not a date object. Suppose you have two strings like so: one = "aaab";two = "abaa"; and you compare them: <cfoutput>#one GT two#</cfoutput> you'll get NO (or...

View Article


Re: CF10 database connection BLOCKED?? - JDBCPool.checkOut/checkIn

Monday morning bump.  Please help if anyone knows.  This is driving me crazy and locking up my production server several times per day, but mostly at evening/night, which is strange but perhaps...

View Article

Re: CF10 database connection BLOCKED?? - JDBCPool.checkOut/checkIn

This looks like a deadlock somewhere inside CF. If you have CF enterpriseyou can trigger a snapshot in the Server Monitor and that might give youmore info or if you have CF standard you can start CF...

View Article


Re: CF10 database connection BLOCKED?? - JDBCPool.checkOut/checkIn

Hi, Mack.  Yes, this is Enterprise. The info above is from the snapshot, which is generated automatically when I get an Unresponsive Server alert from CF and attached to my email.  I only pasted what I...

View Article

CF10 and LDAP error

We recently upgraded from CF8 to CF10. Our apps that connect to LDAP to do lookups will intermittently give us errors. Most of the time they work but will occasionally throw this error: One or more of...

View Article

Re: onChange vs. onclick

Your whatsUp() function appears to have a typo: I see a closing paren but no opeing one and I don't see what it doing anything even if you correct the stray paren. Maybe you meant to call alert()?

View Article
Browsing all 21760 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>