RE: Registry growing
If you aren't actually using client variables, I suggest changing your default to cookie (unless of course you are using a lot of cookie values directly). Additionally, if you do go with the database storage solution, I would be aware that if you have a single database for all of your apps for client storage you are creating a potential shared single point of failure for all of your apps. - Calvin -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 11:10 PM To: CF-Talk Subject: Re: Registry growing If you have a lot of just-looking visitors, then thats normal. The client I had a problem with was getting much of his traffic from bots, who seemed to generate a new cfid and cftoken on every page visit. Maybe you have a similar situation. I wouldn't bother moving the data into a db. I'd just set cvars to expire (in the cf administrator. I think its in the Variables section) after some short period (2 days?) and zap 'em that way, unless you are using client variables and want to preserve the values. Then set up a db repository and just point CF to it. CF will take care of the old vars still in the registry all by itself. And if you don't use cvars, don't set CF to keep them for the default of 90 days or your database will balloon in size just as the registry did. Chances are you can leave the above 2-day setting in place forever. -- --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:207952 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: Regarding Java and .NET's incestuous ties, and Windows' future
Hi Damien, I read more of Bryan's comments, as you suggested, and I think he's a loon and doesn't know what he's talking about. The original licensing and 2003 re-licensing of Java by Microsoft was done to allow MS to continue to distribute their version of Java (which they're no longer allowed to call Java) with Windows. Sun actually wanted Microsoft to do this, so that you can continue to run Java applets in IE out of the box without downloading and installing a JRE. There is no way MS used any of the Java source code to create .NET, as Bryan states. Regards, Vince -Original Message- From: Damien McKenna [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 4:58 PM To: CF-Talk Subject: RE: Regarding Java and .NET's incestuous ties, and Windows' future To finish the thread (to CF-OT we go?) please read some more of Bryan's comments at http://lists.matrixlist.com/pipermail/pc_support/2005-May/date.html before completely dismissing the .NET-Java tie. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| 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:207953 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
Figured out the billingshipping population - here it is
K guys, thanks for your help. This is my working JS code for auto-populating the ship to inputs. If you see anything that can be improved let me know. Thanks, Will InvalidTag type=text/javascript language=javascript // function to copy billing address to shipping address function CopyAddress(checkbox) { if(checkbox.checked == false) { return; } document.form1.s_fname.value = document.form1.fname.value; document.form1.s_lname.value = document.form1.lname.value; document.form1.s_address1.value = document.form1.address1.value; document.form1.s_address2.value = document.form1.address2.value; document.form1.s_city.value = document.form1.city.value; document.form1.s_state.value = document.form1.state.value; document.form1.s_zipcode.value = document.form1.zip.value; document.form1.s_country.value = document.form1.country.value; document.form1.s_phone.value = document.form1.phone.value; document.form1.s_email.value = document.form1.email.value; } /script ~| 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:207954 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: Regarding Java and .NET's incestuous ties, and Windows' futur e
I read more of Bryan's comments, as you suggested, and I think he's a loon and doesn't know what he's talking about. I don't know. Instead of a loon, he strikes me as a classic example of a troll. Nowadays, we categorize all sorts of wacky online arguments as trolling, but the original meaning was quite a bit more narrow, covering only carefully-crafted arguments that appeared to be sensible at first glance but were actually nonsensical (ex: BSD is dying). But yeah, either loon or troll. It's one thing to say that the core ideas of ..NET are based on those of Java, and quite another to say that the source code of .NET is derived directly from Java. Companies copy their competitors in this way all the time, and they don't need to licence each other's source code to do it. If there's one thing at which Microsoft excels, it's this. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| 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:207955 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: Digest Authentication
Mitch Rose wrote: Is this possible with CF, and if so, can someone post some sample code or point me in the right direction? Yes it is possible. If you download the Basic Athentication tag from http://www.vandieten.net/jochem/coldfusion/customtags/login/ you just have to change the authentication algorith as per RFC 2617. 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:207956 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: Figured out the billingshipping population - here it is
A couple of things I'd change. You have 20 references to the same form and your formatting isn't the best. 1. Make a shortened reference to the form, f. This will reduce the amount of text/typing and a form name change can be done in one place. 2. Don't indent the large block beneath the one line if statement. It makes it look like it's part of the if block. 3. Also, space some of your code out, opps, that's three things... 4. Ahhh christ, now it's four... I'm not sure about this but be careful with variable names like checkbox, I'm sure that one's ok but you might get in trouble with others. function CopyAddress(checkbox) { var f = document.form1; if ( checkbox.checked == false ) { return; } f.s_fname.value = f.fname.value; f.s_lname.value = f.lname.value; f.s_address1.value = f.address1.value; f.s_address2.value = f.address2.value; f.s_city.value = f.city.value; f.s_state.value = f.state.value; f.s_zipcode.value = f.zip.value; f.s_country.value = f.country.value; f.s_phone.value = f.phone.value; f.s_email.value = f.email.value; } Ade -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: 28 May 2005 18:16 To: CF-Talk Subject: Figured out the billingshipping population - here it is K guys, thanks for your help. This is my working JS code for auto-populating the ship to inputs. If you see anything that can be improved let me know. Thanks, Will InvalidTag type=text/javascript language=javascript // function to copy billing address to shipping address function CopyAddress(checkbox) { if(checkbox.checked == false) { return; } document.form1.s_fname.value = document.form1.fname.value; document.form1.s_lname.value = document.form1.lname.value; document.form1.s_address1.value = document.form1.address1.value; document.form1.s_address2.value = document.form1.address2.value; document.form1.s_city.value = document.form1.city.value; document.form1.s_state.value = document.form1.state.value; document.form1.s_zipcode.value = document.form1.zip.value; document.form1.s_country.value = document.form1.country.value; document.form1.s_phone.value = document.form1.phone.value; document.form1.s_email.value = document.form1.email.value; } /script ~| 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:207957 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: Figured out the billingshipping population - here it is
Excellent Ade! Works like a champ... Thanks much again, Will ~| 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:207958 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: Regarding Java and .NET's incestuous ties, and Windows' futur e
Well said. It's quite obvious that he's been around the industry for awhile as well and though that counts for something, it seems highly unlikely that his speculations should be taken as fact. On a side note, Custom BSD firewalls can easily compete with highend 'out of the box' solutions and are used by many of the corporations I've dealt with. Companies copy their competitors in this way all the time, and they don't need to licence each other's source code to do it. If there's one thing at which Microsoft excels, it's this. Most of the apps that are built these days (web-based or otherwise) are inspired by, if not directly taken from different sources/companies/individuals. Most of what developers do is recycle ideas. If you think you're the first person to do something, more likely than not google can quickly obliterate that idea... =] Sadly, if many of these companies would quit trying to out-feature the competition and work toward more standardized ideas, nothing but the best would come of it. I can't imagine how impressive it would be to see the top guys from Java, PHP, Python, Coldfusion .NET sit down and incorporate the best of all worlds. Of course, I have a better chance of winning the lottery... Sincerely, Kevin www.keslabs.com - Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Saturday, May 28, 2005 11:04 AM Subject: RE: Regarding Java and .NET's incestuous ties, and Windows' futur e I read more of Bryan's comments, as you suggested, and I think he's a loon and doesn't know what he's talking about. I don't know. Instead of a loon, he strikes me as a classic example of a troll. Nowadays, we categorize all sorts of wacky online arguments as trolling, but the original meaning was quite a bit more narrow, covering only carefully-crafted arguments that appeared to be sensible at first glance but were actually nonsensical (ex: BSD is dying). But yeah, either loon or troll. It's one thing to say that the core ideas of ..NET are based on those of Java, and quite another to say that the source code of .NET is derived directly from Java. Companies copy their competitors in this way all the time, and they don't need to licence each other's source code to do it. If there's one thing at which Microsoft excels, it's this. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| 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:207959 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
Counting user sessions with App.cfc?
What's the best way to count current users online, using the new Application.cfc methods? Thanks, Will ~| 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:207960 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: Counting user sessions with App.cfc?
On 5/28/05, Will Tomlinson [EMAIL PROTECTED] wrote: What's the best way to count current users online, using the new Application.cfc methods? Initialize a counter in onApplicationStart(), increment it in onSessionStart(), decrement it in onSessionEnd(). Remember that you reference application scope via the second argument passed to onSessionEnd(). -- Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| 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:207961 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: Counting user sessions with App.cfc?
Initialize a counter in onApplicationStart(), increment it in onSessionStart(), decrement it in onSessionEnd(). Remember that you reference application scope via the second argument passed to onSessionEnd(). And I thought this long island screwed up my brain t'night! Sheeesh! I'm gonna work on it. Presh! Will ~| 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:207962 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
Digest Authentication
This tag supports it: http://www.cftagstore.com/tags/cfxhttp5.cfm ~| 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:207963 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: cfexecute and wget
Try this instead: http://www.cftagstore.com/tags/cfxhttp5.cfm Roger I was using cfexecute because I wanted the process to launch and then release. So the page calling it could still continue processing. Kind of a poor mans version of creating another thread to process in the background. ~| 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:207964 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: Counting user sessions with App.cfc?
On 5/28/05, Will Tomlinson [EMAIL PROTECTED] wrote: Initialize a counter in onApplicationStart(), cfcomponent cffunction name=onApplicationStart cfset application.numberOfSessions = 0 / /cffunction increment it in onSessionStart(), cffunction name=onSessionStart cflock name=#this.name#_numberOfSessions type=exclusive timeout=10 cfset application.numberOfSessions = application.numberOfSessions + 1 / /cflock /cffunction decrement it in onSessionEnd(). Remember that you reference application scope via the second argument passed to onSessionEnd(). cffunction name=onSessionEnd cfargument name=sessionScope / cfargument name=applicationScope / cflock name=#this.name#_numberOfSessions type=exclusive timeout=10 cfset arguments.applicationScope.numberOfSessions = arguments.applicationScope.numberOfSessions - 1 / /cflock /cffunction /cfcomponent (off the top of my head - EOE - check the docs etc) -- Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| 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:207965 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