Re: High Load Server... how much more can it take?
1. Does 12,000,000 .cfm pages / month (distributed normally over the day, peaking around 4 PM ET) seem like a lot for a single xeon 2.0? Not sure on this. Until you start coming close to maxing out the CPU or memory, I'd say you should stick with your current hardware. 2. I'm not so sure that we're using RAM effectively, even with mysql set to use lots of memory and cf set to cache lots of queries and pages. Are you setting the MySQL memory usage in the my.cnf file? How many queries and pages is CF currently set to cache? 3. Could the use of database client variables be causing peak hour sluggishness? I've always wondered what sort of performance hit using database client variables has under load. Would I get a noticable improvement switching to cookie client variables? This one raises a red flag to me. If I'm not mistaken, the client variables get updated (at a minimum) once per page view, since there is a last visited variable that would presumably get set each time. And then of course the client variables need to be read into memory each time as well. I'd say this might be a quick and easy fix that you could make right off the bat to see if it helps out. Ultimately, we should try to find a way to get your mean CPU and memory usage higher if possible. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205941 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFMX in Distributed Mode
I was wondering if I could ask a question, we have got the above, but are experiencing errors and cant seem to find the root cause as it is intermittent. Every so often, the websites return CFM page not found errors. The web sites are configured to use UNC names to get network access to the files, and when we turn off the friendly http error messages, it returns an error which suggests that it has lost the network connection. There are a few websites on this system, and strangely, the error seems to propagate itself through those websites and not happen all at once. The only way to rectify this is to restart the CMFX services. Driving us a little bit mad, as there are no real event entries or errors which we can work with. Tried increasing the ports etc, to no avail. If there is anything you can suggest, we would be most appreciative. Thanks. http://www.businesssense.co.uk http://www.businesssense.co.uk Securing your freedom to do Business online Neil Kemp Security Consultant Business Sense IT Limited Suite 296, 17 Holywell Hill, St Albans, Herts. AL1 1DT. mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.businesssense.co.uk www.businesssense.co.uk tel: fax: mobile: 0207 870 2795 07092 153679 07958 545129 https://www.plaxo.com/add_me?u=4295429640v0=919177k0=1736318858 Add me to your address book... http://www.plaxo.com/signature Want a signature like this? # This e-mail message has been scanned for Viruses and Content and cleared by 3DMail # ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205942 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMX in Distributed Mode
Hi Neil, you wrote: I was wondering if I could ask a question, we have got the above, but are experiencing errors and cant seem to find the root cause as it is intermittent. Every so often, the websites return CFM page not found errors. The web sites are configured to use UNC names to get network access to the files, and when we turn off the friendly http error messages, it returns an error which suggests that it has lost the network connection. Are these network connections just to another (file) server or to a NAS or SAN? We have seen situations where the network response just wasn't up to the demands of the web/CF server and the OS itself was dropping connections. Our, admittedly small, experience is that a SAN on a GB connection is about the only thing fast enough to give reliable serving of pages for a CF server to process. We have seen errors like this on 100Mbit LANs and even on NASs running on GB connections (a NAS is usually optimized for office file serving not the I want it now demands of web serving). Not a great deal of help but certainly check the systems response times on getting the files over the network. -- Kym K ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205943 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: flash forms don't show
Are the HTTP request headers generated identical when you call it the normal vs. SES way? You might be able to use the HTML BASE tag to help you out here. If I recall correctly, when I tried to implement SES URLs with Fusebox it was a requirement to use the BASE tag in order for the URLs to function 100% correctly. -Cliff On 5/6/05, Phillip P Rutherford II [EMAIL PROTECTED] wrote: i already posted the url for the flash file that is requested.. horatio/930449900.mxml.cfswf but when the page is /index.cfm/p=client rather than /includes/client.cfm it's just not loading the swf right.. or at all... [06/May/2005:16:39:41 -0400] GET /favicon.ico HTTP/1.0 404 305 [06/May/2005:16:39:42 -0400] GET /horatio/index.cfm/p=client/ HTTP/1.0 200 1776 [06/May/2005:16:39:43 -0400] GET /CFIDE/scripts/masks.js HTTP/1.0 200 9032 [06/May/2005:16:39:43 -0400] GET /CFIDE/scripts/cfformhistory.js HTTP/1.0 200 1372 [06/May/2005:16:39:43 -0400] GET /CFIDE/scripts/cfformhistory.cfm HTTP/1.0 200 1243 [06/May/2005:16:39:43 -0400] GET /horatio/930449900.mxml.cfswf HTTP/1.0 410 90 [06/May/2005:16:39:44 -0400] GET /favicon.ico HTTP/1.0 404 305 [06/May/2005:16:39:44 -0400] GET /CFIDE/scripts/cfformhistory.swf HTTP/1.0 200 2656 not using any mod_rewrite.. On 5/6/05, Cliff Meyers [EMAIL PROTECTED] wrote: Maybe you can check your web server logs (or HTML source) to see what URL is actually being requested by the browser when it tries to pull in the Flash form? If that provides meaningful info, you could probably use a similar SES technique to make sure that the browser can correctly find the file... are you using mod_rewrite? -Cliff On 5/6/05, Phillip P Rutherford II [EMAIL PROTECTED] wrote: interesting... I just noticed, if I call my page directly... (it's an include..) it works fine.. but because I am using a form of SES it seems to kill it.. so this works fine /horatio/includes/client.cfm (flash form works..) /horatio/index.cfm/p=client (this does not...) any ideas on how to get around this? On 5/6/05, Phillip P Rutherford II [EMAIL PROTECTED] wrote: for some reason my flash forms are /not/ showing up pages. If i change format=xml the forms work fine.. but if format=flash. I get an output of all the code... but nothing is there.. src for the swf shows: /horatio/930449900.mxml.cfswf so... if I look in that directory (on the server...) should i see a file in there? i get nothing. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ Triangle Area ColdFusion User Group ]-= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ http://tacfug.org ]-= -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ Triangle Area ColdFusion User Group ]-= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ http://tacfug.org ]-= ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205944 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: HASH() reverse
A common mistake is too think of hashes as encryption - they're not. They don't represent the source. It's better to think of a hash as a Fingerprint. There is no way, using a fingerprint, to reconstruct the finger which made it. That information isn't represented by the fingerprint (which is only a surface reflection). However if you have a finger you CAN use a fingerprint to determine if the finger is in face the one that made the print. In other words hashes (like fingerprints) can identify the original but can't ever recreate it. Make sense? Jim Davis Nice explanation Jim (:-) It's sometimes hard for people to understand this basic concept. That was the simplest, clearest, most common-sense take on hashing I've seen. I'll remember it if I need to go through this with a client. Dave Merrill ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205945 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: HASH() reverse
Exactly - this is a very good analogy. It's important not to take it too literally though, as people's fingerprints are unique while hashes are not. Many different original strings can lead to the same hash (called a collision) and this is how MD5 and other hashes are broken in attacks (since if your system only compares hashes, any original leading to that hash will do). The more complex hashes available in CF7 lead to less collisions and are therefore harder to crack. -Original Message- From: Dave Merrill [mailto:[EMAIL PROTECTED] Sent: Saturday, 7 May 2005 7:16 To: CF-Talk Subject: RE: HASH() reverse A common mistake is too think of hashes as encryption - they're not. They don't represent the source. It's better to think of a hash as a Fingerprint. There is no way, using a fingerprint, to reconstruct the finger which made it. That information isn't represented by the fingerprint (which is only a surface reflection). However if you have a finger you CAN use a fingerprint to determine if the finger is in face the one that made the print. In other words hashes (like fingerprints) can identify the original but can't ever recreate it. Make sense? Jim Davis Nice explanation Jim (:-) It's sometimes hard for people to understand this basic concept. That was the simplest, clearest, most common-sense take on hashing I've seen. I'll remember it if I need to go through this with a client. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205946 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: flash forms don't show
that sounds like it might work. I shall give it a go. I'll let you know, thanks On 5/7/05, Cliff Meyers [EMAIL PROTECTED] wrote: Are the HTTP request headers generated identical when you call it the normal vs. SES way? You might be able to use the HTML BASE tag to help you out here. If I recall correctly, when I tried to implement SES URLs with Fusebox it was a requirement to use the BASE tag in order for the URLs to function 100% correctly. -Cliff On 5/6/05, Phillip P Rutherford II [EMAIL PROTECTED] wrote: i already posted the url for the flash file that is requested.. horatio/930449900.mxml.cfswf but when the page is /index.cfm/p=client rather than /includes/client.cfm it's just not loading the swf right.. or at all... [06/May/2005:16:39:41 -0400] GET /favicon.ico HTTP/1.0 404 305 [06/May/2005:16:39:42 -0400] GET /horatio/index.cfm/p=client/ HTTP/1.0 200 1776 [06/May/2005:16:39:43 -0400] GET /CFIDE/scripts/masks.js HTTP/1.0 200 9032 [06/May/2005:16:39:43 -0400] GET /CFIDE/scripts/cfformhistory.js HTTP/1.0 200 1372 [06/May/2005:16:39:43 -0400] GET /CFIDE/scripts/cfformhistory.cfm HTTP/1.0 200 1243 [06/May/2005:16:39:43 -0400] GET /horatio/930449900.mxml.cfswf HTTP/1.0 410 90 [06/May/2005:16:39:44 -0400] GET /favicon.ico HTTP/1.0 404 305 [06/May/2005:16:39:44 -0400] GET /CFIDE/scripts/cfformhistory.swf HTTP/1.0 200 2656 not using any mod_rewrite.. On 5/6/05, Cliff Meyers [EMAIL PROTECTED] wrote: Maybe you can check your web server logs (or HTML source) to see what URL is actually being requested by the browser when it tries to pull in the Flash form? If that provides meaningful info, you could probably use a similar SES technique to make sure that the browser can correctly find the file... are you using mod_rewrite? -Cliff On 5/6/05, Phillip P Rutherford II [EMAIL PROTECTED] wrote: interesting... I just noticed, if I call my page directly... (it's an include..) it works fine.. but because I am using a form of SES it seems to kill it.. so this works fine /horatio/includes/client.cfm (flash form works..) /horatio/index.cfm/p=client (this does not...) any ideas on how to get around this? On 5/6/05, Phillip P Rutherford II [EMAIL PROTECTED] wrote: for some reason my flash forms are /not/ showing up pages. If i change format=xml the forms work fine.. but if format=flash. I get an output of all the code... but nothing is there.. src for the swf shows: /horatio/930449900.mxml.cfswf so... if I look in that directory (on the server...) should i see a file in there? i get nothing. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ Triangle Area ColdFusion User Group ]-= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ http://tacfug.org ]-= -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ Triangle Area ColdFusion User Group ]-= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ http://tacfug.org ]-= ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205947 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: HASH() reverse
On Saturday 07 May 2005 12:59, James Holmes wrote: literally though, as people's fingerprints are unique while hashes are not. Bzzt. Finderprints aren't unique in any meaningful sense. -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205948 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: flash forms don't show
that sounds like it might work. I shall give it a go. I'll let you know, thanks If that does not work then you might want to enable Flash Form debugging to see if there is an error being generated. It's in the debugging settings of the Administrator. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205949 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMX 6.1 Shutting down
On Friday 06 May 2005 16:58, Ruslan Sivak wrote: that this happens when the PF usage in windows gets to around 1.5 GB). What is the maximum page file size you have set ? -- Tom Chiverton Advanced ColdFusion Programmer ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205950 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: High Load Server... how much more can it take?
You could move off Apache unless you really need anything it offers. Is the machine swapping a lot (check out vmstat), or just waiting for queries to come back ? Turn off the client var updates (in the CFAdmin, properties for the client store) and make sure purge is enabled (you are patched up to date, aren't you ?). If possible ditch them all together and use cookies like normal people. -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205951 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Google Web Accelerator problems
On Friday 06 May 2005 19:19, Damien McKenna wrote: after you have logged into a site, including links saying delete records, send my boss a really nasty email, order this book It says it ignores Javascript confirmation and performs the action anyway ? How does that work ? I have a JS function triggered from an HREF or onClick, and that does a showModal or something, how does Google know what page to go to ? -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205952 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: High Load Server... how much more can it take?
-Original Message- From: Terry Ford [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 1:26 AM To: CF-Talk Subject: High Load Server... how much more can it take? A few questions: 1. Does 12,000,000 .cfm pages / month (distributed normally over the day, peaking around 4 PM ET) seem like a lot for a single xeon 2.0? It depends completely on what those pages do. ;^) It seems like you've answered this yourself, however: at peak your current architecture is reaching its limit. You architect for peak times. Do you think its possible for me to squeeze a lot more life out of this machine by investigating further optimizations, or does it sound like it's time to abandon that exercise and get a second machine? Can anyone else who is using a dual xeon on linux heavily let me know what sort of load / pages the thing is successfully serving? You really have to determine where your problem lies. If you're seeing Queued requests but your CPU isn't maxed (for example) it mean that you don't have enough threads allocated for example. It might also mean that your app is becoming DB-bound. 2. I'm not so sure that we're using RAM effectively, even with mysql set to use lots of memory and cf set to cache lots of queries and pages. If you've cached everything possible it might just be that your application doesn't have enough data to use that much RAM. You might consider setting aside some of it as a RAM disk, but I'm not sure how well mySQL could use this. The idea would be to load your database (or the most used tables) into the RAM disk on system boot (if it's small enough). I'm not sure how to do this in mySQL (if it's possible at all). But if you could you'd eliminate disk access for your client variables). This might improve performance but would create a risk: should the machine go down you'd lose anything in the RAM disk. You should then create task or process (if mySQL doesn't do it automatically) to periodically back up the tables to physical disk. As long as CF's template cache is large enough to cache all templates in RAM then there's not much you can do for CF using a RAM disk. 3. Could the use of database client variables be causing peak hour sluggishness? I've always wondered what sort of performance hit using database client variables has under load. Would I get a noticable improvement switching to cookie client variables? How much information do you store in the client scope? If it's small enough to be kept in a cookie then go for it. It's a simple change and you should see an immediate boost concerning DB usage and availability. Jim Davis ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205953 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: flash forms don't show
so far.. that hasn't worked.. the http requests are dif.. one returns a 410 (the bad one..) BAD: http://localhost/projects/horatio/1034593532.mxml.cfswf GET /projects/horatio/1034593532.mxml.cfswf HTTP/1.0 HTTP/1.x 410 Unknown Server: Microsoft-IIS/5.1 GOOD: http://localhost/projects/horatio/includes/941399296.mxml.cfswf GET /projects/horatio/includes/941399296.mxml.cfswf HTTP/1.0 HTTP/1.x 200 OK Server: Microsoft-IIS/5.1 I do have the debugging for flash on.. but do not really see anything relating to it in the debugging output... On 5/7/05, C. Hatton Humphrey [EMAIL PROTECTED] wrote: that sounds like it might work. I shall give it a go. I'll let you know, thanks If that does not work then you might want to enable Flash Form debugging to see if there is an error being generated. It's in the debugging settings of the Administrator. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205954 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: HASH() reverse
From http://anil299.tripod.com/vol_002_no_001/papers/paper005.html: Sir Francis Galton published a book entitled Fingerprints in 1892. In this book, Galton provided a (very conservative) estimate of the number of possible fingerprints. He showed that there are at least 64 billion fingerprints possible. Given that this is larger than the number of people alive, we reasonably state that fingerprints are unique. For most practical purposes, fingerprints are unique. -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Saturday, 7 May 2005 8:53 To: CF-Talk Subject: Re: HASH() reverse On Saturday 07 May 2005 12:59, James Holmes wrote: literally though, as people's fingerprints are unique while hashes are not. Bzzt. Finderprints aren't unique in any meaningful sense. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205955 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Google Web Accelerator problems
Bryan Stevenson wrote: OK...that has got to be the stupidest piece of tech I've ever heard of...are they crazy?? Don't blame Google for the errors of webdevelopers. The HTTP RFC specifically says that GET request should not have lasting side-effects: quote In particular, the convention has been established that the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval. These methods ought to be considered safe. /quote RFC 2616 Now if you'll excuse me, I have some applications to fix properly instead of implementing some lame user agent detection workaround. Jochem ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205956 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Google Web Accelerator problems
On Friday 06 May 2005 19:34, Bryan Stevenson wrote: OK...that has got to be the stupidest piece of tech I've ever heard 1) It's beta, get over it 2) If the app is using GET for permanent changes, it's doing something it shouldn't (go read RFC2616 9.1.1) 3) It's not doing anything the Google spider wouldn't if it could (see point 2). -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205957 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: High Load Server... how much more can it take?
If you've cached everything possible it might just be that your application doesn't have enough data to use that much RAM. You might consider setting aside some of it as a RAM disk, but I'm not sure how well mySQL could use this. The idea would be to load your database (or the most used tables) into the RAM disk on system boot (if it's small enough). I'm not sure how to do this in mySQL (if it's possible at all). But if you could you'd eliminate disk access for your client variables). This might improve performance but would create a risk: should the machine go down you'd lose anything in the RAM disk. You should then create task or process (if mySQL doesn't do it automatically) to periodically back up the tables to physical disk. As long as CF's template cache is large enough to cache all templates in RAM then there's not much you can do for CF using a RAM disk. The significant portion of the load due to client variable access isn't disk access; it's all the work done by ColdFusion when it asks for them and when it parses and instantiates them once they're received. Loading into a RAM disk won't make that much difference at all, and will most likely make performance suffer even more because of what you're doing with memory. Remember that memory isn't unlimited. If you look at the metrics resulting from what you're suggesting while the system is under a significant load then you'll see physical memory getting unnecessarily squeezed during peaks and lots of access going to virtual memory (the page file on disk), which destroys performance. You might even find that much of your normal database access starts going to virtual memory as well. 3. Could the use of database client variables be causing peak hour sluggishness? I've always wondered what sort of performance hit using database client variables has under load. Would I get a noticable improvement switching to cookie client variables? How much information do you store in the client scope? If it's small enough to be kept in a cookie then go for it. It's a simple change and you should see an immediate boost concerning DB usage and availability. I can't believe how many times I hear this blanket statement without qualifications or warnings attached. Before you go plunking your client variables into a cookie, take a long and hard look at each and every assignment in your code base and ask yourself, Would I publish this piece of information on a billboard in Times Square? If the answer is No for even one client variable in the lot, you can't use cookies to store your client variables. Some people emulate Session variables using Client variables combined with timeout techniques when they can't use Session variables at all (we've done this), and in cases like this passwords, userIDs, permissions, and other private data is stored in the Client scope. You don't just throw that into cookies. The database-stored client variables are one of your biggest burdens to performance. Sometimes you have no choice, but if you can, reengineer them out of your application entirely. Respectfully, Adam Phillip Churvis Member of Team Macromedia http://www.ProductivityEnhancement.com Download Plum and other cool development tools, and get advanced intensive Master-level training: * C# ASP.NET for ColdFusion Developers * ColdFusion MX Master Class * Advanced Development with CFMX and SQL Server 2000 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205958 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: HASH() reverse
On Saturday 07 May 2005 14:23, James Holmes wrote: possible fingerprints. He showed that there are at least 64 billion fingerprints possible. Given that this is larger than the number of people Firstly, of that space, not all possible combinations will occur. Secondly, there have been some very intresting tests against police fingerprint databases, though I can't find an URL at the moment. -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205959 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Google Web Accelerator problems
Don't blame Google for the errors of webdevelopers. The HTTP RFC specifically says that GET request should not have lasting side-effects: quote In particular, the convention has been established that the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval. These methods ought to be considered safe. /quote RFC 2616 Now if you'll excuse me, I have some applications to fix properly instead of implementing some lame user agent detection workaround. I'm still concerned about the effects of precaching, even if the requests don't do anything other than retrieval. Do you really want HTTP clients prefetching 10 dynamically-generated pages for every one they actually use? Especially if, for whatever reason, I can't cache them for reuse by other HTTP clients? Lame user agent detection, here I come! And while everything you say about the RFC is true, that doesn't absolve Google of all responsibility, just as I wouldn't be free to run over jaywalkers with my car. 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! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205960 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Google Web Accelerator problems
1) It's beta, get over it Since it's a public and uncontrolled beta, that's irrelevant. 2) If the app is using GET for permanent changes, it's doing something it shouldn't (go read RFC2616 9.1.1) Allowing clients to prefetch pages they won't use may be hazardous to your site's performance. 3) It's not doing anything the Google spider wouldn't if it could (see point 2). However, we can limit spiders' access via robots.txt, or by requiring authentication. 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! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205961 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: HASH() reverse
-Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 10:25 AM To: CF-Talk Subject: Re: HASH() reverse On Saturday 07 May 2005 14:23, James Holmes wrote: possible fingerprints. He showed that there are at least 64 billion fingerprints possible. Given that this is larger than the number of people Firstly, of that space, not all possible combinations will occur. Secondly, there have been some very intresting tests against police fingerprint databases, though I can't find an URL at the moment. I will say, before breaking the rule, that we should probably take this to community. Reply to me there if you're on it, otherwise let's take it private. ;^) The only things I've seen is that the current tests for uniqueness may need to be enhanced, not that fingerprints themselves are not unique. In other words the tests may be wrong and say that two fingerprints are from the same person (unlikely but possible) - but that doesn't mean the fingerprints are actually the same, just that the test lacks resolution. I believe currently 7 points of similarity are required by most agencies - there has been talk for years of increasing that number. There are also genetic similarities in finger prints from those of the same family, but these don't seem to extend to the detail level, just general pad size and grain direction and so forth. But the actually process by which fingerprints is created is mechanical, not genetic - even identical twins don't have the same fingerprints. Of course the bottom line is that as we collect more and more samples we may indeed find essentially the same fingerprints on two different people (at least the same as far as our ability to test goes). This is unlikely to radically affect law enforcement since the likelihood of two people having the same prints are very small (if, indeed there is a chance) and the likelihood of two people associated with a single case having them exponentially smaller. Similar problems exist with DNA testing in that there is a very small chance that two completely different people can be found for which the test returns positive results. However again, this doesn't mean that the DNA is the same, just that the test doesn't have the resolution to expose the differences. It's rare however that ONLY DNA or Fingerprints can link somebody to a crime. They would have to had been in the area, for example, perhaps had to have known the victim and so forth. Jim Davis ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205962 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Google Web Accelerator problems
On Saturday 07 May 2005 16:42, Dave Watts wrote: 3) It's not doing anything the Google spider wouldn't if it could (see point 2). However, we can limit spiders' access via robots.txt, or by requiring authentication. Maybe this thing will honour robots.txt -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205963 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: How to get the full url requested in cf?
Gotcha... thats basically what I've used for a while ... In a page called app_globals.cfm that is ALWAYS included in every page via application.cfm App_globals.cfm then has a few vars set in it to be used through out the site request.webroot = 'http://#cgi.server_name#'; request.imageroot = '#request.webroot#/images'; etc.. so anywhere and everywhere in the site, links, images and cookies are all referenced or created with #request.webroot# So if you come into the site as www.shop.com you will always be at www.shope.com Same goes for http://shop.com. If thats what you came in on, you'll stay there If you want everyone to be on a non www site at all times: request.webroot = http://#replace(cgi.server_name, 'www.', '')#'; request.imageroot = '#request.webroot#/images'; all links and cookies that are created using request.webroot now will not have www. In them If you DO want www... just change request.webroot to.. request.webroot = http://www.#replace(cgi.server_name, 'www.', '')#'; so it will always have 'www.' That takes care of linking everything up in the site and pulling images from the same place (www or not www) You then need to make sure no matter where the user comes in, that they either have or dont have www (whichever you want) Try this in your application.cfm cfif listfirst(cgi.server_name, 'www', '.') url has www in it... Stay or redirect? cfelse url does NOT have www in it... Stay or redirect? /cfif To redirect them, just use... cflocation url=#request.webroot#/#cgi.script_name#?#cgi_query_string# addtoken=yes/no If its the home page, they may end up somewhere like http://myshop.com/? But that wont hurt anything But if they come into your site at the url http://shop.com/somedir/index.cfm?var1=1 And you want them at www.shop... The cflocate would take them to exactly where they are, plus the www http://www.shop.com/somedir/index.cfm?var1=1 -Original Message- From: stylo stylo [mailto:[EMAIL PROTECTED] Sent: Friday, May 06, 2005 10:22 PM To: CF-Talk Subject: Re: How to get the full url requested in cf? I don?t know why you need to know if www is there or not but if you had access to IIS, you could have http://www.shop.com point to a different place than http://shop.com all together There is a stored shop url in the code. Problem is that cookies are being lost between www.shop.com and shop.com when code refers to the shop url variable and cflocates in a few places, or a linkbase variable is set based upon it to use on menus used on various directory levels. I asked my host and they said I would need something like IISrewrite to redirect, or metatags. So I thought to rewrite the request.shopurl variable that is being set, based on their being www or not. Then the cflocate and linkbase will be in line with how people come to the site, with www or not. (Or I can simply relocate all www requests to non www. Maybe better, but wondering about links to the site and search engines.) If you have a better idea, I'm all ears. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205964 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: High Load Server... how much more can it take?
Terry, Adam is right on when he says its bad advice to consider cookies as a blanket substitute for client variables. They exist for good reasons. I can remember back to earlier versions of CF where they added significant stability to a CF application versus session variables. However, CF has grown over time. You don't have to lock the use of session vars anymore (except in cases of race conditions -- fairly rare in a session scope) and as you say you have gobs of available memory. Client vars in a db work fine, but you are hitting your db a LOT with them, and under MX the benefits no longer outweigh this. There's no telling if lightening this db load and shifting it elsewhere will help you, but its certainly worth a try. Rather than going to cookies willy-nilly, look at a combination of cookies and session variables. Store your meaningless stuff in cookies. Only use them in cases where you will never need to set the cookie and read back from it within the same template. Never use them if you set them and cflocation to something else that needs to use the cookie value (both of these limitations can be overcome but why bother since... You can store the rest in the session scope. Or migrate values slowly there so you can monitor memory usage to confirm you aren't hitting your max. Taking the easy way, you could replace every occurrence of the string client. in your application with session., and then search for all instances of deleteclientvariable and convert those manually to structdeletes. The above assumes you don't have situations where a race condition can arise. This should be a rare thing in the session scope, but if its there you *will* have to lock the writes (only) to the session scope. Also, since this app is coming from older code, make sure you aren't doing stuff like porting application scope vars to request scope in /Application.cfm and back to app scope in OnRequestEnd. Subject to the race condition bit, you don't need to play that game anymore. Here again you probably already know this but I thought I'd mention it. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205965 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Database Driven Nav
I'm building a tree like navigation system using just HTML. I want to keep all the nav links in one table like so: Nav 1 -- Nav 1a -- Nav 1a1 -- Nav 1a2 -- Nav 1a3 -- Nav 1b -- Nav 1c Nav 2 -- Nav 2a -- Nav 2b -- Nav 2b1 -- Nav 2b2 -- Nav 2b3 -- Nav 2c My data structure looks like navID parentIDnavText navLink displayOrder 1 nullNav1nav1.cfm1 2 1 Nav1a nav1a.cfm 1 3 2 Nav1a1 nav1a1.cfm 1 4 2 nav1a2 nav1a2.cfm 2 5 2 nav1a3 nav1a3.cfm 3 6 1 Nav1b nav1b.cfm 2 7 1 Nav1c nav1c.cfm 3 Any suggestions on how to accomplish this - preferably with a Stored Procedure or function? Thanks Duane ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205966 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Google Web Accelerator problems
On 5/7/05, Thomas Chiverton [EMAIL PROTECTED] wrote: Maybe this thing will honour robots.txt Maybe someday but as of now it does not. Also regarding the comment about the Google spidering capabilities, a spider can't get in behind authentication. This thing can. Yeah sure you're supposed to use a form POST for all potentially destructive code. thing is the real world doesn't work that way. In spades. I think the comments section of that blog explain this reality far better than I can or should, other than to say the rules wouldn't be so commonly broken if there wasn't a reason to do so. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205967 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Database Driven Nav
Try using CF_TraverseTree by Piet Niederhausen and write the results to a text file so you get rid of the database overhead. CF_TraverseTree is rather slow, but it works fine. I use it to write a DHTML menu, and I think it should work great for you. If you can't get it, I can send it to you off list. I'm building a tree like navigation system using just HTML. I want to keep all the nav links in one table like so: Nav 1 -- Nav 1a -- Nav 1a1 -- Nav 1a2 -- Nav 1a3 -- Nav 1b -- Nav 1c Nav 2 -- Nav 2a -- Nav 2b -- Nav 2b1 -- Nav 2b2 -- Nav 2b3 -- Nav 2c My data structure looks like navID parentIDnavText navLink displayOrder 1 nullNav1nav1.cfm1 2 1 Nav1a nav1a.cfm 1 3 2 Nav1a1 nav1a1.cfm 1 4 2 nav1a2 nav1a2.cfm 2 5 2 nav1a3 nav1a3.cfm 3 6 1 Nav1b nav1b.cfm 2 7 1 Nav1c nav1c.cfm 3 ... Any suggestions on how to accomplish this - preferably with a Stored Procedure or function? Thanks Duane ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205968 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Database Driven Nav
Hi Stan, Thanks. Please send it to me off list Duane -Original Message- From: Stan Winchester [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 2:16 PM To: CF-Talk Subject: Database Driven Nav Try using CF_TraverseTree by Piet Niederhausen and write the results to a text file so you get rid of the database overhead. CF_TraverseTree is rather slow, but it works fine. I use it to write a DHTML menu, and I think it should work great for you. If you can't get it, I can send it to you off list. I'm building a tree like navigation system using just HTML. I want to keep all the nav links in one table like so: Nav 1 -- Nav 1a -- Nav 1a1 -- Nav 1a2 -- Nav 1a3 -- Nav 1b -- Nav 1c Nav 2 -- Nav 2a -- Nav 2b -- Nav 2b1 -- Nav 2b2 -- Nav 2b3 -- Nav 2c My data structure looks like navID parentIDnavText navLink displayOrder 1 nullNav1nav1.cfm1 2 1 Nav1a nav1a.cfm 1 3 2 Nav1a1 nav1a1.cfm 1 4 2 nav1a2 nav1a2.cfm 2 5 2 nav1a3 nav1a3.cfm 3 6 1 Nav1b nav1b.cfm 2 7 1 Nav1c nav1c.cfm 3 ... Any suggestions on how to accomplish this - preferably with a Stored Procedure or function? Thanks Duane ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205969 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: High Load Server... how much more can it take?
Store your meaningless stuff in cookies. Only use them in cases where you will never need to set the cookie and read back from it within the same template. Never use them if you set them and cflocation to something else that needs to use the cookie value (both of these limitations can be overcome but why bother since... The documentation incorrectly states that setting cookie on the same page you use cflocation would result in the cookie not being set. The cookie will be set correctly. Stephen M. Gilson Macromedia http://livedocs.macromedia.com/coldfusion/6/CFML_Reference/Tags-pt166.htm As of MX, the CFCOOKIE/CFLOCATION issue isn't a concern anymore, right? The above assumes you don't have situations where a race condition can arise. This should be a rare thing in the session scope, but if its there you *will* have to lock the writes (only) to the session scope. (Slightly OT) This is something I've wondered about for a while. It's obvious why you need to CFLOCK writes to the application scope since there are likely to be many users accessing application scope variables all over the place. I've heard that locking session variables is important if you use frames or if a user were to repeatedly hit the refresh button on a page where session variables are written to unlocked. My question is, does CFLOCK scope=session type=exclusive impact performance significantly? Or for that matter, would a type=readonly impact it as well? I don't know enough about CFLOCK and whether it's locking just that users' spot of shared memory or the entire area of shared memory where session vars are stored. If it's the former I'd guess the performance impact is negligible, and in the case of the latter I'd guess it's significant. I've gotten in the habit of locking session variables EVERYWHERE because of the serious concerns pre-MX, but if this is having a negative impact on performance I'm not aware of I'd appreciate it if someone would let me know - thanks :) -Cliff ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205970 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: High Load Server... how much more can it take?
Adam is right on when he says its bad advice to consider cookies as a blanket substitute for client variables. They exist for good reasons. I can remember back to earlier versions of CF where they added significant stability to a CF application versus session variables. Actually I was referring to using cookies to *store* the Client scope: cfapplication clientStorage=Cookie ... rather than migrating Client variables to cookies directly. Sorry if I wasn't clear. However, CF has grown over time. You don't have to lock the use of session vars anymore (except in cases of race conditions -- fairly rare in a session scope) and as you say you have gobs of available memory. Same exact criteria for locking as for the Server or Application scopes, because the user might spawn another window from the same browser window or the application might use frames. A race condition is a race condition, the way I see it, and you have to lock then even if they are in the Session scope. Client vars in a db work fine, but you are hitting your db a LOT with them, and under MX the benefits no longer outweigh this. There's no telling if lightening this db load and shifting it elsewhere will help you, but its certainly worth a try. Storing Client vars in the database is sometimes the only thing you can do, but it's a real performance killer, I assure you. That's one of the seductive things about using clientStorage=Cookie because it shifts that burden to the clients, but being seduced can sometimes lead to downfall, as I mentioned earlier about cookie data. These days we just try to steer clear of Client variables altogether. I was just talking with Steve Drucker about this a few weeks ago. Store your meaningless stuff in cookies. Only use them in cases where you will never need to set the cookie and read back from it within the same template. Never use them if you set them and cflocation to something else that needs to use the cookie value (both of these limitations can be overcome but why bother since... Fixed in MX 6.1, IIRC. The above assumes you don't have situations where a race condition can arise. This should be a rare thing in the session scope, but if its there you *will* have to lock the writes (only) to the session scope. There has been a lot of talk about locking writes but not reads, but if you do this then your reads are no longer synchronized with your writes, even in the Session scope. If a resource can be involved in a race condition, lock both its writes and its reads. There is no compelling reason to not lock reads. Respectfully, Adam Phillip Churvis Member of Team Macromedia http://www.ProductivityEnhancement.com Download Plum and other cool development tools, and get advanced intensive Master-level training: * C# ASP.NET for ColdFusion Developers * ColdFusion MX Master Class * Advanced Development with CFMX and SQL Server 2000 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205971 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: High Load Server... how much more can it take?
(Slightly OT) This is something I've wondered about for a while. It's obvious why you need to CFLOCK writes to the application scope since there are likely to be many users accessing application scope variables all over the place. I've heard that locking session variables is important if you use frames or if a user were to repeatedly hit the refresh button on a page where session variables are written to unlocked. My question is, does CFLOCK scope=session type=exclusive impact performance significantly? Or for that matter, would a type=readonly impact it as well? I don't know enough about CFLOCK and whether it's locking just that users' spot of shared memory or the entire area of shared memory where session vars are stored. If it's the former I'd guess the performance impact is negligible, and in the case of the latter I'd guess it's significant. I've gotten in the habit of locking session variables EVERYWHERE because of the serious concerns pre-MX, but if this is having a negative impact on performance I'm not aware of I'd appreciate it if someone would let me know - thanks :) Locking is a tough subject at first, but it is digestable. We spend about an hour on locking in our MX Master Class for good reason: there is a lot of misinformation regarding what locking really is (it doesn't actually lock ColdFusion resources at all), how locking applies to ColdFusion, how to eliminate unintentional single-threading and collisions in your code (I never see this discussed anywhere), how to optimize locking (also never seen this discussed), and why 95% of all locking we've seen people perform in their code is either ill-conceived or downright detrimental. Considering locking only if it doesn't impact performance is like considering safe sex only if you don't lose any feeling while wearing a condom. You do whatever is necessary to play safe, and then optimize the mechanism to give you as much of what you want as possible. Contact me offlist for a date and time when we can talk on the phone to discuss this topic in more depth and with more interactivity than email affords. It won't be the whole shebang from class, but it will give you some good understanding and get you started in the right direction. Respectfully, Adam Phillip Churvis Member of Team Macromedia http://www.ProductivityEnhancement.com Download Plum and other cool development tools, and get advanced intensive Master-level training: * C# ASP.NET for ColdFusion Developers * ColdFusion MX Master Class * Advanced Development with CFMX and SQL Server 2000 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205972 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Google Web Accelerator problems
Dave Watts wrote: Don't blame Google for the errors of webdevelopers. The HTTP RFC specifically says that GET request should not have lasting side-effects: quote In particular, the convention has been established that the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval. These methods ought to be considered safe. /quote RFC 2616 Now if you'll excuse me, I have some applications to fix properly instead of implementing some lame user agent detection workaround. I'm still concerned about the effects of precaching, even if the requests don't do anything other than retrieval. Do you really want HTTP clients prefetching 10 dynamically-generated pages for every one they actually use? As long as they also follow sponsored links :) I wouldn't install it myself though. Jochem ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205973 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
OT: Good flash list
CF-Flash seems pretty dead. Does anyone know of a good flash list with even half the activity as cf-talk? If you are a flash guru, please, by all means, go read my post on CF-Flash :-) -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 5/6/2005 ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205974 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
re: OT: Good flash list
I would use the loader component to position it, I would also be sure either export the cb on the first frame or change the settings to export componts on the second frame, yeah that sounds confusing but there are issues with v2 components and how they are brought into movies, especially with preloading. ~Dave the disruptor~ From: Ewok [EMAIL PROTECTED] Sent: Saturday, May 07, 2005 4:06 PM To: CF-Talk cf-talk@houseoffusion.com Subject: OT: Good flash list CF-Flash seems pretty dead. Does anyone know of a good flash list with even half the activity as cf-talk? If you are a flash guru, please, by all means, go read my post on CF-Flash :-) -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 5/6/2005 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205975 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Good flash list
Hi mr disruptor :p Thanks for the response. I am by no means a flash expert so forgive my ignorance on the subject. More weirdness... I love it! I managed to find the 'Loader' component and got it into the stage on movie 1. I set its content path to the full url of movie 2 and like magic it showed right up in the stage! I published it and... Nothing shows up in the loader window... sigh Also, if I do ever get it to show up, is it possible to hide the thin border around the loader? -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 4:20 PM To: CF-Talk Subject: re: OT: Good flash list I would use the loader component to position it, I would also be sure either export the cb on the first frame or change the settings to export componts on the second frame, yeah that sounds confusing but there are issues with v2 components and how they are brought into movies, especially with preloading. ~Dave the disruptor~ From: Ewok [EMAIL PROTECTED] Sent: Saturday, May 07, 2005 4:06 PM To: CF-Talk cf-talk@houseoffusion.com Subject: OT: Good flash list CF-Flash seems pretty dead. Does anyone know of a good flash list with even half the activity as cf-talk? If you are a flash guru, please, by all means, go read my post on CF-Flash :-) -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 5/6/2005 ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205976 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Good flash list
mr disruptor hehe thats even better! First thing to check would be what layer the loader is on, is it on top of the other items? When you published it was it on web or your local machine? firewall blockage maybe? There shouldnt be any border around the loader at all. If you wanna send it to me I will take a look, i am no expert either though but might be able to see the problem. ~Dave the disruptor~ From: Ewok [EMAIL PROTECTED] Sent: Saturday, May 07, 2005 7:01 PM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: OT: Good flash list Hi mr disruptor :p Thanks for the response. I am by no means a flash expert so forgive my ignorance on the subject. More weirdness... I love it! I managed to find the 'Loader' component and got it into the stage on movie 1. I set its content path to the full url of movie 2 and like magic it showed right up in the stage! I published it and... Nothing shows up in the loader window... sigh Also, if I do ever get it to show up, is it possible to hide the thin border around the loader? -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 4:20 PM To: CF-Talk Subject: re: OT: Good flash list I would use the loader component to position it, I would also be sure either export the cb on the first frame or change the settings to export componts on the second frame, yeah that sounds confusing but there are issues with v2 components and how they are brought into movies, especially with preloading. ~Dave the disruptor~ From: Ewok Sent: Saturday, May 07, 2005 4:06 PM To: CF-Talk Subject: OT: Good flash list CF-Flash seems pretty dead. Does anyone know of a good flash list with even half the activity as cf-talk? If you are a flash guru, please, by all means, go read my post on CF-Flash :-) -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 5/6/2005 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205977 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Good flash list
I published it and uploaded it to a development server. So it's on the web. As I said, I used the full URL to movie 2 and it popped up in the stage so I know it knows where it's at. I do get a sandbox violation warning when I set the content path to the url since it is trying to access a web file form a local file (or vise versa) maybe that's it? But if I just use a relative path (just the name of the swf since they are in the same directories on the server) it doesnt show up in the stage OR in the final published movie... sigh The loader component is definitely on TOP of all other frames and levels. The loader is also a big, white box with a thin black boarder around it. Believe me, I wish I could send it to you! But 'They' would probably not like that very much and 'They' are on this list :) Hi They -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 7:08 PM To: CF-Talk Subject: RE: OT: Good flash list mr disruptor hehe thats even better! First thing to check would be what layer the loader is on, is it on top of the other items? When you published it was it on web or your local machine? firewall blockage maybe? There shouldnt be any border around the loader at all. If you wanna send it to me I will take a look, i am no expert either though but might be able to see the problem. ~Dave the disruptor~ From: Ewok [EMAIL PROTECTED] Sent: Saturday, May 07, 2005 7:01 PM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: OT: Good flash list Hi mr disruptor :p Thanks for the response. I am by no means a flash expert so forgive my ignorance on the subject. More weirdness... I love it! I managed to find the 'Loader' component and got it into the stage on movie 1. I set its content path to the full url of movie 2 and like magic it showed right up in the stage! I published it and... Nothing shows up in the loader window... sigh Also, if I do ever get it to show up, is it possible to hide the thin border around the loader? -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 4:20 PM To: CF-Talk Subject: re: OT: Good flash list I would use the loader component to position it, I would also be sure either export the cb on the first frame or change the settings to export componts on the second frame, yeah that sounds confusing but there are issues with v2 components and how they are brought into movies, especially with preloading. ~Dave the disruptor~ From: Ewok Sent: Saturday, May 07, 2005 4:06 PM To: CF-Talk Subject: OT: Good flash list CF-Flash seems pretty dead. Does anyone know of a good flash list with even half the activity as cf-talk? If you are a flash guru, please, by all means, go read my post on CF-Flash :-) -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 5/6/2005 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205978 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Good flash list
try it a different way, choose the scene you want then go into the behavior panel, click on the + go down to movieclip and choose load from exterenal movie clip If you actually make a blank movieclip where u want it and too size then do the above you get more options as well. ~Dave the disruptor~ From: Ewok [EMAIL PROTECTED] Sent: Saturday, May 07, 2005 7:22 PM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: OT: Good flash list I published it and uploaded it to a development server. So it's on the web. As I said, I used the full URL to movie 2 and it popped up in the stage so I know it knows where it's at. I do get a sandbox violation warning when I set the content path to the url since it is trying to access a web file form a local file (or vise versa) maybe that's it? But if I just use a relative path (just the name of the swf since they are in the same directories on the server) it doesn't show up in the stage OR in the final published movie... sigh The loader component is definitely on TOP of all other frames and levels. The loader is also a big, white box with a thin black boarder around it. Believe me, I wish I could send it to you! But 'They' would probably not like that very much and 'They' are on this list :) Hi They -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 7:08 PM To: CF-Talk Subject: RE: OT: Good flash list mr disruptor hehe thats even better! First thing to check would be what layer the loader is on, is it on top of the other items? When you published it was it on web or your local machine? firewall blockage maybe? There shouldnt be any border around the loader at all. If you wanna send it to me I will take a look, i am no expert either though but might be able to see the problem. ~Dave the disruptor~ From: Ewok Sent: Saturday, May 07, 2005 7:01 PM To: CF-Talk Subject: RE: OT: Good flash list Hi mr disruptor :p Thanks for the response. I am by no means a flash expert so forgive my ignorance on the subject. More weirdness... I love it! I managed to find the 'Loader' component and got it into the stage on movie 1. I set its content path to the full url of movie 2 and like magic it showed right up in the stage! I published it and... Nothing shows up in the loader window... sigh Also, if I do ever get it to show up, is it possible to hide the thin border around the loader? -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 4:20 PM To: CF-Talk Subject: re: OT: Good flash list I would use the loader component to position it, I would also be sure either export the cb on the first frame or change the settings to export componts on the second frame, yeah that sounds confusing but there are issues with v2 components and how they are brought into movies, especially with preloading. ~Dave the disruptor~ From: Ewok Sent: Saturday, May 07, 2005 4:06 PM To: CF-Talk Subject: OT: Good flash list CF-Flash seems pretty dead. Does anyone know of a good flash list with even half the activity as cf-talk? If you are a flash guru, please, by all means, go read my post on CF-Flash :-) -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 5/6/2005 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205979 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Good flash list
I tried that once already, but like I said... I'm not the best with flash. I'll try that again while I still have a little hair left. -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 7:34 PM To: CF-Talk Subject: RE: OT: Good flash list try it a different way, choose the scene you want then go into the behavior panel, click on the + go down to movieclip and choose load from exterenal movie clip If you actually make a blank movieclip where u want it and too size then do the above you get more options as well. ~Dave the disruptor~ From: Ewok [EMAIL PROTECTED] Sent: Saturday, May 07, 2005 7:22 PM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: OT: Good flash list I published it and uploaded it to a development server. So it's on the web. As I said, I used the full URL to movie 2 and it popped up in the stage so I know it knows where it's at. I do get a sandbox violation warning when I set the content path to the url since it is trying to access a web file form a local file (or vise versa) maybe that's it? But if I just use a relative path (just the name of the swf since they are in the same directories on the server) it doesn't show up in the stage OR in the final published movie... sigh The loader component is definitely on TOP of all other frames and levels. The loader is also a big, white box with a thin black boarder around it. Believe me, I wish I could send it to you! But 'They' would probably not like that very much and 'They' are on this list :) Hi They -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 7:08 PM To: CF-Talk Subject: RE: OT: Good flash list mr disruptor hehe thats even better! First thing to check would be what layer the loader is on, is it on top of the other items? When you published it was it on web or your local machine? firewall blockage maybe? There shouldnt be any border around the loader at all. If you wanna send it to me I will take a look, i am no expert either though but might be able to see the problem. ~Dave the disruptor~ From: Ewok Sent: Saturday, May 07, 2005 7:01 PM To: CF-Talk Subject: RE: OT: Good flash list Hi mr disruptor :p Thanks for the response. I am by no means a flash expert so forgive my ignorance on the subject. More weirdness... I love it! I managed to find the 'Loader' component and got it into the stage on movie 1. I set its content path to the full url of movie 2 and like magic it showed right up in the stage! I published it and... Nothing shows up in the loader window... sigh Also, if I do ever get it to show up, is it possible to hide the thin border around the loader? -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 4:20 PM To: CF-Talk Subject: re: OT: Good flash list I would use the loader component to position it, I would also be sure either export the cb on the first frame or change the settings to export componts on the second frame, yeah that sounds confusing but there are issues with v2 components and how they are brought into movies, especially with preloading. ~Dave the disruptor~ From: Ewok Sent: Saturday, May 07, 2005 4:06 PM To: CF-Talk Subject: OT: Good flash list CF-Flash seems pretty dead. Does anyone know of a good flash list with even half the activity as cf-talk? If you are a flash guru, please, by all means, go read my post on CF-Flash :-) -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 5/6/2005 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205980 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Good flash list
there could be a few things it could be but unfortunately without seeing it, its too hard to tell :( ~Dave the disruptor~ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205981 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Good flash list
Jeez... how simple was that to fix... Added a new MC symbol, drug it out to the position that I wanted the top left corner of movie 2 to be... then just added... instanceName.loadMovie(movie2.swf); to the actions and voila... I dont know what's worse... that it was something so simple and I spent so much time on it... Or the fact that it was one of the very first things I tried and didnt get to work :/ Well thanks for the help. I appreciate it very much. And be careful... I hear that there is a case of the cooties floating around here in one of these threads. ;) -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 7:45 PM To: CF-Talk Subject: RE: OT: Good flash list there could be a few things it could be but unfortunately without seeing it, its too hard to tell :( ~Dave the disruptor~ ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205982 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: High Load Server... how much more can it take?
Yes, this can't be stressed enough - if you don't use a read-only lock where you read the data that is elsewhere exclusively locked, then your app will happily read data while it is being written to, giving you erroneous results if it happens to occur at the right time. Read-only locks only do anything while an exclusive lock is in effect so they don't affect performance unnecessarily. -Original Message- From: Adam Churvis [mailto:[EMAIL PROTECTED] Sent: Sunday, 8 May 2005 2:37 To: CF-Talk Subject: Re: High Load Server... how much more can it take? [snip] There has been a lot of talk about locking writes but not reads, but if you do this then your reads are no longer synchronized with your writes, even in the Session scope. If a resource can be involved in a race condition, lock both its writes and its reads. There is no compelling reason to not lock reads. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205983 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: High Load Server... how much more can it take?
Yes, this can't be stressed enough - if you don't use a read-only lock where you read the data that is elsewhere exclusively locked, then your app will happily read data while it is being written to, giving you erroneous results if it happens to occur at the right time. Amen, brother. Read-only locks only do anything while an exclusive lock is in effect so they don't affect performance unnecessarily. Actually, read only locks also deny the acquisition of exclusive locks until all read only locks are released. Respectfully, Adam Phillip Churvis Member of Team Macromedia http://www.ProductivityEnhancement.com Download Plum and other cool development tools, and get advanced intensive Master-level training: * C# ASP.NET for ColdFusion Developers * ColdFusion MX Master Class * Advanced Development with CFMX and SQL Server 2000 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205984 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CF/ASP Mix Anyone
I have a CF app that also calls an ASP app. I pass to the .asp file a URL variable. I understand it pulls the global.asa file first...so I ask it in one of the application start sections to call that variable...but am a wee bit stuck. If anyone here has any experience in that, any pointers would be fantastic. Thanks! Eric ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205985 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: Good flash list
funny how we tend to over look the obvious... ~Dave the disruptor~ From: Ewok [EMAIL PROTECTED] Sent: Saturday, May 07, 2005 9:00 PM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: OT: Good flash list Jeez... how simple was that to fix... Added a new MC symbol, drug it out to the position that I wanted the top left corner of movie 2 to be... then just added... instanceName.loadMovie(movie2.swf); to the actions and voila... I don't know what's worse... that it was something so simple and I spent so much time on it... Or the fact that it was one of the very first things I tried and didn't get to work :/ Well thanks for the help. I appreciate it very much. And be careful... I hear that there is a case of the cooties floating around here in one of these threads. ;) -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 7:45 PM To: CF-Talk Subject: RE: OT: Good flash list there could be a few things it could be but unfortunately without seeing it, its too hard to tell :( ~Dave the disruptor~ ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205986 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
cartweaver image upload ?
When I upload images in the admin of cartweaver it says that it was successful and I see the paths are correct and entered in db but the images aren't in the folders, the permisson on the folders is ok, anyone thoughts?? ~Dave the disruptor~ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205987 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: High Load Server... how much more can it take?
Thanks for the responses. Lots of good food for thought. The reason that I initially went with database-bound client vars was due to an early CFMX bug whereby cookies weren't getting set correctly in all browsers. I believe it was fixed in CFMX 6.1, but since everything was smoothly running on the setup at the time didn't bother changing it then. I made the change back to client cookies today, and it appears to be working largely as intended. However, cookies still seem to behave erratically. For example, I find a client var set (setdomaincookies=yes) from a page at domain.com/login.cfm is usually also found on a page at www.domain.com/login.cfm in IE, but not in Firefox. Firefox isn't acknowledging www.domain.com and domain.com as equivalent for purposes of client cookies. To make things even more confusing, if I delete a client variable in www.domain.com/test.cfm then re-create it in www.domain.com/test2.cfm, sometimes IE doesn't even acknowledge that it has been set. IE seems to get confused and will refuse to set the cookie correctly until it's either rebooted or you use clear all cookies in the browser. I honestly am not sure what the deal is, but I'm finding it very frustrating trying to get multiple browsers to react consistently to cookie client variables. Right now it seems to me that client variables (type=cookie), when set, do one of three things in the same browser, depending on how the browser is feeling at the time: - cli var gets set correctly, and is acknowledged under *.domain.com - cli var gets set correctly, but is only acknowledged under current.domain.com - doesn't get set at all. browser entirely ignores it. It tends to exhibit this behavior if the client variable was just recently deleted and then re-established (such as a login after a logout). These behaviors disappear the INSTANT I turn client storage from cookie to database. If anyone has any insight into what the problem may be, please let me know. As I'm on update 6.1, I didn't think I needed the setdomaincookies hot fix, which is listed on the MM site as an MX 6.0 fix. Whose fault is this erratic behavior... CF's, IE's, or mine? Thanks Terry ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205988 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: High Load Server... how much more can it take?
That's right - when the exclusive lock tries to go into effect the read only lock does something :P Poor wording on my part. -Original Message- From: Adam Churvis [mailto:[EMAIL PROTECTED] Sent: Sunday, 8 May 2005 9:52 To: CF-Talk Subject: Re: High Load Server... how much more can it take? [snip] Read-only locks only do anything while an exclusive lock is in effect so they don't affect performance unnecessarily. Actually, read only locks also deny the acquisition of exclusive locks until all read only locks are released. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205989 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
WayOT - Contibute 1 installer
Sorry for the way off topic. Does anyone have the installer for Contribute 1? We are moving machines and we have the Licence key but the installer executable has gone missing - email me off list if you can get it to me somehow. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205990 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Database Driven Nav
Stan, If you don't mind please send me a copy as well. The developer has taken the tag page down and its no longer available. Cheers, -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205991 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: What make a developer a mid-level developer?
Well my benchmark on level of coder is somewhat subjective. However I think the basic questions to ask as to where they fall are put in there, such as (in approximately this order I'd rank): 1) The quality of code? 2) How much can they do outside of coding? Such as design, etc... 3) Level of supervision required 4) Training Jeffry Houser wrote: It really depends on the quality of experience, more so than quantity. And of course, how well you can sell yourself to your potential employers or clients. Based on Gregory's definitions I've known many gurus who barely classify as beginner's. And some beginners who could hold their own w/ mid-level developers. Although not programming-specific, I remember when the consulting form I worked for hired two graphic designers. (many, many years ago when I had a 'real' job). One was a beginner, both in skill and knowledge. The other was mid-level. 3 months later, I'd have classified the beginner as advanced. He learned quick and absorbed a lot of information from everyone around him. The mid-level designer hadn't changed her skills one bit. The quality of the beginner's experience was better than the quantity of the mid-level. At 11:11 PM 5/6/2005, you wrote: Hi, What makes a developer an entry-level developer, a mid-level developer, a junior developer or a senior developer? Does it depend on years of experience? Like 0-3 years - entry level, 3-6 years - mid level and 6-9 years - senior level? Or like if you know cfc well, you are a mid-level developer. If you can integrate well with word and excel, you are a senior developer. Or if you are a Certified ColdFusion MX Developer, you are a mid-level developer. If you are a Certified Advanced ColdFusion MX Developer, you are a senior developer. Well, the point is how can one determine what level of expertise he/she at? Or is it just one of those things that you just know? Johnny -- Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Company: http://www.dot-com-it.com My Books: http://www.instantcoldfusion.com My Recording Studio: http://www.fcfstudios.com Connecticut Macromedia User Group: http://www.ctmug.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:11:2517 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/11 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:11 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11 Donations Support: http://www.houseoffusion.com/tiny.cfm/54