RE: cftransaction... it wasnt safe?
umm, can you try again From: Micha Schopman [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 2:45 AM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: cftransaction... it wasnt safe? No, ... ofcourse not. Or didn't you notice those 100 mails in the support mailbox where customers complain about their spaces being removed when they enter data. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197781 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: Memory Leak in Browsers?
yes now i can see where you'd want to use dhtml over flash (kidding). How come this info was bypassed or left out during that argument? From: Micha Schopman [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 2:45 AM To: CF-Talk cf-talk@houseoffusion.com Subject: OT: Memory Leak in Browsers? Scott, I think there are not many people on this list working extensively with JavaScript in such areas :) I do a lot so you're lucky ;) IE uses a garbage collector, commonly known as mark n sweep. One aspect of these types of garbage collectors is that they don't collect data which has any type of unknown reference to it. Unknown reference? Yes, references between JavaScript objects and DOM objects are unknown to the browser, resulting in circular reference chains. These are the types of references resulting in allocated memory being kept. For performance reasons the DOM nodes are only freed up when closing the browser. Don't be fooled by other browsers, Mozilla/FireFox browsers also leak, in the case of Google Gmaps as twice as bad as IE. To overcome this you have to do memory management yourself. Implementing dispose methods, cleaning up all references by hand, attaching onunload handlers, etc. etc. this requires at least intermediate knowledge of JavaScript. When using ActiveX (MSXML) / XMLHttpRequest you will always suffer from a small memory leak, but that isn't really an issue because the leaks are so small they don't cause any trouble at all. 50MB for an IEXPLORE process is nothing, and if they truly like to invest time and money in such a topic I would definitely define an agreement with them stating that the chances on memory footprint improvement are actually very low and you cannot held responsible for loss of investment. If you'd like more information, contact me of the list, I am using MSN with [EMAIL PROTECTED] This for example leaks 400kb per refresh here, and shows circular reference chains. function Car() { var div = document.createElement('div'); div.appendChild(document.createTextNode('test')); this.el = document.body.appendChild(div); this.el.onmouseover = function() { this.style.backgroundColor = '#f0f0f0'; } this.el.onmouseout = function() { this.style.backgroundColor = 'white'; } } window.onload = function() { for(var i=0; i200; i++) { new Car(); } } Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: Scott Barnes [mailto:[EMAIL PROTECTED] Sent: dinsdag 8 maart 2005 7:45 To: CF-Talk Subject: OT: Memory Leak in Browsers? Basically, most would know about the Internet Explorer Memory leak in terms of Garbage Collection not being able to read our Development minds. My question is, has anyone here actually experienced bad memory leaks? in that have you build an application using massive amounts of DHTML - only 3 months down the track you've had to come back and rebuild stuff simply because it became a memory hog? I ask this as despite the know bug in IE (argueably it could be considered developer bad foreplay but anyway) even if an application after an hours use steals 50mb of RAM (now that would have to be a pretty darn big app mind you) surely that wouldn't affect todays computers? as in most would probably fair to say have around 512mb of Ram at minimum? Also taking into account most Tools can ask upward to 90mb to run anyway (ie java based ones that is). -- Regards, Scott Barnes http://www.mossyblog.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:197780 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: Memory Leak in Browsers?
Dave, Both have their strengths and weaknesses. I think after 9 years of work in this industry I am able to advice people when to use Flash and when not to use Flash. That discussion is of the type forever ongoing but those who actually know the techniques instead of bloating about it use the right tool for the right job. This info, as you like to refer to, was never part of the subject of Scott's question, so I haven't referred to it while there was no need to. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197782 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: cftransaction... it wasnt safe?
You stated you ALWAYS need to use Trim functionality. That is just not true. In essence, I think a developer should keep his claws from the entered content unless absolutely necessary. There are situations where you for example submit a textarea value. If the entered data contained spaces being affected by trim, but were entered on purpose. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197783 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: cftransaction... it wasnt safe?
Another example; spaces can be legitimate at either end of a password. -Original Message- From: Micha Schopman [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 March 2005 4:17 To: CF-Talk Subject: RE: cftransaction... it wasnt safe? You stated you ALWAYS need to use Trim functionality. That is just not true. In essence, I think a developer should keep his claws from the entered content unless absolutely necessary. There are situations where you for example submit a textarea value. If the entered data contained spaces being affected by trim, but were entered on purpose. ~| 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:197784 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: cftransaction... it wasnt safe?
lol sorry micha, we were talking bout a different kinda trim lol From: Micha Schopman [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 3:18 AM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: cftransaction... it wasnt safe? You stated you ALWAYS need to use Trim functionality. That is just not true. In essence, I think a developer should keep his claws from the entered content unless absolutely necessary. There are situations where you for example submit a textarea value. If the entered data contained spaces being affected by trim, but were entered on purpose. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197785 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: Memory Leak in Browsers?
Was talking about a discussion we had on here several weaks back and this info about massive leakage using dhtml was never brought into the discussion, which is kinda the point right? I mean to make a educated decision you need to know the all the facts, correct? Not going against what you are saying but by holding back valuable info like that is kinda, umm, misleading. From: Micha Schopman [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 3:19 AM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: OT: Memory Leak in Browsers? Dave, Both have their strengths and weaknesses. I think after 9 years of work in this industry I am able to advice people when to use Flash and when not to use Flash. That discussion is of the type forever ongoing but those who actually know the techniques instead of bloating about it use the right tool for the right job. This info, as you like to refer to, was never part of the subject of Scott's question, so I haven't referred to it while there was no need to. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197786 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: cftransaction... it wasnt safe?
Personally I have yet too see a system that lets you add spaces in a password. Of all places I would think username and password fields should be one of the first things trimmed. From: James Holmes [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 3:24 AM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: cftransaction... it wasnt safe? Another example; spaces can be legitimate at either end of a password. -Original Message- From: Micha Schopman [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 March 2005 4:17 To: CF-Talk Subject: RE: cftransaction... it wasnt safe? You stated you ALWAYS need to use Trim functionality. That is just not true. In essence, I think a developer should keep his claws from the entered content unless absolutely necessary. There are situations where you for example submit a textarea value. If the entered data contained spaces being affected by trim, but were entered on purpose. ~| 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:197787 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: cftransaction... it wasnt safe?
Username, yes (in fact I reject anything that doesn't match alphanumeric or the underscore) but if you trim a password (or make any other sort of edit) and they used a space (or any other edited character) they'll never be able to log in. You'd have to reject the password instead and get them to try again. In general, every character you allow in a password enhances security by adding to potential complexity of the password. -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 March 2005 4:28 To: CF-Talk Subject: RE: cftransaction... it wasnt safe? Personally I have yet too see a system that lets you add spaces in a password. Of all places I would think username and password fields should be one of the first things trimmed. From: James Holmes [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 3:24 AM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: cftransaction... it wasnt safe? Another example; spaces can be legitimate at either end of a password. -Original Message- From: Micha Schopman [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 March 2005 4:17 To: CF-Talk Subject: RE: cftransaction... it wasnt safe? You stated you ALWAYS need to use Trim functionality. That is just not true. In essence, I think a developer should keep his claws from the entered content unless absolutely necessary. There are situations where you for example submit a textarea value. If the entered data contained spaces being affected by trim, but were entered on purpose. ~| 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:197788 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: cftransaction... it wasnt safe?
maybe i just have a mental image in my head with a password field saying no empty spaces. From: James Holmes [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 3:38 AM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: cftransaction... it wasnt safe? Username, yes (in fact I reject anything that doesn't match alphanumeric or the underscore) but if you trim a password (or make any other sort of edit) and they used a space (or any other edited character) they'll never be able to log in. You'd have to reject the password instead and get them to try again. In general, every character you allow in a password enhances security by adding to potential complexity of the password. -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 March 2005 4:28 To: CF-Talk Subject: RE: cftransaction... it wasnt safe? Personally I have yet too see a system that lets you add spaces in a password. Of all places I would think username and password fields should be one of the first things trimmed. From: James Holmes Sent: Tuesday, March 08, 2005 3:24 AM To: CF-Talk Subject: RE: cftransaction... it wasnt safe? Another example; spaces can be legitimate at either end of a password. -Original Message- From: Micha Schopman [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 March 2005 4:17 To: CF-Talk Subject: RE: cftransaction... it wasnt safe? You stated you ALWAYS need to use Trim functionality. That is just not true. In essence, I think a developer should keep his claws from the entered content unless absolutely necessary. There are situations where you for example submit a textarea value. If the entered data contained spaces being affected by trim, but were entered on purpose. ~| 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:197789 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: Memory Leak in Browsers?
Dave, There is no massive leak if you clean up before you leave the room. Like any other language, if you don't close connections, clean up what you have used and start programming without keeping memory in mind you might end up with problems. And you know what? Flash MX also is sensitive for circular references. Use a scope chain and memory is never released (Timothée Groleau wrote about it) until you write code to clean those references. Does this make Flash MX instantly unsuitable. Ofcourse not, just by the fact the amount of memory loss isn't really a big deal. Like that 50kb loss per total refresh is going to affect you're application instantly. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197790 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: Memory Leak in Browsers?
I believe that it was brought up by dick that flash has some leak and possibly some big overhead (at least on a mac) but it wasn't brought up about dhtml is all i am saying. I think you shoulda just said so when it was disclosed that flash had it and you know dhtml has it but you don't say anything really doesn't help anyone out. Say you are looking at either of 2 cars to buy and one guy says yeah the air don't work so good on real hot days and you mention that to the seller of the other car but he doesn't say anything even though he knows his car does the same thing. So you invest in the 2nd car only to find out that its probably is worse then the first car, how do you feel? Would you feel taken? It's ok to mention the negative things as well as the positive ones. Maybe the leak isn't too big but for someone to get into it and get it done to find out later that it leaks and then they gotta go learn some more is really a PITA. Since I have holdings in a real estate company and previously was a top producer I know this situation very well, in real estate it's called disclosure. The difference between real estate and web work is that if you don't disclose something like that in real estate you get your ass sued off. In web work you just get a sorry. You are pretty good at pointing out all the negative things so i am kinda shocked you withheld that. From: Micha Schopman [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 4:15 AM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: OT: Memory Leak in Browsers? Dave, There is no massive leak if you clean up before you leave the room. Like any other language, if you don't close connections, clean up what you have used and start programming without keeping memory in mind you might end up with problems. And you know what? Flash MX also is sensitive for circular references. Use a scope chain and memory is never released (Timothe Groleau wrote about it) until you write code to clean those references. Does this make Flash MX instantly unsuitable. Ofcourse not, just by the fact the amount of memory loss isn't really a big deal. Like that 50kb loss per total refresh is going to affect you're application instantly. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197791 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: Memory Leak in Browsers?
Hmm, you make it sound so sinister... you also forgot the key point i made on MossyBlog and that was : ...I've missed about 1000 extra points i could easily extend further into but i'd be here all night and this post would be probably turn into a book... DHTML and Flash each have their own set of problems, and thats really outside the scope of this thread - but let me just say this, i am still waiting for other technology to emerge as quite frankly, the both NEED work badly. Flash 8 May address a few issues, but i have serious doubts as usually features are pre-locked in before BETA commences (Which from what i've read is where they are at now) so *shrug* think they have bigger fish to fry.. Anywho.. thanks Micha On Tue, 8 Mar 2005 03:26:02 -0500, dave [EMAIL PROTECTED] wrote: Was talking about a discussion we had on here several weaks back and this info about massive leakage using dhtml was never brought into the discussion, which is kinda the point right? I mean to make a educated decision you need to know the all the facts, correct? Not going against what you are saying but by holding back valuable info like that is kinda, umm, misleading. From: Micha Schopman [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 3:19 AM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: OT: Memory Leak in Browsers? Dave, Both have their strengths and weaknesses. I think after 9 years of work in this industry I am able to advice people when to use Flash and when not to use Flash. That discussion is of the type forever ongoing but those who actually know the techniques instead of bloating about it use the right tool for the right job. This info, as you like to refer to, was never part of the subject of Scott's question, so I haven't referred to it while there was no need to. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197792 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: Memory Leak in Browsers?
sorry I totally went off topic from your post. I was just perturbed that he knew that but failed to mention it in the previous discussion where it was relevant. From: Scott Barnes [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 4:32 AM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: OT: Memory Leak in Browsers? Hmm, you make it sound so sinister... you also forgot the key point i made on MossyBlog and that was : ...I've missed about 1000 extra points i could easily extend further into but i'd be here all night and this post would be probably turn into a book... DHTML and Flash each have their own set of problems, and thats really outside the scope of this thread - but let me just say this, i am still waiting for other technology to emerge as quite frankly, the both NEED work badly. Flash 8 May address a few issues, but i have serious doubts as usually features are pre-locked in before BETA commences (Which from what i've read is where they are at now) so *shrug* think they have bigger fish to fry.. Anywho.. thanks Micha On Tue, 8 Mar 2005 03:26:02 -0500, dave wrote: Was talking about a discussion we had on here several weaks back and this info about massive leakage using dhtml was never brought into the discussion, which is kinda the point right? I mean to make a educated decision you need to know the all the facts, correct? Not going against what you are saying but by holding back valuable info like that is kinda, umm, misleading. From: Micha Schopman Sent: Tuesday, March 08, 2005 3:19 AM To: CF-Talk Subject: RE: OT: Memory Leak in Browsers? Dave, Both have their strengths and weaknesses. I think after 9 years of work in this industry I am able to advice people when to use Flash and when not to use Flash. That discussion is of the type forever ongoing but those who actually know the techniques instead of bloating about it use the right tool for the right job. This info, as you like to refer to, was never part of the subject of Scott's question, so I haven't referred to it while there was no need to. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197793 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: Memory Leak in Browsers?
Micha, I'm at a crossroads, in that I typically defensive code when in DHTML (or any language which has auto-garbage collection enabled) - yet i'm concerned its an un-needed amount of work... ie reminds me of writing 115 lines of code to print hello world - sure its Zen powerd to the 10th degree - yet seems like i over did the task. I guess what i was asking is that what kind of application or if any out there that are being used suffer from this leak issue? and is it really an issue or like you stated with flash, happens but really not many notice only us perfectionists ;) On Tue, 8 Mar 2005 10:14:30 +0100, Micha Schopman [EMAIL PROTECTED] wrote: Dave, There is no massive leak if you clean up before you leave the room. Like any other language, if you don't close connections, clean up what you have used and start programming without keeping memory in mind you might end up with problems. And you know what? Flash MX also is sensitive for circular references. Use a scope chain and memory is never released (Timothée Groleau wrote about it) until you write code to clean those references. Does this make Flash MX instantly unsuitable. Ofcourse not, just by the fact the amount of memory loss isn't really a big deal. Like that 50kb loss per total refresh is going to affect you're application instantly. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197794 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: Memory Leak in Browsers?
Thread hijacker! hehehe :) No harm no foul from my end, healthy jabs here and there keep us all honest imho ;) On Tue, 8 Mar 2005 04:37:51 -0500, dave [EMAIL PROTECTED] wrote: sorry I totally went off topic from your post. I was just perturbed that he knew that but failed to mention it in the previous discussion where it was relevant. From: Scott Barnes [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 4:32 AM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: OT: Memory Leak in Browsers? Hmm, you make it sound so sinister... you also forgot the key point i made on MossyBlog and that was : ...I've missed about 1000 extra points i could easily extend further into but i'd be here all night and this post would be probably turn into a book... DHTML and Flash each have their own set of problems, and thats really outside the scope of this thread - but let me just say this, i am still waiting for other technology to emerge as quite frankly, the both NEED work badly. Flash 8 May address a few issues, but i have serious doubts as usually features are pre-locked in before BETA commences (Which from what i've read is where they are at now) so *shrug* think they have bigger fish to fry.. Anywho.. thanks Micha On Tue, 8 Mar 2005 03:26:02 -0500, dave wrote: Was talking about a discussion we had on here several weaks back and this info about massive leakage using dhtml was never brought into the discussion, which is kinda the point right? I mean to make a educated decision you need to know the all the facts, correct? Not going against what you are saying but by holding back valuable info like that is kinda, umm, misleading. From: Micha Schopman Sent: Tuesday, March 08, 2005 3:19 AM To: CF-Talk Subject: RE: OT: Memory Leak in Browsers? Dave, Both have their strengths and weaknesses. I think after 9 years of work in this industry I am able to advice people when to use Flash and when not to use Flash. That discussion is of the type forever ongoing but those who actually know the techniques instead of bloating about it use the right tool for the right job. This info, as you like to refer to, was never part of the subject of Scott's question, so I haven't referred to it while there was no need to. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197795 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: Memory Leak in Browsers?
I am the king of that! haha Wasn't jabbing at him, just saying it would be nice when we are discussing things that can be important to say it all not just the good things you want others to hear. Basically, kinda like I don't do when I gripe about m$! hehe Ok folks here my thumb up to m$ lots of programs are written for their software. Ok, thats about the only good things I can say about them but I disclosed it!! haha From: Scott Barnes [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 4:53 AM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: OT: Memory Leak in Browsers? Thread hijacker! hehehe :) No harm no foul from my end, healthy jabs here and there keep us all honest imho ;) On Tue, 8 Mar 2005 04:37:51 -0500, dave wrote: sorry I totally went off topic from your post. I was just perturbed that he knew that but failed to mention it in the previous discussion where it was relevant. From: Scott Barnes Sent: Tuesday, March 08, 2005 4:32 AM To: CF-Talk Subject: Re: OT: Memory Leak in Browsers? Hmm, you make it sound so sinister... you also forgot the key point i made on MossyBlog and that was : ...I've missed about 1000 extra points i could easily extend further into but i'd be here all night and this post would be probably turn into a book... DHTML and Flash each have their own set of problems, and thats really outside the scope of this thread - but let me just say this, i am still waiting for other technology to emerge as quite frankly, the both NEED work badly. Flash 8 May address a few issues, but i have serious doubts as usually features are pre-locked in before BETA commences (Which from what i've read is where they are at now) so *shrug* think they have bigger fish to fry.. Anywho.. thanks Micha On Tue, 8 Mar 2005 03:26:02 -0500, dave wrote: Was talking about a discussion we had on here several weaks back and this info about massive leakage using dhtml was never brought into the discussion, which is kinda the point right? I mean to make a educated decision you need to know the all the facts, correct? Not going against what you are saying but by holding back valuable info like that is kinda, umm, misleading. From: Micha Schopman Sent: Tuesday, March 08, 2005 3:19 AM To: CF-Talk Subject: RE: OT: Memory Leak in Browsers? Dave, Both have their strengths and weaknesses. I think after 9 years of work in this industry I am able to advice people when to use Flash and when not to use Flash. That discussion is of the type forever ongoing but those who actually know the techniques instead of bloating about it use the right tool for the right job. This info, as you like to refer to, was never part of the subject of Scott's question, so I haven't referred to it while there was no need to. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197796 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
lil flash form trick
I have had a few ppl ask me about formating say a phone # field in a flash form like (303)222-2345 and not let any letters in. And I couldn't remember but I had seen someone from MM do it and I just remembered, so for those who care (its pretty damn slick though) and yes Micha I know you can do it in java but thats not the point ;) cfinput name=telephone type=text label=Telephone mask=(999)999- width=100 / give it a go :) ~| 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:197797 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
Session question
Can anyone clarify if when you set a session variable it automatically extends the user's session to whatever the session timeout is ?? I'm having terrible troubles with users having sessions cleared although I've implemented a hidden iFrame that navigates to a page to set session.currentTime with now() - The iFrame then refreshes every 60 seconds. Or is there a proper way to extend a session ? Hlp Regards, Martin. ~| 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:197798 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: Session question
Not sure what you mean? A session is alive until such a point the set period of inactivity has been exceeded. A session will not expire say just after 20mins - it is dictated by inactivity. If you refresh a screen in a session the session is 'reset' automatically. -Original Message- From: Martin Parry [mailto:[EMAIL PROTECTED] Sent: 08 March 2005 10:32 To: CF-Talk Subject: Session question Can anyone clarify if when you set a session variable it automatically extends the user's session to whatever the session timeout is ?? I'm having terrible troubles with users having sessions cleared although I've implemented a hidden iFrame that navigates to a page to set session.currentTime with now() - The iFrame then refreshes every 60 seconds. Or is there a proper way to extend a session ? Hlp Regards, Martin. ~| 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:197799 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: Memory Leak in Browsers?
Dave, Why are you trolling? The thread started with a simple question about memory management, and you change it into a why didn't you mentioned this ... and that.. on that time ... that day .. in that thread.. when there is no relation whatsoever with Scott's question and what has been said weeks, months ago. If you have serious mental problems, contact me off the list. Maybe I can help you resolving them. For now, back ontopic. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197800 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: Session question
Yeah, that's what I figured - I think it's possibly more deep-rooted in the company's internal network infrastructure (it's an intranet btw) with all users appearing as a single IP to CF.. That's not normally a problem for me with websites but for this particular client it's giving me nightmares.. I'm thinking of taking up bricklaying and leaving IT completely ;-) I've modified their web.xml, increased the session time to 480 from 30 to give them an eight hour working day, and set the default and maximum values to 8 hours in CFAdmin - Not good form I'm sure, but I'm damned desperate. Cheers Neil Martin Parry Macromedia Certified Developer http://www.BeetrootStreet.co.uk -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 08 March 2005 10:50 To: CF-Talk Subject: RE: Session question Not sure what you mean? A session is alive until such a point the set period of inactivity has been exceeded. A session will not expire say just after 20mins - it is dictated by inactivity. If you refresh a screen in a session the session is 'reset' automatically. -Original Message- From: Martin Parry [mailto:[EMAIL PROTECTED] Sent: 08 March 2005 10:32 To: CF-Talk Subject: Session question Can anyone clarify if when you set a session variable it automatically extends the user's session to whatever the session timeout is ?? I'm having terrible troubles with users having sessions cleared although I've implemented a hidden iFrame that navigates to a page to set session.currentTime with now() - The iFrame then refreshes every 60 seconds. Or is there a proper way to extend a session ? Hlp Regards, Martin. ~| 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:197801 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: Session question
Even on a single IP the users should still get a separate CFID/CFTOKEN so they should have individual session timeouts. -Original Message- From: Martin Parry [mailto:[EMAIL PROTECTED] Sent: 08 March 2005 10:48 To: CF-Talk Subject: RE: Session question Yeah, that's what I figured - I think it's possibly more deep-rooted in the company's internal network infrastructure (it's an intranet btw) with all users appearing as a single IP to CF.. That's not normally a problem for me with websites but for this particular client it's giving me nightmares.. I'm thinking of taking up bricklaying and leaving IT completely ;-) I've modified their web.xml, increased the session time to 480 from 30 to give them an eight hour working day, and set the default and maximum values to 8 hours in CFAdmin - Not good form I'm sure, but I'm damned desperate. Cheers Neil Martin Parry Macromedia Certified Developer http://www.BeetrootStreet.co.uk -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 08 March 2005 10:50 To: CF-Talk Subject: RE: Session question Not sure what you mean? A session is alive until such a point the set period of inactivity has been exceeded. A session will not expire say just after 20mins - it is dictated by inactivity. If you refresh a screen in a session the session is 'reset' automatically. -Original Message- From: Martin Parry [mailto:[EMAIL PROTECTED] Sent: 08 March 2005 10:32 To: CF-Talk Subject: Session question Can anyone clarify if when you set a session variable it automatically extends the user's session to whatever the session timeout is ?? I'm having terrible troubles with users having sessions cleared although I've implemented a hidden iFrame that navigates to a page to set session.currentTime with now() - The iFrame then refreshes every 60 seconds. Or is there a proper way to extend a session ? Hlp Regards, Martin. ~| 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:197802 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: Memory Leak in Browsers?
gee sorry god of the web coders, was just saying it woulda been nice for you too include that info when ppl were trying to learn from the discussion instead of hiding it cause obviously you knew about it. And sorry I didn't bring it up then but I didn't fully understand you were pulling m$ tactics on the ppl trying to learn from the discussion till you just busted it out. Excuse for me being a bit pissed that you are like that and helped mislead the ppl trying to learn from what was said. ok its 4 am and been up for 22hrs and im being an ass, sorry lol whe From: Micha Schopman [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 5:58 AM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: OT: Memory Leak in Browsers? Dave, Why are you trolling? The thread started with a simple question about memory management, and you change it into a why didn't you mentioned this ... and that.. on that time ... that day .. in that thread.. when there is no relation whatsoever with Scott's question and what has been said weeks, months ago. If you have serious mental problems, contact me off the list. Maybe I can help you resolving them. For now, back ontopic. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197803 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: Memory Leak in Browsers?
Scott, There is not a specific type of application, it is more the use of leveraging DOM in combination with JavaScript. I showed you a small teaser from an upcoming CMS, using a rich interface. That interface is build up with JavaScript. Each menu, treeview, and table consists out of OO JS, which provides sorting, drag n drop, on demand loading, single paged interface, etc, etc. Then we also have a layered presentation model, also entirely based on Javascript, with ui persistency layers, reusable scripting etc. In general this interface is about 85% javascript and only 15% initial XHTML markup code. Even though a full refresh only leaks 50kb, an amount which is very normal regarding references to DOM. Will you notice this in terms of speed of the application, NO. Garbage collection is always a topic, whether you use Java, JavaScript, .NET, Actionscript; The way memory is released, if you have closed database connections, or methods of optimizing memory usage too prevent long and painful GC flushes. Managed languages never guarantee optimal use and release of memory. In theory they should, but in practice that is not reachable because there are too many complex parameters involved. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: Scott Barnes [mailto:[EMAIL PROTECTED] Sent: dinsdag 8 maart 2005 10:47 To: CF-Talk Subject: Re: OT: Memory Leak in Browsers? Micha, I'm at a crossroads, in that I typically defensive code when in DHTML (or any language which has auto-garbage collection enabled) - yet i'm concerned its an un-needed amount of work... ie reminds me of writing 115 lines of code to print hello world - sure its Zen powerd to the 10th degree - yet seems like i over did the task. I guess what i was asking is that what kind of application or if any out there that are being used suffer from this leak issue? and is it really an issue or like you stated with flash, happens but really not many notice only us perfectionists ;) On Tue, 8 Mar 2005 10:14:30 +0100, Micha Schopman [EMAIL PROTECTED] wrote: Dave, There is no massive leak if you clean up before you leave the room. Like any other language, if you don't close connections, clean up what you have used and start programming without keeping memory in mind you might end up with problems. And you know what? Flash MX also is sensitive for circular references. Use a scope chain and memory is never released (Timothée Groleau wrote about it) until you write code to clean those references. Does this make Flash MX instantly unsuitable. Ofcourse not, just by the fact the amount of memory loss isn't really a big deal. Like that 50kb loss per total refresh is going to affect you're application instantly. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197804 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: Memory Leak in Browsers?
heheh fiesty bunch aren't yas :) Micha, i noticed the other day you posted a screenshot of your CMS? Does that have DHTML unload techniques and what not in place or did you just simply leave it at the basics (ie tmpObj = null etc) Is that CMS Open Source btw? On Tue, 8 Mar 2005 11:57:31 +0100, Micha Schopman [EMAIL PROTECTED] wrote: Dave, Why are you trolling? The thread started with a simple question about memory management, and you change it into a why didn't you mentioned this ... and that.. on that time ... that day .. in that thread.. when there is no relation whatsoever with Scott's question and what has been said weeks, months ago. If you have serious mental problems, contact me off the list. Maybe I can help you resolving them. For now, back ontopic. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197805 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: Memory Leak in Browsers?
Well, I don't know whats taken place as i only jump in / out of this list when it suites me (sorry) but, the other day on another CF List (CFAussie) I actually got in trouble for mentioning information that i thought was not obvious to some, thus i assumed resulting in a thread-match-2005. Point i'm making is that sometimes we folk get complacent when on mailing lists and assume others are up to speed on certain topics but sadly in some cases they aren't especially those who passively participate in open forum discussions so that they may learn. That being said, there is no such thing as a dumb question, only dumb teachers/pupils (ie those who mock people for asking dumb questions = dumb and those who don't ask a question on something = dumb).. I mean that also in a non-offensive manner too, just stating its better to ask as in the end you'll be smarter for it. On Tue, 8 Mar 2005 06:09:13 -0500, dave [EMAIL PROTECTED] wrote: gee sorry god of the web coders, was just saying it woulda been nice for you too include that info when ppl were trying to learn from the discussion instead of hiding it cause obviously you knew about it. And sorry I didn't bring it up then but I didn't fully understand you were pulling m$ tactics on the ppl trying to learn from the discussion till you just busted it out. Excuse for me being a bit pissed that you are like that and helped mislead the ppl trying to learn from what was said. ok its 4 am and been up for 22hrs and im being an ass, sorry lol whe From: Micha Schopman [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 5:58 AM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: OT: Memory Leak in Browsers? Dave, Why are you trolling? The thread started with a simple question about memory management, and you change it into a why didn't you mentioned this ... and that.. on that time ... that day .. in that thread.. when there is no relation whatsoever with Scott's question and what has been said weeks, months ago. If you have serious mental problems, contact me off the list. Maybe I can help you resolving them. For now, back ontopic. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197806 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: Memory Leak in Browsers?
Get some sleep seriously, you are acting paranoid. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: dinsdag 8 maart 2005 12:09 To: CF-Talk Subject: RE: OT: Memory Leak in Browsers? gee sorry god of the web coders, was just saying it woulda been nice for you too include that info when ppl were trying to learn from the discussion instead of hiding it cause obviously you knew about it. And sorry I didn't bring it up then but I didn't fully understand you were pulling m$ tactics on the ppl trying to learn from the discussion till you just busted it out. Excuse for me being a bit pissed that you are like that and helped mislead the ppl trying to learn from what was said. ok its 4 am and been up for 22hrs and im being an ass, sorry lol whe From: Micha Schopman [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 5:58 AM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: OT: Memory Leak in Browsers? Dave, Why are you trolling? The thread started with a simple question about memory management, and you change it into a why didn't you mentioned this ... and that.. on that time ... that day .. in that thread.. when there is no relation whatsoever with Scott's question and what has been said weeks, months ago. If you have serious mental problems, contact me off the list. Maybe I can help you resolving them. For now, back ontopic. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197807 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: cftransaction... it wasnt safe?
I think your concept of how cftransaction works is faulty. The way this is set up it is not keeping 2 Select max(acctno) happening prior to inserting a new record. Adam H On Mon, 7 Mar 2005 23:00:02 -0500, Tony Weeg [EMAIL PROTECTED] wrote: hi there... i have this section of code... that is enrobed in a cftransaction block that somehow today, was caught in a race condition... meaning... i have two records with the same acctNo, and there should only be one! my first thought, now that i look over the code... would it be better for me to use the request scope for the setting of the newAcctNo? help... thanks! tony cftransaction cfquery name=getNewAcctNo datasource=webCollect select max(acctNo) as thisAccountNumber from accts /cfquery !--- sets the new acct number, which is simply, highest current one, plus one. --- !--- this is different than the identity id field... so that i can move it to something else someday :) --- cfset newAcctNo = getNewAcctNo.thisAccountNumber + 1 !--- this query adds the new account information. --- cfquery name=addAccount datasource=webCollect insert into accts (acctNo, clientNumber, debtorNumber, dateIncurred, dateAssigned, dateLastPayment, amountLastPayment, attyFee_actual, principal, preJudgementInt, countyId, balance, attyFeeClaimed, csrId) values (#newAcctNo#,#form.clientNumber#,#form.debtorNumber#,'#form.dateIncurred#','#form.dateAssigned#','#form.dateLastPayment#',#form.amountLastPayment#,#request.attyFee_actual#,#form.principal#,#form.preJudgementInt#,#countyId#,#form.principal#, #form.attyFeeClaimed#, #form.csrId#) /cfquery !--- i commit it at this point, so that any future requests will not take my new number, and frankly im done with it... another request would be valid at this point, and they could get at it... --- cftransaction action = commit/ !--- i then use this to get the new identity value --- cfquery name=getNewId datasource=webCollect select @@identity as newAcctId from accts /cfquery !--- and finally get the acct number to validate that it was in fact a good transaction --- cfquery name=getNewAccountNumber datasource=webCollect select acctNo from accts where id = #getNewId.newAcctId# /cfquery /cftransaction -- tony Tony Weeg macromedia certified coldfusion mx developer email: tonyweeg [at] gmail [dot] com blog: http://www.revolutionwebdesign.com/blog/ cool tool: http://www.antiwrap.com He who makes a beast of himself saves himself the pain of being a man... --Hunter S. Thompson. ~| 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:197808 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: Memory Leak in Browsers?
Scott, Yes it has all unload techniques necessary. I must use them also. I once did a test and it showed 3 MB increments on each refresh if I didn't utilize manual memory management. Disposition could be done by attaching handlers or by invoking dispose methods on a specific action. For ex: var self = this; this._onunload = function(){self.dispose()}; if(document.addEventListener) { window.addEventListener(unload,this._onunload,false ); // Moz }else if(window.attachEvent) { window.attachEvent(onunload,this._onunload); // IE } obj.prototype.dispose = function(){} The product will become open source, but is not ready yet. It'll take a couple of months before everything is tested, tuned and documented. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: Scott Barnes [mailto:[EMAIL PROTECTED] Sent: dinsdag 8 maart 2005 12:15 To: CF-Talk Subject: Re: OT: Memory Leak in Browsers? heheh fiesty bunch aren't yas :) Micha, i noticed the other day you posted a screenshot of your CMS? Does that have DHTML unload techniques and what not in place or did you just simply leave it at the basics (ie tmpObj = null etc) Is that CMS Open Source btw? On Tue, 8 Mar 2005 11:57:31 +0100, Micha Schopman [EMAIL PROTECTED] wrote: Dave, Why are you trolling? The thread started with a simple question about memory management, and you change it into a why didn't you mentioned this ... and that.. on that time ... that day .. in that thread.. when there is no relation whatsoever with Scott's question and what has been said weeks, months ago. If you have serious mental problems, contact me off the list. Maybe I can help you resolving them. For now, back ontopic. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197809 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: Memory Leak in Browsers?
On Tue, 8 Mar 2005 12:10:28 +0100, Micha Schopman [EMAIL PROTECTED] wrote: Scott, There is not a specific type of application, it is more the use of leveraging DOM in combination with JavaScript. I showed you a small teaser from an upcoming CMS, using a rich interface. That interface is build up with JavaScript. Each menu, treeview, and table consists out of OO JS, which provides sorting, drag n drop, on demand loading, single paged interface, etc, etc. Then we also have a layered presentation model, also entirely based on Javascript, with ui persistency layers, reusable scripting etc. Cool, did something similiar in early 2002ish, CMS ..heh had it publish pages using DHTML and 8 frames...(ie XMLHttpRequest would of been great!) and cf would generate HTML files... had everyone going OoOOO how'd ya do that progress bar!... In general this interface is about 85% javascript and only 15% initial XHTML markup code. Even though a full refresh only leaks 50kb, an amount which is very normal regarding references to DOM. Will you notice this in terms of speed of the application, NO. Garbage collection is always a topic, whether you use Java, JavaScript, .NET, Actionscript; The way memory is released, if you have closed database connections, or methods of optimizing memory usage too prevent long and painful GC flushes. Managed languages never guarantee optimal use and release of memory. In theory they should, but in practice that is not reachable because there are too many complex parameters involved. Yeah, i've noticed it on and off, sometimes with Coldfusion it can be a pain - ie we can delete an objects key reference but not the actual object itself (there is a way to do this using java but Sean Co have highly recommended not to do that hehe). I guess in the end, you could write defensive DHTML until you're satisified that the memory is managed yet : - what are teh chances of a user leaving the same browser instance open for post 50mb anyway? realistically if a user were using the same IE session for say 4-8 hours? even then a typical application would really have to be pushing it to go past 50mb? - what are we doing in the end? in that i've not yet seen some actual live - in the wild - applications that have cried a foul due to Memory Leak issues? I'm yet to be convinced it is an actual wide-spread problem? (I am easily convinced too) - IE 7 is on the horizon, while its probably years away from actual takeups - yet i personally wonder as to constricting the development to using var x = y, x.dosomething, x = null unload style tricks / hacks around the bug really worthwhile post IE 6? - I'm really yet to even see FireFox suck the memory down with a DHTML app, and will be flawed to see that happen ... I present these points not as a forced opinion down all throats, more as of a this is whats nagging away at me for the cons of memory leak management in JS - please feel free to refute / shoot down as i hate that feeling like i'm about to pioneer something or take a technical leap of faith (Not saying i'm the first but hopefully you get my meaning) Newho - bed time. -- Regards, Scott Barnes http://www.mossyblog.com ~| 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:197810 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
SES urls, cgi.path_info, cgi.request_uri, CF6 and CF7
Moving from CF6.1 to CF7 on IIS6, and i've noticed that the cgi.path_info variable is reported slightly differently when using SES type URLs. In previous versions of CF, the cgi.path_info always included the, er, path info, whether SES variables were apended or not.: URL: example.com/sumdir/index.cfm?foo=bar CF6 cgi.path_info: /sumdir/index.cfm CF7 cgi.path_info: /sumdir/index.cfm URL: example.com/sumdir/index.cfm/foo/bar CF6 cgi.path_info: /sumdir/index.cfm/foo/bar CF7 cgi.path_info: /foo/bar The SESconverter.cfm from fusium.com still works in CF7 since it tests for the presence of cgi.request_uri, which is present in both CF6 and CF7 on IIS6, and appears the same as the pre-CF7 cgi.path_info. So it looks like i'm going to have to change all references from cgi.path_info to cgi.request_uri. Strange thing about cgi.request_uri is that its not present if you dump the cgi scope, but it is there if you reference it directly, both in IIS6 and apache2. How come its not in cgi structure when dumped, but is there when referenced? Is cgi.request_uri a more standard cgi variable? And is it safe to use? (not showing in the cgi dump makes me a little cautious) Cheers Bert ~| 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:197811 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: Session question
Make sure you're either using setclientcookies=true or passing CFID/CFTOKEN in every single request... i.e. on every URL and in every form post. Laterz, J On Tue, 8 Mar 2005 10:48:13 -, Martin Parry [EMAIL PROTECTED] wrote: Yeah, that's what I figured - I think it's possibly more deep-rooted in the company's internal network infrastructure (it's an intranet btw) with all users appearing as a single IP to CF.. That's not normally a problem for me with websites but for this particular client it's giving me nightmares.. I'm thinking of taking up bricklaying and leaving IT completely ;-) I've modified their web.xml, increased the session time to 480 from 30 to give them an eight hour working day, and set the default and maximum values to 8 hours in CFAdmin - Not good form I'm sure, but I'm damned desperate. Cheers Neil Martin Parry Macromedia Certified Developer http://www.BeetrootStreet.co.uk -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 08 March 2005 10:50 To: CF-Talk Subject: RE: Session question Not sure what you mean? A session is alive until such a point the set period of inactivity has been exceeded. A session will not expire say just after 20mins - it is dictated by inactivity. If you refresh a screen in a session the session is 'reset' automatically. -Original Message- From: Martin Parry [mailto:[EMAIL PROTECTED] Sent: 08 March 2005 10:32 To: CF-Talk Subject: Session question Can anyone clarify if when you set a session variable it automatically extends the user's session to whatever the session timeout is ?? I'm having terrible troubles with users having sessions cleared although I've implemented a hidden iFrame that navigates to a page to set session.currentTime with now() - The iFrame then refreshes every 60 seconds. Or is there a proper way to extend a session ? Hlp Regards, Martin. ~| 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:197812 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: cftransaction... it wasnt safe?
All I have to say is this: cfif reFind(\s,form.password) cflocation url=accntcreatform.cfm?error=Illegal%20Characters! addtoken=false /cfif There are rules for passwords, and no spaces be one of mine. I figure if Microsoft can tell me that Backup 2/15/2005.zip is an illegal file name, then I can tell someone that my dog has$$fleas is an illegal password. Laterz, J On Tue, 8 Mar 2005 07:27:37 -0500, Adam Haskell [EMAIL PROTECTED] wrote: I think your concept of how cftransaction works is faulty. The way this is set up it is not keeping 2 Select max(acctno) happening prior to inserting a new record. Adam H On Mon, 7 Mar 2005 23:00:02 -0500, Tony Weeg [EMAIL PROTECTED] wrote: hi there... i have this section of code... that is enrobed in a cftransaction block that somehow today, was caught in a race condition... meaning... i have two records with the same acctNo, and there should only be one! my first thought, now that i look over the code... would it be better for me to use the request scope for the setting of the newAcctNo? help... thanks! tony cftransaction cfquery name=getNewAcctNo datasource=webCollect select max(acctNo) as thisAccountNumber from accts /cfquery !--- sets the new acct number, which is simply, highest current one, plus one. --- !--- this is different than the identity id field... so that i can move it to something else someday :) --- cfset newAcctNo = getNewAcctNo.thisAccountNumber + 1 !--- this query adds the new account information. --- cfquery name=addAccount datasource=webCollect insert into accts (acctNo, clientNumber, debtorNumber, dateIncurred, dateAssigned, dateLastPayment, amountLastPayment, attyFee_actual, principal, preJudgementInt, countyId, balance, attyFeeClaimed, csrId) values (#newAcctNo#,#form.clientNumber#,#form.debtorNumber#,'#form.dateIncurred#','#form.dateAssigned#','#form.dateLastPayment#',#form.amountLastPayment#,#request.attyFee_actual#,#form.principal#,#form.preJudgementInt#,#countyId#,#form.principal#, #form.attyFeeClaimed#, #form.csrId#) /cfquery !--- i commit it at this point, so that any future requests will not take my new number, and frankly im done with it... another request would be valid at this point, and they could get at it... --- cftransaction action = commit/ !--- i then use this to get the new identity value --- cfquery name=getNewId datasource=webCollect select @@identity as newAcctId from accts /cfquery !--- and finally get the acct number to validate that it was in fact a good transaction --- cfquery name=getNewAccountNumber datasource=webCollect select acctNo from accts where id = #getNewId.newAcctId# /cfquery /cftransaction -- tony Tony Weeg macromedia certified coldfusion mx developer email: tonyweeg [at] gmail [dot] com blog: http://www.revolutionwebdesign.com/blog/ cool tool: http://www.antiwrap.com He who makes a beast of himself saves himself the pain of being a man... --Hunter S. Thompson. -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.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:197813 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: Memory Leak in Browsers?
dave wrote: You are pretty good at pointing out all the negative things so i am kinda shocked you withheld that. Dave, you really are overestimating the whole impact of this. The problem only really occurs when you're using closures that directly or indirectly hold on to references to native objects, creating circular references outside of the scope of the garbage collector. It's not actually that big a deal. I'd even be possible for the browser to avoid this problem altogether if a single memory allocator was used by both the ECMAScript engine and the rest of the browser, though this isn't feasible in some. Anyway, this problem is Memory Management 101. You can have memory leaks with any language. Java has them, so does ColdFusion (pre and post MX), I've noticed them with O'Caml (albeit not as much for some reason), Lua, and Python, and a host of others. Methinks the gentleman doth protest too much. K. ~| 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:197814 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: cftransaction... it wasnt safe?
:) thank you adam... any idea, how i could restructure it to achieve that? thanks. tony On Tue, 8 Mar 2005 07:27:37 -0500, Adam Haskell [EMAIL PROTECTED] wrote: I think your concept of how cftransaction works is faulty. The way this is set up it is not keeping 2 Select max(acctno) happening prior to inserting a new record. Adam H On Mon, 7 Mar 2005 23:00:02 -0500, Tony Weeg [EMAIL PROTECTED] wrote: hi there... i have this section of code... that is enrobed in a cftransaction block that somehow today, was caught in a race condition... meaning... i have two records with the same acctNo, and there should only be one! my first thought, now that i look over the code... would it be better for me to use the request scope for the setting of the newAcctNo? help... thanks! tony cftransaction cfquery name=getNewAcctNo datasource=webCollect select max(acctNo) as thisAccountNumber from accts /cfquery !--- sets the new acct number, which is simply, highest current one, plus one. --- !--- this is different than the identity id field... so that i can move it to something else someday :) --- cfset newAcctNo = getNewAcctNo.thisAccountNumber + 1 !--- this query adds the new account information. --- cfquery name=addAccount datasource=webCollect insert into accts (acctNo, clientNumber, debtorNumber, dateIncurred, dateAssigned, dateLastPayment, amountLastPayment, attyFee_actual, principal, preJudgementInt, countyId, balance, attyFeeClaimed, csrId) values (#newAcctNo#,#form.clientNumber#,#form.debtorNumber#,'#form.dateIncurred#','#form.dateAssigned#','#form.dateLastPayment#',#form.amountLastPayment#,#request.attyFee_actual#,#form.principal#,#form.preJudgementInt#,#countyId#,#form.principal#, #form.attyFeeClaimed#, #form.csrId#) /cfquery !--- i commit it at this point, so that any future requests will not take my new number, and frankly im done with it... another request would be valid at this point, and they could get at it... --- cftransaction action = commit/ !--- i then use this to get the new identity value --- cfquery name=getNewId datasource=webCollect select @@identity as newAcctId from accts /cfquery !--- and finally get the acct number to validate that it was in fact a good transaction --- cfquery name=getNewAccountNumber datasource=webCollect select acctNo from accts where id = #getNewId.newAcctId# /cfquery /cftransaction -- tony Tony Weeg macromedia certified coldfusion mx developer email: tonyweeg [at] gmail [dot] com blog: http://www.revolutionwebdesign.com/blog/ cool tool: http://www.antiwrap.com He who makes a beast of himself saves himself the pain of being a man... --Hunter S. Thompson. ~| 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:197815 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: cftransaction... it wasnt safe?
Tony, I've messed with this, but not for a long, long time... since the CF5 days, because the tags never seemed to work as expected. I'd recommend you actually try something like this: cftransaction isolation=REPEATABLE_READ cftry cftransaction action=begin / .code here cfcatch type=any cftransaction action = rollback / cfrethrow / /cfcatch /cftry cftransaction action = commit / /cftransaction Be sure to test, but if I understand the concept correctly (which I do ;) ) this should be a good start in the right direction. It the very least, it's got me thinking to start using cftransaction more consistently in my apps. Laterz, J On Tue, 8 Mar 2005 08:37:33 -0500, Tony Weeg [EMAIL PROTECTED] wrote: :) thank you adam... any idea, how i could restructure it to achieve that? thanks. tony -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.com ~| 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:197817 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: cftransaction... it wasnt safe?
Tony Weeg wrote: i have two records with the same acctNo, and there should only be one! Define the field as UNIQUE. cftransaction Make this transaction serializable. Jochem ~| 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:197816 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: cftransaction... it wasnt safe?
My personal preference would be to make a Store procedure that does it... It would follow the same basic concept as you already have only instead of it being written in CF it would be in SQL. Transaction serializable would be a good idea too. Adam H On Tue, 8 Mar 2005 07:52:51 -0600, Jared Rypka-Hauer - CMG, LLC [EMAIL PROTECTED] wrote: Tony, I've messed with this, but not for a long, long time... since the CF5 days, because the tags never seemed to work as expected. I'd recommend you actually try something like this: cftransaction isolation=REPEATABLE_READ cftry cftransaction action=begin / .code here cfcatch type=any cftransaction action = rollback / cfrethrow / /cfcatch /cftry cftransaction action = commit / /cftransaction Be sure to test, but if I understand the concept correctly (which I do ;) ) this should be a good start in the right direction. It the very least, it's got me thinking to start using cftransaction more consistently in my apps. Laterz, J On Tue, 8 Mar 2005 08:37:33 -0500, Tony Weeg [EMAIL PROTECTED] wrote: :) thank you adam... any idea, how i could restructure it to achieve that? thanks. tony -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.com ~| 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:197818 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: CFC and Flash datagrid
The easiest way is to use Flash Remoting. With Flash Remoting you can just return the query or an Array of structs, from your CFC. And you would bind the grid's dataprovider to the result returned from flash remoting. Hth, ---nimer -Original Message- From: Ewok [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 3:10 PM To: CF-Talk Subject: CFC and Flash datagrid I've got a small temp flash project with nothing more than a datagrid in it. The plan was to have a CF webservices send an array to flash to populate the grid but I'll be damned if I can figure out how. My grid has an instance name of my_grid. If I hardcode this into flash, it populates the grid. var thedata:Array=[{State:Alabama,Abbr:AL,County:Autauga},{State:Alabama; ,Abbr:AL,County:Baldwin},{State:Alabama,Abbr:AL,County:Barbour}]; my_grid.dataProvider=thedata; it spits out 3 columns with 3 rows of data perfectly. I have all the data in a database and built a cfc to return an array with access=remote but I had no luck getting it into flash. (I get the expected results when I visit http://mysite.com/ws.cfc?wdsl) So I tried loadVariables() and put the same data into a txt file. thedata:Array=[{State:Alabama,Abbr:AL,County:Autauga},{State:Alabama ,Abbr:AL,County:Baldwin},{State:Alabama,Abbr:AL,County:Barbour}]; Nothing thedata =[{State:Alabama,Abbr:AL,County:Autauga},{State:Alabama,Abbr:AL,Co unty:Baldwin},{State:Alabama,Abbr:AL,County:Barbour}]; Nothing again... How would I get the same results dynamically from CF? At this point, I don't care if it's a cfc or not. I'd just like to see something else happen! I'm running a default install of Flash MX 2004 Pro and all of the examples and tutorials I've found seem to be a little outdated. Thanks. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 3/4/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:197819 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: cftransaction... it wasnt safe?
Interesting... I think I all-too-often assume someone's using the dame DB design paramters as I do, and I completely missed this until you said something, Jochem. I always, always, always set the first column in my table to primary key, identity, and often (but NOT always) a clustered index. I read right past the I have a duplicate part... and making the column an ID or using a UNIQUE constraint would have prevented the second record from occurring at all. Good catch. J On Tue, 08 Mar 2005 14:52:09 +0100, Jochem van Dieten [EMAIL PROTECTED] wrote: Tony Weeg wrote: i have two records with the same acctNo, and there should only be one! Define the field as UNIQUE. cftransaction Make this transaction serializable. Jochem -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.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:197820 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: Memory Leak in Browsers?
Scott, A small group of developers use this technology for quite some years, but it needed some examples from a larger company as Google to fire up the interest. I see a great future for DOMScript implementations. Licensing based on asp basis becomes more popular and has proven lower total costs of ownership to organizations. More larger companies create web interfaces for their flagship products or have entirely based their products on web interface. Examples in only the CRM market, SuperOffice, Microsoft CRM, Siebel OnDemand, and SalesForce. Once interfaces start to become more complex, the so called Ajax/SPI methods jump in, and we get an whole new range of web applications. I strongly believe in the current situation that XHTML+CSS+SVG+DOMScript is the best possible candidate for complex web user interfaces, because of it's performance capabilities and this will increase once the new specifications for JavaScript are implemented in browsers (with classes, interfaces, constructors, getters/setters, etc). Once the new flash player comes out, it could change, but for now the Flash player isn't capable of handling really complex rich interfaces with a lot of information and options. Too bad, it has the language to handle complex logic. We tried converting an interface, but we soon reached the limit of what Flash can handle. It looked nice, with all the antialiasing, but it didn't provide the power we needed. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197821 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: Memory Leak in Browsers?
Just a short example of the cause: function Car(){ this.type = 'Volkswagen Touraeq V12 Diesel' // just love this car.. sorry.. this.draw(); } Car.prototype = { draw : function(){ this.element = document.createElement('A'); } } var simsalabim = new Car(); This creates a JavaScript object, respectively Car. This is maintained in the Javascript GC. Then in the draw method the element A is created, respectively a DOM object. This is maintained in the browser GC. Once you remove the object Car, the Javascript GC releases the Car object from memory. But the A element in the browser GC is still active/referenced. This part of the deal is never released unless you set the reference to null. Same happens in the other way, once you remove the element A from the page with removeChild, the Car object still exists, and this.element still holds a reference to that A element despite it does not exist. Both GC's don't communicate with each other, they don't know about each other either. That is what is causing memory management issues. Is this a bit clear? :) You might understand this starts out simple, but increases in complexity on larger complex applications. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197822 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
COM and Excel using CF 7
A simple call to add a value in a cell doesn't work anymore. I get a AutomationException: 0x80020005 - error. Anyone know a workaround? objRange = objWorkSheet.Range(A1); objRange.value = asdf; ~| 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:197823 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: Memory Leak in Browsers?
Micha Out of interest, what browsers + versions is your application developed for? Kola -Original Message- From: Micha Schopman [mailto:[EMAIL PROTECTED] Sent: 08 March 2005 14:21 To: CF-Talk Subject: RE: OT: Memory Leak in Browsers? Scott, A small group of developers use this technology for quite some years, but it needed some examples from a larger company as Google to fire up the interest. I see a great future for DOMScript implementations. Licensing based on asp basis becomes more popular and has proven lower total costs of ownership to organizations. More larger companies create web interfaces for their flagship products or have entirely based their products on web interface. Examples in only the CRM market, SuperOffice, Microsoft CRM, Siebel OnDemand, and SalesForce. Once interfaces start to become more complex, the so called Ajax/SPI methods jump in, and we get an whole new range of web applications. I strongly believe in the current situation that XHTML+CSS+SVG+DOMScript is the best possible candidate for complex web user interfaces, because of it's performance capabilities and this will increase once the new specifications for JavaScript are implemented in browsers (with classes, interfaces, constructors, getters/setters, etc). Once the new flash player comes out, it could change, but for now the Flash player isn't capable of handling really complex rich interfaces with a lot of information and options. Too bad, it has the language to handle complex logic. We tried converting an interface, but we soon reached the limit of what Flash can handle. It looked nice, with all the antialiasing, but it didn't provide the power we needed. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197824 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: cftransaction... it wasnt safe?
Why serializable instead of repeatable_read? OK, serializable then... According to the BOL, the only benefit of serializable over repeatable_read is the prevention of phantoms, and I can see that applying to this situation. As far as sprocs are concerned... it's probably a fine idea, although I've been leaning away from stored procedures in favor of CFQUERY using cfqueryparam. I've got friends at the CFUG that have tested and found that it's actually faster than sprocs, keeps the entire process within the application, and doesn't tax the DBA's patience during the development process. ;) I'd rather, at this point, become an expert on CFTRANSACTION than spend much more time becoming more of an expert on SQL. I never wanted to be a DBA anyway. :) The 3 reasons I started using sprocs were: 1) improved performance (negated by cfqueryparam, caching), 2) improved encapsulation (negated by CFCs and improved DB performance in CFMX), and 3) offloading processing from CF to SQL Server (negated by the move to CFMX 6.1, improved hardware availability, and other factors). I was looking for improved performance, for sure... but what I really wanted was intelligent calls to the DB to do things like analyze an input param, select data from 2 of the 3 user tables in pairs, either from tbl_user and tbl_login or tbl_staff and tbl_login, and return a pair of resultsets that would support my next round of conditional logic all in one call to the DB. It works, but I found it to be much less elegant than I expected. I'm sure partly because I'm not a T-SQL developer, so I didn't make a perfect job of it... but some of it is the nature of the beast. T-SQL has limitations, and I believe that as I refactor the site and continue to develop it that I'll be able to define much MORE elegant ways of doing the same thing in CF. Starting with refining the database design... because the tbl_login+tbl_{user_type} did NOT work out as well as I'd hoped. Most annoying. Anyway... that got long. I hope it didn't end up confusing. Laterz, J On Tue, 8 Mar 2005 08:58:19 -0500, Adam Haskell [EMAIL PROTECTED] wrote: My personal preference would be to make a Store procedure that does it... It would follow the same basic concept as you already have only instead of it being written in CF it would be in SQL. Transaction serializable would be a good idea too. Adam H -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.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:197825 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: Memory Leak in Browsers?
Supported are IE5.5 and higher, Mozilla and FireFox, and according to specifications; Safari 1.2. Opera 8 might also be supported in the future but it has some very nasty bugs with the use of Iframes in combination with zIndex, and the use of oncontextmenu. Opera is not yet ready for these applications. Support currently depends on the availability of xmlHttpRequest / MSXML and standards. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:197826 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: COM and Excel using CF 7
Just a shot in the dark, but do you need to cast the value with javaCast()? If it's a string, then you probably don't. I just can't think of anything else. -Original Message- From: Ryan P. [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 7:34 AM To: CF-Talk Subject: COM and Excel using CF 7 A simple call to add a value in a cell doesn't work anymore. I get a AutomationException: 0x80020005 - error. Anyone know a workaround? objRange = objWorkSheet.Range(A1); objRange.value = asdf; ~| 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:197827 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
cfc best practices
Can somebody give me some cfc best practices? I'm new to them and I want to get started on the right foot. One thing that is really bothering me is how to organize my CFCs and where to put them. I've searched the web but I'm still not satisfied with every things I've found. -- Phillip B. ~| 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:197828 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
dreamweaver extenstions recommendations
Anyone have any good DW extensions they would like to recommend? I'm just starting to use it and was hoping for suggestions. Thanks so much. Keith ~| 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:197829 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: cfc best practices
One common method is the domain name methodology. So, for example, if you get Raymond's Blog CFC, it will typically live under drive:\site\org\camden And be called like so: CreateObject(component,org.camden.Blog) or something like that. However, frameworks may impose their own methodology, which is no worse, and this could be adapted as well. drive:\site\model\org\camden for MachII And would be called like so: CreateObject(component,model.org.camden.Blog) - Calvin -Original Message- From: Phill B [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 9:59 AM To: CF-Talk Subject: cfc best practices Can somebody give me some cfc best practices? I'm new to them and I want to get started on the right foot. One thing that is really bothering me is how to organize my CFCs and where to put them. I've searched the web but I'm still not satisfied with every things I've found. -- Phillip B. ~| 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:197830 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: cftransaction... it wasnt safe?
Just wrap an exclusive lock around the transaction. Make it a named lock that will cross all sessions. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 7:46 AM To: CF-Talk Subject: Re: cftransaction... it wasnt safe? :) thank you adam... any idea, how i could restructure it to achieve that? thanks. tony On Tue, 8 Mar 2005 07:27:37 -0500, Adam Haskell [EMAIL PROTECTED] wrote: I think your concept of how cftransaction works is faulty. The way this is set up it is not keeping 2 Select max(acctno) happening prior to inserting a new record. Adam H On Mon, 7 Mar 2005 23:00:02 -0500, Tony Weeg [EMAIL PROTECTED] wrote: hi there... i have this section of code... that is enrobed in a cftransaction block that somehow today, was caught in a race condition... meaning... i have two records with the same acctNo, and there should only be one! my first thought, now that i look over the code... would it be better for me to use the request scope for the setting of the newAcctNo? help... thanks! tony cftransaction cfquery name=getNewAcctNo datasource=webCollect select max(acctNo) as thisAccountNumber from accts /cfquery !--- sets the new acct number, which is simply, highest current one, plus one. --- !--- this is different than the identity id field... so that i can move it to something else someday :) --- cfset newAcctNo = getNewAcctNo.thisAccountNumber + 1 !--- this query adds the new account information. --- cfquery name=addAccount datasource=webCollect insert into accts (acctNo, clientNumber, debtorNumber, dateIncurred, dateAssigned, dateLastPayment, amountLastPayment, attyFee_actual, principal, preJudgementInt, countyId, balance, attyFeeClaimed, csrId) values (#newAcctNo#,#form.clientNumber#,#form.debtorNumber#,'#form.dateIncurred#','# form.dateAssigned#','#form.dateLastPayment#',#form.amountLastPayment#,#reques t.attyFee_actual#,#form.principal#,#form.preJudgementInt#,#countyId#,#form.pr incipal#, #form.attyFeeClaimed#, #form.csrId#) /cfquery !--- i commit it at this point, so that any future requests will not take my new number, and frankly im done with it... another request would be valid at this point, and they could get at it... --- cftransaction action = commit/ !--- i then use this to get the new identity value --- cfquery name=getNewId datasource=webCollect select @@identity as newAcctId from accts /cfquery !--- and finally get the acct number to validate that it was in fact a good transaction --- cfquery name=getNewAccountNumber datasource=webCollect select acctNo from accts where id = #getNewId.newAcctId# /cfquery /cftransaction -- tony Tony Weeg macromedia certified coldfusion mx developer email: tonyweeg [at] gmail [dot] com blog: http://www.revolutionwebdesign.com/blog/ cool tool: http://www.antiwrap.com He who makes a beast of himself saves himself the pain of being a man... --Hunter S. Thompson. ~| 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:197833 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: CFC and Flash datagrid
I would definately recommend the array of structs method of returning query information to a Remoting component. I have yet to be able to get a rearrange fields binding to work on a Remoting call that returns a query object. Banged my head against a wall for two days fiddling with it... Funny thing is that it works fine with a query if you return a Web Service object, but not with Remoting. My .02... Jeff Garza - Original Message - From: Mike Nimer [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, March 08, 2005 7:14 AM Subject: RE: CFC and Flash datagrid The easiest way is to use Flash Remoting. With Flash Remoting you can just return the query or an Array of structs, from your CFC. And you would bind the grid's dataprovider to the result returned from flash remoting. Hth, ---nimer ~| 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:197831 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: cfc best practices
Check out the Macromedia CF coding guidelines and Mach-II development guide. http://livedocs.macromedia.com/wtg/public/ On Tue, 8 Mar 2005 10:09:04 -0500, Calvin Ward [EMAIL PROTECTED] wrote: One common method is the domain name methodology. So, for example, if you get Raymond's Blog CFC, it will typically live under drive:\site\org\camden And be called like so: CreateObject(component,org.camden.Blog) or something like that. However, frameworks may impose their own methodology, which is no worse, and this could be adapted as well. drive:\site\model\org\camden for MachII And would be called like so: CreateObject(component,model.org.camden.Blog) - Calvin -Original Message- From: Phill B [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 9:59 AM To: CF-Talk Subject: cfc best practices Can somebody give me some cfc best practices? I'm new to them and I want to get started on the right foot. One thing that is really bothering me is how to organize my CFCs and where to put them. I've searched the web but I'm still not satisfied with every things I've found. -- Phillip B. ~| 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:197832 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: cftransaction... it wasnt safe?
While the same OS allows spaces in passwords... -Original Message- From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 March 2005 9:21 To: CF-Talk Subject: Re: cftransaction... it wasnt safe? [snip] There are rules for passwords, and no spaces be one of mine. I figure if Microsoft can tell me that Backup 2/15/2005.zip is an illegal file name, then I can tell someone that my dog has$$fleas is an illegal password. [snip] ~| 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:197834 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: ms-sql resources
On Mon, 07 Mar 2005 11:59:43 -0400, Protoculture [EMAIL PROTECTED] wrote: Does anyone know of any? Or even a good book? As one other poster suggested, sqlservercentral.com is probably your best shot for an online resournce. Bookwise, Kalen Delaney's Inside SQL Server 2000 is probably the most detailed MS-SQL book there is -- it digs into nitty-gritty details of the server (want to really understand optimization of queries -- this is your ticket). It does not, however, teach you much about T-SQL -- for that, I'd suggest Ken Henderson's Guru's Guide to T-SQL and the followup on Stored Procs. And as much as I like OReilly books -- I would *not* buy their T-SQL books. The Transact-SQL book was written in 1998/1999 and covers 6.5 w/ the new 7.0 features a little dated at best (though in fairness, ok for the basics). The T-SQL Cookbook has some cool tricks in it, but you've got to wade through some fairly henious writing. Both are on my shelf -- I know :) -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| 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:197835 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: Recover Lost SQL Server data
On Mon, 7 Mar 2005 15:09:02 -0500, Qasim Rasheed [EMAIL PROTECTED] wrote: Hi Does anyone has recommendation for resources where I can find information about recovering data from SQL Server 2000 if it has been deleted accindently. Assume that I do not have a backup. I am specifically looking if it could be done from transaction log files. The transaction logs are useless without a backup file. You typically restore a backup file and then apply all the intervening transaction logs since the backup was made to restore your database. That said, you could consider getting Lumigent's log explorer, which can read and selectively apply transaction logs to a database. But that would be more of a how much data did I lose solution than a let's restore the db solution. -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| 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:197836 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: Password Rules - Was: RE: cftransaction... it wasnt safe?
I've thought this logic through many times and my personal opinion is that it comes down to support. If my DB and programming language can handle the weird characters, why make them illegal? Back in the days when the systems couldn't handle certain characters, I could understand the restraints, but now, if you're using a good DB and language, it seems the only limitations you really need to put on usernames and passwords is length (based on the field in the DB and any security rules you'd like to enforce (must contain a letter, number and symbol, etc.). Now, my thought is that's all that you need to do IN THEORY. If someone can type it in, let it be. However, I do realize that people may accidentally type in incorrect information when they register their username or password and then it becomes a support issue. However, if you do duplicate fields where people have to retype information, that will tend to decrease the number of mistakes that happen. This is just my opinion and I figured I'd share and see if anyone else has comments. John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 10:28 AM To: CF-Talk Subject: RE: cftransaction... it wasnt safe? While the same OS allows spaces in passwords... -Original Message- From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 March 2005 9:21 To: CF-Talk Subject: Re: cftransaction... it wasnt safe? [snip] There are rules for passwords, and no spaces be one of mine. I figure if Microsoft can tell me that Backup 2/15/2005.zip is an illegal file name, then I can tell someone that my dog has$$fleas is an illegal password. [snip] ~| 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:197837 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: cftransaction... it wasnt safe?
thank ya boys... ill mess around with this tonight... and let ya know what i figure out... tw On Tue, 8 Mar 2005 09:24:18 -0600, Andy Ousterhout [EMAIL PROTECTED] wrote: Just wrap an exclusive lock around the transaction. Make it a named lock that will cross all sessions. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 7:46 AM To: CF-Talk Subject: Re: cftransaction... it wasnt safe? :) thank you adam... any idea, how i could restructure it to achieve that? thanks. tony On Tue, 8 Mar 2005 07:27:37 -0500, Adam Haskell [EMAIL PROTECTED] wrote: I think your concept of how cftransaction works is faulty. The way this is set up it is not keeping 2 Select max(acctno) happening prior to inserting a new record. Adam H On Mon, 7 Mar 2005 23:00:02 -0500, Tony Weeg [EMAIL PROTECTED] wrote: hi there... i have this section of code... that is enrobed in a cftransaction block that somehow today, was caught in a race condition... meaning... i have two records with the same acctNo, and there should only be one! my first thought, now that i look over the code... would it be better for me to use the request scope for the setting of the newAcctNo? help... thanks! tony cftransaction cfquery name=getNewAcctNo datasource=webCollect select max(acctNo) as thisAccountNumber from accts /cfquery !--- sets the new acct number, which is simply, highest current one, plus one. --- !--- this is different than the identity id field... so that i can move it to something else someday :) --- cfset newAcctNo = getNewAcctNo.thisAccountNumber + 1 !--- this query adds the new account information. --- cfquery name=addAccount datasource=webCollect insert into accts (acctNo, clientNumber, debtorNumber, dateIncurred, dateAssigned, dateLastPayment, amountLastPayment, attyFee_actual, principal, preJudgementInt, countyId, balance, attyFeeClaimed, csrId) values (#newAcctNo#,#form.clientNumber#,#form.debtorNumber#,'#form.dateIncurred#','# form.dateAssigned#','#form.dateLastPayment#',#form.amountLastPayment#,#reques t.attyFee_actual#,#form.principal#,#form.preJudgementInt#,#countyId#,#form.pr incipal#, #form.attyFeeClaimed#, #form.csrId#) /cfquery !--- i commit it at this point, so that any future requests will not take my new number, and frankly im done with it... another request would be valid at this point, and they could get at it... --- cftransaction action = commit/ !--- i then use this to get the new identity value --- cfquery name=getNewId datasource=webCollect select @@identity as newAcctId from accts /cfquery !--- and finally get the acct number to validate that it was in fact a good transaction --- cfquery name=getNewAccountNumber datasource=webCollect select acctNo from accts where id = #getNewId.newAcctId# /cfquery /cftransaction -- tony Tony Weeg macromedia certified coldfusion mx developer email: tonyweeg [at] gmail [dot] com blog: http://www.revolutionwebdesign.com/blog/ cool tool: http://www.antiwrap.com He who makes a beast of himself saves himself the pain of being a man... --Hunter S. Thompson. ~| 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:197839 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: Password Rules - Was: RE: cftransaction... it wasnt safe?
For usernames, I usually only allow alphanumerics, constrain the length, and treat them case insensitively. No spaces, no punctuation, no 200-char strings. It just makes things easier. Passwords, however, are an open game. Anything you can cram in the form fields, you can use. And your database's support should be irrelevant, because you shouldn't be storing plaintext passwords anyway. You should always hash them, and for all but the simplest apps, should salt the hash. cheers, barneyb On Tue, 8 Mar 2005 10:50:41 -0500, Burns, John D [EMAIL PROTECTED] wrote: I've thought this logic through many times and my personal opinion is that it comes down to support. If my DB and programming language can handle the weird characters, why make them illegal? Back in the days when the systems couldn't handle certain characters, I could understand the restraints, but now, if you're using a good DB and language, it seems the only limitations you really need to put on usernames and passwords is length (based on the field in the DB and any security rules you'd like to enforce (must contain a letter, number and symbol, etc.). Now, my thought is that's all that you need to do IN THEORY. If someone can type it in, let it be. However, I do realize that people may accidentally type in incorrect information when they register their username or password and then it becomes a support issue. However, if you do duplicate fields where people have to retype information, that will tend to decrease the number of mistakes that happen. This is just my opinion and I figured I'd share and see if anyone else has comments. John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 10:28 AM To: CF-Talk Subject: RE: cftransaction... it wasnt safe? While the same OS allows spaces in passwords... -Original Message- From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 March 2005 9:21 To: CF-Talk Subject: Re: cftransaction... it wasnt safe? [snip] There are rules for passwords, and no spaces be one of mine. I figure if Microsoft can tell me that Backup 2/15/2005.zip is an illegal file name, then I can tell someone that my dog has$$fleas is an illegal password. [snip] ~| 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:197838 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: heeelp!
I WAS trying .. it does also happen to run *shudder* Spectra... a specter which still darkens my doorway The block was small enough that I was able to wrap the CFSCRIPT itself and then do some other settings... MD On Mon, 7 Mar 2005 11:20:13 -0600, Jared Rypka-Hauer - CMG, LLC [EMAIL PROTECTED] wrote: They all be right, dude... So wrap your CFSCRIPT tag in a cftry/cfcatch block. That's not particularly granular, though, is it? And blowing up a whole block because one bit errored out is particularly unfortunate... Here's a thought... if you were to create a UDF inside a CFTRY/CFCATCH block, with it's own CFSCRIPT tag, that did the bits you needed try/catch around, and then called that UDF from another CFSCRIPT tag set, does the CFTRY/CFCATCH work correctly? If it does, that may be your answer. I'm just unsure of how CF 5 handles that sort of thing... would the try/catch work correctly when the code inside them is being executed via function calls from other parts of the page... it strikes me that the answer to this should be an unequivocal YES... that's how it's supposed to work. Give it a try... I also think you need to upgrade. :) Make'em get you a copy of CFMX7 Enterprise, and then start sharing sandboxes, and give us all our own instance and gateways and stuff, eh? A guy can try, no? On Mon, 7 Mar 2005 16:10:48 +, Mark Drew [EMAIL PROTECTED] wrote: I am having a blonde moment (no offence to blondes... but hey) can you use try/catch in cfscript in cf5? I keep getting errors with it and I cant find the language differences page in MM's site MD ~| 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:197840 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: cftransaction... it wasnt safe?
and I believe that as I refactor the site and continue to develop it that I'll be able to define much MORE elegant ways of doing the same thing in CF. Starting with refining the database design... because the tbl_login+tbl_{user_type} did NOT work out as well as I'd hoped. Most annoying. shudder Reminds me of something I built before I learned about normalization. These days I build most things to third normal form with foreign-key constraints to ensure data integrity is maintained... and I wish it were more popular... I've worked on several applications that have used setups similar to what you're describing ... at an education company, tLogin along with tStudent, tParent, tTeacher, tStaff (or similar I don't remember for certain what it was). Oh the agony of unions... Not that unions don't have their place, but this wasn't it. Would have been so much easier to have just had a tUser and tRole table, put the login credentials in tUser table -- even if you didn't associate users to roles with a many-to-many cross-reference table. The past couple weeks I've been working pretty hard on a rebuild of the onTap framework's security suite (Members onTap) to eliminate some structural anomolies in CF rather than in the database. The data elements aren't changing much. It's still many-to-many associating between members, roles and permissions -- but the last version had members and security in separate plugins, it lacked built-in roles for public access and everyone (all authenticated members), it didn't have any timezone data and wasn't i18n (neither was the framework) and it lacked some common member-management features (read preferences, for instance image urls). Several of the features in the new version (profiles and preferences primarily) are being refactored into the security suite after having been written separately into the forum plugin. Plus I'm making some improvements to the UI while I'm at it -- organizing the member form with a cardstack, displaying input for the cross-reference associations as swapboxes instead of simple multiple select-boxes, organizing the installer with a tabset (much more intuitive than the basic/advanced button in the previous version). Anyway, I'm getting off on a tangent. :) Was just thinking about the subject of refactoring and reminded of some data-normalization horror stories I had on my back-shelf. :) s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://macromedia.breezecentral.com/p49777853/ http://www.sys-con.com/story/?storyid=48229DE=1 http://www.sys-con.com/story/?storyid=44477DE=1 http://www.sys-con.com/story/?storyid=45569DE=1 http://www.sys-con.com/story/?storyid=48229DE=1 http://www.fusiontap.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:197841 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: Password Rules - Was: RE: cftransaction... it wasnt safe?
Right, I agree Barney. I always hash, but I just wanted to make a point that if your system (DB, programming language, OS, etc) support it, we shouldn't feel the need to restrict stuff just because that's always how we thought of passwords. I agree with the username insensitivity and limitations as well. However, most of my systems, I build it so that the username can be an email address or username so that the customer may choose to have the usernames be email addresses or they may want a separate username. John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 11:16 AM To: CF-Talk Subject: Re: Password Rules - Was: RE: cftransaction... it wasnt safe? For usernames, I usually only allow alphanumerics, constrain the length, and treat them case insensitively. No spaces, no punctuation, no 200-char strings. It just makes things easier. Passwords, however, are an open game. Anything you can cram in the form fields, you can use. And your database's support should be irrelevant, because you shouldn't be storing plaintext passwords anyway. You should always hash them, and for all but the simplest apps, should salt the hash. cheers, barneyb On Tue, 8 Mar 2005 10:50:41 -0500, Burns, John D [EMAIL PROTECTED] wrote: I've thought this logic through many times and my personal opinion is that it comes down to support. If my DB and programming language can handle the weird characters, why make them illegal? Back in the days when the systems couldn't handle certain characters, I could understand the restraints, but now, if you're using a good DB and language, it seems the only limitations you really need to put on usernames and passwords is length (based on the field in the DB and any security rules you'd like to enforce (must contain a letter, number and symbol, etc.). Now, my thought is that's all that you need to do IN THEORY. If someone can type it in, let it be. However, I do realize that people may accidentally type in incorrect information when they register their username or password and then it becomes a support issue. However, if you do duplicate fields where people have to retype information, that will tend to decrease the number of mistakes that happen. This is just my opinion and I figured I'd share and see if anyone else has comments. John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 10:28 AM To: CF-Talk Subject: RE: cftransaction... it wasnt safe? While the same OS allows spaces in passwords... -Original Message- From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 March 2005 9:21 To: CF-Talk Subject: Re: cftransaction... it wasnt safe? [snip] There are rules for passwords, and no spaces be one of mine. I figure if Microsoft can tell me that Backup 2/15/2005.zip is an illegal file name, then I can tell someone that my dog has$$fleas is an illegal password. [snip] ~| 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:197842 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
CFMX7 error with sample app in gettingstarted
I am trying to view the HTML to Flashpaper in the Code Snippets by Features and Tasks in getting started section of CFMX7 When I try to run the HTML to Flashpaper the browesr trys to load the page for ever. If i go into the logs, I find the following exception: java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at java.awt.Toolkit$2.run(Toolkit.java:748) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739) at ice.pilots.html4.FontCache.init(OEAB) at ice.pilots.html4.FontCache.init(OEAB) at ice.pilots.html4.StormData.init(OEAB) at ice.pilots.html4.StormData.get(OEAB) at ice.pilots.html4.ThePilot.init(OEAB) at ice.storm.StormBase.append(OEAB) at ice.storm.StormBase.do_clear_content(OEAB) at ice.storm.StormBase.do_render_content(OEAB) at ice.storm.Viewport.runAsynchronousLoad(OEAB) at ice.storm.LoadThread.run(OEAB) I am running this on solaris with the jrun/j2ee configuration. toru ~| 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:197843 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: lil flash form trick
Ahhh...if only all phone numbers around the world followed that format ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.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:197844 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
Downloading MX 6.1 and updaters
If I get the 'english | linux' version of 6.1 from http://www.macromedia.com/cfusion/tdrc/index.cfm?product=coldfusionpromoid=devcenter_tutorial_product_090903 does that include the latest updater (ie the database driver updates) ? -- 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:197845 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
Push Information to Users Across Intranets
Hi All, I've got an idea that I would like to see what'ya all think about. I have a need to publish some information across my Intranets. I was thinking about a message center where the message center pod would read from a global RSS file and display information as needed. However I would like to push that information to users as a popup or something. I'm a little hesitant to force a user to see a popup while they may be working on say a contact record. So I was thinking of creating a MSN like message window that will popup in the right corner of their screen. A 5x5 pixel flash window will run a webservice that reads from the feeds per site at a set interval. The interval could be set by the user in their control pod. What are your thoughts, does anyone see anything wrong with something like this. Do you think they may find it annoying? ~| 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:197846 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: COM and Excel using CF 7
Ryan P. wrote: A simple call to add a value in a cell doesn't work anymore. I get a AutomationException: 0x80020005 - error. Anyone know a workaround? objRange = objWorkSheet.Range(A1); objRange.value = asdf; Try objRange.formula = asdf; ~| 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:197847 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: cfftp in CFMX
On Monday 07 Mar 2005 20:45 pm, Andy Clary wrote: The strange thing is that the exact same code works great on CF5. We have Same code, on same host, at the same time ? -- 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:197848 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: cftransaction... it wasnt safe?
Yeah, there's a funny story there. I once worked in LAN support, and we were in a massive migration... and by Massive I mean 45,000 computers across 12 locations in the Twin Cities. Part of the process was implementing new standards for Windows NT accounts. Our team lead put together a spreadsheet for a department... roughly 500 Windows login accounts. And, bizarrely, none of them worked. NONE. After several weeks and some seriously pissed off users, it was discovered that his spreadsheet had included an empty space at the end of the passwords... therefore all passwords were password and... well... it was ugly for a while. Eventually it got fixed, but it would have been nice to have a trim(password) for that particular situation. And *sigh* you have a point. Food for thought. Laterz, J On Tue, 8 Mar 2005 23:27:40 +0800, James Holmes [EMAIL PROTECTED] wrote: While the same OS allows spaces in passwords... -Original Message- From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 March 2005 9:21 To: CF-Talk Subject: Re: cftransaction... it wasnt safe? [snip] There are rules for passwords, and no spaces be one of mine. I figure if Microsoft can tell me that Backup 2/15/2005.zip is an illegal file name, then I can tell someone that my dog has$$fleas is an illegal password. [snip] -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.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:197849 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: Push Information to Users Across Intranets
You can actually do this with a Flash app. -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 10:04 AM To: CF-Talk Subject: Push Information to Users Across Intranets Hi All, I've got an idea that I would like to see what'ya all think about. I have a need to publish some information across my Intranets. I was thinking about a message center where the message center pod would read from a global RSS file and display information as needed. However I would like to push that information to users as a popup or something. I'm a little hesitant to force a user to see a popup while they may be working on say a contact record. So I was thinking of creating a MSN like message window that will popup in the right corner of their screen. A 5x5 pixel flash window will run a webservice that reads from the feeds per site at a set interval. The interval could be set by the user in their control pod. What are your thoughts, does anyone see anything wrong with something like this. Do you think they may find it annoying? ~| 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:197850 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: Push Information to Users Across Intranets
Make it so when they log in, it lists the subjects of the messages they need to read, with a button at the bottom of the page that lets them bypass and hit the main landing page. On the main landing page, you can have a small box that reads You have messages, and they click on it to go back to the list of messages? Bryan F. Hogan wrote: Hi All, I've got an idea that I would like to see what'ya all think about. I have a need to publish some information across my Intranets. I was thinking about a message center where the message center pod would read from a global RSS file and display information as needed. However I would like to push that information to users as a popup or something. I'm a little hesitant to force a user to see a popup while they may be working on say a contact record. So I was thinking of creating a MSN like message window that will popup in the right corner of their screen. A 5x5 pixel flash window will run a webservice that reads from the feeds per site at a set interval. The interval could be set by the user in their control pod. What are your thoughts, does anyone see anything wrong with something like this. Do you think they may find it annoying? ~| 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:197851 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: Push Information to Users Across Intranets
If you're talking about the MSN like window it can be done, but first I'll have to buy a new Flash Projector then have an extra install right? I was going to do the same thing that MSN Messenger does with their web version. I wrote a C# browser for their Intranet's, I guess I can use that to do it, but I would like to keep the separation from the web and the browser, I guess I could still have the custom browser read from a webservice if their connected and go that way. Sorry I'm thinking out loud. -Original Message- From: Connie DeCinko [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 12:24 PM To: CF-Talk Subject: RE: Push Information to Users Across Intranets You can actually do this with a Flash app. ~| 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:197852 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: Push Information to Users Across Intranets
Right, I was going to include that. They already have an outlook today like landing page. The only problem is they can set their start page to any component page they choose. I am going to include the message center pod, but I still need to push it to them also. -Original Message- From: Alex Sherwood [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 12:25 PM To: CF-Talk Subject: Re: Push Information to Users Across Intranets Make it so when they log in, it lists the subjects of the messages they need to read, with a button at the bottom of the page that lets them bypass and hit the main landing page. On the main landing page, you can have a small box that reads You have messages, and they click on it to go back to the list of messages? ~| 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:197853 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: cfftp in CFMX
Yes, it is the same code hitting the same ftp server - runs great when called from a CF5 server, but is intermittent when called from a CFMX 6.1 server. On Monday 07 Mar 2005 20:45 pm, Andy Clary wrote: The strange thing is that the exact same code works great on CF5. We have Same code, on same host, at the same time ? -- Tom Chiverton Advanced ColdFusion Programmer ~| 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:197854 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: Push Information to Users Across Intranets
Similar idea. I was thinking Zinc 2 (http://www.multidmedia.com/software/zinc/). It'll convert a SWF to an EXE and has options you are looking for. -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 10:30 AM To: CF-Talk Subject: RE: Push Information to Users Across Intranets If you're talking about the MSN like window it can be done, but first I'll have to buy a new Flash Projector then have an extra install right? I was going to do the same thing that MSN Messenger does with their web version. I wrote a C# browser for their Intranet's, I guess I can use that to do it, but I would like to keep the separation from the web and the browser, I guess I could still have the custom browser read from a webservice if their connected and go that way. Sorry I'm thinking out loud. -Original Message- From: Connie DeCinko [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 12:24 PM To: CF-Talk Subject: RE: Push Information to Users Across Intranets You can actually do this with a Flash app. ~| 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:197855 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
cisco load balancing across CF pages
I'm trying to set up two load-balanced web servers using Cisco Local Director 4.2.6, and CF 6.1 Standard Edition and IIS. Is there a way to set this up so the requests are sent to the web server with the best response time for ColdFusion pages, or at the very least that if CF dies on one server Cisco starts sending all requests to the other server? I know this is possible with Enterprise and ClusterCats, but I don't really want to go down that road. If it's not possible with Local Director and CF Standard, would it be possible with either: 1. Cisco Content Services Switch (CSS)? 2. Microsoft NLB instead of Cisco? Thanks, Greg Saunders Chief Technical Officer Socratic Arts http://www.socraticarts.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:197856 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: Push Information to Users Across Intranets
look at Central yet? On Tue, 8 Mar 2005 12:03:39 -0500, Bryan F. Hogan [EMAIL PROTECTED] wrote: Hi All, I've got an idea that I would like to see what'ya all think about. I have a need to publish some information across my Intranets. I was thinking about a message center where the message center pod would read from a global RSS file and display information as needed. However I would like to push that information to users as a popup or something. I'm a little hesitant to force a user to see a popup while they may be working on say a contact record. So I was thinking of creating a MSN like message window that will popup in the right corner of their screen. A 5x5 pixel flash window will run a webservice that reads from the feeds per site at a set interval. The interval could be set by the user in their control pod. What are your thoughts, does anyone see anything wrong with something like this. Do you think they may find it annoying? ~| 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:197857 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: Push Information to Users Across Intranets
Yeah, it's a great idea if I was using a Flash Application. However all of my stuff is accessed traditionally or via their Intranet desktop browser. My option without adding more complexity to the application with other plugins is to either you a C# component in the browser or DHTML since they can access it by the web also. I appreciate your information, it's a great idea with a Flash app. However I think the 5x5 pixel Flash that calls the DHTML is the way to implement it in my case. -Original Message- From: Connie DeCinko [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 12:40 PM To: CF-Talk Subject: RE: Push Information to Users Across Intranets Similar idea. I was thinking Zinc 2 (http://www.multidmedia.com/software/zinc/). It'll convert a SWF to an EXE and has options you are looking for. ~| 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:197858 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: Push Information to Users Across Intranets
Not to start a war, but no way! -Original Message- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 12:45 PM To: CF-Talk Subject: Re: Push Information to Users Across Intranets look at Central yet? ~| 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:197859 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: Push Information to Users Across Intranets
The idea behind Central is great, but the implementation sucks. Who wants to build an application that gets dwarfed by its container... @@ two cents, Kevin -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 11:50 AM To: CF-Talk Subject: RE: Push Information to Users Across Intranets Not to start a war, but no way! -Original Message- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 12:45 PM To: CF-Talk Subject: Re: Push Information to Users Across Intranets look at Central yet? ~| 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:197861 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: Push Information to Users Across Intranets
FYI. It's not that hard to embed a flash movie in a C++ container and control is through FSCommand. Also, its more lightweight because you only need to include the functionality that you want. This app is a flash file in a C++ container and I'm implementing the MSN style popup in the next week. On a side note, you can also accomplish this with DHTML... Cheers, Kevin -Original Message- From: Connie DeCinko [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 11:40 AM To: CF-Talk Subject: RE: Push Information to Users Across Intranets Similar idea. I was thinking Zinc 2 (http://www.multidmedia.com/software/zinc/). It'll convert a SWF to an EXE and has options you are looking for. -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 10:30 AM To: CF-Talk Subject: RE: Push Information to Users Across Intranets If you're talking about the MSN like window it can be done, but first I'll have to buy a new Flash Projector then have an extra install right? I was going to do the same thing that MSN Messenger does with their web version. I wrote a C# browser for their Intranet's, I guess I can use that to do it, but I would like to keep the separation from the web and the browser, I guess I could still have the custom browser read from a webservice if their connected and go that way. Sorry I'm thinking out loud. -Original Message- From: Connie DeCinko [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 12:24 PM To: CF-Talk Subject: RE: Push Information to Users Across Intranets You can actually do this with a Flash app. ~| 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:197861 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: Push Information to Users Across Intranets
I agree, I was looking for peoples thoughts on the annoyance factor. I know what the options for implementation are. Thanks for you reply though. -Original Message- From: Kevin Aebig [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 1:22 PM To: CF-Talk Subject: RE: Push Information to Users Across Intranets FYI. It's not that hard to embed a flash movie in a C++ container and control is through FSCommand. Also, its more lightweight because you only need to include the functionality that you want. This app is a flash file in a C++ container and I'm implementing the MSN style popup in the next week. On a side note, you can also accomplish this with DHTML... Cheers, ~| 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:197862 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
FB4 n00b: XFAs include full URL?
I'm starting to learn Fusebox 4 (using John Beynon's excellent tutorials) and have come up with a question. Is there any way to make XFAs include the full URL, path and query string required, rather than simply use them as aliases for the bare fuseaction name? On my FB3 sites I prepend XFA's with the full (dynamically generated) hostname, self file, and all query strings required (one of our sites passes the custom session ID via the URL). I'm hoping to upgrade our sites to FB4 and would like to not have to rewrite everything to follow what I see (in the first few pagess of John's tutorial) as a less simple way of handling it. If there is no way to do this I suggest adding a boolean attribute to the XFA tag called complete. There would then be two extra global fusebox variables, e.g. application.fusebox.xfaCompleteString for storing whatever you wanted to go before the XFA, and application.fusebox.xfaCompleteStringDefault which would be set to false or true, depending on whether you wanted your XFAs to be automatically prepended or not. Thanks. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| 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:197863 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
Query works in fine CF5 but not CFMX
I have a simple query against an Oracle database that works in CF 5 but not in CFMX. In CF 5 I get one record which is what I want, but in CFMX I don't get any results. Yet the code is the very same. How do I fix this strange behavior? Here is the query: CFQUERY NAME=getmember DATASOURCE=#DS# SELECT member FROM login WHERE username = 'test' and password = 'test' /CFQUERY No queries are cached, I even cycled CFMX. Not sure what is going on. Any help/advice would be appreciated. Thanks! ~| 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:197864 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
cfstoredproc changes every accent character to '?'
When I use cfstoredproc to insert a nvarchar string and use cf_sql_longvarchar or cf_sql_varchar as cfprocparam i receive a '?' for every nonlatin character into the SQL stored procedure. Can someone help me how i can recieve special characters like polonian characters into a stored procedure using cfstoredproc. ~| 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:197865 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: CFC and Flash datagrid
Ran into the same thing here. I ended up using a cfc and it is working OKAY. It returns an array and the columns are ordered just as they were entered into the array. Maybe you could convert your query to an array? Anyway, thanks for the replies. I'm going to stick with what I got I guess. -Original Message- From: Jeff Garza [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 10:21 AM To: CF-Talk Subject: Re: CFC and Flash datagrid I would definately recommend the array of structs method of returning query information to a Remoting component. I have yet to be able to get a rearrange fields binding to work on a Remoting call that returns a query object. Banged my head against a wall for two days fiddling with it... Funny thing is that it works fine with a query if you return a Web Service object, but not with Remoting. My .02... Jeff Garza - Original Message - From: Mike Nimer [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, March 08, 2005 7:14 AM Subject: RE: CFC and Flash datagrid The easiest way is to use Flash Remoting. With Flash Remoting you can just return the query or an Array of structs, from your CFC. And you would bind the grid's dataprovider to the result returned from flash remoting. Hth, ---nimer ~| 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:197866 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: FB4 n00b: XFAs include full URL?
The XFA is not a link, it's an abstract reference to another fuseaction in the application. Consequently it will never contain any extra information as you describe. However, what you propose can be easily synthesized by a supplmental 'self' variable: self = cgi.script_name; myself = cgi.script_name ?#application.fusebox.fuseactionVariable#=; fullself = http://www.mysite.com/#myself#;; then just use the appropriate variable when you create your link. a href=#myself##xfa.myXfa#click here/a I personally never use a 'self' or 'fullself' style variable, and so just name the 'myself' variable 'self', though from what I've seen, I'm in the minority. Most people use at least 'self' and 'myself' as separate variables. Another route to consider might be a custom tag that simply accepts an XFA and renders an A tag to the HTML stream. I've done this for SEF URLs, where the tag derefernce the XFA against an in-memory database to render a SEF link, rather than link containing the actual XFA. The new destination gets dereferenced back to the original XFA for a standard fusebox request when requested: sef:link xfa=#xfa.aboutUs#About Us/sef:link generates: a href=/aboutUs.cfmAbout Us/a aboutUs.cfm (and all other such pages) contains: cfset attribute.fuseaction = application.pageMapper[cgi.script_name] / cfinclude template=/index.cfm / The sef:link tag is basically the 'aboutUs.cfm' template, but inverted. cheers, barneyb On Tue, 8 Mar 2005 13:34:31 -0500, Damien McKenna [EMAIL PROTECTED] wrote: I'm starting to learn Fusebox 4 (using John Beynon's excellent tutorials) and have come up with a question. Is there any way to make XFAs include the full URL, path and query string required, rather than simply use them as aliases for the bare fuseaction name? On my FB3 sites I prepend XFA's with the full (dynamically generated) hostname, self file, and all query strings required (one of our sites passes the custom session ID via the URL). I'm hoping to upgrade our sites to FB4 and would like to not have to rewrite everything to follow what I see (in the first few pagess of John's tutorial) as a less simple way of handling it. If there is no way to do this I suggest adding a boolean attribute to the XFA tag called complete. There would then be two extra global fusebox variables, e.g. application.fusebox.xfaCompleteString for storing whatever you wanted to go before the XFA, and application.fusebox.xfaCompleteStringDefault which would be set to false or true, depending on whether you wanted your XFAs to be automatically prepended or not. Thanks. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| 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:197867 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: cfstoredproc changes every accent character to '?'
I assume that you are talking about just a couple of problem characters. Once identified you can do a replace and replace the offending character with the ascii equivalent. Once you've run the replace they should go in the database ok. Hope that helps. j ~| 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:197868 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: cfstoredproc changes every accent character to '?'
Ron Jonk wrote: When I use cfstoredproc to insert a nvarchar string and use cf_sql_longvarchar or cf_sql_varchar as cfprocparam i receive a '?' for every nonlatin character into the SQL stored procedure. Can someone help me how i can recieve special characters like polonian characters into a stored procedure using cfstoredproc. using JDBC? turned on the unicode option for that dsn? ~| 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:197869 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: FB4 n00b: XFAs include full URL?
You'll probably get a better response if you ask this on the Fusebox forums. But I believe that the XFA is meant to be a placeholder for ONLY the fuseaction value itself (hence the name exit fuseaction): a href=#self#?fuseaction=#xfa.submit# Since it appears that you are using XFAs in a way other than what was intended, I think it would be difficult to justify such a change (I haven't ever heard of anyone else doing it like that). Adding Fusebox memory variables, attributes, or tags to the XML grammar requires an really crucial reason to do so. But you're welcome to shoot an email to John Q if you want to try. On Tue, 8 Mar 2005 13:34:31 -0500, Damien McKenna [EMAIL PROTECTED] wrote: I'm starting to learn Fusebox 4 (using John Beynon's excellent tutorials) and have come up with a question. Is there any way to make XFAs include the full URL, path and query string required, rather than simply use them as aliases for the bare fuseaction name? On my FB3 sites I prepend XFA's with the full (dynamically generated) hostname, self file, and all query strings required (one of our sites passes the custom session ID via the URL). I'm hoping to upgrade our sites to FB4 and would like to not have to rewrite everything to follow what I see (in the first few pagess of John's tutorial) as a less simple way of handling it. If there is no way to do this I suggest adding a boolean attribute to the XFA tag called complete. There would then be two extra global fusebox variables, e.g. application.fusebox.xfaCompleteString for storing whatever you wanted to go before the XFA, and application.fusebox.xfaCompleteStringDefault which would be set to false or true, depending on whether you wanted your XFAs to be automatically prepended or not. Thanks. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| 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:197870 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
Form Field Length Issues
I'm working on a form to go with my shiny new CFC/Form Bean I just made. I have a matching database table with fields such as: firstName [varchar(30)], lastname [varchar(50)], birthDate [smalldatetime], etc. When I create my form fields, should I enforce a max limit or just control the size of the visible portion of the field? For example: input type=text size=30 Or input type=text size=30 maxlength=30 My issue with controlling the maxlength of the field is what happens if the user enters some nasty characters such as or ? When I display the form field, I use HTMLEditFormat() to ensure nothing bad happens when the data is displayed: input type=text size=30 value=#htmlEditFormat(myData)# Let's say the user typed in 30 characters and hit the max length of the form field. One, or more of those characters could be escaped by the HTMLEditFormat() function. Now, the length of the value is greater than 30 characters. Now what? I will have server-side validation of the data that will check for a valid length. So, if I have that, is it OK to leave out the maxlength attribute? I'm leaning that direction. Thanks MAD ~| 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:197871 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
Blue Dragon Coexisting with CF 5.0?
Can anyone tell me whether or not its possible to install Blue Dragon Server 6.1 on the same server as ColdFusion 5.0 and keep them both running together? I want to use Blue Dragon with just one or two of the sites running on my server. Will this cause any potential problems? Thanks! __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ ~| 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:197872 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: cisco load balancing across CF pages
Yes. I am not sure about The Cisco Local Director, but with Cisco Content Services Switch I have it pull a file off each server every 15 seconds. The file has some CF coding in it (I have it read from a database). If the file is not pulled up in 3 consecutive attempts, the CSS will assume the server is down and not send traffic to it. Of course, using this example, my database could be the problem and the CSS will assume all servers will be down. But if I have database problems, I have other issues... http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_tech_note0918 6a008009409d.shtml Once again, this is for the Cisco Content Services Switch. Hopefully this could be a start. Jacob -Original Message- From: Greg Saunders [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 9:41 AM To: CF-Talk Subject: cisco load balancing across CF pages I'm trying to set up two load-balanced web servers using Cisco Local Director 4.2.6, and CF 6.1 Standard Edition and IIS. Is there a way to set this up so the requests are sent to the web server with the best response time for ColdFusion pages, or at the very least that if CF dies on one server Cisco starts sending all requests to the other server? I know this is possible with Enterprise and ClusterCats, but I don't really want to go down that road. If it's not possible with Local Director and CF Standard, would it be possible with either: 1. Cisco Content Services Switch (CSS)? 2. Microsoft NLB instead of Cisco? Thanks, Greg Saunders Chief Technical Officer Socratic Arts http://www.socraticarts.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:197873 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: Password Rules - Was: RE: cftransaction... it wasnt safe?
That makes sense... I think I (and probably others) end up with a story that goes once upon a time, back in the day, I tried that and I couldn't get it to work and stick with it, never thinking about the fact that it was 3 or 4 years ago on a substantially different platform. It's not until a thread like this pops up does one realize that times, and platforms, have changed. New tools, new technology, new methods... I guess it's the way things go, eh? Thanks for the thoughts, guys... Laterz, J On Tue, 8 Mar 2005 11:38:18 -0500, Burns, John D [EMAIL PROTECTED] wrote: Right, I agree Barney. I always hash, but I just wanted to make a point that if your system (DB, programming language, OS, etc) support it, we shouldn't feel the need to restrict stuff just because that's always how we thought of passwords. I agree with the username insensitivity and limitations as well. However, most of my systems, I build it so that the username can be an email address or username so that the customer may choose to have the usernames be email addresses or they may want a separate username. John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.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:197874 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
cf_avery....
Has anyone used the cf_avery tag that is suppose to format the information into mailing labels? The directions sounded simple enough- so I did a simple query and set it out to display. I got an error. I can't even get their example.cfm page to work. Instead I get a pop up box claiming: IE cannot dowload blah blah- IE was not able to open this internet site. The requested site is either unavailable or cannot be found The site I'm trying to use it in is fb3, but that shouldn't make a difference. Thanks for any ideas. ~| 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:197875 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: cisco load balancing across CF pages
http://www.informit.com/articles/article.asp?p=31089seqNum=7 -Original Message- From: Greg Saunders [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 9:41 AM To: CF-Talk Subject: cisco load balancing across CF pages I'm trying to set up two load-balanced web servers using Cisco Local Director 4.2.6, and CF 6.1 Standard Edition and IIS. Is there a way to set this up so the requests are sent to the web server with the best response time for ColdFusion pages, or at the very least that if CF dies on one server Cisco starts sending all requests to the other server? I know this is possible with Enterprise and ClusterCats, but I don't really want to go down that road. If it's not possible with Local Director and CF Standard, would it be possible with either: 1. Cisco Content Services Switch (CSS)? 2. Microsoft NLB instead of Cisco? Thanks, Greg Saunders Chief Technical Officer Socratic Arts http://www.socraticarts.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:197876 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: cfc best practices
Thanks you guys. I have several sites that call to the same CFCs so I just mapped them for ease of use. So what is the best way to handle errors in a CFC? On Tue, 8 Mar 2005 10:22:53 -0500, Brian Kotek [EMAIL PROTECTED] wrote: Check out the Macromedia CF coding guidelines and Mach-II development guide. http://livedocs.macromedia.com/wtg/public/ On Tue, 8 Mar 2005 10:09:04 -0500, Calvin Ward [EMAIL PROTECTED] wrote: One common method is the domain name methodology. So, for example, if you get Raymond's Blog CFC, it will typically live under drive:\site\org\camden And be called like so: CreateObject(component,org.camden.Blog) or something like that. However, frameworks may impose their own methodology, which is no worse, and this could be adapted as well. drive:\site\model\org\camden for MachII And would be called like so: CreateObject(component,model.org.camden.Blog) - Calvin ~| 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:197877 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: Blue Dragon Coexisting with CF 5.0?
You'll probably get a better response to BlueDragon questions from the BlueDragon mailing lists. - Calvin -Original Message- From: E C list [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 2:18 PM To: CF-Talk Subject: Blue Dragon Coexisting with CF 5.0? Can anyone tell me whether or not its possible to install Blue Dragon Server 6.1 on the same server as ColdFusion 5.0 and keep them both running together? I want to use Blue Dragon with just one or two of the sites running on my server. Will this cause any potential problems? Thanks! __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ ~| 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:197878 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: cf_avery....
Do you have M$ Word installed? The avery tag uses word to do all the formatting, from what I remember. If it isn't installed, it probably will throw an error. Ray At 02:23 PM 3/8/2005, you wrote: Has anyone used the cf_avery tag that is suppose to format the information into mailing labels? The directions sounded simple enough- so I did a simple query and set it out to display. I got an error. I can't even get their example.cfm page to work. Instead I get a pop up box claiming: IE cannot dowload blah blah- IE was not able to open this internet site. The requested site is either unavailable or cannot be found The site I'm trying to use it in is fb3, but that shouldn't make a difference. Thanks for any ideas. ~| 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:197879 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