Re: Sending a Fax

2009-12-10 Thread Damo Drumm
Ok I'll try that Robert Thanks for your help Is there a way I can just simply move it down the page slightly, at the minute its at the very top with no margins even if i could increase the margin, it would move down the page Sine there's no code samples I can really tell what you are doing,

Re: Using XML to Create schema/database

2009-12-10 Thread Steve Bryant
Tom, Usually the detail portion of the error will include more information - usually the error returned from the database. Make sure that the database exists and has CREATE and ALTER permissions (if you want DataMgr to create tables and columns). If you have any more trouble, you can check

Load-balancing servers

2009-12-10 Thread Rick Sanders
I have 2 Cold Fusion Enterprise servers. What I would like to do is balance the load between 2 machines, and maybe more in the future. I have a very large and demanding portal app that is going live soon. I've looked over the documentation and it doesn't seem to cover much about it. Can anyone

convert this cfscript back to tag?

2009-12-10 Thread Glyn Jackson
Hi all, could someone convert this cfscript back to tag? for(i=1;i lte listlen(#form.whatToUpdate#,,);i++){ tempVal = #listgetat(form.whatToUpdate,i,,)#; form.ID = #tempVal#; //Option ID form.newRank = form[rank_ #tempVal#]; } thanks

Faster SMTP

2009-12-10 Thread webmaster
I have a lot of clients with email newsletters and they all seem to send them out at the same time which backs up in the cfspooler. I have one client in particular that can't wait on the emails from the forms on his site so I was looking into some solutions that would allow their mail to go

scoping and speed

2009-12-10 Thread Chad Gray
If you don't scope your local variables does the page run slower? IE. #variables.foo# vs. #foo# ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

RE: convert this cfscript back to tag?

2009-12-10 Thread DURETTE, STEVEN J (ATTASIAIT)
cfloop list=#form.whatToUpdate# delimiter=, index=Variables.i cfset Variables.tempVal = Variables.i / cfset form.id = Variables.i / cfset form.newRank = form[rank_ Variables.tempVal] / /cfloop I think that's right... -Original Message- From: Glyn Jackson

Re: Faster SMTP

2009-12-10 Thread Erik-Jan Jaquet
We're using Infusion Mail server for this kinf of thing. Works really well and its really fast. http://www.coolfusion.com/downloads/index.cfm?CFID=951923CFTOKEN=25237943 Kind regards, Erik-Jan Op donderdag 10-12-2009 om 10:10 uur [tijdzone -0500], schreef webmas...@pegweb.com: I have a lot

RE: Load-balancing servers

2009-12-10 Thread WebSite CFTalk
Maybe something like: - Hardware load balancer in front of web/app servers, or NLB load balancing between web/app servers (Windows) - Instead of UNC path to shared folders synchronize web folders/content folders using DFS Replication (Windows 2003 R2 - Windows 2008) - If windows 2008, IIS 7.5

Re: scoping and speed

2009-12-10 Thread Charlie Griefer
In theory, yes, as ColdFusion will have to hunt through the various scopes to find the exact variable that you're referencing. Whether it's noticeable or not.. hard to say. From the CF8 docs ( http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Variables_32.html ): Because

Re: convert this cfscript back to tag?

2009-12-10 Thread Steve Bryant
cfloop list=#form.whatToUpdate# index=tempVal cfset Form.ID = tempVal!--- Option ID --- cfset Form.newRank = Form[rank_#tempVal#] /cfloop ~| Want to reach the ColdFusion community with something they want? Let

Re: convert this cfscript back to tag?

2009-12-10 Thread s. isaac dealey
cfloop index=i from=1 to=#listlen(form.whattoUpdate)# cfset tempVal = listgetat(form.whatToUpdate,i,,) / cfset form.ID = tempVal / cfset form.newRank = form[rank_ tempVal] / /cfloop -- s. isaac dealey :: AutLabs Creating meaningful employment for people with Autism

Re: CF Printer list?

2009-12-10 Thread Tom Chiverton
On Wednesday 09 Dec 2009, Yuliang Ruan wrote: in CFIDE, the printer list is definitely blank...but how did it get that way? and how does that list get populated? Samba ? CUPS ? -- Helping to carefully morph niches as part of the IT team of the year, '09 and '08

RE: convert this cfscript back to tag?

2009-12-10 Thread Dave Phillips
Glyn, cfloop from=1 to=#listLen(form.whatToUpdate)# index=i cfset tempVal = listGetAt(form.whatToUpdate,i) cfset form.ID = tempval !--- Option ID --- cfset form.newRank = form[rank_ tempVal] /cfloop Hope this helps! Dave Phillips -Original Message- From: Glyn Jackson

RE: convert this cfscript back to tag?

2009-12-10 Thread Mark Kruger
Ok... But why? Other than the pound signs it seems fine to me... Except that form.ID will always be the last item in the list once you are done with the loop. cfloop list=#form.whattoupdate# index=tempval cfset form.id = tempval/ cfset form.newRank = form[rank_ tempval]/

RE: Load-balancing servers

2009-12-10 Thread Mark Kruger
Rick, The questions to ask are - what are you doing with session variabls and client variables, and .. What are the capabilities of your chosen load balancing method. Remember that the potential here is for a user to bounce back and forth between your servers while surfing your site - so you

Re: Load-balancing servers

2009-12-10 Thread Phillip Duba
Rick, We used Configuration 3 that is mentioned on the link Helge provided. It has worked great and we didn't have to do any code updates for it (going from one version of CF to another is a different story). One thing we did notice though, you need to make sure the settings are the same across

Re: Load-balancing servers

2009-12-10 Thread Shannon Peevey
Here is a couple of Clustering FAQs that I wrote back in 2007, which may have some points of interest for you: http://speeves.erikin.com/2007/02/how-to-setup-apache-2-with-coldfusion-7.html http://speeves.erikin.com/2007/01/coldfusion-clustering-faq.html speeves On Thu, Dec 10, 2009 at 9:52

RE: Faster SMTP

2009-12-10 Thread Justin Scott
I have a lot of clients with email newsletters and they all seem to send them out at the same time which backs up in the cfspooler. I have one client in particular that can't wait on the emails from the forms on his site so I was looking into some solutions that would allow their mail to go

AW: scoping and speed

2009-12-10 Thread Gert Franz
Yes... that's true. If you even scope the variables from the variables scope (EXCEPT in components, since they have their own variables scope) CF is around 4 times slower than addressing a variable from there without the prefix variables. But this execution isn't very significant when your

RE: scoping and speed

2009-12-10 Thread brad
Funny thing is, even when I have specified scope for all my variables, I've still seen ColdFusion stack traces hunting around for scopes. However, please note this was a very intense script trying to calculate all prime numbers between 0 and 10,000,000. For the other 99.% of ColdFusion code

RE: Load-balancing servers

2009-12-10 Thread Rick Sanders
Thanks Shannon but I'm running on Windows Server. Rick -Original Message- From: Shannon Peevey [mailto:spee...@stolaf.edu] Sent: December-10-09 12:26 PM To: cf-talk Subject: Re: Load-balancing servers Here is a couple of Clustering FAQs that I wrote back in 2007, which may have some

RE: Load-balancing servers

2009-12-10 Thread Rick Sanders
Hi Mark, I only use cookies for client sessions. I've had too many issues with people stealing sessions. As for files, I keep the files on one server and will just convert the absolute paths to unc paths. I'm running full 1gb on the internal network and the servers are brand-new so I don't

RE: Load-balancing servers

2009-12-10 Thread brad
Like several other people mentioned, you need to decide if you are going to be using sticky sessions where a user gets sent back to the same server over and over. If you are going to do that, you won't need to worry about session replication, temp directories, or any of that stuff except for in

RE: Load-balancing servers

2009-12-10 Thread Rick Sanders
Thank you! This is very helpful! Rick -Original Message- From: WebSite CFTalk [mailto:cft...@website.no] Sent: December-10-09 11:53 AM To: cf-talk Subject: RE: Load-balancing servers Maybe something like: - Hardware load balancer in front of web/app servers, or NLB load balancing

RE: Load-balancing servers

2009-12-10 Thread Jason Fisher
Have had good luck with hardware load balancing from Coyote Point. We used client vars so that sessions weren't lost even when users were moved across 4-5 servers, but cookies should provide you the same behavior. Works especially well if you've got your uploaded files in a single shared

re: convert this cfscript back to tag?

2009-12-10 Thread Jason Fisher
cfloop list=#form.whatToUpdate# index=i cfset form.ID = i / cfset form.newRank = form[rank_ i ] / /cfloop ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion

Long Running Processes in ColdFusion

2009-12-10 Thread Wil Genovese
I have a question for best practice/usage of CF Server. I've been programming CFML for the past 10 years or so and have done lots of massive tasks with CF. It has always been my understanding that CF was better suited to fast running processes. Ie. something that runs in a matter of seconds

RE: AW: scoping and speed

2009-12-10 Thread brad
Thanks for that info about Railo, Gert. That setting is exactly what I wished I had in Adobe CF the other day. :) ~Brad Original Message Subject: AW: scoping and speed From: Gert Franz gert.fr...@railo.ch Date: Thu, December 10, 2009 10:40 am To: cf-talk

Re: Long Running Processes in ColdFusion

2009-12-10 Thread John M Bliss
My 2 cents: in theory, CF should be able to handle what you're describing...IF AND ONLY IF you have some important stuff in place...in (approximate) order of importance: 1. powerful healthy DB and DB server (or cluster) 2. powerful healthy CF server(s) (with max RequestTimeout adjusted

Re: [OT] Populating a MySQL Database from Active Directory

2009-12-10 Thread Lawrence Bird
Hi there guys. I am creating a app like this that I really need the code for. I cant find it anywhere (spend about 7 hours the past week looking). I am creating an application to manage active directory from an asp.net website but have no more windows servers so am running off linux (hence the

Re: [OT] Populating a MySQL Database from Active Directory

2009-12-10 Thread Dave Watts
Hi there guys. I am creating a app like this that I really need the code for. I cant find it anywhere (spend about 7 hours the past week looking). I am creating an application to manage active directory from an asp.net website but have no more windows servers so am running off linux (hence

RE: Long Running Processes in ColdFusion

2009-12-10 Thread brad
It has always been my understanding that CF was better suited to fast running processes. In general, fast request times are desired when they are a response to a web request. Nobody is sitting in front of a keyboard waiting for your long running job to complete so there's really nothing wrong

Re: Long Running Processes in ColdFusion

2009-12-10 Thread Wil Genovese
John, That's the same thing I told them In theory there just aren't enough minutes in the day. IF we do this it will be separate dedicated powerful servers that connect to our massive DB cluster. My question is not HOW to do this. I know how. We have the money to buy the servers. My argument

RE: Long Running Processes in ColdFusion

2009-12-10 Thread Mark Kruger
Great rundown Brad -mk -Original Message- From: b...@bradwood.com [mailto:b...@bradwood.com] It has always been my understanding that CF was better suited to fast running processes. In general, fast request times are desired when they are a response to a web request. Nobody is

Re: Long Running Processes in ColdFusion

2009-12-10 Thread John M Bliss
As long as you're aware of all of the caveats/gotchas/etc (especially SEE Brad's post), sure. On Thu, Dec 10, 2009 at 12:34 PM, Wil Genovese jugg...@visi.com wrote: John, That's the same thing I told them In theory there just aren't enough minutes in the day. IF we do this it will be

RE: Long Running Processes in ColdFusion

2009-12-10 Thread DURETTE, STEVEN J (ATTASIAIT)
My .02... If what is happening is being done on the database backend anyway, then do the heavy lifting in the DB. That's what they are there for. You could have CF kick something off on the DB that does something like schedule a procedure to kick off in 30 seconds, then return a status code for

Re: scoping and speed

2009-12-10 Thread Judah McAuley
Out of curiosity Gert, why would Railo be slower finding #variables.foo# than finding #foo# if variable cascading is on? Is it checking for the existence of a struct named variables before checking the actual scope or something? Judah On Thu, Dec 10, 2009 at 8:40 AM, Gert Franz

Re: scoping and speed

2009-12-10 Thread Eric Cobb
According to Adobe, Yes. http://www.adobe.com/devnet/coldfusion/articles/coldfusion_performance_04.html Thanks, Eric Cobb http://www.cfgears.com Chad Gray wrote: If you don't scope your local variables does the page run slower? IE. #variables.foo# vs. #foo#

AW: scoping and speed

2009-12-10 Thread Gert Franz
Judah, you got me wrong. For Railo there is no difference if searching #variables.foo# instead of #foo#. It is only a difference for Adobe CF. Here ACF checks whether there is a struct called variables in the variables scope and if not it will check the variables scope. If you only have foo it

CF5 Site-wide Error Handler

2009-12-10 Thread Donnie Carvajal
I have a site-wide error handler setup for a CF 5 server. I also have one setup for an MX7 server. The MX7 server will still display the standard debug information even if the site-wide error handler is triggered. The CF 5 server will not. Is this a limitation with CF 5 or am I missing a

Re: scoping and speed

2009-12-10 Thread Charlie Griefer
Actually I think that was my bad. I had mentioned that I heard #foo# evaluates faster than #variables.foo# on Railo. Guess I heard (or remembered) incorrectly :) Sorry 'bout that. On Thu, Dec 10, 2009 at 1:11 PM, Gert Franz gert.fr...@railo.ch wrote: Judah, you got me wrong. For Railo

RE: Faster SMTP

2009-12-10 Thread webmaster
Yeah I'm using smarter mail for my mail server on a separate server. I have clients where some of them have around 30k email lists. So when you get one of those that goes out it takes the CF server several hours to spool it out since it is pro and not enterprise. So any other email sent by CF

RE: Faster SMTP

2009-12-10 Thread Jenny Gavin-Wear
I've used Mdaemon in the past. Very fast mail processing. Not 100% sure, but I think they even do a single domain free version, you could use it as a mail spool, perhaps? I also run Smartermail because my customer like the web access to mail, bit it is SO slow on processing lists (also not