Re: Detecting lack of cookies/session on same page?
Not in the classic sense of same page or page request in that the page can load, present the user something to look at, and content within a div can be loaded afterwards open request. No, but in the literal sense of page request, it's a second page request. Just being technical, but don't you mean to say: Yes, but in the literal sense... ?? ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281585 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Detecting lack of cookies/session on same page?
Not in the classic sense of same page or page request in that the page can load, present the user something to look at, and content within a div can be loaded afterwards open request. No, but in the literal sense of page request, it's a second page request. Just being technical, but don't you mean to say: Yes, but in the literal sense... ?? Not in response to a statement that begins with Not, in which I'm agreeing with your negative statement. For example: Not that CF is a dying language, ... No, but despite that, it's less popular than language x ... Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281586 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: configuring Apache to use multiple JRun Application Servers
On Tuesday 19 Jun 2007, David Low wrote: Memory's a bit hazy here but IIRC, Apache is set up to handle all requests for .cfm (and other ColdFusion) files, regardless of where they live. If the JRUN connector config is outside a VirtualHost, yes, all .cfm requests go via the same CF server. -- Tom Chiverton Helping to collaboratively brand network segments on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281587 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: DAO Implementation
Thanks Josh, I'll be sure to check out that code generator, I think I agree that passing in the object and initing with a struct makes good sense, I'll work around that principle and get myself a copy of that code generator. Thanks, Rob -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: 19 June 2007 17:40 To: CF-Talk Subject: Re: DAO Implementation When dealing with data access objects how should I be moving the data retrieved by them into the actually bean style object? What was tremendously helpful for me in figuring some of this stuff out, was using the Illudium code generator developed by Brian Rinaldi. His OO code is very solid and easy to understand. The way it's handled in his DAO is to pass an object, with the ID already set in the object, into the DAO read function. The ID is used in retrieving the correct row from the DB. Then he has a function queryRowToStruct to, well, turn the query row into a struct. Finally, this struct is used to populate the object with a object.init(argumentCollection=struct) call. Looking at Brian's OOP examples has greatly helped my understanding of OOP, and using his code generator has helped shorten my development time as well. -- Josh ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281589 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Telnet/SSH From CF?
Thanks for that Graham, That link you gave me appears to be dead :-D I'll check it out again later in case it's a temporary thing. I'm hoping to build a class that will let me perform basic admin tasks on remote Linux clients on the network here, such as reboot them or kill/restart certain applications and processes, nothing particularly strenuous, just make life easier than having to log into the damn things through putty and run a reboot command. Like you say I'm sure something like a Com or JAVA object will allow me to do this, I just want something relatively simple to implement code wise. Thanks mate, Rob -Original Message- From: Graham Pearson [mailto:[EMAIL PROTECTED] Sent: 19 June 2007 20:59 To: CF-Talk Subject: Re: Telnet/SSH From CF? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The way that I have been doing this same thing since CF4 is to use a a COM Object from www.introfoundation.com called TCPClient. This gives alot of network based functions to your coldfusion pages. Just send a message if you need code examples. Robert Rawlins wrote: Hello Guys, I'm looking to access a remote Telnet/SSH server and run a few differet commands. I know quite some time back I was reading through a scorpio wish list and one of the items listed (and getting a few votes) was cftelnet as a tag. Can anyone confirm is Adobe have put this in to scorpio? I did have a link to the doc that listed all the new functions, but forgot to look at it myself :-D However, cf8 aside, I need to have somthing to tide me over, does anyone know if there is anything available? If nothing native to CF then i'm sure that I'll be able to utilize some form of JAVA classes to do the job. I'm just looking for someone with a little experiance in this, anyone on the lists played with this before? Thanks guys, Rob ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281588 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Memory Leak?
Thanks, Dov. Yes, I saw your thread, but I didn't know you got Adobe involved and they are working on a fix. This is excellent. Thanks. Johnny, I have an ongoing support issue (Incident# 1726787200) with Adobe on a similar type of Memory leak. Namely, the problem is that my cached CFC's are holding onto some objects they probably shouldn't be, and the fact that I'm caching them is causing memory to not be recovered during GC's. I used JRockit memleak to generate the below maps of my cached objects, and I See stray / circular references to NeoPageContext... Adobe has a fix in the works for the memory leak, but from what I've tested, no fixes provided to-date have resolved this issue for me... http://staging.onlysimchas.com/profiler4.jpg http://staging.onlysimchas.com/profiler5.jpg http://staging.onlysimchas.com/profiler6.jpg http://staging.onlysimchas.com/profiler7.jpg http://staging.onlysimchas.com/profiler8.jpg I'll keep you posted (Though I'm sure adobe will as well) Here's the other CF-TALK thread on it: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:52111 -Dov Hi, I am using jmeter and jrocket to test my application. When I run 100 requests, I end up with 100 instances of my Application.cfc. Have anyone experienced that? All the other ones get GC properly except Application.cfc. Anyone has a way to fix it? Johnny ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281590 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Maximum number of simultaneous requests in IIS?
Hi, I set my Maximum number of simultaneous requests in CFAdmin to 25. I have 1 GB of memory dedicated to this instance. When I run a test with 5 simultaneous requests, I start to see 403 Access Forbidden error with message Too many users are accessing the site at this time. The memory is still at about 80% free. I am wondering if there is a maximum number of simultaneous requests in IIS or somewhere else as well that causes CF can't process more than 5 requests at the same time? We checked our production log and at one point we have 44 simultaneous requests. So if we can't handle 5, we can't handle 44. Please help! I am running CF 7.01 on Windows 2003. Johnny ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281591 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Config jvm.config
I assume this is fine if only one instance is used. We ran some tests a while ago and it seemed that for our specific application, from what I recall the best settings were min: 256 and max: 512/768 ( again this was a while ago so its a little fuzzy ). It enough ram is available, I suggest playing with the min and max settings and see how you get on. If 512 MB is specified as the starting stack size for each instance the server is going to tank immediately. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281592 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Maximum number of simultaneous requests in IIS?
In IIS, under the properties of Web Sites click the performance tab and check Web site connections This would be global to all web sites. If you just want to check a particular site, do the same in the properties of that particular site. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281593 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
FuseTalk 2.0 security
I won't post details (They are easy enough to find) but if you use it and haven't heard, Fusetalk 2.0 is susceptible to a sql injection attack ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281594 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Telnet/SSH From CF?
Robert Rawlins Just send a message if you need code examples I didnt see your email address could you please email me some examples please? MyEMail: [EMAIL PROTECTED] Thanks, Jim ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281595 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Maximum number of simultaneous requests in IIS?
-Original Message- From: Johnny Le [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 7:03 AM To: CF-Talk Subject: Maximum number of simultaneous requests in IIS? Hi, I set my Maximum number of simultaneous requests in CFAdmin to 25. I have 1 GB of memory dedicated to this instance. When I run a test with 5 simultaneous requests, I start to see 403 Access Forbidden error with message Too many users are accessing the site at this time. The memory is still at about 80% free. There's probably something else that's going on. The Maximum number of simultaneous requests (unless I'm mistaken) only defines the number of _active_ threads that will spawn - in other words the total number of currently working threads. However the server should be able to ACCEPT more (many, many more) requests than that - it should simply queue the extra requests and save them until a thread becomes available to handle them. CF provides perfmon counters and a command line tool (CFSTAT) that can let you see the state of active threads and the request queue. Use them to determine how CF is reacting to your test. So unless you've somehow disabled the queue or throttled IIS (for I believe the error you're seeing is an IIS, not CF, error) CF should be perfectly happy. Check your page timeout and cache settings as well. I would focus on IIS at first however - I think it's the throttle point from what you've described. Jim Davis ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281596 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Transact-SQL number formatting
Phillip, that worked great, thanks! On 6/19/07, Phillip Ciske [EMAIL PROTECTED] wrote: T-SQL has a replicate() function that can help. You can pad the last four digits with zeros using: REPLICATE('0', 4 - LEN(h.phonenbr)) + CAST(h.phonenbr AS varchar) So 789 becomes 0789 and 23 becomes 0023. Phillip On 6/19/07, Rick Root [EMAIL PROTECTED] wrote: I'm accessing some mainframe data where phone number parts are stored as integers. i'm trying to return it as a single formatted number so I did this: CAST(H.AREACODE AS VARCHAR)+'.'+CAST(H.PHONEXCH AS VARCHAR)+'.'+CAST(H.PHONENBR AS VARCHAR) AS PHONE_NUMBER, which returns 123.456.7890 This is fine as long as the numbers are = 100 or =1000 (for the four digit part). If not, I get results like this: 123.456.789 (where the last 4 digits are actually 0789) Easy enough to deal with in Coldfusion using numberformat... but I can't seem to find an equivalent Transact-SQL function, which surprises me a bit. Is there a SQL solution for this? Rick ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281597 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
iText and VerticalText
Vertical Text in PDF using CFDOCUMENT I am using font tag in a CSS file to layout a table header using vertical text. In HTML, the vertical text looks fine. However, when I convert the table to a pdf using cfdocument, the vertical text is displayed as horizintal text and does not follow the css specified font family, color or size. I'm trying to use the iTEXT class VerticalText to create the text, but i'm having trouble understanding how to call the method. I have created the object using [b]myObj.vertText = createObject(java,com.lowagie.text.pdf.VerticalText);[/b] Does anyone have ideas on how to use iText and call its functions? Thanks. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281598 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Maximum number of simultaneous requests in IIS?
So how do I check this? Thanks. So unless you've somehow disabled the queue or throttled IIS Johnny -Original Message- There's probably something else that's going on. The Maximum number of simultaneous requests (unless I'm mistaken) only defines the number of _active_ threads that will spawn - in other words the total number of currently working threads. However the server should be able to ACCEPT more (many, many more) requests than that - it should simply queue the extra requests and save them until a thread becomes available to handle them. CF provides perfmon counters and a command line tool (CFSTAT) that can let you see the state of active threads and the request queue. Use them to determine how CF is reacting to your test. So unless you've somehow disabled the queue or throttled IIS (for I believe the error you're seeing is an IIS, not CF, error) CF should be perfectly happy. Check your page timeout and cache settings as well. I would focus on IIS at first however - I think it's the throttle point from what you've described. Jim Davis ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281599 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Query Based Verity Issue
Well I have a problem with a verity search I am doing. The collection is based off a query of product data. My collection has cf_custom2 data in it which represents the products price. When I search the collection with: criteria=CF_CUSTOM2 = 19.99 I will get results with CF_Custom2 with values all over the place, like 108.95. The interesting thing is I will not get any price that do not start with a 1. I have tested with other numbers in the criteria and they all behave the same. Am I missing something on how verity execute this search. It seems to work great when I use the = operator but returns unwanted results when I use the other numeric operators. To give this some purpose, what I am trying to do is a price range search of my collection. Any help would be great! ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281600 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Migrating Ancient CF Code
Third Try I started a new position with the State of California Monday. The first task that was discussed for me was migrating some very old, version 4.5 CF code running on NT 4 servers to modern (and hopefully more stable) servers running modern CF. The question was asked is there any reason not to just jump to CF 8 when it is official - I presume in a few weeks, rather then first to 7 then 8. This department currently has NO CFMX code running. My feeling was that there should be little or no difference migrating the code to 8 rather then 7, but my supervisor wanted me to get some other opinions. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281601 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Migrating Ancient CF Code
Nothing has been deprecated in CF since the transition from 5 to 6.1. That means that the jump from 4.5 to 7 is just as big as the one from 4.5 to 8. That said; we are currently in the middle of transitioning all our CF code from 5 to 6.1. We decided to jump to 6.1 first since 7 didn't have any features we desperately needed, and thus held no real advantage over 6.1. Might as well keep the number of variables you're dealing with to a minimum, right? I have heard rumors that 8 will have significant performance gains over 6.1 and 7, so that may be worth considering. If the timing of our project would have been a bit later, I might have argued to jump from 5 to 8. Nate -- Nathan Wells Web Developer [EMAIL PROTECTED] DTN DTN. FARM SMARTER.www.dtn.com -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 9:42 AM To: CF-Talk Subject: Migrating Ancient CF Code Third Try I started a new position with the State of California Monday. The first task that was discussed for me was migrating some very old, version 4.5 CF code running on NT 4 servers to modern (and hopefully more stable) servers running modern CF. The question was asked is there any reason not to just jump to CF 8 when it is official - I presume in a few weeks, rather then first to 7 then 8. This department currently has NO CFMX code running. My feeling was that there should be little or no difference migrating the code to 8 rather then 7, but my supervisor wanted me to get some other opinions. ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281602 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Query Based Verity Issue
Verity does string based searching, not numerical base searching. What you may consider is an alternative. All products that are 20 bucks are considered cheap. When inserting the data, use a criteria, or a category, of cheap. On 6/20/07, Matthew Lesko [EMAIL PROTECTED] wrote: Well I have a problem with a verity search I am doing. The collection is based off a query of product data. My collection has cf_custom2 data in it which represents the products price. When I search the collection with: criteria=CF_CUSTOM2 = 19.99 I will get results with CF_Custom2 with values all over the place, like 108.95. The interesting thing is I will not get any price that do not start with a 1. I have tested with other numbers in the criteria and they all behave the same. Am I missing something on how verity execute this search. It seems to work great when I use the = operator but returns unwanted results when I use the other numeric operators. To give this some purpose, what I am trying to do is a price range search of my collection. Any help would be great! ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281603 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Migrating Ancient CF Code
My Gut says go with CF8 is due very soon. And the speed increase will be worth it. But to be honest, it is a strange question you should be able to answer without us putting anything forward. Why buy cfmx7 when you can buy cfmx8? On 6/21/07, Ian Skinner [EMAIL PROTECTED] wrote: Third Try I started a new position with the State of California Monday. The first task that was discussed for me was migrating some very old, version 4.5 CF code running on NT 4 servers to modern (and hopefully more stable) servers running modern CF. The question was asked is there any reason not to just jump to CF 8 when it is official - I presume in a few weeks, rather then first to 7 then 8. This department currently has NO CFMX code running. My feeling was that there should be little or no difference migrating the code to 8 rather then 7, but my supervisor wanted me to get some other opinions. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281604 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Query Based Verity Issue
Matt, Just a quick glance, but I think CF verity search is treating this as a string, because it does not support numeric searching. -- Mike Eger www.avilar.com -Original Message- From: Matthew Lesko [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 10:28 AM To: CF-Talk Subject: Query Based Verity Issue Well I have a problem with a verity search I am doing. The collection is based off a query of product data. My collection has cf_custom2 data in it which represents the products price. When I search the collection with: criteria=CF_CUSTOM2 = 19.99 I will get results with CF_Custom2 with values all over the place, like 108.95. The interesting thing is I will not get any price that do not start with a 1. I have tested with other numbers in the criteria and they all behave the same. Am I missing something on how verity execute this search. It seems to work great when I use the = operator but returns unwanted results when I use the other numeric operators. To give this some purpose, what I am trying to do is a price range search of my collection. Any help would be great! ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281606 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Migrating Ancient CF Code
LoL, And 7 was extremely faster than 6.1, and Application.cfc would have been the thing that would have told me to go 7 and not 6.1... Some logic should be questioned On 6/21/07, Nathan Wells [EMAIL PROTECTED] wrote: Nothing has been deprecated in CF since the transition from 5 to 6.1. That means that the jump from 4.5 to 7 is just as big as the one from 4.5 to 8. That said; we are currently in the middle of transitioning all our CF code from 5 to 6.1. We decided to jump to 6.1 first since 7 didn't have any features we desperately needed, and thus held no real advantage over 6.1. Might as well keep the number of variables you're dealing with to a minimum, right? I have heard rumors that 8 will have significant performance gains over 6.1 and 7, so that may be worth considering. If the timing of our project would have been a bit later, I might have argued to jump from 5 to 8. Nate -- Nathan Wells Web Developer [EMAIL PROTECTED] DTN DTN. FARM SMARTER.www.dtn.com -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 9:42 AM To: CF-Talk Subject: Migrating Ancient CF Code Third Try I started a new position with the State of California Monday. The first task that was discussed for me was migrating some very old, version 4.5 CF code running on NT 4 servers to modern (and hopefully more stable) servers running modern CF. The question was asked is there any reason not to just jump to CF 8 when it is official - I presume in a few weeks, rather then first to 7 then 8. This department currently has NO CFMX code running. My feeling was that there should be little or no difference migrating the code to 8 rather then 7, but my supervisor wanted me to get some other opinions. ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281605 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Migrating Ancient CF Code
You can't buy CF8 yet, that's why. But you can purchase a CF7 license with subscriptions, which will allow you to upgrade to CF8 for free when it's released. Ben Forta suggested this very thing at his Nashville UG presentation for Scorpio. I'd also suggest moving straight to 8. With that much code, I'm sure it's going to take you several months to rewrite anyway. Just test everything in a dev environment, and by the time you're ready to go live, CF8 should be out. andy -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 9:55 AM To: CF-Talk Subject: Re: Migrating Ancient CF Code My Gut says go with CF8 is due very soon. And the speed increase will be worth it. But to be honest, it is a strange question you should be able to answer without us putting anything forward. Why buy cfmx7 when you can buy cfmx8? On 6/21/07, Ian Skinner [EMAIL PROTECTED] wrote: Third Try I started a new position with the State of California Monday. The first task that was discussed for me was migrating some very old, version 4.5 CF code running on NT 4 servers to modern (and hopefully more stable) servers running modern CF. The question was asked is there any reason not to just jump to CF 8 when it is official - I presume in a few weeks, rather then first to 7 then 8. This department currently has NO CFMX code running. My feeling was that there should be little or no difference migrating the code to 8 rather then 7, but my supervisor wanted me to get some other opinions. ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281607 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Query Based Verity Issue
Well I have a problem with a verity search I am doing. The collection is based off a query of product data. My collection has cf_custom2 data in it which represents the products price. When I search the collection with: criteria=CF_CUSTOM2 = 19.99 I will get results with CF_Custom2 with values all over the place, like 108.95. The interesting thing is I will not get any price that do not start with a 1. I have tested with other numbers in the criteria and they all behave the same. Am I missing something on how verity execute this search. It seems to work great when I use the = operator but returns unwanted results when I use the other numeric operators. To give this some purpose, what I am trying to do is a price range search of my collection. While Ray's solution would work, the real problem is that you're using the wrong tool for the job. You have product prices in a database, and SQL is the ideal way to answer this question, faster and more efficiently than full-text search. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281609 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Maximum number of simultaneous requests in IIS?
I set my Maximum number of simultaneous requests in CFAdmin to 25. I have 1 GB of memory dedicated to this instance. When I run a test with 5 simultaneous requests, I start to see 403 Access Forbidden error with message Too many users are accessing the site at this time. The memory is still at about 80% free. I am wondering if there is a maximum number of simultaneous requests in IIS or somewhere else as well that causes CF can't process more than 5 requests at the same time? We checked our production log and at one point we have 44 simultaneous requests. So if we can't handle 5, we can't handle 44. Please help! I am running CF 7.01 on Windows 2003. Are you absolutely sure you're using Windows Server 2003? The only reason I ask is, this error is common if you're using a desktop version of Windows instead of a server version, in conjunction with HTTPS. Otherwise, you might want to check your web server log files, to see how many requests are actually being generated. Alternatively, you can use Performance Monitor to track this in real-time. I don't think this has anything to do with CF, and everything to do with IIS. You might test this by running a test against static pages. Finally, it's possible that someone enabled throttling for the site, and set it to an abnormally low number. You can check this in the IIS management console, by right-clicking on the site in question, choosing Properties, and going to the Performance tab (I think - I don't have a Windows Server 2003 machine handy to check). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281608 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Migrating Ancient CF Code
My feeling was that there should be little or no difference migrating the code to 8 rather then 7, but my supervisor wanted me to get some other opinions. I agree with your feeling. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281610 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Query Based Verity Issue
Thank you Raymond. I figured it was working with the decimal as a string but I was not sure and I did not know it was limited to just strings. I like your idea of categorizing my price ranges so I can set my criteria against a string. Raymond Camden wrote: Verity does string based searching, not numerical base searching. What you may consider is an alternative. All products that are 20 bucks are considered cheap. When inserting the data, use a criteria, or a category, of cheap. On 6/20/07, Matthew Lesko [EMAIL PROTECTED] wrote: Well I have a problem with a verity search I am doing. The collection is based off a query of product data. My collection has cf_custom2 data in it which represents the products price. When I search the collection with: criteria=CF_CUSTOM2 = 19.99 I will get results with CF_Custom2 with values all over the place, like 108.95. The interesting thing is I will not get any price that do not start with a 1. I have tested with other numbers in the criteria and they all behave the same. Am I missing something on how verity execute this search. It seems to work great when I use the = operator but returns unwanted results when I use the other numeric operators. To give this some purpose, what I am trying to do is a price range search of my collection. Any help would be great! ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281611 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Migrating Ancient CF Code
I would agree ... go with CF8. If you want to get started, start with the public beta, but don't be surprised if CF8 isn't released ... or at least officially announced next week. Rick ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281617 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Query Based Verity Issue
Format your prices (both data and query) using a fixed numeric format with leading zeros... This will turn your numeric query into one that is string-based so the results will be right. Mark -Original Message- From: Matthew Lesko [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 10:28 AM To: CF-Talk Subject: Query Based Verity Issue Well I have a problem with a verity search I am doing. The collection is based off a query of product data. My collection has cf_custom2 data in it which represents the products price. When I search the collection with: criteria=CF_CUSTOM2 = 19.99 I will get results with CF_Custom2 with values all over the place, like 108.95. The interesting thing is I will not get any price that do not start with a 1. I have tested with other numbers in the criteria and they all behave the same. Am I missing something on how verity execute this search. It seems to work great when I use the = operator but returns unwanted results when I use the other numeric operators. To give this some purpose, what I am trying to do is a price range search of my collection. Any help would be great! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281614 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Migrating Ancient CF Code
Because 8 might possibly be more money and have no added benefit for their needs? Or because management might feel a new version could introduce new bugs and a version that has been out for a year or will not. I know the latter is the attitude of management here and why when we did a dedicate server for one project they would not buy CF7 and instead bought CF6 On 6/20/07, Andrew Scott [EMAIL PROTECTED] wrote: My Gut says go with CF8 is due very soon. And the speed increase will be worth it. But to be honest, it is a strange question you should be able to answer without us putting anything forward. Why buy cfmx7 when you can buy cfmx8? -- Aaron Rouse http://www.happyhacker.com/ ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281613 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Migrating Ancient CF Code
Hi Ian, did you ever consider something else than CFMX? How about Railo? Except maybe if you are using other applications on CFMX... We'll be in California in two weeks, if you need a presentation of Railo. As well, you could get in touch with Blueriver (Sacramento) if you like to have further support regarding Railo. Greetings / Grüsse Gert Franz Customer Care Railo Technologies GmbH [EMAIL PROTECTED] www.railo.ch Join our Mailing List / Treten Sie unserer Mailingliste bei: deutsch: http://de.groups.yahoo.com/group/railo/ english: http://groups.yahoo.com/group/railo_talk/ Ian Skinner schrieb: Third Try I started a new position with the State of California Monday. The first task that was discussed for me was migrating some very old, version 4.5 CF code running on NT 4 servers to modern (and hopefully more stable) servers running modern CF. The question was asked is there any reason not to just jump to CF 8 when it is official - I presume in a few weeks, rather then first to 7 then 8. This department currently has NO CFMX code running. My feeling was that there should be little or no difference migrating the code to 8 rather then 7, but my supervisor wanted me to get some other opinions. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281616 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Migrating Ancient CF Code
But to be honest, it is a strange question you should be able to answer without us putting anything forward. Why buy cfmx7 when you can buy cfmx8? As a new employee with less then 8 hours experience on the job, I was asked if I could get supporting opinions for my position that we might as well go with 8 as with 7, if not for any other reason, 8 will have a longer support life from today. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281621 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Why images en Tutorial does not show in my page as I learn?
I am learning to program CFML following the Compass Travel example. I am following the lessons pretty well, obtaining the expected results, but... The lessons show a page with images for bottons, located in /my_app/images/last.jpg I usedimg src=images/last.jpg and also img src=/my_app/images/last.jpg but my page only shows the square where the image should be... Am I missign some configuration? ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281618 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Migrating Ancient CF Code
On 6/20/07, Aaron Rouse [EMAIL PROTECTED] wrote: Because 8 might possibly be more money and have no added benefit for their needs? I'd be stunned if anyone considered the performance improvements and integrated server monitoring to be of no benefit Seriously. Or because management might feel a new version could introduce new bugs and a version that has been out for a year or will not. This one is reasonable. I know the latter is the attitude of management here and why when we did a dedicate server for one project they would not buy CF7 and instead bought CF6 For what it's worth, we went to CF7 right away and were very very happy with it =) We'll be going to CF8 pretty quickly too. rick ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281622 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Migrating Ancient CF Code
Generally you're right, but... if the end of Ian's assignment is ...by next week, he may want to consider 7, I think they have an upgrade path for folks that buy 7 now. -- Scott Stewart ColdFusion Developer SSTWebworks 7241 Jillspring Ct. Springfield, Va. 22152 (703) 220-2835 http://www.sstwebworks.com -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 10:55 AM To: CF-Talk Subject: Re: Migrating Ancient CF Code My Gut says go with CF8 is due very soon. And the speed increase will be worth it. But to be honest, it is a strange question you should be able to answer without us putting anything forward. Why buy cfmx7 when you can buy cfmx8? On 6/21/07, Ian Skinner [EMAIL PROTECTED] wrote: Third Try I started a new position with the State of California Monday. The first task that was discussed for me was migrating some very old, version 4.5 CF code running on NT 4 servers to modern (and hopefully more stable) servers running modern CF. The question was asked is there any reason not to just jump to CF 8 when it is official - I presume in a few weeks, rather then first to 7 then 8. This department currently has NO CFMX code running. My feeling was that there should be little or no difference migrating the code to 8 rather then 7, but my supervisor wanted me to get some other opinions. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281615 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Migrating Ancient CF Code
Just because it is being migrated from one version of CF to another does not always mean it is being completely rewritten. I know there are a lot of sites here, probably well in the hundreds, that have code written for back in the CF 4.x days but run on CFMX 6.1 and even some on CFMX 7 servers. The moving of that code from the CF5 boxes and doing any fixes for misc errors that happened netted more than sufficient performance increases to just leave things alone at that point. I would wait for CF8 as well, dunno if I would go the CF7 with subscriptions to upgrade route since more times than not when I do something like that the software never ends up having new versions until after my subscriptions expire. On 6/20/07, Andy Matthews [EMAIL PROTECTED] wrote: You can't buy CF8 yet, that's why. But you can purchase a CF7 license with subscriptions, which will allow you to upgrade to CF8 for free when it's released. Ben Forta suggested this very thing at his Nashville UG presentation for Scorpio. I'd also suggest moving straight to 8. With that much code, I'm sure it's going to take you several months to rewrite anyway. Just test everything in a dev environment, and by the time you're ready to go live, CF8 should be out. andy -- Aaron Rouse http://www.happyhacker.com/ ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281620 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Migrating Ancient CF Code
True, You can't. But I would dare to say as there is no code in his department, or if the other is migrated then by the time they are ready to purchase CF8 will be for sale. You did not think of that did you. So d.load the public release beta, code away or as others have said by a subscription update for cfmx7. On 6/21/07, Andy Matthews [EMAIL PROTECTED] wrote: You can't buy CF8 yet, that's why. But you can purchase a CF7 license with subscriptions, which will allow you to upgrade to CF8 for free when it's released. Ben Forta suggested this very thing at his Nashville UG presentation for Scorpio. I'd also suggest moving straight to 8. With that much code, I'm sure it's going to take you several months to rewrite anyway. Just test everything in a dev environment, and by the time you're ready to go live, CF8 should be out. andy -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 9:55 AM To: CF-Talk Subject: Re: Migrating Ancient CF Code My Gut says go with CF8 is due very soon. And the speed increase will be worth it. But to be honest, it is a strange question you should be able to answer without us putting anything forward. Why buy cfmx7 when you can buy cfmx8? On 6/21/07, Ian Skinner [EMAIL PROTECTED] wrote: Third Try I started a new position with the State of California Monday. The first task that was discussed for me was migrating some very old, version 4.5 CF code running on NT 4 servers to modern (and hopefully more stable) servers running modern CF. The question was asked is there any reason not to just jump to CF 8 when it is official - I presume in a few weeks, rather then first to 7 then 8. This department currently has NO CFMX code running. My feeling was that there should be little or no difference migrating the code to 8 rather then 7, but my supervisor wanted me to get some other opinions. ~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281627 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Query Setup
I was wondering how to set up a one to may relationship inside a query or if that was truly the best route to go. Thanks ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281624 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Help - with query - sorry
I haven't been able to find a good SQL forum that get's responses like here on CF-Talk. So I'm sorry, skip over this message is it urks you that I posted this. Sorry. I'm trying to figure out how the average rating (dbo.recipereviews.ratingID) where the average is greater than or equal to 4 (recipe_ave = 4) on a scale from 1-5. The below statement isn't working. Arggghhh! HELP SELECT *, AVG(dbo.recipereviews.ratingID) AS recipe_ave FROM dbo.recipes INNER JOIN dbo.relrecipecats ON dbo.recipes.recipeID = dbo.relrecipecats.recipeID INNER JOIN dbo.recipecategories ON dbo.relrecipecats.recipecategoryID = dbo.recipecategories.recipecategoryID INNER JOIN dbo.recipereviews ON dbo.recipes.recipeID = dbo.recipereviews.recipeID INNER JOIN dbo.ratings ON dbo.ratings.ratingID = dbo.recipereviews.ratingID INNER JOIN dbo.images ON dbo.recipes.imageID = dbo.images.imageID WHERE (MONTH(dbo.recipes.datecreated) = MONTH('October 1, 2006')) AND (dbo.recipes.addressID = 0) AND (dbo.recipes.imageID 0) AND (dbo.recipecategories.recipecategory = 'Breads') AND (recipe_ave = 4) D ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281619 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Query Based Verity Issue
Thanks Mike, I believe you are correct. Raymond Camden gave a great alternative to accomplish my goal. Thanks again for responding. Michael Eger wrote: Matt, Just a quick glance, but I think CF verity search is treating this as a string, because it does not support numeric searching. -- Mike Eger www.avilar.com -Original Message- From: Matthew Lesko [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 10:28 AM To: CF-Talk Subject: Query Based Verity Issue Well I have a problem with a verity search I am doing. The collection is based off a query of product data. My collection has cf_custom2 data in it which represents the products price. When I search the collection with: criteria=CF_CUSTOM2 = 19.99 I will get results with CF_Custom2 with values all over the place, like 108.95. The interesting thing is I will not get any price that do not start with a 1. I have tested with other numbers in the criteria and they all behave the same. Am I missing something on how verity execute this search. It seems to work great when I use the = operator but returns unwanted results when I use the other numeric operators. To give this some purpose, what I am trying to do is a price range search of my collection. Any help would be great! ~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281612 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Migrating Ancient CF Code
On Wednesday 20 Jun 2007, Andy Matthews wrote: I'd also suggest moving straight to 8. With that much code, I'm sure it's going to take you several months to rewrite anyway. Just test everything in a dev environment, and by the time you're ready to go live, CF8 should be out. We did that for a re-write from CF5 to CF6 - started the rewrite using the beta. -- Tom Chiverton Helping to completely reinvent integrated networks on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281623 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Migrating Ancient CF Code
And he said this department has NO CF CODE :-( Gee I love it when people read posts incorreclty. On 6/21/07, Aaron Rouse [EMAIL PROTECTED] wrote: Because 8 might possibly be more money and have no added benefit for their needs? Or because management might feel a new version could introduce new bugs and a version that has been out for a year or will not. I know the latter is the attitude of management here and why when we did a dedicate server for one project they would not buy CF7 and instead bought CF6 On 6/20/07, Andrew Scott [EMAIL PROTECTED] wrote: My Gut says go with CF8 is due very soon. And the speed increase will be worth it. But to be honest, it is a strange question you should be able to answer without us putting anything forward. Why buy cfmx7 when you can buy cfmx8? -- Aaron Rouse http://www.happyhacker.com/ ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281626 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Query Based Verity Issue
Hi Dave, Thank you for your response. I would normally agree with you however in my specific case I feel I need to use verity. I neglected to mention all the other search criteria that is involved in order to simplify the question and not cause confusion. Doing a simple price range search in SQL would be the easiest way given the information I posted. Thank you again for your response. Dave Watts wrote: Well I have a problem with a verity search I am doing. The collection is based off a query of product data. My collection has cf_custom2 data in it which represents the products price. When I search the collection with: criteria=CF_CUSTOM2 = 19.99 I will get results with CF_Custom2 with values all over the place, like 108.95. The interesting thing is I will not get any price that do not start with a 1. I have tested with other numbers in the criteria and they all behave the same. Am I missing something on how verity execute this search. It seems to work great when I use the = operator but returns unwanted results when I use the other numeric operators. To give this some purpose, what I am trying to do is a price range search of my collection. While Ray's solution would work, the real problem is that you're using the wrong tool for the job. You have product prices in a database, and SQL is the ideal way to answer this question, faster and more efficiently than full-text search. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281625 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Query Based Verity Issue
True - but I had assumed this was only part of his query. If this truly WAS the only part, than a pure SQL search makes a lot more sense. My bad. If he is using this with other items, then I think it would make sense in Verity. On 6/20/07, Dave Watts [EMAIL PROTECTED] wrote: Well I have a problem with a verity search I am doing. The collection is based off a query of product data. My collection has cf_custom2 data in it which represents the products price. When I search the collection with: criteria=CF_CUSTOM2 = 19.99 I will get results with CF_Custom2 with values all over the place, like 108.95. The interesting thing is I will not get any price that do not start with a 1. I have tested with other numbers in the criteria and they all behave the same. Am I missing something on how verity execute this search. It seems to work great when I use the = operator but returns unwanted results when I use the other numeric operators. To give this some purpose, what I am trying to do is a price range search of my collection. While Ray's solution would work, the real problem is that you're using the wrong tool for the job. You have product prices in a database, and SQL is the ideal way to answer this question, faster and more efficiently than full-text search. -- === Raymond Camden, Camden Media Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com AOL IM : cfjedimaster ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281629 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
An error has occured while trying to execute modify :[LDAP: error code 32 - No Such Object].
Sun Java Server Console 5.2 I am hoping someone can help me. I am Modifying a password using the code below. The modify actually gets through and the new password is updated on the Sun Java Server Console but I get an error message that says: - An error has occured while trying to execute modify :[LDAP: error code 32 - No Such Object]. One or more of the required attributes may be missing/incorrect or you do not have permissions to execute this operation on the server The error occurred in C:\CFusionMX7\wwwroot\mepi\MEPI_cfm\Admin\loginWriteToLDAP.cfm: line 10 8 : dn=uid=#form.UserLogin#,ou=People,dc=msi-inc,dc=com 9 : attributes=userpassword=#FORM.newPassword# 10 : server=ws456 11 : Port=389 12 : username=cn=Directory Manager --- cfparam name=FORM.userLogin type=string default= cfparam name=FORM.userPassword type=string default= cfparam name=FORM.newPassword type=string default= cfldap action=Modify dn=uid=#form.UserLogin#,ou=People,dc=msi-inc,dc=com attributes=userpassword=#FORM.newPassword# server=localhost Port=389 username=cn=Directory Manager password=xxx ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281630 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Migrating Ancient CF Code
It says NO CFMX code running and at the beginning of the paragraph it states they have a very old version of 4.5 CF code running on NT 4 servers. Which brings me back to my point, even an upgrade to 6.1 would net them a very good performance increase. If you are going to bust someones balls over something, at least reread the first post to make sure you are busting correctly. Here is the text from his first post: The first task that was discussed for me was migrating some very old, version 4.5 CF code running on NT 4 servers to modern (and hopefully more stable) servers running modern CF. The question was asked is there any reason not to just jump to CF 8 when it is official - I presume in a few weeks, rather then first to 7 then 8. This department currently has NO CFMX code running. On 6/20/07, Andrew Scott [EMAIL PROTECTED] wrote: And he said this department has NO CF CODE :-( Gee I love it when people read posts incorreclty. On 6/21/07, Aaron Rouse [EMAIL PROTECTED] wrote: Because 8 might possibly be more money and have no added benefit for their needs? Or because management might feel a new version could introduce new bugs and a version that has been out for a year or will not. I know the latter is the attitude of management here and why when we did a dedicate server for one project they would not buy CF7 and instead bought CF6 On 6/20/07, Andrew Scott [EMAIL PROTECTED] wrote: My Gut says go with CF8 is due very soon. And the speed increase will be worth it. But to be honest, it is a strange question you should be able to answer without us putting anything forward. Why buy cfmx7 when you can buy cfmx8? -- Aaron Rouse http://www.happyhacker.com/ ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281633 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Maximum number of simultaneous requests in IIS?
So how do I check this? Thanks. So unless you've somehow disabled the queue or throttled IIS Check IIS in the way that Dave and Bobby already described (the Performance tab of your website properties). As for CF I'm not even sure if there is a way to disable the queue - I don't think there is normally. Some combination of settings might kill it, but I'm not sure... in any case setting the Max Requests to 25 should allow at least 25 simultaneous requests - but you're only seeing five. The problem, it seems lies with IIS. To repeat Dave: are you sure that you're using a real, actual-factual copy of Windows SERVER 2003, not some hamstrung trail, XP or Vista? Home OSes will automatically throttle the number of connections allowed - I'm guessing but there might be some trial versions that could do the same. Again - as Dave suggested - take CF out of the picture. Run your load tests against just plain HTML or graphics files. You'll almost definately see the same results (the same 403 errors) but can be confident that CF has nothing to do with them. Jim Davis ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281631 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Regex to convert url to link
Hi, I get a text field form the db. Sometimes the text contains url like: http://www.abc.com (or just www.abc.com). Id is possible to write a regex to replace it to: a href=http://www.abc.com;http://www.abc.com/a Thanks Victor ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281635 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Migrating Ancient CF Code
I did say for their needs, just because something is faster does not always mean someone benefits enough from it to justify an added expense. The server monitoring while a great option is definitely not something everyone needs because afterall people got by for years before even a 3rd party tool was available to give something remotely similar. CF7 will be a lot faster than what they have now, even CF6.1 would be. On 6/20/07, Rick Root [EMAIL PROTECTED] wrote: On 6/20/07, Aaron Rouse [EMAIL PROTECTED] wrote: Because 8 might possibly be more money and have no added benefit for their needs? I'd be stunned if anyone considered the performance improvements and integrated server monitoring to be of no benefit Seriously. -- Aaron Rouse http://www.happyhacker.com/ ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281628 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
froms: what the frik!
I'm must be missing some thing here. I have a page that accepts variables from a flash file. It works great except that CF7 seams to be uppercasing all the form filed names. i'm using this cfloop index=field list=#form.fieldNames# cfset foo = listAppend(foo, '#field#=#form[field]#', '') /cfloop what am i doing wrong? -- Phil ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281634 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Why images en Tutorial does not show in my page as I learn?
Without looking at the tutorial code. You may want to look and see what document is calling the images. Images are relative to the document. Ie if I cfinclude a document from /includes which is on the same level as the /images directory and i call images/image.gif then the web browser is going to try to find the image in /includes/images/image.gif. You may want to change the image src to /images/image.gif instead of images/image.gif. This will tell the browser to look for the /images directory in the root of the application. Just a thought :) Steve Good [EMAIL PROTECTED] Portal Hosting http://www.lanctr.com Luis Octavio Galdames Hidalgo wrote: I am learning to program CFML following the Compass Travel example. I am following the lessons pretty well, obtaining the expected results, but... The lessons show a page with images for bottons, located in /my_app/images/last.jpg I usedimg src=images/last.jpg and also img src=/my_app/images/last.jpg but my page only shows the square where the image should be... Am I missign some configuration? ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281637 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Regex to convert url to link
([A-Za-z][A-Za-z0-9+.-]{1,120}:[A-Za-z0-9/](([A-Za-z0-9$_.+!*,;/?:@~=-])|%[ A-Fa-f0-9]{2}){1,333}(#([a-zA-Z0-9][a-zA-Z0-9$_.+!*,;/?:@~=%-]{0,1000}))?) That should do for you. :) -Original Message- From: Victor Moore [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 11:43 AM To: CF-Talk Subject: Regex to convert url to link Hi, I get a text field form the db. Sometimes the text contains url like: http://www.abc.com (or just www.abc.com). Id is possible to write a regex to replace it to: a href=http://www.abc.com;http://www.abc.com/a Thanks Victor ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281641 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Regex to convert url to link
Or this one might be better: http://www.forta.com/blog/index.cfm?mode=entryentry=A61B9FF5-3048-80A9-EF09 C0A7F1E9FBD3 -Original Message- From: Victor Moore [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 11:43 AM To: CF-Talk Subject: Regex to convert url to link Hi, I get a text field form the db. Sometimes the text contains url like: http://www.abc.com (or just www.abc.com). Id is possible to write a regex to replace it to: a href=http://www.abc.com;http://www.abc.com/a Thanks Victor ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281642 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: froms: what the frik!
check this thread out http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:21496 ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281649 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
How images appear in the page?
I am learning to program CFML following the Compass Travel example. I am following the lessons pretty well, obtaining the expected results, but... The lessons show a page with images for bottons, located in /my_app/images/last.jpg I usedimg src=images/last.jpg and also img src=/my_app/images/last.jpg but my page only shows the square where the image should be... Am I missign some configuration? ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281632 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: froms: what the frik!
I'm must be missing some thing here. I have a page that accepts variables from a flash file. It works great except that CF7 seams to be uppercasing all the form filed names. CF has always done this. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281648 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Execute a batch file with CFEXECUTE
I'm able to execute the batch file now but nothing happen. It seems like Coldfusion server doesn't allow me to map a shared drive on another server. What I want to do is to copy a file on the coldfusion server to my database server. I created a batch file to map the shared drive on my DB server and copy the file over to my DB server. Unfortunately, that didn't happen the way I intended to be. So, I just want to ask is it coldfusion not allowing to map a drive in the code or am I missing something. This is driving me insane. Thanks for the reply. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281640 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Migrating Ancient CF Code
On 6/20/07, Aaron Rouse [EMAIL PROTECTED] wrote: I did say for their needs, just because something is faster does not always mean someone benefits enough from it to justify an added expense. The server monitoring while a great option is definitely not something everyone needs because afterall people got by for years before even a 3rd party tool was available to give something remotely similar. CF7 will be a lot faster than what they have now, even CF6.1 would be. this is totally off topic, but I'd be surprised if there was a price increase. Whether they like it or not, they're competing with free software. Sure you get a lot of stuff with CF that you don't get with ASP, PHP, and Java (without paying extra). But they're still competing with those technologies for market share. A price increase would not help. Rick ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281653 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How images appear in the page?
Luis, is '/myapp' a CF mapping? That wouldn't work in this context. Your issue is that the path, within your image 'src' attribute, is incorrect. Right click on the box and select the 'properties' option, to see what is the path is being evaluated as by your browser. You then can adjust your path accordingly. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Luis Octavio Galdames Hidalgo wrote: I am learning to program CFML following the Compass Travel example. I am following the lessons pretty well, obtaining the expected results, but... The lessons show a page with images for bottons, located in /my_app/images/last.jpg I usedimg src=images/last.jpg and also img src=/my_app/images/last.jpg but my page only shows the square where the image should be... Am I missign some configuration? ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281643 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: froms: what the frik!
CF7 always uppercases the field name keys in the FORM struct. If it causes you major issues you may want to create a hidden field that contains a list of your fields, then loop that in the result. cfloop index=VARIABLES.fieldIndex list=#FORM.fieldList# cfset VARIABLES.foo = ListAppend(VARIABLES.foo,VARIABLES.fieldIndex = FORM[VARIABLES.fieldIndex] ) / /cfloop Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Phill B wrote: I'm must be missing some thing here. I have a page that accepts variables from a flash file. It works great except that CF7 seams to be uppercasing all the form filed names. i'm using this cfloop index=field list=#form.fieldNames# cfset foo = listAppend(foo, '#field#=#form[field]#', '') /cfloop what am i doing wrong? ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281638 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: froms: what the frik!
I'm must be missing some thing here. I have a page that accepts variables from a flash file. It works great except that CF7 seams to be uppercasing all the form filed names. It just does that for some reason. You are not doing anything wrong. Other than looking kinda fugly, it shouldn't cause you any problems as CF is case insensitive. I suppose you could Lcase them if you don't like how it looks in your url string. Maybe someone knows why the form fields are all caps when you use form.fieldnames. -- Josh ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281636 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Execute a batch file with CFEXECUTE but nothing happened
I'm able to execute the batch file now but nothing happen. It seems like Coldfusion server doesn't allow me to map a shared drive on another server. What I want to do is to copy a file on the coldfusion server to my database server. I created a batch file to map the shared drive on my DB server and copy the file over to my DB server. Unfortunately, that didn't happen the way I intended to be. So, I just want to ask is it coldfusion not allowing to map a drive in the code or am I missing something. This is driving me insane. Thanks for the reply. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281654 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How images appear in the page?
Luis, Usually the way I troubleshoot these issues is to right-click on the image and check the properties. This will tell me exactly where the browser is attempting to find the image to display. Then you can check to be sure the image is actually in that location. If it is, you may have a permissions problem on the file system. Koen ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281647 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Execute a batch file with CFEXECUTE
I'm able to execute the batch file now but nothing happen. It seems like Coldfusion server doesn't allow me to map a shared drive on another server. What I want to do is to copy a file on the coldfusion server to my database server. I created a batch file to map the shared drive on my DB server and copy the file over to my DB server. Unfortunately, that didn't happen the way I intended to be. So, I just want to ask is it coldfusion not allowing to map a drive in the code or am I missing something. This is driving me insane. Thanks for the reply. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281660 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: froms: what the frik!
CF has always done that from what I remember. The 'fix' is to either use all uppercase in your flash and keep what you got or use all lowercase in flash and lcase() in CF. :-/ ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Phill B [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 12:30 PM To: CF-Talk Subject: froms: what the frik! I'm must be missing some thing here. I have a page that accepts variables from a flash file. It works great except that CF7 seams to be uppercasing all the form filed names. i'm using this cfloop index=field list=#form.fieldNames# cfset foo = listAppend(foo, '#field#=#form[field]#', '') /cfloop what am i doing wrong? -- Phil ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281658 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Query Based Verity Issue
True - but I had assumed this was only part of his query. If this truly WAS the only part, than a pure SQL search makes a lot more sense. My bad. If he is using this with other items, then I think it would make sense in Verity. Assuming there aren't too many records, you could use QoQ to filter your Verity recordset by price. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281646 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Execute a batch file with CFEXECUTE
I'm able to execute the batch file now but nothing happen. It seems like Coldfusion server doesn't allow me to map a shared drive on another server. What I want to do is to copy a file on the coldfusion server to my database server. I created a batch file to map the shared drive on my DB server and copy the file over to my DB server. Unfortunately, that didn't happen the way I intended to be. So, I just want to ask is it coldfusion not allowing to map a drive in the code or am I missing something. This is driving me insane. Thanks for the reply. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281663 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Regex to convert url to link
Do you expect urls to always have a www? Do you expect urls to have file names and/or additional variables? How far do you want the regex to go? On 6/20/07, Victor Moore [EMAIL PROTECTED] wrote: Hi, I get a text field form the db. Sometimes the text contains url like: http://www.abc.com (or just www.abc.com). Id is possible to write a regex to replace it to: a href=http://www.abc.com;http://www.abc.com/a Thanks Victor ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281645 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF8 Ent Instances
Hi everyone, will be launching a new server soon, specs are: Server Dual Xeon Quad Core 1.6 Ghz (Clovertown E5310) Ram 4 GB ECC DDR2 SDRAM Hard Disk 4 x 74 GB 10K SATA Raptor RAID 5 (Adaptec Controller) Windows 2003 Server Standard CF8 Enterprise and MySQL5 on the same box until we can afford a second db server. The question is how many instances of CF can generally be run on this server config? Thanks everyone. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281652 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Why images en Tutorial does not show in my page as I learn?
Since you've tried a root-relative path: On 6/20/07, Luis Octavio Galdames Hidalgo [EMAIL PROTECTED] wrote: img src=/my_app/images/last.jpg it just means your image is not where you're pointing. Have you checked to see that the image actually exists in the path you've specified -- in this case at (your_web_root)/my_app/images/last.jpg ? -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281665 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Why images en Tutorial does not show in my page as I learn? (caveat)
If it happens to be a fusebox app, it's always relative to the root regardless of where the template lives in the hierarchy.. -- Scott Stewart ColdFusion Developer SSTWebworks 7241 Jillspring Ct. Springfield, Va. 22152 (703) 220-2835 http://www.sstwebworks.com -Original Message- From: Steve Good [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 12:49 PM To: CF-Talk Subject: Re: Why images en Tutorial does not show in my page as I learn? Without looking at the tutorial code. You may want to look and see what document is calling the images. Images are relative to the document. Ie if I cfinclude a document from /includes which is on the same level as the /images directory and i call images/image.gif then the web browser is going to try to find the image in /includes/images/image.gif. You may want to change the image src to /images/image.gif instead of images/image.gif. This will tell the browser to look for the /images directory in the root of the application. Just a thought :) Steve Good [EMAIL PROTECTED] Portal Hosting http://www.lanctr.com Luis Octavio Galdames Hidalgo wrote: I am learning to program CFML following the Compass Travel example. I am following the lessons pretty well, obtaining the expected results, but... The lessons show a page with images for bottons, located in /my_app/images/last.jpg I usedimg src=images/last.jpg and also img src=/my_app/images/last.jpg but my page only shows the square where the image should be... Am I missign some configuration? ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281644 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Query Based Verity Issue
Thank you for your response. I would normally agree with you however in my specific case I feel I need to use verity. I neglected to mention all the other search criteria that is involved in order to simplify the question and not cause confusion. Doing a simple price range search in SQL would be the easiest way given the information I posted. Thank you again for your response. You still may want to look at doing a combination of queries. I've got a case where I do a verity search on some text, and then do a search on other more precise criteria in the database, and combine the two using a QoQ. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281650 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Migrating Ancient CF Code
You read MY post incorrectly. If he's looking to make a purchase right now, then CF7 with a sub is the best idea. If he's not going to purchase until his code is written then yes, CF8 should be out by then. andy -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 10:57 AM To: CF-Talk Subject: Re: Migrating Ancient CF Code True, You can't. But I would dare to say as there is no code in his department, or if the other is migrated then by the time they are ready to purchase CF8 will be for sale. You did not think of that did you. So d.load the public release beta, code away or as others have said by a subscription update for cfmx7. On 6/21/07, Andy Matthews [EMAIL PROTECTED] wrote: You can't buy CF8 yet, that's why. But you can purchase a CF7 license with subscriptions, which will allow you to upgrade to CF8 for free when it's released. Ben Forta suggested this very thing at his Nashville UG presentation for Scorpio. I'd also suggest moving straight to 8. With that much code, I'm sure it's going to take you several months to rewrite anyway. Just test everything in a dev environment, and by the time you're ready to go live, CF8 should be out. andy -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 9:55 AM To: CF-Talk Subject: Re: Migrating Ancient CF Code My Gut says go with CF8 is due very soon. And the speed increase will be worth it. But to be honest, it is a strange question you should be able to answer without us putting anything forward. Why buy cfmx7 when you can buy cfmx8? On 6/21/07, Ian Skinner [EMAIL PROTECTED] wrote: Third Try I started a new position with the State of California Monday. The first task that was discussed for me was migrating some very old, version 4.5 CF code running on NT 4 servers to modern (and hopefully more stable) servers running modern CF. The question was asked is there any reason not to just jump to CF 8 when it is official - I presume in a few weeks, rather then first to 7 then 8. This department currently has NO CFMX code running. My feeling was that there should be little or no difference migrating the code to 8 rather then 7, but my supervisor wanted me to get some other opinions. ~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281639 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: froms: what the frik!
But I have seen lots of remarks on web sites saying they changed this when the went from CF 5 to CF6. Must have been wrong. On 6/20/07, Dave Watts [EMAIL PROTECTED] wrote: I'm must be missing some thing here. I have a page that accepts variables from a flash file. It works great except that CF7 seams to be uppercasing all the form filed names. CF has always done this. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281664 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How images appear in the page?
You should be able to copy the entire src attribute out and past it in the URL in the same directory as the file which contained the image. If you can't get it that way, then neither can your browser. -Original Message- From: Luis Octavio Galdames Hidalgo [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 10:10 AM To: CF-Talk Subject: How images appear in the page? I am learning to program CFML following the Compass Travel example. I am following the lessons pretty well, obtaining the expected results, but... The lessons show a page with images for bottons, located in /my_app/images/last.jpg I usedimg src=images/last.jpg and also img src=/my_app/images/last.jpg but my page only shows the square where the image should be... Am I missign some configuration? ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281661 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Execute a batch file with CFEXECUTE
The default configuration of ColdFusion does not have any permissions to network resources outside the server. By default ColdFusion is configured to run under a local system user in the Windows Services panel. If CF needs permissions to resources outside the local server it needs to be given them by assigning access to the resource to the user it is running under, or creating a user with the appropriate permissions and configuring CF to run under that user. ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281666 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
unsubscribe
unsubscribe ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281667 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: froms: what the frik!
by the way, did someone already suggest trying to use StructKeyList(form0 instead of form.fieldnames? Rick ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281655 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Telnet/SSH From CF?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That is because I Fat Fingered the URL. The Correct URL is http://www.intrafoundation.com Then it is located under Software - Coldfusion. Sorry about the typo Robert Rawlins - Think Blue wrote: Thanks for that Graham, That link you gave me appears to be dead :-D I'll check it out again later in case it's a temporary thing. I'm hoping to build a class that will let me perform basic admin tasks on remote Linux clients on the network here, such as reboot them or kill/restart certain applications and processes, nothing particularly strenuous, just make life easier than having to log into the damn things through putty and run a reboot command. Like you say I'm sure something like a Com or JAVA object will allow me to do this, I just want something relatively simple to implement code wise. Thanks mate, Rob -Original Message- From: Graham Pearson [mailto:[EMAIL PROTECTED] Sent: 19 June 2007 20:59 To: CF-Talk Subject: Re: Telnet/SSH From CF? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The way that I have been doing this same thing since CF4 is to use a a COM Object from www.introfoundation.com called TCPClient. This gives alot of network based functions to your coldfusion pages. Just send a message if you need code examples. Robert Rawlins wrote: Hello Guys, I'm looking to access a remote Telnet/SSH server and run a few differet commands. I know quite some time back I was reading through a scorpio wish list and one of the items listed (and getting a few votes) was cftelnet as a tag. Can anyone confirm is Adobe have put this in to scorpio? I did have a link to the doc that listed all the new functions, but forgot to look at it myself :-D However, cf8 aside, I need to have somthing to tide me over, does anyone know if there is anything available? If nothing native to CF then i'm sure that I'll be able to utilize some form of JAVA classes to do the job. I'm just looking for someone with a little experiance in this, anyone on the lists played with this before? Thanks guys, Rob ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281670 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFUNITED bed/room
I'm looking for a bed (or half of one) for CFUNITED. Please reply offlist if you've got one available. I'd pay for the split, of course. thanks, barneyb -- Barney Boisvert [EMAIL PROTECTED] http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281659 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Regex to convert url to link
This is what I use on my messageboard. rereplace(str, https?:)\/\/)|(www\.|ftp\.))[-[:alnum:]\?%,\.\/##!@:=\+~_]+[A-Za-z0-9\ /]), a href=\1 target=_blank\1/a, ALL); ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Victor Moore [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 12:43 PM To: CF-Talk Subject: Regex to convert url to link Hi, I get a text field form the db. Sometimes the text contains url like: http://www.abc.com (or just www.abc.com). Id is possible to write a regex to replace it to: a href=http://www.abc.com;http://www.abc.com/a Thanks Victor ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281657 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Regex to convert url to link
Yowza that's big. You can also use this more simplified regex: (https?://)?www\.[^\s]+ The concept is that an url will either start with http://, https:// or www. (without the http prefix). This is our start anchor. After that we will accept any character than is not a space character (space, tab, newline, etc.) or a double quote (for urls embedded somewhere). This will work for just about every url but is not exact. To be more exact you would have to identify all of the legal characters in an url and match until you get to a non-legal one. (https?://)?www\.[][a-z0-9_$!%?,#@'/.*+;:=~-]+ This does the same as above but checks if a character is not one of these: ][a-z0-9_$!%?,#@'/.*+;:=~- which are all legal in an url. The more specific you get in delimiting what is the authority vs. what is the path vs. what is the query, it can be done but... On 6/20/07, Andy Matthews [EMAIL PROTECTED] wrote: ([A-Za-z][A-Za-z0-9+.-]{1,120}:[A-Za-z0-9/](([A-Za-z0-9$_.+!*,;/?:@~=-])|%[ A-Fa-f0-9]{2}){1,333}(#([a-zA-Z0-9][a-zA-Z0-9$_.+!*,;/?:@~=%-]{0,1000}))?) That should do for you. :) -Original Message- From: Victor Moore [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 11:43 AM To: CF-Talk Subject: Regex to convert url to link Hi, I get a text field form the db. Sometimes the text contains url like: http://www.abc.com (or just www.abc.com). Id is possible to write a regex to replace it to: a href=http://www.abc.com;http://www.abc.com/a Thanks Victor ~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281662 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: unsubscribe
Click on the Unsubscribe link found on the emails. -Original Message- From: Madenyika, Denford [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 11:44 AM To: CF-Talk Subject: unsubscribe unsubscribe ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281671 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: froms: what the frik!
I'm sorry, that link isn't actually very helpful. I know i've seen this discussed before though. Rick ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281651 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: froms: what the frik!
You can also use the GetHttpRequestData() function and parse through content key. This will contain the raw post data that the browser sends to the server. This should preserve case and form post order. The data is passed in like a query string, but you can easily parse through the data using the as the delimiter. -Dan -Original Message- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 12:53 PM To: CF-Talk Subject: Re: froms: what the frik! CF7 always uppercases the field name keys in the FORM struct. If it causes you major issues you may want to create a hidden field that contains a list of your fields, then loop that in the result. cfloop index=VARIABLES.fieldIndex list=#FORM.fieldList# cfset VARIABLES.foo = ListAppend(VARIABLES.foo,VARIABLES.fieldIndex = FORM[VARIABLES.fieldIndex] ) / /cfloop Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Phill B wrote: I'm must be missing some thing here. I have a page that accepts variables from a flash file. It works great except that CF7 seams to be uppercasing all the form filed names. i'm using this cfloop index=field list=#form.fieldNames# cfset foo = listAppend(foo, '#field#=#form[field]#', '') /cfloop what am i doing wrong? ~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281675 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Execute a batch file with CFEXECUTE
I haven't done exactly what you are attempting to do, but we move files over to our db server for bulk insert using cffile and UNC paths. So you would use a cffile call with the action move and the destination \\{db ip}\{share}\ The big gotcha (and possibly what's wrong with your current process) is that there has to be matching user accounts on both machines. We run Coldfusion under a named user account (cfusion in our case) and once we set up a cfusion user account with a matching password on the db server it worked like a charm. So the first thing I'd do is to find out what account the CF service is running under, then make sure its a named account and that there is a matching account on the other box. Judah Calvin Trinh wrote: I'm able to execute the batch file now but nothing happen. It seems like Coldfusion server doesn't allow me to map a shared drive on another server. What I want to do is to copy a file on the coldfusion server to my database server. I created a batch file to map the shared drive on my DB server and copy the file over to my DB server. Unfortunately, that didn't happen the way I intended to be. So, I just want to ask is it coldfusion not allowing to map a drive in the code or am I missing something. This is driving me insane. Thanks for the reply. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281656 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF8 Ent Instances
Considering CF8 is still beta and we don't know the applications you are trying to run on this. The answer is it depends. As a side note, putting a database server on the same box is a bad move. The web server and database server should be separate to obtain the best in security and utilization of your hardware. John [EMAIL PROTECTED] -Original Message- From: Jason Manaigre [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 1:18 PM To: CF-Talk Subject: CF8 Ent Instances Hi everyone, will be launching a new server soon, specs are: Server Dual Xeon Quad Core 1.6 Ghz (Clovertown E5310) Ram 4 GB ECC DDR2 SDRAM Hard Disk 4 x 74 GB 10K SATA Raptor RAID 5 (Adaptec Controller) Windows 2003 Server Standard CF8 Enterprise and MySQL5 on the same box until we can afford a second db server. The question is how many instances of CF can generally be run on this server config? Thanks everyone. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281682 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
SOT: SSH Client for Mac (Equivalent to WinSCP)
Does anybody on this list know of a good equivalent to WinSCP for the Mac? I am looking for the following features: -Ability to switch between shell prompt and UI browser -Create symbolic links via the gui -Change file permissions via the gui Thanks, Aaron Roberson ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281677 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Force OnSessionEnd on browser close?
From what I understand if you set the cfadmin to use J2EE Session variables sessions will expire when the browser is closed. However I've been testing this out and the OnSessionEnd code I have in the application.cfc does not run when the browser is closed it only seems to run when the session times out. Is there a way to trigger the OnSessionEnd when a user closes the browser? Thanks. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281683 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Regex to convert url to link
Hi Michael, This being a text field where users can input anything, it's hard for me to expect something, but they know if they want a link they must enter the info either as http: or www. This is for an intranet It works now with the solutions presented so I'm good. Thanks Victor ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281678 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF6 pulling odd SQLServer data
I have a simple web page with a few queries and an output tag in the body. The queries use the same datasource as another page that works fine, but uses different tables within the source. My page code is: --- CFQUERY datasource=itlog name=tasks SELECT TransactionID, CustomerID, TransactionDate, ComputerName, ProblemDescription, Status, ResolutionNotes, EnteredBy FROM dbo.Transactions ORDER BY TransactionID DESC /CFQUERY cfset EntryBy = #tasks.EnteredBy# CFQUERY datasource=itlog name=opentasks SELECT TransactionID, CustomerID, Status FROM dbo.Transactions WHERE Status = 'Open' or status = 'Ongoing' /CFQUERY CFQUERY datasource=itlog name=followup SELECT TransactionID, CustomerID, Status FROM dbo.Transactions WHERE Status = 'Followup' /CFQUERY CFQUERY datasource=itlog name=empl SELECT EmployeeID, FirstName, MiddleInitial, LastName FROM dbo.ITEmployees WHERE EmployeeID = #EntryBy# /CFQUERY CFQUERY datasource=itlog name=cust SELECT CustomerID, LoginName FROM dbo.Customers WHERE CustomerID = #tasks.CustomerID# /CFQUERY HTML HEAD META http-equiv=Content-Type content=text/html; charset=utf-8 TITLEUntitled Document/TITLE /HEAD BODY cfoutput #tasks.TransactionID#, #tasks.TransactionDate#, #tasks.ComputerName#, #tasks.ProblemDescription#, #tasks.Status#, #tasks.ResolutionNotes#BR #left(empl.FirstName,1)##empl.middleinitial##left(empl.lastname,1)#, #cust.loginname#BR /cfoutput /BODY /HTML - I am not getting any CF error messages, but the data that is displayed is garbage: example output 1: 2, , [EMAIL PROTECTED]m, xmžm803AdminAdmin/REAlarmAlarmsAlcan GenralAsbestosBENCHBudgetCarpentry, @â¦Cpâ¦CAP, , itcrew --- and every time I refresh the page, there is different garbage. Odd things appear from other SQL databases on the server, or debug message info: example output 2: 2, H,mH,m¾â ¾â, â¬ÃâPÃâ, xmžm [01000][ODBC Socket][Microsoft][ODBC SQL Server Driver][SQL Server]Changed language setting to us_english. ÂñE [01000][ODBC Socket][Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'ITLogger'., ô»âø»âü»â¼â, xmžm , itcrew -- I have recreated ny page from scratch a couple of times, and re-entered the data into the database several times. Any ideas? Thanks, Nicki ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281672 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Execute a batch file with CFEXECUTE
You don't need a mapped drive to do this.. Drive mapping is really a convention for the convenience of users. You should... 1) On the server you are copying TO create share ... The share will have a name (let's call him bob). 2) Create a USER on that same server ... Lets say sam with a password of iam 3) Give the USER on that server permissions to the files and folders (acl permissions) and rights to the share (share permissions). 4) On the CF server create the same user (same username/password - sam/iam) 5) change the service permissions of all of the CF services you are using (Cfapplication server, odbc server, search etc) to login using sam/iam... Note, sam will need to have permissions on the web server to run as a service. You can give sam local admin rights if you like - but there are some implications to that. Suffice it to say that, while same can have very restrictive permissions on the DB server, he must have some expanded permissions on the web server because he's going to be doing more than just copying files. He needs access to the cf files and other services on that machine. 6) Once you have your services logging in as your new user you can copy your file using a UNC path as in\\db_servername\sharename\somefile.txt. It's not as complicated as it sounds :) -Mark -Original Message- From: Calvin Trinh [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 11:09 AM To: CF-Talk Subject: Re: Execute a batch file with CFEXECUTE I'm able to execute the batch file now but nothing happen. It seems like Coldfusion server doesn't allow me to map a shared drive on another server. What I want to do is to copy a file on the coldfusion server to my database server. I created a batch file to map the shared drive on my DB server and copy the file over to my DB server. Unfortunately, that didn't happen the way I intended to be. So, I just want to ask is it coldfusion not allowing to map a drive in the code or am I missing something. This is driving me insane. Thanks for the reply. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281674 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
unsubscribe
How do I unsubscribe from cf-talk ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281680 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFFTP Problems
Based on the error message, I would guess that your CF server can't resolve the FTP server's name. You can test this by opening a command shell on the server's console, if you can do that, and pinging Dave, Thanks for responding. I tried pinging and I think were right on about the problem. For now I can just move the code to a server that can resolve the address but I'm glad that the problem is no longer a mystery. Thanks! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281681 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Maximum number of simultaneous requests in IIS?
As for CF I'm not even sure if there is a way to disable the queue - I don't think there is normally. There is not. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281668 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: Vista
Vista HAS to be the biggest, slowest, most crashinest pile of garbage I've ever used. There's my vent for the day! Will ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281685 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Get Attributes of Cookie?
Is there a way to access certain attributes of a cookie, such as the creation and expiration dates? ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281687 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFUNITED bed/room
Got it covered. thanks, barneyb On 6/20/07, Barney Boisvert [EMAIL PROTECTED] wrote: I'm looking for a bed (or half of one) for CFUNITED. Please reply offlist if you've got one available. I'd pay for the split, of course. thanks, barneyb -- Barney Boisvert [EMAIL PROTECTED] http://www.barneyb.com/ Got Gmail? I have 100 invites. -- Barney Boisvert [EMAIL PROTECTED] http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281690 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Regex to convert url to link
Thank you Andy and Bobby, It works very well. Much appreciated Victor ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281673 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Execute a batch file with CFEXECUTE
Of course... You can use domain accounts for this as well... Making sure the share is permissioned for a group or user on the domain and then running the cf server on that domain account. -Original Message- From: Calvin Trinh [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 11:09 AM To: CF-Talk Subject: Re: Execute a batch file with CFEXECUTE I'm able to execute the batch file now but nothing happen. It seems like Coldfusion server doesn't allow me to map a shared drive on another server. What I want to do is to copy a file on the coldfusion server to my database server. I created a batch file to map the shared drive on my DB server and copy the file over to my DB server. Unfortunately, that didn't happen the way I intended to be. So, I just want to ask is it coldfusion not allowing to map a drive in the code or am I missing something. This is driving me insane. Thanks for the reply. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281676 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4