RE: Counting number of occurences of a
len(rereplace(mystring,[^\\],,ALL)) You may not need the 2nd \ in the regex... you didn't need to in a [] collection in CF5 ... not sure off the top of my head if that changed in cfmx. Original Message --- Hi, I need to check my URLDecode(dir) for the number of occurences of the \ So for example, URLDecode(dir) is equal to D:\mywork\temp\dir and then add the check into my cfif statement. Below is what I have so far. I need to add another check on the cfif statement to see if two or more \ appear in the URLDecode(dir) cfif FindNoCase(URLDecode(dir),SESSION.DisplayShowMe) badda bing...badda boom /cfif Thanks ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Please Test??
At 07:38 PM 8/10/03, you wrote: Can you all please load this page and click to 2 form buttons. https://www363.ssldomain.com/rubylarue/form.cfm Both 10 and 70 work for me in NN 7.02 and only the 10 works in IE 6.0.2800.. Blank on the 70 first, second and third try Noticed on the 70 submit in the source that (funky characters huh?) show up just to the left of the !Doctype-definitely gotta wake up ye old sys-admins... we ain't lyin and we ain't conspiritorializin! ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MM Exchange lack of proper navigation or ease of use
Agreed, that would be a little more useful. The one problem with the most downloaded list though is that a lot of apps (like mine) don't have a download from Macromedia, just a redirect to our site. So there are a lot of good stuff that isn't included. I always wondered how I managed to get any downloads at all doing that though! I download a LOT of tags (hey, I'm self-taught in 90% of what I do, and I have NO programming background so I rely heavily on the kindness of the community). Anyway, I NEVEr use the top ten or the Ratings. I look at the description, think it through to whether it sounds like it fits my needs, then try out the most likely candidate from there. I actually PREFER to jump to the creator's site - THAT gives me a much better sense of whether something is quality stuff. 1000 downloads, ZERO stars tells me either it works and people didn't bother to rate it, or it's a bomb and nobody complained - so IMHO it's invalid info to use the ratings. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF or .DotNet what do you think?
In my experience if the ASP developers would spend less time attacking CF and more time working, they may actually be able to build an app as fast as us CF folks. :) The amount of ASP i Know could fill a thimble, the amount of DotNet I know is less than 1% of that... BUT I know that the apps I create in CF are as robust and solid as any client has ever needed. On top of that built faster. As advanced as Web apps are getting, I still feel that overly complex I can create a web page in C. junk just doesn't belong. More power to any ASP'er out there, do what ya gotta do. -Original Message- From: Eric Creese [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 1:19 PM To: CF-Talk Subject: CF or .DotNet what do you think? A while back I had posed a question about CF vs .DotNet. Well the discussion here is picking up again and want to go to the mat for CF. I know, like it, and have built several apps and sites. I have 4 VB developers on staff with limited ASP and web development. They of course will probably lean towards .DotNET. One who has more ASP experience had to let me know that a real developer would use ASP and that CF is for non-developers. Another basically said CF can not provide the robustness needed for a full blown App. Well I am asking for this boards feedback on the matter. Your pros and cons would be much appreciated for my presentation. Eric ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: JRun With CFMX Enterprise
OK I'm confused now. (not hard to do apparently) Are you saying with the purchase of CFMX Enterprise 6.1 I can now have a full install of JRun (with its own admin) *and* depoy n instances of CFMX on that? Without having to purchase JRun separately? How does one arrange the licensing in the initial JRun install? Stace -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 4:53 PM To: CF-Talk Subject: RE: JRun With CFMX Enterprise Nope, you do not need JRun already. CFMX 6.1 Enterprise comes with a full JRun licenses regardless of whether or not you already own JRun. It is your choice as to whether or not you install it. --- Ben -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 4:08 PM To: CF-Talk Subject: RE: JRun With CFMX Enterprise A) You need JRun already (purchased separately) B) Yup (Ben just confirmed) Stace -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 2:21 PM To: CF-Talk Subject: JRun With CFMX Enterprise I havent installed the J2EE Version/Option of CFMX 6.1, upgraded from CFMX ENT 6.0 with Server Option. 1. Do you get the Full Blown Version of JRun, when you Install CFMX 6.1 J2EE Option? i.e. You get JRun JMC and CFMX Management Console? 2. If you already have CFMX ENT 6.0, you automatically get 2 CPU License for CFMX J2EE Install Option? Can someone Clarify? Thanks, Joe Eugene ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC instances with cffunction roles=!!! problem!
It sounds like you're encountering some variant of the page context bug - I suggest you upgrade to CFMX 6.1 and see if the problem goes away (since CFMX 6.1 fixes the page context bug and also changes how cflogin works). On Monday, Aug 4, 2003, at 23:09 US/Pacific, Stéphane_Bisson wrote: This is pretty hard to explain my problem... but I will try my best to explain it... so I start with this.. 1- I have a facade CFC call PictureServiceFacade.cfm that Flash is calling 2- I have the real CFC instantiated into an Application scope like PictureService.cfc 3- The Flash Movie is calling the GetSlides in the PictureService.cfc service facade 4- The real PictureService.cfc method GetSlides mention this... cffunction name=GetSlides access=remote returnType=query roles=guest_role,member_role 5- The timeout for a cflogin is 10 sec 6- The timeout of Application var is 10 sec So here's my problem... I'm being waiting for 60 second.. and I do this... 1- Logon as a guest... role=guest_role 2- Execute the cfinvoke to test the GetSlides method 3- It's working fine for the guest... I get the slide slow 4- 5 sec later I login as member Stef role=member_role... (I'm doing a cflogout before the cflogin) 5- Execute the cfinvoke to test the GetSlides method 5- I got this error... Current user was not authorized to invoke this method If I wait of 60 sec again... and I do this opposite.. like this... 1- Logon as a Member Stef... role=member_role 2- Execute the cfinvoke to test the GetSlides method 3- It's working fine for the Member.. I get the slide slow 4- 5 sec later I login with Guest role=guest_role...(I'm doing a cflogout before the cflogin) 5- I got this error... Current user was not authorized to invoke this method How come it's working like this with instances of CFC... I should probably test it with a static CFC that I instantiate every time to see the difference... I just understand that the roles is at their beginning in ColdFusion... By the way, I just test it with static CFC instance... I just try to instantiate my PictureService.cfc every time the facade is being called into a variables scope and it's working fine... the guest and the member can access my GetSlides method... but when I store them into a shared scope... it's seems to be lost...I would like to know why! because when I store my CFC in shared scope... it's seems to recognize only the user role identify in my method the first time is being called! Stephane - Original Message - From: Stéphane_Bisson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 12:37 AM Subject: Another question about cfloginuser attribute roles. New question about cfloginuser attribute roles. I try something tonight and it seems that I cannot make it to work. So I will explain... I have a user members role and I have a user guest role. They both login with their role... I want them both to be able to call my CFC methods which is... cffunction name=GetSlides access=remote returnType=query roles=member_role,guest_role It does not seems to work and I did not put any space between them! I just hope that two different users like member and guest can be able to execute my methods with their own role! I'm always getting the error that is not authorized... It's only the first CFC role that is valid... So in this case the member can get the GetSlides... but the guest is unauthorized... I'm missing something! Thanks Stephane ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: pricing (was Re: Multiple instances of CFMX - licensing)
Somewhat off the main topic here, but why does Macromedia charge more money to run the exact same software on multiple CPUs when it's on one physical server? It's still only one copy of ColdFusion, it's just as if it were only one CPU, but the hardware is doubled to allow it to carry a larger load. What makes a 4 CPU installation of CFMX any different than a 1 CPU installation? Does the software behave differently on a multi-cpu installation? Isn't it still one instance of CFMX unless you set it up differently? Pardon my ignorance, but I'm not sure I follow. I know a LOT of software is sold this way, I'm just not certain I understand why. It seems kind of ridiculous, sort of like if Jeep charged me the full price of a vehicle for each extremity involved in the driving process. Joshua Miller Head Programmer / IT Manager Garrison Enterprises Inc. www.garrisonenterprises.net [EMAIL PROTECTED] (704) 569-0801 ext. 254 * Any views expressed in this message are those of the individual sender, except where the sender states them to be the views of Garrison Enterprises Inc. This e-mail is intended only for the individual or entity to which it is addressed and contains information that is private and confidential. If you are not the intended recipient you are hereby notified that any dissemination, distribution or copying is strictly prohibited. If you have received this e-mail in error please delete it immediately and advise us by return e-mail to [EMAIL PROTECTED] * -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 12:44 AM To: CF-Talk Subject: Re: pricing (was Re: Multiple instances of CFMX - licensing) Jochem is correct: both JRun and CFMX for J2EE were per CPU. Now, CFMX Enterprise is per 2 CPUs so it is in fact cheaper. On Sunday, Aug 10, 2003, at 18:39 US/Pacific, Matt Liotta wrote: That isn't true. Previously, you could host multiple instances without buying additional licenses. -Matt On Sunday, August 10, 2003, at 04:06 PM, Jochem van Dieten wrote: Matt Liotta wrote: You bring up a good point I haven't thought of till now. Previously, CFMX Enterprise was licensed on a per server basis meaning that if you had a 4 CPU box the price was still only 5k. However now, I believe CFMX Enterprise will cost you 12k on a 4 CPU box. Ouch! Hosting multiple instances on a 2 CPU box used to cost 2 JRun licenses and 2 CF MX for J2EE licenses. So if you run that, prices went down quite a bit. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: using Randomize(GetTickCount())
yup, you need to shrink the number used in the Randomize function to less than the size of an integer. Try taking the Right() of getTickCount() or dividing/subracting it by a large number to reduce its size. I recommend just using the Right() function or by simply subtracting a larger number so your seed has more variation. -R -Original Message- From: Mike Mertsock [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 10:00 PM To: CF-Talk Subject: using Randomize(GetTickCount()) Hi folks, We suddenly encountered an interesting problem with using GetTickCount() to initialize random number generation. We have this line of code at the top of many files that endeavour to use random numbers: cfset Randomize(GetTickCount()) GetTickCount() returns a different number every millisecond so this ensures that random number generation is seeded differently on each request. However, this piece of code suddenly started throwing errors yesterday (August 7). This is the error message: Could not convert the value 1.060393676825E12 to an integer because it cannot fit inside an integer. Here's the first few lines of the stack trace: coldfusion.runtime.Cast$OutOfBoundsException: Could not convert the value 1.060393676825E12 to an integer because it cannot fit inside an integer. at coldfusion.runtime.Cast._int(Cast.java:307) at coldfusion.runtime.Cast._int(Cast.java:327) at cftick2ecfm77102974.runPage(E:\(path removed)\tick.cfm:1) --- So GetTickCount() suddenly decided to return some very large integers. Has anyone else had this problem? This only started yesterday, August 7, and is only happening on the servers this network. They are all Win2000 servers running CFMX on IIS 5. My home computer, WinXP/CFMX/IIS 6, is not throwing such an error right now - GetTickCount() is returning a smaller magnitude negative number. As a workaround, we changed Randomize(GetTickCount()) to Randomize(Second(Now())). That works fine. But I thought Randomize(GetTickCount()) was the best practice. Did the type of numbers GetTickCount() returns change with CFMX, perhaps as a side effect of the CFMX core now using Java date/time data? Trying to get some sympathy and perhaps some ideas as to why the code would suddenly begin to consistently throw these errors after working fine with CFMX for nearly three months. Mike Mertsock Alfred University Web Team Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: Testimonials on CFMX 6.1
Nope... 77 gigabytes free. The system is a dual processor Pentium 3 with an IDE RAID. Two 80 gig drives mirrored. Also, like I said... I went back a couple hours later and ran it again (to get the error message)... and it all of a sudden loaded up the upgrade screen. I'll be trying the upgrade again tomorrow morning. I'll let you guys know if I have any problems with it. -Novak Did you have any problems with it? Just wondering ... Judith ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RTF and MIME types Addendum
There's a great example of RTF at: http://tech.irt.org/articles/js154/index.htm. It works well for single as multiple record sets. Does anyone know how to put a page break in so each record shows on a seperate page within the document? Thanks ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: JRun With CFMX Enterprise
More like 50MB RAM per instance. Fortunately, RAM (and disk space) are cheap. But sure, if you have 100 apps on a single box offering hosting at $9.95/month, then that is probably not a viable option. --- Ben -Original Message- From: Peter Tilbrook [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 7:45 PM To: CF-Talk Subject: RE: JRun With CFMX Enterprise Just got this statement in an email from MM: ColdFusion MX Enterprise 6.1 can isolate your applications into separate processes, so if one goes down the others won't have to. This is all well and good but they don't mention the fact that each instance is a full install of CF taking up disk space and approximately 100Mb of memory per instance. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Changing default cfmx server in Jrun
Ok I know this is picky but...I'd like to have each server configured in the Jrun to coincide with the name of the application its powering. Is it safe to rename the cfusion default? I tried and apparently messed up the server in some way. (wouldn't restart) Stace AVIS IMPORTANT: --- Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. WARNING: --- The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
IIS Lookup and CF Datasource reports?
Is there a CF way to generate a list of all the domains I have on my server AS WELL AS their associated domain directory? The built in IIS List export doesn't show which directory on the server... ALSO - How about a similar report for Datasources in CF 5 Admin - Datasource name, ODBC Datasource it's associated with? THanks in advance ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Multiple instances - licensing
Do you need multiple licenses of Enterprise to use multiple instances of CF or is the one license sufficient? Peter Tilbrook ColdFusion Applications Developer ColdGen Internet Solutions 4/73 Tharwa Road Queanbeyan, NSW, 2620 AUSTRALIA Telephone: +61-2-6284-2727 Mobile: +61-0439-401-823 E-mail: [EMAIL PROTECTED] World Wide Web: http:/www.coldgen.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Redsky...Blue Trini....
Oh dear. Just read on Ablecommerce's site that Redsky isn't supported yet. *bangs head against desk* I hope the over-enthusiastic server admin has an idea for rolling back the system. *sigh* -Gel -Original Message- From: Angel Stewart [mailto:[EMAIL PROTECTED] The other is an Ablecommerce store which flat out refuses to recognise the acb2test datasource, throwing this exception: Could not get DataSource : acb2test javax.naming.NameNotFoundException: No such binding: acb2test The error occurred in C:\CFusionMX\wwwroot\acb2\master\appheader.cfm: line 79 77 :} 78 : 79 :intTokenError = objToken.load(JavaCast(long, getParameter(SGID, -1)), JavaCast(long, getParameter(SID, -1))); 80 : 81 :if (AcbShared.isSerialKeyExpired()) { It has to be some crap that we did. Any ideas?? :-\ -Gel ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Sessions and CFCs
Micheal, can you show the login method? Also, is the code that calls login being run every hit? === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 3:18 AM To: CF-Talk Subject: Re: Sessions and CFCs I've tested it out a few ways to Sunday and the results are always the same. As long as the CFC is cached, only the first 'use' of the CFC will result in any session information being written for the user. Every additional attempt results in no session being written. This is the code. caching: CFIF not IsDefined('Application.CFC.User') cfparam name=Application.cfc default=#structNew()# CFOBJECT NAME=Application.CFC.User COMPONENT=components.user cfinvoke component =#Application.CFC.User# method = Init CFINVOKEARGUMENT NAME=dsn VALUE=#DSN# /CFINVOKE /CFIF call: CFINVOKE COMPONENT=#Application.CFC.User# METHOD=Login RETURNVARIABLE=IsLoggedIn CFINVOKEARGUMENT NAME=Username VALUE=#Username# CFINVOKEARGUMENT NAME=Password VALUE=#Password# /CFINVOKE Is it possible that when I upgraded to 6.1 from the last beta something went wrong? I'm seeing 6,1,0,60662 as the build. On Sunday, Aug 10, 2003, at 21:43 US/Pacific, Michael Dinowitz wrote: Running full release of 6.1 on a machine that was running the beta. Hmm, weird. The page context bug is *definitely* fixed in Red Sky, even in the beta versions! What is this page context bug, where can I read more about it and is there a fix http://www.google.com/search?q=page+context+bugie=UTF-8oe=UTF-8 The fix should be CFMX 6.1! Since that *does* fix the bug, let's see your code... maybe you've got a bug in your code? Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFIF Statements in CFQUERY with CF 6.1
Started to get errors after the upgrade for lines like this in CFQUERY: ORDER BY CFIF ISDEFINED(attributes.TEAM_ID) TEAMORDER, /CFIF Pos, Result DESC The Error back is: Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1 . . 66 : CFIF ISDEFINED(attributes.TEAM_ID) 67 : TEAMORDER, 68 : /CFIF 69 : Pos, 70 : Result DESC Seems that CFQUERY isn't working correctly? Try outputting the text to the screen before the query - see what's being sent to the Dbengine... That usually helps ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Brain Teaser2
In fact, as long as the user you use in the cfquery tag has access to the databases none of the databases referenced in the select statement have to match the database in the cfquery tag. __ Bill Grover Supervisor MIS Phone: 301.424.3300 x3324 EU Services, Inc. FAX:301.424.3696 649 North Horners Lane E-Mail: [EMAIL PROTECTED] Rockville, MD 20850-1299WWW:http://www.euservices.com __ -Original Message- From: Dan O'Keefe [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 2:29 PM To: CF-Talk Subject: RE: Brain Teaser2 I have used the database but did not know you can use the server also. I have found that the database attribute specified in the cfquery tag can be either of the databases and it works fine since it is specified in the sql string. Dan -Original Message- From: Bill Grover [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 2:05 PM To: CF-Talk Subject: RE: Brain Teaser2 I forgot to add you can even expand it to include different servers. You need to create a linked server but once you do you can access it remotely. So the expanded version would be: SELECT * FROM server.database1.dbo.anytable dt1 INNER JOIN server.database2.dbo.anytable dt2 ON dt1.record_id = dt2.record_id __ Bill Grover Supervisor MIS Phone: 301.424.3300 x3324 EU Services, Inc. FAX:301.424.3696 649 North Horners Lane E-Mail: [EMAIL PROTECTED] Rockville, MD 20850-1299WWW:http://www.euservices.com __ -Original Message- From: Bill Grover Sent: Wednesday, August 06, 2003 1:54 PM To: CF-Talk Subject: RE: Brain Teaser2 That's pretty much how you do it in MS SQL (SQL7, SQL2000). The difference is that you use the database name, which may or may not be the same as your datasource name. So your example is more like: SELECT * FROM database1.dbo.anytable dt1 INNER JOIN database2.dbo.anytable dt2 ON dt1.record_id = dt2.record_id __ Bill Grover Supervisor MIS Phone: 301.424.3300 x3324 EU Services, Inc. FAX:301.424.3696 649 North Horners Lane E-Mail: [EMAIL PROTECTED] Rockville, MD 20850-1299WWW:http://www.euservices.com __ -Original Message- From: Sarsoun, Jeff [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 1:44 PM To: CF-Talk Subject: RE: Brain Teaser2 I believe you can reference the table using the database as well. For example: SELECT * FROM datasource1.dbo.anytable dt1 INNER JOIN datasource2.dbo.anytable dt2 ON dt1.record_id = dt2.record_id This may be ODBC specific though. Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 1:26 PM To: CF-Talk Subject: SQL: Brain Teaser2 I have a central login system The user/login information is stored in a datasource called CENTRAL_LOGIN. I then have multiple stand alone applications which have their own datasources... for example: DATASOURCE1 DATASOURCE2 DATASOURCE3 Etc... The central login system works fine. But one of the problems I'm experiencing is that sometimes I'd like to do an SQL join on tables which exist in multiple datasources. For example, Let's say that DATASOURCE3 contains a table which stores the USER_ID of the person who added a the record to that table. CENTRAL_LOGIN -- TABLE1 --- USER_ID,USERNAME,PASSWORD 1,john,apple 2,sam,orange 3,betty,password837! DATASOURCE3 -- TABLE1 --- USER_ID,COMMENT 1,This is a test. 3,This is another test. 2,This is a test again. Etc... I want my output to look as follows: USERNAME,COMMENT john,This is a test. betty,This is another test. sam,This is a test again. This would be simple if all tables were in the datasource. I could just do a regular join and get the username. But in this case... the tables are in two different datasources. I'm using SQL 2000. Merging all of the datasources together really isn't an option. It makes me wonder how central login systems are SUPPOSED to be designed. How does Microsoft Passport work for example? Is there a way to do a join across multiple datasources in SQL 2000? -Novak
CFHTTP - CFMX 6.1 - IP ONLY
We are updated running Solaris Machines, CFMX 6.1 (just updated) and when using CFHTTP, we get connection failures if we use a machine name (http://www.whatever.com) If we use the IP address (http://111.555.555.555) it works like a champ. Has anyone ever had this issue and fixed it? Thanks Paul Giesenhagen QuillDesign ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: When to switch databases??
What is a good indication that you need to move beyond Access?? That's an easy one... YESTERDAY. ;-) Seriously though. Access is fine for development or low traffic applications. Other than that, you really should be considering a real database. -Novak ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: clarification
My inclination would be for an error But, could it be 5? - Calvin - Original Message - From: Michael T. Tangorre [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, August 09, 2003 8:45 PM Subject: clarification Does anyone know what this will output and why? #5 * True + yes - (Y 'Es')# Possible answers are: 0, 1, 5, Yes, An Error Will Be Shown ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Load testing...
Ryan, Try Google and free load testing tools. More specifically, you'll want to search for Load/Stress testing specific to web sites e.g. the following are all free: 1)Microsoft's Web Application Stress Tool http://www.microsoft.com/downloads/details.aspx?FamilyID=e2c0585a-062a-4 39e-a67d-75a89aa36495DisplayLang=en 2)Apache's JMeter http://jakarta.apache.org/jmeter 3)OpenSTA http://www.opensta.org Amongst MANY MANY MANY others. Micrsoft's tool is good to get started with if you are new to the area though somewhat limited in more advanced functionality. André -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: 11 August 2003 09:36 To: CF-Talk Subject: Load testing... Hello I want to load test one of my sites, to see what sort of traffic it can handle, to see if there are areas I need to improve etc... Am I dreaming thinking their are tools (free is good) out there to do this? Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFMX 6.1 Installation problems.
I downloaded the new CFMX 6.1 version today, and installed it. You'll all be pleased to learn, no doubt, that there were no problems whatever. That puppy just did what it was supposed to do, followed it's instructions and installed itself with no issues. Now my apps work FAR faster than before, and I'm a happy chap. With my history of installing CFMX, you'll understand if I was a bit apprehensive about installing any version of it over a working CFMX server, but my fears proved unfounded. Took a total of less than 30 minutes, and that includes the shutting down of all my other apps, and starting them back up again afterwards. Just to give direct credit where direct credit is due, Dean Harmon, the self-proclaimed ColdFusion Installer Guy at MM, deserves the attention for your install success story!! Regards, Dave. _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Redsky-Still issues with CFINSERT and CFUPDATE.
Angel wrote: There is a list of Redsky Known issues here http://www.macromedia.com/support/coldfusion/releasenotes/mx/mx61_known_ problems.html Although I don't see the CFINSERT and CFUPDATE problems mentioned specifically. Are you still have the same issues, Angel? ...David ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Redsky-Still issues with CFINSERT and CFUPDATE.
Christine Lawson wrote: I was reading through this thread but I don't see the error message. Can someone post sample code (against cfsnippets) that produces the error and the actual error text? The thing is, Christine, that it appears to be with passworded Access datasources. Shall I password the CFSnippets datasource and then write some code and post it? ...D ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MM Exchange lack of proper navigation or ease of use
Scott Brady wrote: If you're viewing a tag's info and hit back, you get your search results. (At least, I do) So, that's one item that's off your list. No it ain't. I noticed the same thing, but it only occasionally works. Something is -- at a wild guess -- supposed to be cached client-side and oftentimes isn't? -- --- Matt Robertson, [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- -- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFMX performance issue
I've been an avid reader of this and other lists for ages, but this is the first time I've needed to ask something. A client has been having awful problems handling high loads. What happens is that out of the blue CFMX (which has been happily servicing the same level of load with c5 running requests) climbs up to maximum running requests (set to 96 on a quad processor) and then starts queuing requests. Things go dire for a while (sql response times increase, bytes output decreases, request response time obviously increases). Usually it will recover, in anything from 5 seconds to a minute and go back to normal. 99.9% of the time things are fine; it copes with the load with no problems. Maybe 5 times an hour we have a brief bottleneck (10 seconds or so, which clears before it starts queuing requests) and maybe 2 or 3 times a day we max out the running requests and start queuing. Sometimes I have to limit the number of connections, briefly, with IIS to get it to recover. It's an ecommerce site so we can't afford these overloads. What have we eliminated? Most things. 96 running requests is our best number after trial and error. It does allow cf running requests to climb, but not queue most of the time. It was set to 20 - but 96 means we get a lot fewer overloads and works best for us. We did have similar problems with CF 5, but never often enough to be worth investigating. CFMX was initially fine, but the site load has recently gone up by 30% or more. SQL is fine - we have loads of query caching, query of queries - sql response times are fine, 20ms. I've fine tuned the app, hardware, os, network, IIS - the lot. Overloads happen, but a lot less often than they did before at the same load. Because of the way we have to talk to a legacy system there's an awfully high amount of disk i/o - creating / checking if the reply file exists / reading / deleting some 100,000 files a day. The create / read / delete calls are all cflocked. It's a single server system, with MS SQL server on a separate box. Win 2k server / IIS 5. Application and session variables are used but I believe they are locked adequately (writes are locked, app reads are locked, session reads are not). For the past 3 days I've been trying to catch an overload situation so that I could do a thread dump, but the first successful dump I got wasn't until today. The dump shows that when the site is overloaded the vast majority of running threads are in this state - jrpp-1068 prio=5 tid=0x256dca90 nid=0x1b40 waiting on monitor [0x2ac4f000..0x2ac4fdb8] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Unknown Source) at coldfusion.util.AbstractCache.fetch(Unknown Source) at coldfusion.util.SoftCache.get(Unknown Source) at coldfusion.runtime.TemplateClassLoader.findClass(Unknown Source) at coldfusion.runtime.RuntimeServiceImpl.checkExists(Unknown Source) at coldfusion.runtime.RuntimeServiceImpl.resolveTemplatePath(Unknown Source) at coldfusion.runtime.TemplateProxy.resolveFullName(Unknown Source) at coldfusion.runtime.TemplateProxy.resolveName(Unknown Source) at coldfusion.runtime.CFPage.CreateObject(Unknown Source) at coldfusion.tagext.lang.ObjectTag.doStartTag(Unknown Source) at coldfusion.runtime.CfJspPage._emptyTag(Unknown Source) at cfenq2ecfm1767146982.runPage(E:\www\xx\xxx\enj.cfm:21) etc Line 21 of that module is the line after a cfobject call to load a cfc. The module referenced varies but the line referenced either points to the line after a cfc cfobject call, or points to a custom tag call. I gave up analysing the dump in detail about half way through, but by that time I'd found 37 threads all in the same wait state. Only a very few active threads were apparently actually running - doing something - 4 in fact. To me this indicates some sort of bottleneck in handling the template cache. But what sort of bottleneck, and how do I cure it? Regards, Alan Ford ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFC for thumbnail creation
Now that CF 6.1 ships with JRE 1.4 I rewrote my CFC for thumbnail generation (it doesn't require JSP anymore). I plan to submit it to CFCDev, but I would appreciate some additional real-world test: http://www.cfmentor.com/code/index.cfm?action=zippedid=50 The pahe above is fronm the italian CFUG, but the code is written in english (including JavaDoc) Thanks in advance Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Unwanted conversion in Form input
Hello, Needing a quick fix on an app that isn't mine, but just can't work this one out at all, late in the day and my brain just does not seem to be working!... the Form input is converting the '-' to it's ISO equivalent and my brain is farting so much that I just can't solve this at all... ? !--- Code to test it --- Put in '00−91−80−11223344' as the phone number cfif NOT IsDefined(FORM.Submit) form name=here action=cfoutput#CGI.SCRIPT_NAME#/cfoutput method=post input type=text name=AR_TEL1 value= / input type=submit name=Submit / /form cfelse !--- DAC: Added in RE Replace to strip all non number characters out of any of the phone number --- cfset FORM.AR_TEL1 = FORM.AR_TEL1 cfset FORM.AR_TEL2 = 00kjsdfh12jhkjhkj34lhj5k56;lkj78788'9l;k cfdump var=#FORM.AR_TEL1#br / cfdump var=#FORM.AR_TEL2#br /br / !--- DAC: Added in RE Replace to strip all non number characters out of any of the phone number --- cfset FORM.AR_TEL1 = REReplaceNoCase(FORM.AR_TEL1, [^0-9]*, , ALL) cfset FORM.AR_TEL2 = REReplaceNoCase(FORM.AR_TEL2, [^0-9]*, , ALL) !--- DAC: Added in RE Replace to strip all non number characters out of any of the phone number --- cfdump var=#FORM.AR_TEL1#br / cfdump var=#FORM.AR_TEL2# /cfif !--- Output --- 00#8722;91#8722;80#8722;3211504 br / 00kjsdfh12jhkjhkj34lhj5k56;lkj78788'9l;kbr /br / 0087229187228087223211504br / 001234556787889 !--- Desired Output --- 00-91-80-3211504 br / 00kjsdfh12jhkjhkj34lhj5k56;lkj78788'9l;kbr /br / 0091803211504br / 001234556787889 Ie all wrong the form submission is automatically converting the '-' to '#8722;'... what is going on, any pointers on solving this? Any functions to convert back? DC ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Sessions and CFCs
Rather straight forward function to set the userid and information based on login. I call it once per user. CFFUNCTION NAME=Login RETURNTYPE=boolean CFARGUMENT NAME=Username TYPE=string REQUIRED=yes CFARGUMENT NAME=Password TYPE=string REQUIRED=yes cfquery name=verify_login datasource=#This.DSN# SELECT user_id, nickname, name, password FROM users WHERE Username = #Username# AND password = '#password#' /cfquery cfif verify_login.recordCount cfset session.userid = verify_login.userid cfset session.name = verify_login.name CFreturn 1 CFELSE CFreturn 0 /cfif /CFFUNCTION Micheal, can you show the login method? Also, is the code that calls login being run every hit? === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 3:18 AM To: CF-Talk Subject: Re: Sessions and CFCs I've tested it out a few ways to Sunday and the results are always the same. As long as the CFC is cached, only the first 'use' of the CFC will result in any session information being written for the user. Every additional attempt results in no session being written. This is the code. caching: CFIF not IsDefined('Application.CFC.User') cfparam name=Application.cfc default=#structNew()# CFOBJECT NAME=Application.CFC.User COMPONENT=components.user cfinvoke component =#Application.CFC.User# method = Init CFINVOKEARGUMENT NAME=dsn VALUE=#DSN# /CFINVOKE /CFIF call: CFINVOKE COMPONENT=#Application.CFC.User# METHOD=Login RETURNVARIABLE=IsLoggedIn CFINVOKEARGUMENT NAME=Username VALUE=#Username# CFINVOKEARGUMENT NAME=Password VALUE=#Password# /CFINVOKE Is it possible that when I upgraded to 6.1 from the last beta something went wrong? I'm seeing 6,1,0,60662 as the build. On Sunday, Aug 10, 2003, at 21:43 US/Pacific, Michael Dinowitz wrote: Running full release of 6.1 on a machine that was running the beta. Hmm, weird. The page context bug is *definitely* fixed in Red Sky, even in the beta versions! What is this page context bug, where can I read more about it and is there a fix http://www.google.com/search?q=page+context+bugie=UTF-8oe=UTF-8 The fix should be CFMX 6.1! Since that *does* fix the bug, let's see your code... maybe you've got a bug in your code? Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: problems running a Java CFX tag
At 09:06 11/08/2003 -0400, you wrote: Set the class path _to_ the jar file.. (or append it to the list) Not sure I follow. I've got the following settings on the 'JVM and Java Setttings' page: Java Virtual Machine Path: W:\CFusion\Java\jvm.dll Class Path: W:\CFusion\Java\classes CFX Jar Path: W:\CFusion\Java\classes\cfx.jar And these are the tag's registration settings: Tag Name: CFX_XMLTOOLS Class Name: cfx_xmlTools I tried adding the path to the xmlTools .jar file to the Class Path (so the value is W:\CFusion\Java\classes;W:\CFusion\Java\classes\cfx_xmlTools.jar), but same error occurred. Could you specify which setting should change? thanks, Gyrus [EMAIL PROTECTED] play: http://norlonto.net/ work: http://tengai.co.uk/ PGP key available ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Read the url a person came from??
Try cgi.http_referer :-) Mike -Original Message- From: Troy Montour [mailto:[EMAIL PROTECTED] Sent: Saturday, August 09, 2003 6:02 PM To: CF-Talk Subject: Read the url a person came from?? Hello, I was wondering if someone can point me in the right direction on what variable stores the url someone came from? we are doing 2 domains and 1 points to the other domain and I want to detect how many people come from the other domain. is one of CGI var's storing this info?? Thank you Troy Montour ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Redsky-Still issues with CFINSERT and CFUPDATE.
Christine Lawson wrote: I was reading through this thread but I don't see the error message. Can someone post sample code (against cfsnippets) that produces the error and the actual error text? The thing is, Christine, that it appears to be with passworded Access datasources. Shall I password the CFSnippets datasource and then write some code and post it? ...D ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Redsky-Still issues with CFINSERT and CFUPDATE.
Angel, Yes I do. Others are experiencing it, too -- see: http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=6threadid=668660 (watch for wrapping URLs) It's a strange issue, that's for sure... ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: MM engineers thin on the ground?
The rotation of engineers is standard practice in these situations, it happens all the time. You would find people who worked on CFMX working on other apps and vice versa. They are usually given time off to have a little break once a product has shipped.bar the support staff! ;-) Also, you may also see a huge increase of developers (contractors) who work on projects, then simply dissapear.thats the way of the software engineer. A N -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: 05 August 2003 12:52 To: CF-Talk Subject: Re: MM engineers thin on the ground? i hate when the MM people play head games with us :-) Corfield was killing me on AIM last night - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 7:27 AM Subject: MM engineers thin on the ground? We're rotating some folks through some down time this next few weeks, cuz I need them fully recharged when they come back for what's next :) Not to worry, though, we've always got proper coverage. Enjoy the bits! I've been getting some out of office responders from Macromedia lads. Poor buggers must have been given some leave after delivering RedSky to the masses. They deserve it of course! Thanks MM! Peter Tilbrook ColdFusion Applications Developer ColdGen Internet Solutions 4/73 Tharwa Road Queanbeyan, NSW, 2620 AUSTRALIA Telephone: +61-2-6284-2727 Mobile: +61-0439-401-823 E-mail: [EMAIL PROTECTED] World Wide Web: http:/www.coldgen.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Redsky-Still issues with CFINSERT and CFUPDATE.
Can anyone shed some light on what the 'problems' are with cfinsert and cfupdate not working with 6.1? I must be missing an email or two. Is anyone having problems with MS SQL 2000 and 6.1 cfupdate and cfinsert? Other then the problem that CF 6.0 introduced with cfupdate, requiring the key field to be required in the list of fields to up date. (Dumb problem) I knew I should have tested the beta of red sky. I had it sitting on my desk but, no time to test the cfupdate and inserts. Drat. Recoding 70-90 sites that we have written over the past 5 years using cfupdate and cfinsert, is not an option at this time. Mark W. Breneman -Cold Fusion Developer -Network Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Sessions and CFCs
I've tested it out a few ways to Sunday and the results are always the same. As long as the CFC is cached, only the first 'use' of the CFC will result in any session information being written for the user. Every additional attempt results in no session being written. This is the code. caching: CFIF not IsDefined('Application.CFC.User') cfparam name=Application.cfc default=#structNew()# CFOBJECT NAME=Application.CFC.User COMPONENT=components.user cfinvoke component =#Application.CFC.User# method = Init CFINVOKEARGUMENT NAME=dsn VALUE=#DSN# /CFINVOKE /CFIF call: CFINVOKE COMPONENT=#Application.CFC.User# METHOD=Login RETURNVARIABLE=IsLoggedIn CFINVOKEARGUMENT NAME=Username VALUE=#Username# CFINVOKEARGUMENT NAME=Password VALUE=#Password# /CFINVOKE Is it possible that when I upgraded to 6.1 from the last beta something went wrong? I'm seeing 6,1,0,60662 as the build. On Sunday, Aug 10, 2003, at 21:43 US/Pacific, Michael Dinowitz wrote: Running full release of 6.1 on a machine that was running the beta. Hmm, weird. The page context bug is *definitely* fixed in Red Sky, even in the beta versions! What is this page context bug, where can I read more about it and is there a fix http://www.google.com/search?q=page+context+bugie=UTF-8oe=UTF-8 The fix should be CFMX 6.1! Since that *does* fix the bug, let's see your code... maybe you've got a bug in your code? Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Redsky-Still issues with CFINSERT and CFUPDATE.
Is it a BUG??? Bug: A defect or difficulty, as in a system or design. A defect in the code or routine of a program. Well, it is an inconsistency at very least between cf5 and MX that cost us about 16 hours of development time to fix the problem on 50 - 70 sites when we moved to MX. This issue is not address in the MX docs other then a live doc rant about the issue 'er ah bug. I guess I will call it a BUG until it is fixed or someone bigger then me tells me other wise. :-) Mark W. Breneman -Cold Fusion Developer -Network Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 -Original Message- From: David Schmidt [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 1:14 PM To: CF-Talk Subject: Redsky-Still issues with CFINSERT and CFUPDATE. Mark W. Breneman wrote: Hey IF a patch is written for 6.1 to fix this password / Access issue on cfupdate and cfinsert could the Primary Key / cfupdate issue also be address? I can't speak for Macromedia -- I'm doing my best to document and explain the issue to them. I doubt that the primary key issue is considered a bug per se... ...D ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: pricing (was Re: Multiple instances of CFMX - licensing)
Jochem is correct: both JRun and CFMX for J2EE were per CPU. Now, CFMX Enterprise is per 2 CPUs so it is in fact cheaper. On Sunday, Aug 10, 2003, at 18:39 US/Pacific, Matt Liotta wrote: That isn't true. Previously, you could host multiple instances without buying additional licenses. -Matt On Sunday, August 10, 2003, at 04:06 PM, Jochem van Dieten wrote: Matt Liotta wrote: You bring up a good point I haven't thought of till now. Previously, CFMX Enterprise was licensed on a per server basis meaning that if you had a 4 CPU box the price was still only 5k. However now, I believe CFMX Enterprise will cost you 12k on a 4 CPU box. Ouch! Hosting multiple instances on a 2 CPU box used to cost 2 JRun licenses and 2 CF MX for J2EE licenses. So if you run that, prices went down quite a bit. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: SQL Competency Test
http://www.brainbench.com/ These guys I believe have one for free... Pretty tough one too on sql theory actually... -Original Message- From: Dave Sueltenfuss [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 12:26 PM To: CF-Talk Subject: OT: SQL Competency Test Good Afternoon, Does anyone know of a free SQL Competency test available? I am looking for one to give to job applicants, to determine their level of knowledge Thanks in advance Dave Sueltenfuss Application Developer Certified ColdFusion MX Developer Arch Wireless Phone: 508-870-6711 Fax: 508-870-8011 Email: [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFMX performance issue
If you can, try increasing your trusted cache size first. My second thoughts on this are - yes, I've upped it to 400 but my gut feel is that it will make no difference. We had this problem before we were using the template cache and since. We get the problem out of the blue, after it has been servicing peak load quite happily for some time. I don't understand how the template cache becomes a bottleneck that is stopping at least 30 (probably 60 or more if I did a full analysis of the dump) threads from proceeding. I've been watching the site avidly with perfmon for 3 weeks now and I've never got the impression that the bottleneck is in response to some extra load - it just suddenly goes into this state for no apparent reason. Alan Ford ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
SOT: Mapped Network Drives on Startup for webroot, etc.
On Windows 2000, what's the best way (or any way at all really) to get a mapped network drive created on startup (and prior to Apache starting)? Tony Schreiber, Senior Partner Man and Machine, Limited mailto:[EMAIL PROTECTED] http://www.technocraft.com http://www.is300.net The Enthusiast's Home of the Lexus IS300 since 1999 * PARTS STORE NOW OPEN * http://www.is300.net/store/ http://www.simplemessageboard.comFree Forum Software for Cold Fusion ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: JRun With CFMX Enterprise
Nope, you do not need JRun already. CFMX 6.1 Enterprise comes with a full JRun licenses regardless of whether or not you already own JRun. It is your choice as to whether or not you install it. --- Ben -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 4:08 PM To: CF-Talk Subject: RE: JRun With CFMX Enterprise A) You need JRun already (purchased separately) B) Yup (Ben just confirmed) Stace -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 2:21 PM To: CF-Talk Subject: JRun With CFMX Enterprise I havent installed the J2EE Version/Option of CFMX 6.1, upgraded from CFMX ENT 6.0 with Server Option. 1. Do you get the Full Blown Version of JRun, when you Install CFMX 6.1 J2EE Option? i.e. You get JRun JMC and CFMX Management Console? 2. If you already have CFMX ENT 6.0, you automatically get 2 CPU License for CFMX J2EE Install Option? Can someone Clarify? Thanks, Joe Eugene ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFMX performance issue
In any case, I would consider moving to 6.1 as it has the latest bug fixes. I'm sure we're all interested to see if your problem persists after that :) - Calvin - Original Message - From: Alan Ford [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, August 11, 2003 1:15 PM Subject: CFMX performance issue Hi Alan, this may interest you. Perhaps what youre seeing with the threading is described here in which case 6.1 may solve your problems. http://www.macromedia.com/support/coldfusion/ts/documents/cfmx_hang_issues . I've had a read and it doesn't sound like what we are getting. When I did the thread dump none of the threads was apparently waiting on any SQL resource, and this technote exclusively covers SQL related problems. I wouldn't have described our problem as a hang - it overloads, then recovers, either by itself or with intervention. The intervention is to restrict the number of connections in IIS. Recovery can take over a minute if it is left to its own devices. Alan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMX performance issue
Template cache is in KBs. You sure you're not referring to cached queries? Stace -Original Message- From: Alan Ford [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 2:13 PM To: CF-Talk Subject: CFMX performance issue Simultaneous threads in the CF admin is set to 400 !? No, sorry, 200. I've experimented with 20 (which is what we had on CF5 and until we started having problems), various other settings, settling on 96 (problems diminish - most often it recovers without queuing threads) and as of today in response to a suggestion on this thread to 200 (no real experience yet). As for the template cache, I doubt that would have a significant impact but I usually set it to a few MB's...since it'll only take what's needed anyhow. I'm not sure how you set it 'to a few mb's'. The only relevant setting in cfadmin that I can find is 'number of template files to cache' which we've got set to 400 now (it was set to 200 before I posted here). Alan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: New RedSky help files
To obtain the updated help files, go to: http://www.macromedia.com/software/coldfusion/downloads/ Download the homesiteExtensions.zip file. Follow the instructions in the readme file and you should be good. HTH // Jaye Morris - Multimedia Applications Developer // [EMAIL PROTECTED] - www.navtrak.net -Original Message- From: Paul Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 9:24 PM To: CF-Talk Subject: RE: New RedSky help files I get the same too :( _ Cabbage Tree Creative Ltd. Paul Johnson | web programmer Phone+64 3 377 7544 Email [EMAIL PROTECTED] Web www.cabbagetree.co.nz manage your own web site with Thrive - contact us to learn how! -Original Message- From: Cedric Villat [mailto:[EMAIL PROTECTED] Sent: Thursday, 7 August 2003 12:48 p.m. To: CF-Talk Subject: New RedSky help files So I downloaded the new tags and extensions for Homesite+ for RedSky. The RedSky tags seem to show up when using the autocompletion when typing in tags, but how can I get the help files to point to the RedSky docs? For example, if I go to Homesite+'s Help and lookup a tag, it is the old documentation. Same thing if I go to a tag and hit F1. All I get is the old docs. How can I get the new help files for RedSky? Looking through the zips of the extensions and tags I see no mention of help files. Anyone else notice this? Cedric ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: clarification
On Saturday, Aug 9, 2003, at 17:59 US/Pacific, Michael T. Tangorre wrote: Oh crap.. I see it! The answer's right but your logic is a little strange: 5 * 1 + 1 - 1 Since * is highest precedence than + or - this is equivalent to: ( 5 * 1 ) + 1 - 1 which is: 5 + 1 - 1 (which is 5) Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Somewhat OT: ER diagramming tools?
What do youse guys use to do ER diagrams? I'm in need of some diagramming tools, as we're working with more and more people in our process now and feel the need to put down our diagrams and relationships in more concrete form. I'm looking for shareware or freeware diagramming tools that can do very basic things. I'm not looking for anything fancy...yet. I just need to be able to visually display tables and relationships and maybe just output it as a bmp or jpeg file for group consumption. Does anything jump out at anyone? I appreciate the help. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Quick CF/Javascript ?
I simply prefer onblur for text inputs, and usually use onchange for select inputs. as far as case goes... i usually stress lowercase due to XHTML validity. You might not be worried about it now, but eventually, you (likely) will be. learning good XHTML habits now will only help down the road. onblur/onchange/etc are XHTML valid. onBlur/onChange/etc are not. charlie - Original Message - From: Jerry Johnson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, August 11, 2003 1:41 PM Subject: RE: Quick CF/Javascript ? Simple definitions (stolen from http://tech.irt.org/articles/js058/) onBlur - form element loses focus or when a window or frame loses focus. onChange - select, text, or textarea field loses focus and its value has been modified. onBlur happens whenever you leave the field to do anything else (whether it changed or not) Jerry Johnson [EMAIL PROTECTED] 08/11/03 04:27PM I have case fixed...why onBlur instead? It worked perfectly though! Thanks! Regards, Eric -Original Message- From: Jerry Johnson [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 3:20 PM To: CF-Talk onChange, not onchange. Case is important. Jerry Johnson [EMAIL PROTECTED] 08/11/03 04:06PM Wanna hear something crazy? It works if I do the onSelect handler..onChange does nothing, and it has to be on change since they may edit the number. What in the world? Regards, Eric -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 2:34 PM To: CF-Talk Hi Eric: give this a try: input type=text name=d_price#nextc# size=6 maxlength=6 value=0.00 onchange=updatetotal(this.value); / function updatetotal(n) { newtotal = newtotal + n; } you may need to do a parseFloat() around the n if you have problems with the values concatenating instead of adding. hth, charlie - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, August 11, 2003 12:06 PM Subject: Quick CF/Javascript ? This is probably real easy...just need to update via javascript the total of the form when a field is changed...here's what I have in the looping for the fields... td class=MainContent align=center width=100!---Price Override input type=text name=d_price#nextc# size=6 maxlength=6 value=0.00 onChange=updatetotal(this);/td And the javascript...have to use some kind of this function to get it to update correctly??? function updatetotal() { newtotal = newtotal + this } TIA!! Regards, Eric J. Hoffman Technology Tamer DataStream Connexion www.datastreamconnexion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Redsky-Query of Queries Error with = cfqueryparam... statement
Error Executing Database Query. Query Of Queries runtime error. Unsupported type comparison. 237 : AND PSchedule_Date = cfqueryparam VALUE=#DateFormat(CreateDate(year(dateinfo),month(dateinfo),k), MM/DD/)# CFSQLTYPE=cf_sql_date 238 : AND Pschedule_BaseID Is Not Null 239 : AND PSchedule_BaseID = cfqueryparam VALUE=#GEtPilots.PSchedule_Baseid# CFSQLTYPE=cf_sql_integer 240 : /cfquery The error is in line 239. This is the query..I modified it to check for NULL values since the Release Notes for Redsky mentioned something along those lines. I was told that the app worked fine before the update... Any ideas from anyone as to what the problem could be? -Gel ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMX performance issue
Worth a try. Good luck. DRE -Original Message- From: Alan Ford [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 11:16 AM To: CF-Talk Subject: CFMX performance issue Hi Alan, this may interest you. Perhaps what youre seeing with the threading is described here in which case 6.1 may solve your problems. http://www.macromedia.com/support/coldfusion/ts/documents/cfmx_hang_issues . I've had a read and it doesn't sound like what we are getting. When I did the thread dump none of the threads was apparently waiting on any SQL resource, and this technote exclusively covers SQL related problems. I wouldn't have described our problem as a hang - it overloads, then recovers, either by itself or with intervention. The intervention is to restrict the number of connections in IIS. Recovery can take over a minute if it is left to its own devices. Alan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: RE: CF or .DotNet what do you think?
Yep...although you'll prob be buying the Royale Server product separately maybe? (if ur suggesting it's not a selling point for cf) Pure speculation Stace -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 7:39 PM To: CF-Talk Subject: Re: RE: CF or .DotNet what do you think? I would also bet that if I wanted to use Java to connect to Royale, I could. - Original Message - From: Stacy Young [EMAIL PROTECTED] Date: Wednesday, August 6, 2003 5:32 pm Subject: RE: CF or .DotNet what do you think? $10 says royale is built into cf 7...much like the remoting approach. Stace -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 7:12 PM To: CF-Talk Subject: Re: CF or .DotNet what do you think? In what ways? - Original Message - From: Mike Brunt [EMAIL PROTECTED] Date: Wednesday, August 6, 2003 4:48 pm Subject: RE: Re: RE: Re: CF or .DotNet what do you think? Thanks for that we realize it, however our belief is that there will be ongoing better functionalities and closer coupling between CF and Flash. Kind Regards - Mike Brunt Original Message --- FlashMX works with .NET. - Original Message - From: Mike Brunt [EMAIL PROTECTED] Date: Wednesday, August 6, 2003 3:45 pm Subject: RE: Re: CF or .DotNet what do you think? It is very true that most websites out there are HTML with fancy stuff like JavaScript/DHTML however as web applications continue their march into replacing legacy enterprise apps that will not be enough. We see the integration of CFMX and FlashMX (and MX successors) to be a pivotal issue in Application Server/Environment choice. .NET does not offer such a logical path to building RIA's. If we add to that the RAD advantages of ColdFusion, we have no doubts that CF holds sway over .NET for all that we are involved in. Kind Regards Mike Brunt Original Message --- Currently there are things one can do with ASP.net that cannot efficiently be done in CF, however for most web development, it has already been shown a number of times that same or similar functionality can be done in CF with far less lines of code that in ASP. True, one does not have to be a C, C# or VB.NET programmer to learn CF. All that said, the fact remains that the majority of web sites are mostly plain 'ol HTML, with some JavaScript thrown in. The actual dynamic data driven sites have a shorter development time in CF than in .ASP, however, XML handling is still a moving target for CF, but they are getting there. For the evolving present, however, there seems to be room for a combination of all the technologies, including even (gag) java! == Stop spam on your domain, use our gateway! For hosting solutions http://www.clickdoug.com ISP rated: http://www.forta.com/cf/isp/isp.cfm?isp_id=772 == If you are not satisfied with my service, my job isn't done! - Original Message - From: Eric Creese [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 3:19 PM Subject: CF or .DotNet what do you think? | A while back I had posed a question about CF vs .DotNet. Well the discussion here is picking up again and want to go to the mat for CF. I know, like it, and have built several apps and sites. I have 4 VB developers on staff with limited ASP and web development. They of course will probably lean towards .DotNET. One who has more ASP experience had to let me know that a real developer would use ASP and that CF is for non-developers. Another basically said CF can not provide the robustness needed for a full blown App. | | Well I am asking for this boards feedback on the matter. Your pros and cons would be much appreciated for my presentation. | | Eric | ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFQuery Param ?
Absolutely. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 10:03 PM To: CF-Talk Subject: CFQuery Param ? Suffice it to say, best practive would be to utilize this not only on selects, but inserts and updates as well, correct? Thanks! Regards, Eric J. Hoffman DataStream Connexion www.datastreamconnexion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
clarification
Does anyone know what this will output and why? #5 * True + yes - (Y 'Es')# Possible answers are: 0, 1, 5, Yes, An Error Will Be Shown ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFMX performance issue
[I had a problem posting my reply to this - sorry if it's duplicated] OK, setting threads up higher isn't usually a smart thing. Hi Trey, Up to about 3 weeks ago I would have agreed with you, and we had our limit for Simiultaneous Running Requests (let's call it SRR) set to 20. As part of a whole load of experiments to see what made a difference I played around with the SRR figure (partly triggered by something I'd seen on the web that a low number for SRR actually was unkind to the core Java engine of cfmx and caused the whole thing to run more slowly). I tried various numbers between 20 and 150 at that time, before settling on 96. Since then I've had several people telling me that it's a bad idea, but I have to say that it's far better than 20 *for us*. First - it normally doesn't come into play. 99% of the time we run fine, with an actual max SRR of maybe 15 at the outside. Normally it's 5 - 10. Over the last 100 secs we've averaged 5.11 page hits / sec, but running requests has averaged 5.0. That's normal. At 'normal' peak loads we get 8 page hits / sec and running requests may average 7 or 8. Second - I am absolutely convinced (and have been since CF 4) that if you ever start getting requests queued then CF runs more slowly and uses up more cpu. The key for me in managing this website on a day-to-day fire fighting basis is to avoid queuing at all costs. That's why 96 beats 20 hands down. If we used to have 20 times a day when we got overloaded and cfmx started queuing (and believe me it's been worse than that) when we had SRR set to 20, since I raised it to 96 we have 2 or 3. The other 17 are still there, but the running requests grows and then declines again before we get to queuing. Third - when we get overloaded we have lots of threads sitting doing nothing for several seconds (if they were running normally we wouldn't get overloads). The main effect of increasing the SRR is in queue avoidance, not splitting the available resources 96 ways. I cannot substantiate this because it is impossible to measure, but my gut feel of day after day experience is that an SRR of 96 will recover from the same overload much quicker than an SRR of 20. Say that at it's worst we had 70 threads. With an SRR of 20 that's 20 running and 50 queued. With an SRR of 96 they are all running. I've said, and I'm serious, that when it's queuing the cpu load goes up - way out of proportion - sql responses slow down (why?) and that's why I'm convinced that it recovers much more quickly if I can avoid queuing in the first place. My hiking the number to 200 is on the same quest. If people think 200 is silly, I'll go with that, but I won't drop it below 96. Contrary to what you suggest (and what I would have agreed with until 3 weeks ago) having an SRR of 96 makes the site run better, not worse. Whatever else I try as a result of discussion on this thread I won't be dropping that back to 20 because I know from experience that I'll be able to cope with much less load. One other thing that is relevant is that of the 300k hits we take on a busy day about 100k are involved in talking to the legacy servers I've mentioned. We write a file posing a query; the legacy server renames the file, works on the query and writes it back as a new file. We look for the reply (fileexists) and do a series of java sleeps while we are waiting. So although these threads hang around for a while they take few resources while they are waiting. The average response time is maybe about 1000 ms; we sleep in 50 ms chunks. Alan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC for thumbnail creation
Richmond, Pamela [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is JAI faster or more stable than something like CFX_IMAGE? I have no idea, sorry :-) As I said, I need something that works even in shared servers, so I never considered CFX_IMAGE, as for JAI, I barely tested it, it's definitely feature's rich but, again, not easy to deploy everywhere. -- Massimo Foti http://www.massimocorner.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How to compute this DAY (not Date) last year? (SOLVED)
For a sales report, I need to figure out what the date is for this DAY last year. So for today, 8/5/2003 Tuesday, I need to figure out what the date was for this Tuesday last year (which was 8/6/2002). It's not as simple as today-364 days right? You've got leap years of course and probably some other wrenches in there as well. It's actually probably simple, but my brain is fried right now. ;) What do you mean by this DAY last year? The 134th day of the year? The 1st Tuesday of August? The 24th Tuesday of the year? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MM engineers thin on the ground?
On Tuesday, August 5, 2003, at 07:39 AM, DURETTE, STEVEN J (AIT) wrote: That sounds like you afre trying to get us to ask what's next! Come on, guys! Take some time to enjoy what we just got! :) Christian ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Coldfusion Code analyzer
Thanks for pointing that out, fixed. I'll have to give you a free copy of the tool Calvin. Pete Freitag http://www.cfdev.com/ Author CFMX Developers Cookbook http://www.amazon.com/exec/obidos/ASIN/0672324628/netgig-20 -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 7:29 PM To: CF-Talk Pete that's pretty cool! Just as a note: Using SELECT * often returns more rows than necessary. might should read Using SELECT * often returns more columns than necessary.? - Original Message - From: Pete Freitag [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, August 07, 2003 3:20 PM Subject: RE: Coldfusion Code analyzer We just released a product where developers can write their own rules (you can write a rule with 4 lines of CFML, we provide over 30 built-in rules), and perform checks against them: http://www.cfdev.com/codereview/ Here's a list of some of the checks it performs: http://www.cfdev.com/codereview/browse.cfm The idea of the tool was to automate parts of the code review process, but you can really use it for anything because it's so easy to add new rules. Pete Freitag http://www.cfdev.com Author CFMX Developers Cookbook http://www.amazon.com/exec/obidos/ASIN/0672324628/netgig-20 -Original Message- From: Ernie Pena [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 11:08 AM To: CF-Talk In the MX administrator their is a code analyzer works very well btw. Is their a way to pull that to a place where the developers can check their own code with out haveing o login to the administrator? Or is their a simmular program or a custom tags that do the simular function? Thanks in advance Ernie Pena ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Quick CF/Javascript ?
I have case fixed...why onBlur instead? It worked perfectly though! Thanks! Regards, Eric -Original Message- From: Jerry Johnson [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 3:20 PM To: CF-Talk onChange, not onchange. Case is important. Jerry Johnson [EMAIL PROTECTED] 08/11/03 04:06PM Wanna hear something crazy? It works if I do the onSelect handler..onChange does nothing, and it has to be on change since they may edit the number. What in the world? Regards, Eric -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 2:34 PM To: CF-Talk Hi Eric: give this a try: input type=text name=d_price#nextc# size=6 maxlength=6 value=0.00 onchange=updatetotal(this.value); / function updatetotal(n) { newtotal = newtotal + n; } you may need to do a parseFloat() around the n if you have problems with the values concatenating instead of adding. hth, charlie - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, August 11, 2003 12:06 PM Subject: Quick CF/Javascript ? This is probably real easy...just need to update via javascript the total of the form when a field is changed...here's what I have in the looping for the fields... td class=MainContent align=center width=100!---Price Override input type=text name=d_price#nextc# size=6 maxlength=6 value=0.00 onChange=updatetotal(this);/td And the javascript...have to use some kind of this function to get it to update correctly??? function updatetotal() { newtotal = newtotal + this } TIA!! Regards, Eric J. Hoffman Technology Tamer DataStream Connexion www.datastreamconnexion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Benorama.com
Google cache? - Jim Brad Roberts wrote: Anyone know if the site will be up soon? Is there another way to get to the site? -Brad ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: New LiveDocs system!
On Tuesday, Aug 5, 2003, at 18:04 US/Pacific, Calvin Ward wrote: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/building.htm Do you mean: http://livedocs.macromedia.com/coldfusion/6/ Developing_ColdFusion_MX_Applications_with_CFML/buildingComponents.htm Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4