Re: Packing directory output to a list

2009-09-23 Thread Ultimator Ultimator
thanks, i'll work on it and get back to you ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Issue converting to Application.cfc from Application.cfm having UDF's

2009-09-23 Thread SANJEEV SINGLA
I need help in converting application.cfm to application.cfc. I have few functions defined in my current application.cfm, out of which few are called within application.cfm only. One of the function I have in my application.cfm is like as below: cffunction name=loadAppCFC access=public

Re: CF jQuery - How to delay ajax completion until images are processed...

2009-09-23 Thread Raj Vijay
Rick I think the exact problem area I the code above is the call to the function fnGetRentalProperties(), which goes out to another cfc method and constructs HTML for display before all the data is finished processing. Have you tried invoking the fnGetRentalProperties() as a callback

RE: CF jQuery - How to delay ajax completion until images are processed...

2009-09-23 Thread Rick Faircloth
(My apologies to everyone on the list...when I started this thread, I didn't know if this would be more of a CF or jQuery issue...turns out, at least for now, it looks like the solution is client-side) It looks like the code falls within that pattern... Here's what I'm using: $.ajax ({

RE: CF jQuery - How to delay ajax completion until images are processed...

2009-09-23 Thread Rick Faircloth
Thanks, Raj...I'll have a look at doing that. I think the veil has been lifted from my eyes, however, regarding what's happening with my code. If you saw my last post, including the additional code that is actually intercepting the form submission, it's clear that the ajax call isn't actually

Re: HoF invaded

2009-09-23 Thread Tom Chiverton
On Tuesday 15 Sep 2009, Jacob wrote: Format C: - Reinstall apps - restore data from backup. Although probably OK in this case, note that malware could be hiding in the BIOS, Intel vPro etc. etc., especially if you have been target specifically. -- Helping to efficiently establish

Re: Issue converting to Application.cfc from Application.cfm having UDF's

2009-09-23 Thread Cutter (ColdFusion)
Why don't you just but your UDF's in your Application.cfc directly? Then those functions are automatically available from anywhere within your Application.cfc. Otherwise, I would put those functions within a utility cfc, which you could place in an APPLICATION scoped variable inside your

Form Output Iteration/Looping Question

2009-09-23 Thread patrick buch
Hi, Thank you for taking a minute to look at my post... In the form output section below, I'm wondering how to dynamically add the number at the end of the id (form.vendor_id* form.nvc_id*). I should be able to loop and dynamically create the output section below instead of hardcoding the

Re: Form Output Iteration/Looping Question

2009-09-23 Thread Francois Levesque
You could always use bracket notation: form[vendor_id#i#], where i is the index of your iteration. On 2009-09-23, at 11:05, patrick buch patrick.b...@verizon.com wrote: Hi, Thank you for taking a minute to look at my post... In the form output section below, I'm wondering how to

RE: Form Output Iteration/Looping Question

2009-09-23 Thread Mark Kruger
Something bothers me about your code below... tr#form.vendor_id5#td#form.nvc_id5#/td/tr Shouldn't there be a td after the tr Anyway, you could do the same thing like so... cfoutput cfloop from=4 to=49 index=x trtd#form['vendor_id' x]#/tdtd#form['nvc_id' x]#/td/tr /cfloop /cfoutput

Database Deadlock with Multi-Server CF Config?

2009-09-23 Thread Matthew Reinbold
Hello, This is less about getting a specific answer and more about just finding out how to diagnose the problem. Client has an ColdFusion application in a multi-server instance behind a hardware load balancer. The ColdFusion server are on separate machines but talk to the same MS-SQL db.

Re: Form Output Iteration/Looping Question

2009-09-23 Thread patrick buch
Thanks Francois Mark on the bracket info... I was not aware of that and yes, it is working great. Mark, to answer your question on the code, I have the TD in the hidden input. Hi, Thank you for taking a minute to look at my post... In the form output section below, I'm wondering how to

RE: Database Deadlock with Multi-Server CF Config?

2009-09-23 Thread DURETTE, STEVEN J (ATTASIAIT)
This is a locking problem in the database. Probably two different cfm pages are attempting to edit the same database records at the same time. Troubleshooting deadlocks in SQL Server is a big subject. I'd start searching the SQL server Books online and go from there. Steve -Original

Re: Database Deadlock with Multi-Server CF Config?

2009-09-23 Thread Kris Jones
It's less a CF issue, and more about a traffic and simultaneous reads/writes. Make good use of WITH NOLOCK on database reads where you can. It's not always a single record that is locking. Depending on how your tables are indexed and a variety of other factors, a page (SQL page) could be locked,

Getting URL from URL address bar!

2009-09-23 Thread David Torres
Hello, My company needs to track when users type either one domain or the other to get to the final page, for example a person types www.xyz.com or www.abc.com to be redirected to www.finalsite.com. I know how to do the redirect, but how can I capture the address they typed to finally get

Re: Getting URL from URL address bar!

2009-09-23 Thread Barney Boisvert
Do it on the app sever. Accept requests for xyz.com and abc.com, log the request, and then redirect to finalsite.com. Just make sure you do a 302 so search engines won't correct themselves. cheers, barneyb On Wed, Sep 23, 2009 at 10:54 AM, David Torres djt...@yahoo.com wrote: Hello, My

RE: Getting URL from URL address bar!

2009-09-23 Thread brad
Check the cgi scope. I recommend cgi.http_referer and cgi.server_name. ~Brad Original Message Subject: Getting URL from URL address bar! From: David Torres djt...@yahoo.com Date: Wed, September 23, 2009 12:54 pm To: cf-talk cf-talk@houseoffusion.com Hello,

RE: Getting URL from URL address bar!

2009-09-23 Thread Jacob
Hmm... should it be a 301? -Original Message- From: Barney Boisvert [mailto:bboisv...@gmail.com] Sent: Wednesday, September 23, 2009 11:02 AM To: cf-talk Subject: Re: Getting URL from URL address bar! Do it on the app sever. Accept requests for xyz.com and abc.com, log the request,

Re: Getting URL from URL address bar!

2009-09-23 Thread Barney Boisvert
301 is permanent, which tells people they can safely skip xyz.com and go right to finalsite.com. I.e. that it's safe to never actually hit xyz.com and just automatically do the rewrite without an HTTP request. You don't want that if you want to track the traffic on xyz.com. cheers, barneyb On

Re: Getting URL from URL address bar!

2009-09-23 Thread David Torres
Thank you guys for the prompt reply, but either application server will do the job, which I haven't tried yet, or my question has misleaded you. I have tried to use CGI variables, but the SERVER_NAME and the HTTP_HOST they both contain the www.finalsite.com when aither url is entered. I need

Re: Ampersands being stripped from query_string

2009-09-23 Thread David Torres
Either cfdump the cgi object or try to clear the cache. That may help. David ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

RE: Getting URL from URL address bar!

2009-09-23 Thread Andy Matthews
REFERRER isn't just for search engines. It's whatever page they were last on. -Original Message- From: David Torres [mailto:djt...@yahoo.com] Sent: Wednesday, September 23, 2009 1:30 PM To: cf-talk Subject: Re: Getting URL from URL address bar! Thank you guys for the prompt reply,

Re: Getting URL from URL address bar!

2009-09-23 Thread David Torres
You don't believe me when I said that the referer is empty when the page loads when users type in the url. I did another test, and still is empty. David ~| Want to reach the ColdFusion community with something they want? Let

Re: Getting URL from URL address bar!

2009-09-23 Thread Charles Sheehan-Miles
Actually kind of in-between. It's not just search engines... it's the page that _linked_ to your current location. If someone types in the address, there won't be a referrer... but they could have a referrer from some other location other than a search engine. This is from RFC 2616: 14.36

Re: Getting URL from URL address bar!

2009-09-23 Thread Charlie Griefer
If you're responding to Andy, he's 100% correct. Referer isn't just for search engines, it's whatever page they were last on. IF they were last on a page. When you type in the URL, referer will be empty because there was no referrer. Similarly, if you access the page from a bookmark, there

Re: Getting URL from URL address bar!

2009-09-23 Thread Matt Quackenbush
Barney already gave the exact description of how to handle this, but since it is painfully obvious that his instructions were not understood, I will attempt to spell it out again. 1) Set up your web server (Apache/IIS/Resin/Whatever) to respond to requests for each of the three domains in

RE: Getting URL from URL address bar!

2009-09-23 Thread brad
If what you need is not in the referrer you have two options. 1) Make whatever is doing the redirect also do the logging the fact that someone came through redirect URL #17 2) Make whatever is doing the redirect add something into the URL that can can use to report off of. (http://www.a.com

Re: Getting URL from URL address bar!

2009-09-23 Thread David Torres
Thank you all for the replies so far, but this is getting more complicated that I was expecting. I did have another option using javascript though, but I didn't want to implement it because I don't know if search engines will penalize you to have this type of redirect done like this. Here is

Re: Getting URL from URL address bar!

2009-09-23 Thread Dave Watts
I did have another option using javascript though, but I didn't want to implement it because I don't know if search engines will penalize you to have this type of redirect done like this. Here is my code in index.cfm: html body script type=text/javascript if (document.URL==www.abc.com

CFLoop: Problem with variable wrapped in double quotes

2009-09-23 Thread Dakota Burns
I have the following code below (codeblock 01), which outputs the following three lines correctly: CFSET varMergeFile1 = c:\inetpub\uploads\pdf\resume_1.pdf CFSET varMergeFile2 = c:\inetpub\uploads\pdf\resume_2.pdf CFSET varMergeFile3 = c:\inetpub\uploads\pdf\resume_3.pdf [CODEBLOCK 01:

Re: Is Infusion Still In Business?

2009-09-23 Thread Rick Root
Do you mean Coolfusion (makers of Infusion Mail Server)? http://www.coolfusion.com/ Their web site is still up. On Tue, Sep 22, 2009 at 9:20 AM, Robert Forsyth r...@wjla.com wrote: Is Infusion still in business?  I have a couple of their servers installed and want to add another one.  

Re: CFLoop: Problem with variable wrapped in double quotes

2009-09-23 Thread Azadi Saryev
use associative array notation: cfset variables['varMergerFile' i] = c:\inetpub\uploads\pdf\resume_#i#.pdf Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 24/09/2009 04:44, Dakota Burns wrote: I have the following code below (codeblock 01), which outputs the following three lines

Re: CFLoop: Problem with variable wrapped in double quotes

2009-09-23 Thread Rick Root
If you're trying to dynamically generate code to put in a file, you can't do it that way. Do this instead: !--- GET LIST LENGTH --- cfset printIt = 1212,1549,2003 cfset listLength = ListLen(#printIt#) !--- DISPLAY EVERY ELEMENT IN LIST --- cfset x = 1 cfset out = cfloop index=i from=#x#

Re: Getting URL from URL address bar!

2009-09-23 Thread David Torres
When you say do this in the app server, this mean the application.cfc? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: Is Infusion Still In Business?

2009-09-23 Thread Michael Dinowitz
I have not been able to find Howie to date and parts of the website is non-functional. I can still use the product and all, but... On Wed, Sep 23, 2009 at 5:02 PM, Rick Root rick.r...@webworksllc.com wrote: Do you mean Coolfusion (makers of Infusion Mail Server)? http://www.coolfusion.com/

Re: Getting URL from URL address bar!

2009-09-23 Thread Dominic Watson
What has not been said: Often, these redirects are handled by the Domain Name Server, so that the redirect happens before the request has even touched your server - in which case you cannot log this (unless, and I am entirely ignorant here, the DNS provider can log this). The alternative is to

Re: CFLoop: Problem with variable wrapped in double quotes

2009-09-23 Thread Dakota Burns
Excellent advise -- thank you both for taking the time to respond. Best Regards, Dakota On Wed, Sep 23, 2009 at 4:11 PM, Rick Root rick.r...@webworksllc.comwrote: If you're trying to dynamically generate code to put in a file, you can't do it that way. Do this instead: !--- GET LIST