Re: Global UUID and Client vars
This doesn't really answer your question, but it seems like you're counting on unique CFID's - seems like I read somewhere that this is not something that you can count on. (though UUID's are supposedly globally unique) - Original Message - From: Dave Carabetta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 10:01 AM Subject: Global UUID and Client vars A couple quick questions: 1. Where and what is the registry key that needs to be modified on a Solaris box to make the CFID generate a Global UUID instead of a sequential number? 2. If CF is upgraded, say from CF 4.01 to 4.5, do the counters that CF keeps track of to generated the sequential CFID get reset? Where is the last number assigned stored? Thanks in advance, Dave. _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: ASP.NET
Noticed that ASP.NET is finally gold. Pretty interesting technology (or powerful, depending on your attitude toward MS) I'm a big fan of the more solutions I can offer, the better, but even if you're 100% committed to CF, I'd recommend checking it out (You can't make professional arguments against competing technologies if you don't understand it - and anti-MS FUD and soundbytes don't qualify as real knowledge) __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Global UUID and Client vars
Assuming non-UUID's: Theoretically, yes. The CFID is only 4 digits long, and the CFTOKEN is 8 digits long. As a combination, this works out to about 100 billion unique values. If you have more sessions than that, I'm sure you have bigger problems! However, I'm one of those mathematical geeks that will only use a value for uniqueness if you can guarantee *pure* uniqueness. Of course, by themselves, CFID and CFTOKEN would have a higher probability of duplicate values, since you can only have 10,000 different CFID values and 100,000,000 different CFTOKEN's. - Original Message - From: Dave Carabetta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 11:45 AM Subject: Re: Global UUID and Client vars Billy, Actually, unless I'm reading what you wrote the wrong way, everybody who uses SESSION or CLIENT variables is counting on unique CFIDs (and CFTOKENS for that matter). That's how the user gets identified. Am I wrong? Dave. Original Message Follows From: Billy Cravens [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: Re: Global UUID and Client vars Date: Wed, 16 Jan 2002 11:04:27 -0600 This doesn't really answer your question, but it seems like you're counting on unique CFID's - seems like I read somewhere that this is not something that you can count on. (though UUID's are supposedly globally unique) - Original Message - From: Dave Carabetta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 10:01 AM Subject: Global UUID and Client vars A couple quick questions: 1. Where and what is the registry key that needs to be modified on a Solaris box to make the CFID generate a Global UUID instead of a sequential number? 2. If CF is upgraded, say from CF 4.01 to 4.5, do the counters that CF keeps track of to generated the sequential CFID get reset? Where is the last number assigned stored? Thanks in advance, Dave. _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: ASP.NET
Most of the ASP sites are chock full of ASP.net info. Off the top of my head: asp101.com learnasp.com 15seconds.com Also, Wrox has written a crapload of books covering ASP.NET and the .NET framework (I was fortunate to be a technical reviewer on a few of them) Most of the MS developer mags are pretty deep into .NET (MSDN mag, Visual Studio mag). Plus there's a new .NET mag by the same ppl who do the Visual Studio mag. Note that Microsoft has futher blurred the line between web and traditional development - since you're developing against the entire CLR in a real language (VB or C#, not VBScript), you really can't learn ASP.NET without learning the framework (though ASP.NET does have features specific to it - sessions, databinding, etc) - Original Message - From: Stephenie Hamilton [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 12:42 PM Subject: RE: ASP.NET do you have any info on resources where one can learn more about NET and how to implement it? in the dark about .NET ~~ Stephenie -Original Message- From: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 12:12 PM To: CF-Talk Subject: OT: ASP.NET Noticed that ASP.NET is finally gold. Pretty interesting technology (or powerful, depending on your attitude toward MS) I'm a big fan of the more solutions I can offer, the better, but even if you're 100% committed to CF, I'd recommend checking it out (You can't make professional arguments against competing technologies if you don't understand it - and anti-MS FUD and soundbytes don't qualify as real knowledge) _ _ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Multiple sites...
For the most part, this isn't something you'd do in your application server - you do it in your web server (for example, custom headers in IIS). However, if you don't have access to the web server, you can do it in code. It's no more difficult to do in CF than it is in any other language. For example, if you use something where you funnel all requests through one file (perhaps Fusebox, but not necessarily) and you have each site's file in it's own directory, something like this in the application.cfm should do the trick: cfset subDomain = listGetAt(cgi.server_name,1,.) cfswitch expression=#subDomain# cfcase value=www cfset dir = production /cfcase cfcase value=beta cfset dir = staging /cfcase /cfswitch cfinclude template=#dir#/app.cfm cfinclude template=#dir#/index.cfm How would you normally do this in ASP? ColdFusion makes this really easy to do because it executes the application.cfm on every request - allowing you to put the server name checking in the application.cfm, and not in your application (plus you don't have to remember includes on multiple files) - Original Message - From: Les Buchanan [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 12:51 PM Subject: RE: Multiple sites... Hmmm... Thanks for all the help everyone... I guess I'll just have to decide the lesser of the two evils. =) I'm surprised that ColdFusion server doesn't have a way to handle multiple sites. Does anyone know if there is going to be any support for this in future editions? Thanks again everyone! ---Les Buchanan -Original Message- From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 11:32 AM To: CF-Talk Subject: RE: Multiple sites... Hi Les, I do all my mapping stuff in the application.cfm file. That way, when you move things over, you just change a few lines in the application.cfm file. I set imagepath, DSN, homepath, and a few others... Makes things go real smnooth when moving over. Mike -Original Message- From: Les Buchanan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 1:17 PM To: CF-Talk Subject: Multiple sites... Hi, I'm new on the list and to ColdFusion in general, so take it easy on me. I would like to have two (or more) sites on my NT box, one for staging, and one for production. For example, I'd like to have a website (stage.livingscriptures.com) that I do all my pre-production work in, and then when I'm finished, simply copy everything over to a different directory, that would be my production site (www.livingscriptures.com). This is very simple to do with say, ASP, but I have found difficulty in getting this to work with ColdFusion. When you're trying to cfinclude templates, it won't include from the proper directory, without creating mappings in the ColdFusion administrator, and then using a variable to store that mapping. My co-worker introduced my to ColdFusion, and I think it's a GREAT product, but the inability to do this has frustrated me. Maybe I'm approaching this the wrong way. I'd really appreciate it if someone could help me with this. Thanks! ---Les Buchanan Newbie ColdFusion Developer __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Downloadable quick reference...
If you're using ColdFusion Studio for development, it is built into the IDE. Click on the Help tab in the resource tab; look for the CFML Reference tab. You can also find documentation here: http://www.macromedia.com/v1/developer/documentation/coldfusion.cfm though it isn't in the .chm format the the VBScript documentation is - Original Message - From: Les Buchanan [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 3:55 PM Subject: Downloadable quick reference... I have a VBScript reference that I can search / browse through... I believe it's just a downloaded help file. Is there anything out there for ColdFusion that I can download? ---Les __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Looking for suggestions for a Virtual Museum
As a fan of history (more of geeky interest in it - I'm not a history buff because I'm not buff in my history knowledge) this sounds fascinating. I would try to keep the vision of the museum in mind when you start doing application design and data modeling. Try to model it the same way the museum does - either by geographical context, or by date, etc. I've seen many situations where the data organization didn't resemble the real world organization used by the real world version of the group/business etc that the site represented. In other words, don't miss the forest for the trees. - Original Message - From: Shawn Grover [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 2:45 PM Subject: Looking for suggestions for a Virtual Museum One of the sites I volunteer my time for is considering putting their museum online (a virtual museum). I'm looking for ideas on how to accomplish this. When they say virtual museum they simply mean providing access to some/most/all of the museum resources online. We do not necessarily need a VRML environment (and I'd rather avoid the extra complexity). So basically a search engine to their resources. I have considered taking the content management route (meaning they upload Word/PDF/Image/etc. files, and it gets mapped into the site automatically), but am not yet convinced this is the best solution. Most of the museum artifacts are old magazines, pilot and maintenance manuals and such - well suited for content management I think. But I'm not sure if a CM system would be able to handle our particular needs for searching/sorting/storage. (I'd roll my own if we go this route, so that's not really a strong argument). Unfortunately, they only have maybe 1% (if that) of their resources in digital format thus far. Anyone want to offer ideas on how to approach this project?? It would be great to hear from someone who has but museum resources online before. If it helps, here is their current website: www.arrow2000.ab.ca This site is undergoing massive revisions (using the powers of Cold Fusion of course... grins) and will likely integrate with the virtual museum concept at a later date. Thanks for any feedback. I think this project is a bit bigger than I thought when I first agreed to take it on, but hey, I gotta learn how to handle a project of this size sooner or later... __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Need something like the MSWC.BrowserType object
There's a number of custom tags available, like cf_browser (all they do is parse the cgi.user_agent) - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, January 14, 2002 6:49 PM Subject: Need something like the MSWC.BrowserType object Hmm, it looks like I can't use the MSWC.BrowserType object in CF. Is there anything out there that's FREE that can get me the browser build (this is an IE specific app)? __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Content Management System Intranet
I'm not sure if it fits your needs, but take a look at iiFramework (www.iiFramework.com). It's pretty inexpensive. - Original Message - From: Paul Ihrig [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, January 15, 2002 8:23 AM Subject: Content Management System Intranet hello all was wondering if any one knows of a content management system for intranet built in CF? i need to merge 2 large intranets into one. would like to be able to give more control of content to the end users. i am sure i could build one, but with limited time, i thought this may have already have been done a few hundred times by better developers then my self. thanks all. for any advice! __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Quanta?
I've used Quanta (for PHP, not CF development). It's not a bad editor, but it doesn't have the power of Studio. Once they offer (do they?) the ability to extend the IDE with user-defined toolbars and wizards (similar to VTML), it will be very cool. (I know they say they support CF, but I get the feeling that it won't be much more than recognition of file extensions and some color coding, similar to Studio's support for things like Java and Perl). I think it's a good option (analagous to using Homesite) but I think using CF Studio in a WINE/VMWare like session would be better. - Original Message - From: Chris Montgomery [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 10:31 AM Subject: Quanta? Anyone ever used Quanta for developing CF pages? If so, what are your experiences with it? Here'a a mention in the Linux Today Newsletter (1/9/02): LINUXPR: THEKOMPANY.COM RELEASES QUANTA GOLD VERSION 3.3.2 WITH ZOPE AND COLDFUSION SUPPORT Quanta Gold is designed for the professional web developer that needs sophisticated project management abilities as well as all the features and hooks that a modern web site needs. This release is significant for the expanded support of various web languages. COMPLETE STORY: http://linuxpr.com/releases/4399.html -- Chris Montgomery [EMAIL PROTECTED] Web Development Consulting, Software Sales http://www.astutia.com Macromedia Sales Consulting Partner __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: calling .sql scripts with CF and MySQL: how to?
I don't think there's a way to do it using CFQuery, since the method requires directing a file into the mySQL client via command line. Your best bet seems like CFExecute. (I'm assuming this is available for Solaris - I'm absolutely ignorant on CF/Solaris) - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 10:26 AM Subject: calling .sql scripts with CF and MySQL: how to? I'm still getting my head around the MySQL/Solaris combination with CF -- sorry if this question is very basic. I want to call .sql scripts from the MySQL database via CF. How can I do this? Thanks, Marc Garrett __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: calling .sql scripts with CF and MySQL: how to?
Why no just CFFile the .sql file, and include the contents of the file in a CFQuery - this isn't exactly what you're looking for, but it gives you same results. - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 10:26 AM Subject: calling .sql scripts with CF and MySQL: how to? I'm still getting my head around the MySQL/Solaris combination with CF -- sorry if this question is very basic. I want to call .sql scripts from the MySQL database via CF. How can I do this? Thanks, Marc Garrett __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: verity and html comments round II
Here's my 30-second workaround - CF process that grabs source from all the pages, strips out comment indicators (but keeps text of comments), sticks text into db. Then verity against the db, and have pointers to the true url in the database, which are then output as the result of your verity search. - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 10:23 AM Subject: verity and html comments round II is there any special configuration you have to use in order to have verity index commented out html text? a co-worker has indexed a bunch of html pages that have the word orgeon in them many times within commented out html. the only pages that verity is returning are the ones that have oregon in the title (the only portion of the page that isn't commented out). thanks, phillip __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
flash components: calendar
I'm trying to use the Flash Components kit's calendar widget. I'm using it in inline mode for date selection. The custom tag creates a hidden form field for the field that I specify, but no matter what I select in the calendar, it always passes a zero-length string. Does this widget work at all? __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: flash components: calendar
Yeah, double clicking seemed to do the trick - this is unacceptable, so it looks like I'll go with a DHTML calendar. Any suggestions? - Original Message - From: Angel Stewart [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 12:38 PM Subject: RE: flash components: calendar The widget is f***ked up. You need to DOUBLE CLICK the date you select in order for it to register. At least this works in Internet Explorer. Doesn't seem to work at all in Opera. A real shame :( -Gel -Original Message- From: Billy Cravens [mailto:[EMAIL PROTECTED]] I'm trying to use the Flash Components kit's calendar widget. I'm using it in inline mode for date selection. The custom tag creates a hidden form field for the field that I specify, but no matter what I select in the calendar, it always passes a zero-length string. Does this widget work at all? __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFMAIL problem - not sending, stuck in spool
Wouldn't this tag only handle mail that is in the UNDELIVERABLE folder? If so, this has nothing to do with Melissa's problem. - Original Message - From: Don Vawter [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 11:13 AM Subject: Re: CFMAIL problem - not sending, stuck in spool Get the resendmail tag from the tag gallery - Original Message - From: Melissa Fraher [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 10:20 AM Subject: CFMAIL problem - not sending, stuck in spool I have a problem with Cold Fusion sending out email and was just wondering if you have any advice. When the mail is generated it sits in a folder named SPOOL. If it gets sent, it disappears from the SPOOL. If it cannot be delivered in 60 seconds it goes to the UNDELIVERABLE folder. For some reason a piece of mail is stuck in the SPOOL folder, it is not being delivered, or marked undeliverable. It is also holding up the spool. I tried to delete the file, but got an error : Cannot delete 2E4: There has been a sharing violation, the source or destination file may be in use. Do you guys know of a way to kill this file? It is in Cfusion\Mail\Spool\ __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Step in the rigth direction --Developer Edition
Of course, if the user had a liscensed copy of CF Studio, it included the developers copy of CF Server. I'd think you'd make CF Studio (liscensed, not trial) one of your class requirements. - Original Message - From: Jason Kufner [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 1:06 PM Subject: Step in the rigth direction --Developer Edition I just wanted to point this out to everyone on the list. With all the talk about the 'death of coldFusion' I think this is a real step in the right direction. I've already convinced one client to use ColdFusion BECAUSE their IT department could poke around and use this Developers' Edition to learn the notes and bolts. I teach a number of web Design classes- and always felt a little uncomfortable giving coldfusion homework to students. There only option for testing scripts was to buy service though an ISP that ran coldfusion, or 'find' a copy to play with. (Finally I set up a server on my home machine and let my students ftp into that...) In the days since this release most of my students have downloaded the Developers' Edition and the reviews have been great. Here are the links: http://www.macromedia.com/software/coldfusion/trial/ and for more info: http://www.macromedia.com/software/coldfusion/trial/faq/ Good job Macromedia FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Help Quick!
It can. (I think this might be IIS5+ - but I could be wrong) look at the app mappings (properties of web site, Home Directory, Configuration, Edit a mapping) and you'll see an option for Check that file exists - Original Message - From: Neil H. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 4:29 PM Subject: Re: Help Quick! I am a little confused. I didn't think IIS could catch missing CFM pages?! Neil - Original Message - From: Don Vawter [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 4:29 PM Subject: Re: Help Quick! I use IIS to redirect all errors to a handling template. If it is not a cf template the cgi.query_string looks like this: 404;http://www.cyberroomies.com/robots.txt If it is a cf template you can find it cgi.script_name BTW a trick I use is that if the missing object is an image I use cfcontent to serve a substitute place holder image so you don't get a broken image link - Original Message - From: Neil H. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 12:35 PM Subject: Help Quick! I am trying to determine when a page doesn't exist by using the missing page handler in CF. How do I determine what the actual page is? Thanks, Neil __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Help Quick!
Actually, there's no mind reading involved. You know the URL they are looking for, as well as any variables GET'ed or POST'ed. Easy enough to look at that information and develop a method for redirecting the user (possibly a database of moved pages, or a lookup for common typos of URL's) - Original Message - From: Alex [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 3:01 PM Subject: Re: Help Quick! Thanks for providing all the information needed to solve your problem. From what I can see if someone asks for www.site.com/blah.cfm and blah.cfm doesn't exist you want to read the web surfers mind and find out where they wanted to go. Try cf_mindreader from the developers exchange. On Thu, 10 Jan 2002, Neil H. wrote: I am trying to determine when a page doesn't exist by using the missing p age handler in CF. How do I determine what the actual page is? Thanks, Neil __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Step in the rigth direction --Developer Edition
Not really. I know there are those that develop in Notepad or Homesite, but most will agree that CF Studio is the tool of choice for professional CF Development. Most forms of education have requisites for classes - books, materials, etc. However, I'll agree that providing a devloper liscense for CF is a smart move. Not necessarily for education, but it is (was) stupid for Allaire/Macromedia to not offer a developer liscense when competing technologies (like ASP, PHP, and others) are either free or offer a developers liscense for free. - Original Message - From: Jeffry Houser [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 3:23 PM Subject: Re: Step in the rigth direction --Developer Edition That is a pretty expensive requirement for a class isn't it? Even with an education discount, it's still over $100, right? At 01:45 PM 01/10/2002 -0600, you wrote: Of course, if the user had a liscensed copy of CF Studio, it included the developers copy of CF Server. I'd think you'd make CF Studio (liscensed, not trial) one of your class requirements. - Original Message - From: Jason Kufner [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 1:06 PM Subject: Step in the rigth direction --Developer Edition I just wanted to point this out to everyone on the list. With all the talk about the 'death of coldFusion' I think this is a real step in the right direction. I've already convinced one client to use ColdFusion BECAUSE their IT department could poke around and use this Developers' Edition to learn the notes and bolts. I teach a number of web Design classes- and always felt a little uncomfortable giving coldfusion homework to students. There only option for testing scripts was to buy service though an ISP that ran coldfusion, or 'find' a copy to play with. (Finally I set up a server on my home machine and let my students ftp into that...) In the days since this release most of my students have downloaded the Developers' Edition and the reviews have been great. Here are the links: http://www.macromedia.com/software/coldfusion/trial/ and for more info: http://www.macromedia.com/software/coldfusion/trial/faq/ Good job Macromedia FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Defining internal DB relationships necessary?
Are you sure that the relationships are only used in the Access GUI? My understanding is that they were true constraints. I'd recommending building your schemas the right way - for practice sake and for future robustness of those applications. - Original Message - From: Gyrus [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 9:31 AM Subject: Defining internal DB relationships necessary? My only work with databases is through ColdFusion, largely Access. In designing the tables, Access forces you to define a Primary Key, but I've only ever used the Relationships view where you define the actual relationships for visualisation purposes. Most of the sites I've done have been relatively straight- forward, and even though to start with I made myself draw up table schemas to get the relationships right, I can usually just run DB designs off without too much planning now. I always saw the relationships defined *in Access* as being only relevant to people using the DB with a front-end designed in Access itself. I deal with all constraints and so on via the CF code, validating forms, etc. However, I've just got round to creating tables via SQL, and studying the syntax for this I've wondered if specifying constraints, keys, etc., for explicit definition in the structure of the DB is necessary... Is it best to do it, but not essential for small apps with good form validation? What are the problems involved if you just create a table with the datatypes and defaults, no constraints? My basic start for learning bits of SQL is Ben Forta's 'SQL in 10 Minutes', and none of the CREATE TABLE examples use anything other than datatype and default definitions. Is this misleading? Any comments/advice on this topic welcome! - Gyrus - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: fusebox.org
Bizarre - went to fusebox.org, and for a few minutes, received one of those stupid domain for sale pages (you know, with the cheesy 'click and make me money' wanna-be portals). Everything appears to be ok now. __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF Mappings
Whether or not you wish to use mappings in your application. You'd use them in CFInclude and CFModule - Original Message - From: James Taavon [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 11:53 AM Subject: CF Mappings What is the determining factor whether you need a Mapping for your application or not? Is it necessary for the app to work? James __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Historical events
You could contact some of the sites that have this functionality and see if they'd sell. Do a search for on this day (keep the quotes) in Yahoo or Google. You'll get results for sites like http://www.on-this-day.com/ - Original Message - From: Bud [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 12:03 PM Subject: OT: Historical events Howdy all. I'm in need of a database that would have a news event for every day from 1900 thru today. Any ideas on where such a beast exists? The client is certainly willing to pay rather than populating it himself. Thanks. Sorry for the OT post. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Defining internal DB relationships necessary?
You're right, not defining the relationships won't cause anything to crash, but can compromise the integrity of your database - Original Message - From: Gyrus [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 10:52 AM Subject: Re: Defining internal DB relationships necessary? Are you sure that the relationships are only used in the Access GUI? My understanding is that they were true constraints. You're right, I believe - only I've never had a single problem so far with not defining them inside the DB (apart from PK's, which Access forces, and I've got into the habit of defining by default). So far is probably the operative part of this, though! I'm incredibly thorough with my code that inserts data, but I appreciate that I should get into the habit of defining relationships explicitly. I was asking really to make sure I didn't get any replies going, Ohmigod!! You haven't defined the relationships!! All your sites are about to crash! Well, as I said, nothing bad so far, but will bear this advice in mind... cheers, - Gyrus - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Defining internal DB relationships necessary?
There would be an error, but IMHO, *this is a good thing* - during development, it would illustrate an area where data integrity was being violated, and allow you to fix the problem (cascading deletes through triggers, or done manually through cfml) - Original Message - From: Gyrus [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 11:49 AM Subject: Re: Defining internal DB relationships necessary? Well here is my thought. As far as my DB is concerned I fully use creating a pri key and foreign key relationships where needed on all my tables. This helps so much in avoiding someone delteting something from one table that relies on something in another table. As I said, I do rigorous checks in the CF app for this sort of stuff. I think my initial reasoning was, I'd like to control error-checking at the app level. So, if someone tried to delete a record whose PK is related to several FK's in other tables, I'd do a query to check, and tell them why they can't delete. I just thought, if I rely on the DBMS, it might prevent the deletion, but the page might break and I don't know what sort of error message they'd get, whether it would be friendly or not. What *would* happen if such a delete was attempted on a DB that had rigorous relationships defined, but where the app had no checks? What would the user see in the return page? Would it break the generated CF? Or would the success page show, despite the fact that the DELETE was rolled back (with no indication that it had failed)? I know this is what CFTRY is for, but I just opted to spend time coding app-based checks rather than defining relationships and coding error handling. Anyways, isn't CFTRY kind of generic, as in, you could catch DB errors but not really know what's gone wrong? Another reason for doing this is that I use SQL 2K and use the diagram feature alot since I have several tables and I can see how each table relates to the others in the schema, as you mentioned. Yeah, some Access DB's I've done *do* have relationships defined, because I've defined them so I can visualise them, or need to present a design to a client. I actually came to this question because I'm building a developer toolkit in my new backend CMS template, which contains a pretty basic system for creating and altering DB tables online. It's become a lot more complex than I intended, but I am giving the option to index specific fields, requiring default value if NULL not allowed, forcing definition of PK field on creation of new table, etc. I just looked at some sample SQL in 'SQL in a Nutshell' and wondered about spending another few nights coding all the constraints code for SQL definition of relationships... :-| - Gyrus - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF Mappings
No, there is no need to set up a mapping (though the error message seems to indicate it). Mappings are more or less for convenience sake - you can point to a file without a mapping (using the relative path) Your error indicates that the file doesn't exist. - Original Message - From: James Taavon [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 12:41 PM Subject: RE: CF Mappings hmmm, ok. my question came about because i have two apps right now on CF 4.5 running on NT server. One works just fine, it has a mapping which I did not know of until today since I did not set it up. The second one i have does not. I get the error: -- -- Error Occurred While Processing Request Error Diagnostic Information Template file not found. HTTP/1.0 404 Object Not Found Note: If you wish to use an absolute template path (e.g. TEMPLATE=/mypath/index.cfm) with CFINCLUDE then you must create a mapping for the path using the ColdFusion Administrator. Using relative paths (e.g. TEMPLATE=index.cfm or TEMPLATE=../index.cfm) does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible. -- -- Do I need to create a mapping to where the app exists for it to work? I have never needed to before, that is why I am asking? -Original Message- From: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 1:11 PM To: CF-Talk Subject: Re: CF Mappings Whether or not you wish to use mappings in your application. You'd use them in CFInclude and CFModule - Original Message - From: James Taavon [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 11:53 AM Subject: CF Mappings What is the determining factor whether you need a Mapping for your application or not? Is it necessary for the app to work? James __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: SiteSprung
Couldn't help but chuckle when I saw this on the Developer's Exchange. A web based project management system that competes with SiteSpring - seems like the product name similarity could cause Macromedia's lawyers to use someone's head as a trampoline. :-) __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFLOCK on files
Note that CFLock is totally indepedent of file locking. CFLock only locks a block of code within a particular context within CF. I was under the impression that the other service Jim was referring to wasn't necessarily a CF application, in which case CFLock would have absolutely ZERO affect on access to the file. My recommendation: when dealing with files in use by third-party applications, things tend to get really messy. (I had a bad experience trashing a FoxPro database in use by a legacy POS system once) I'd recommend forgoing CFFile altogether, and write a COM object that uses the Win32 API to look at the status of the file, and behaves accordingly. - Original Message - From: Chris Norloff [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, January 08, 2002 11:12 AM Subject: Re: CFLOCK on files I wouldn't count on there being any automatic file locking with operations like cffile. For our use of cffile, we use it inside named locks that prev ent multiple simultaneous accesses to error log files we generate. This ha s worked well, even with busy error logging with many users ...sigh. So you might be able to get by without an explicit lock, but it's one of th e first places I'd look if there's problems with cfserver stability. best, Chris Norloff BTW, we learned the hard way that when cffile does an action=append, it a ctually reads the ENTIRE file into memory, then appends the new info, then writes the entire file to the disk. So watch your file size and your avail able memory ... -- Original Message -- from: Jim McAtee [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] date: Tue, 8 Jan 2002 09:53:12 -0700 Even if you can't explicitly lock a file during a CFFILE operation... If C F uses system-level function calls to read and write files (that must be why it's capable of being locked out of a file when another application has it locked), then you would think that during a CF file write operation, the O S must place a lock on the file. Or no? The reason I brought up the point in the first place is that I need to rea d and write a large number of small text files that are in use by another, very busy service. I'm hoping that by doing so, I wouldn't be causing problems for that application, or for CF itself. Jim - Original Message - From: Jochem van Dieten [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, January 07, 2002 5:24 PM Subject: Re: CFLOCK on files Kelly Matthews wrote: as far as I know it's not something that can be done. CFLOCK is strict ly for sessions, etc. CFLOCK is for single threading CF. Whatever you do inside that single threaded application is not of CFs concern. CFFILE doesn't allow you to add a system level lock on a file nor release a lock. Unfortunately not. Jochem __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFLOCK on files
I don't think it's any more ill-behaved than any other high-level mechanism (like FileScriptingObject) when it comes to manipulating files when there may be contention from multiple sources. It really boils down to knowing who else needs access to the file, and how that interface functions. - Original Message - From: Jim McAtee [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, January 08, 2002 12:06 PM Subject: Re: CFLOCK on files I'm clear on the fact that CFLOCK and CFFILE are independent of one another. Originally, I was hoping there was an outside chance that CF might enforce system level file locking when a CFFILE operation was contained within a CFLOCK. I'm also completely clear on the benefits of using CFLOCK's around CFFILE operations and am aware that those locks are only recognized and for the benefit of the CF application server itself. If CFFILE is really as ill-behaved as everyone says, then that has at a least a few implications for its use and usefulness. Jim - Original Message - From: Billy Cravens [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, January 08, 2002 10:32 AM Subject: Re: CFLOCK on files Note that CFLock is totally indepedent of file locking. CFLock only locks a block of code within a particular context within CF. I was under the impression that the other service Jim was referring to wasn't necessarily a CF application, in which case CFLock would have absolutely ZERO affect on access to the file. My recommendation: when dealing with files in use by third-party applications, things tend to get really messy. (I had a bad experience trashing a FoxPro database in use by a legacy POS system once) I'd recommend forgoing CFFile altogether, and write a COM object that uses the Win32 API to look at the status of the file, and behaves accordingly. - Original Message - From: Chris Norloff [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, January 08, 2002 11:12 AM Subject: Re: CFLOCK on files I wouldn't count on there being any automatic file locking with operations like cffile. For our use of cffile, we use it inside named locks that prev ent multiple simultaneous accesses to error log files we generate. This ha s worked well, even with busy error logging with many users ...sigh. So you might be able to get by without an explicit lock, but it's one of th e first places I'd look if there's problems with cfserver stability. best, Chris Norloff BTW, we learned the hard way that when cffile does an action=append, it a ctually reads the ENTIRE file into memory, then appends the new info, then writes the entire file to the disk. So watch your file size and your avail able memory ... -- Original Message -- from: Jim McAtee [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] date: Tue, 8 Jan 2002 09:53:12 -0700 Even if you can't explicitly lock a file during a CFFILE operation... If C F uses system-level function calls to read and write files (that must be why it's capable of being locked out of a file when another application has it locked), then you would think that during a CF file write operation, the O S must place a lock on the file. Or no? The reason I brought up the point in the first place is that I need to rea d and write a large number of small text files that are in use by another, very busy service. I'm hoping that by doing so, I wouldn't be causing problems for that application, or for CF itself. Jim - Original Message - From: Jochem van Dieten [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, January 07, 2002 5:24 PM Subject: Re: CFLOCK on files Kelly Matthews wrote: as far as I know it's not something that can be done. CFLOCK is strict ly for sessions, etc. CFLOCK is for single threading CF. Whatever you do inside that single threaded application is not of CFs concern. CFFILE doesn't allow you to add a system level lock on a file nor release a lock. Unfortunately not. Jochem __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: problem with dynamic data in my select boxes
When you start iterating through your inner query, it loses its place in the first query - meaning, referencing a column from the outtermost query and expecting it to know what row it is on. Like referencing query.column outside of a query loop, it defaults to the first row's value. You should save the column value in a local variable before entering the inner query loop: cfset thisDecisionID = getReviewers.decisionID CFLOOP query=getDCodes option value=#decID# CFIF getDCodes.decisionID EQ thisDecisionIDselected/cfif - Original Message - From: Tammy Hong [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, January 08, 2002 12:52 PM Subject: problem with dynamic data in my select boxes Hi everyone, Can someone please point to me what the problem here is? I basically have two queries. One pulls out the record set for a particular ID number and is grouped in a cfoutput based on another ID number. The problem is that when I have more than one dynamically populated select box with the HTML below, the ID that is selected is not the right one. It will select the first decID of the first reviewer that is outputted. I am sure this is the right way to reference the variables. Can someone point me to the incorrect logic? Please! I'm about to pull my hair out. See below: CFOUTPUT query=getReviewers group=reviewerID select name=decID option value=0[Select a decision]/option CFLOOP query=getDCodes option value=#decID# CFIF getDCodes.decisionID EQ getReviewers.decisionIDselected/cfif #trim(decisionDescription)#/option /CFLOOP /select /CFOUTPUT Tammy __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Clustering and CF variables.
What are the performance implications of allowing your registry to grow like that? A portion of memory allocated to Windows is for the registry, and the bigger the registry, the more memory used. - Original Message - From: Tyler M. Fitch [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, January 08, 2002 2:01 PM Subject: RE: Clustering and CF variables. I would like to add that Ken's *not necessarily* right - if the server is a dedicated CF server then DO USE THE REGISTRY for client variables. The registry provides the greatest performance when using client variables, which is why it is used by default and why it is even an option. Do you think MM made it an option just because it was possible or because it can be highly useful? There are three options for three or more server environments. Just plan ahead for it. When you build the server, adjust the registry to grow to around 100MB and it won't slow down and cause the server to crap out. Monitor the size of the registry as well, drop the persistance of client variable data from 90 if the registry grows to large or allow the registry to grow larger. Just my two cents. I've said it before I'll say it again the next time some SCREAMS that the registry won't work. One users bad experience shouldn't deter all others from the truth. t ** Tyler M. Fitch Certified Advanced ColdFusion 5 Developer ISITE Design, Inc. 615 SW Broadway Ste. 200 Portland, OR 97205 503.221.9860 ext. 111 http://isitedesign.com ** -Original Message- From: Peter Tilbrook [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 05, 2002 12:52 AM To: CF-Talk Subject: RE: Clustering and CF variables. Ken's right - do NOT use the registry for storing client variables. By default this is exactly what CF does. One of the first things you should do upon installing CF is create an empty database, say called ClientVariables, and make this the DEFAULT storage source (under the CF Administrator which is smart enough to create the necessary tables in a blank database). You will save your system/s from potential problems of the Registry filling up by doing this. You can still setup seperate Client storage databases for each application however. If you don't specify which datasource to use (in your application.cfm file) then the default will be used instead. Client variables are very useful for storing persistent information for a long period of time. I think the CF default is about 90 days. I wrote a neat application for calculating the nutrient content of foods to originally remember what a customer had entered (see http://www.anzfa.gov.au/npc/anzfa_npc) but the powers that be did not want any data to be retained by the server so I had to go back to Session instead. Also remember that when using client/session variables you must track the CLIENT (the web browser itself) through the application by appending the CFID/CFTOKEN to your URL's etc. Ben Forta's masterful Web Application Construction Kit (see www.forta.com) discusses these techniques very well. Cheers! Peter Tilbrook __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Creating ZIP archives
Alternately, you can use CFExecute and a command line program like PKZip. - Original Message - From: Jeff Sarsoun [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, January 08, 2002 2:21 PM Subject: RE: Creating ZIP archives I wrote a java CFX tag that does exactly this. Email me off list if you would like try it. JS -Original Message- From: Nick Texidor [mailto:[EMAIL PROTECTED]] Sent: Monday, January 07, 2002 6:39 PM To: CF-Talk Subject: Creating ZIP archives Hi, I have a requirement to zip up some image files together and FTP them to another server. The FTP bit is easy, but I'm wondering if anyone knows how (or whether there are any modules) that will create a ZIP file. Thanks Nick -- Nick Texidor __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: VNC vs PC Anywhere
Or you could get Windows XP Professional (cheaper than 2K Server) --- Billy Cravens - Original Message - From: David Brown [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 6:14 PM Subject: Re: VNC vs PC Anywhere Thank you, Yes I have installed the client to control other servers and have also installed and used the web client. But am tired of using pcw to control my workstation. I guess I will just install a copy of server and install of my of tools on it. That will allow me to control my workstation from home through terminal server. - Original Message - From: BILLY CRAVENS [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 2:05 PM Subject: Re: VNC vs PC Anywhere Not the server, but you can install the client. (Windows XP Professional does have a TS server though) Go to the link I posted earlier. Thee should be a link to the workstation client. Alternately, you can install the web version (same link) on any IIS box to control a TS server. --- Billy Cravens - Original Message - From: David Brown [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 1:03 PM Subject: Re: VNC vs PC Anywhere Can you install Terminal Server on Windows 2000 professional? I have it installed on some servers, but my workstation is professional and pc anywhere is abit slow. - Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 1:03 PM Subject: RE: VNC vs PC Anywhere Has anyone had any experience using VNC from ATT - it seems reasonably good (and free) at first glance. Anything I should be aware of if we were to use it on a production box? Yes. By itself, it is pretty unsecure, while pcAnywhere isn't if properly configured. If you want to use VNC securely, you can set it up to run through SSH, but on Windows, you're probably better off using pcAnywhere or Terminal Server. I'm a big Terminal Server fan now - I can run it from a Pocket PC! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: javascript escape sequence problem
Your double quotes inside of your pound signs should not make a difference if they're part of a function. Is the JavaScript nested inside of a CFOUTPUT? --- Billy Cravens - Original Message - From: Gilbert Midonnet [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 20, 2001 9:44 AM Subject: javascript escape sequence problem I have a javascript that I'm trying to embed some CF into its an if-else if a { cellStart + ahrefStart + 'summary' + getYear + '_' + getMonth + '_' + ... } I want to add a piece of code [see below] var encodeStart = 'aaa/bbb.cfm?PDFPath=#URLEncodedFormat(ccc/ddd)#PDFName=#URLEncodedFormat (eee.pdf) '; and make the new statement: if a { cellstart + ahrefStart + encodeStart + 'summary' + getYear + '_' + getMonth + '_' + ... } however it's not reading correctly. If I remove the it reads the ccc/ddd. If I leave it, it doesn't. But it works elsewhere var cellStart = 'a href='; I've tried every combination I can think of. Has anybody come across a problem like this? TIA gilbert midonnet -- -- This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Reading header variables in Cold Fusion
Look at this function: GetHttpRequestData() ---Billy Cravens - Original Message - From: Alan Walker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 20, 2001 1:10 PM Subject: Reading header variables in Cold Fusion Hello All, I am developing an application that requires variables passed from an existing system. The existing system is behind a firewall so I am unable to write an LDAP query to get to the information. The have informed me that they can send the information needed via a set of header variables. Does anyone know what CF function allows you to read header variables? I know there has been some discussion about CFHTTP but isn't that specifically used to read a text file? Your input in much appreciated. Regards, Alan Walker Technical Lead Vérité Multimedia, Inc. http://www.verite.com DVD * CD * Web * Print * Film * Sound __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Disable form field based on select box
In some browsers, you can set a text field to readonly. However, for a version that is cross-browser, I would look at hiding/showing layers based on what the value of the select box. --- Billy Cravens - Original Message - From: Paul Ihrig [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 20, 2001 12:26 PM Subject: Disable form field based on select box hello all! i have a select box called select name=Contract_Type i would like to Disable a text field called input type=text name=Contract_Amount value=cfoutput#DollarFormat(RS_Update_PG2.Contract_Amount)#/cfoutput if the selecton in the select box IS option value=Open Hourly but leave the text field enable if it is not selected I have tried this, but it dosnt seem to work select name=Contract_Type onChange=CFIF value IS Open Hourly input diasabled type=text name=Contract_Amount CFELSE input diasabled type=text name=Contract_Amount value=cfoutput#DollarFormat(RS_Update_PG2.Contract_Amount)#/cfoutput /CFIF any help would be great! -paul __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Reading header variables in Cold Fusion
Nevermind - I'm wrong. Look at Joseph DeVore's post. :-) --- Billy Cravens - Original Message - From: BILLY CRAVENS [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 20, 2001 1:21 PM Subject: Re: Reading header variables in Cold Fusion Look at this function: GetHttpRequestData() ---Billy Cravens - Original Message - From: Alan Walker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 20, 2001 1:10 PM Subject: Reading header variables in Cold Fusion Hello All, I am developing an application that requires variables passed from an existing system. The existing system is behind a firewall so I am unable to write an LDAP query to get to the information. The have informed me that they can send the information needed via a set of header variables. Does anyone know what CF function allows you to read header variables? I know there has been some discussion about CFHTTP but isn't that specifically used to read a text file? Your input in much appreciated. Regards, Alan Walker Technical Lead Vérité Multimedia, Inc. http://www.verite.com DVD * CD * Web * Print * Film * Sound __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: simple HTML ?
change the javascript:void() to # (be sure to escape it as necessary) --- Billy Cravens - Original Message - From: Douglas Brown [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 20, 2001 4:51 PM Subject: Re: simple HTML ? I tried your code, but get an error in the javascript:void(); It seems li ke it wants something between the () or something Doug - Original Message - From: Garza, Jeff [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 20, 2001 2:14 PM Subject: RE: simple HTML ? a href=javascript:void(); onclick=document.[formname].submit();mylink/a Jeff Garza Lead Developer/Webmaster Spectrum Astro, Inc. 480.892.8200 [EMAIL PROTECTED] http://www.spectrumastro.com -Original Message- From: Douglas Brown [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 3:20 PM To: CF-Talk Subject: OT: simple HTML ? I want to pass the values of some hidden fields, but I am not using a submit button. I am using a text link. How would I pass the form and hidden fields? Thanks __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: simple HTML ?
I like using # instead, since it keeps the browser from going to somewhere non-existent for those that have JS disabled. Plus, it's shorter to type. :-) --- Billy Cravens - Original Message - From: Garza, Jeff [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 20, 2001 4:55 PM Subject: RE: simple HTML ? You could replace the href=javascript:void(); with a href=javascript:// This should take care of it. I noticed in another post (to another group) that not all browsers recognize the void statement. You might also try putting a zero in the parentheses (0). Sorry about the bad function. Jeff Garza Lead Developer/Webmaster Spectrum Astro, Inc. 480.892.8200 [EMAIL PROTECTED] http://www.spectrumastro.com -Original Message- From: Douglas Brown [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 3:52 PM To: CF-Talk Subject: Re: simple HTML ? I tried your code, but get an error in the javascript:void(); It seems li ke it wants something between the () or something Doug - Original Message - From: Garza, Jeff [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 20, 2001 2:14 PM Subject: RE: simple HTML ? a href=javascript:void(); onclick=document.[formname].submit();mylink/a Jeff Garza Lead Developer/Webmaster Spectrum Astro, Inc. 480.892.8200 [EMAIL PROTECTED] http://www.spectrumastro.com -Original Message- From: Douglas Brown [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 3:20 PM To: CF-Talk Subject: OT: simple HTML ? I want to pass the values of some hidden fields, but I am not using a submit button. I am using a text link. How would I pass the form and hidden fields? Thanks __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: How can I get a query's name?
Why not change your UDF to take the name of the query as a string, and when referencing your query, use evaluate(). --- Billy Cravens - Original Message - From: Jon Hall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 20, 2001 4:38 PM Subject: Re: How can I get a query's name? Just to explain, I am passing a query to a UDF, not the name of the query. Since in passing the query as a parameter to the UDF, the reference to the query gets named as my parameter. In my UDF I am outputing the query using the queryname[column][row] notaion. For a certain part of code I would like to know the query name itself. jon - Original Message - From: Gregory Harris [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 20, 2001 5:23 PM Subject: RE: How can I get a query's name? Well, granted that a query name is the defining key for everything else about a query for example: query.recordcount query.thisfield etc... I don't think that there is a higher level field that give out the name of queries that are running such as query.listofqueriesthathave run. A query name should A) Be a given in code or B) If the name is dynamic be deviated in the same way that you came up with that dynamic name (unless of course you're making random query names somehow, but I don't see the point of that). Gregory Harris [EMAIL PROTECTED] -Original Message- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 1:27 PM To: CF-Talk Subject: How can I get a query's name? Here is a good one. Is it possible to retrieve a queries name from the query itself? CF obviously knows lots of things about the query, since it spits out the queryname and the sql in the debug output. Is this stuff exposed in any way? Am I having a brainfart? This stuff should be available... jon __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF 5 can't handle DB2 (was: Server running way too slow)
I assume that you have all of the shared variables locked? Whereas you could more or less get away with this in prior version, CF5 is very picky about it. --- Billy Cravens - Original Message - From: Andrew Peterson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 9:07 AM Subject: CF 5 can't handle DB2 (was: Server running way too slow) I need to figure out why CF 4.5 and a piddly server can handle our traffic whereas CF 5.0 and a powerful server cannot. Our requests were running so slow when I initially loaded CF 5 that I had to go back to CF 4.5, where it worked splendidly. Now I reinstalled CF 5 and page requests are taking way too long again. Way too long. PerfMon shows cached requests in the 100+ range (and running requests to 5 I think, which is the default setting in CFIDE - note that I have not changed these from 4.5, where the default settings worked). My conclusion is that it has something to do with CF5 and DB2. Most of our site accesses a DB2 back end but the whole site is slow. I'm connecting to DB2 via ODBC because we cannot get the native driver to work (is there a trick here! DANG!!!). I just don't see how CF can even be a factor here -- but how can it not? DB2 query processing times are fine (3 seconds), but the page comes up much later (35+ seconds). All of the relevant server settings are set to their defaults as they were with CF 4.5, though I made mods to them the first time I loaded CF 5 to no avail. Macromedia does not wish to hear from me until I fork over support $$$, which would be fine but as a govt agency we pay by voucher which can take weeks. Can someone bail me out? Thanks, Andy __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT was wondering if any Javascript guru's could give me a hand with this code
That's a whole lotta code. Have you tried placing alerts at different points to see where it breaks? In order to figure out where your code is breaking, someone would have to either read all of your code, or recreate your form, since you didn't include the HTML. I doubt anyone will do either. Also, have you tested the code with older IE browsers? (4,5,5.5) I'm just curious why you are using document.getElementById - as far as I know, document.formName seems to work in all browsers. --- Billy Cravens - Original Message - From: Troy Montour [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 10:31 AM Subject: OT was wondering if any Javascript guru's could give me a hand with this code Hello, sorry for the OT but only place I actually get some answers to my questions. I was wondering if somebody code point me in the right direction why this form Validation won't work in NS6 it works great in IE. in NS6 all it does is submit the form and no validation happens. I have tested the function with out the credit card info in it and works and I also tested the credit card info by it self and that works fine but with them combined it doesn't work. here is the code if you want to take a look hopefully someone can point me in the right direction. SCRIPT LANGUAGE=JavaScript !-- Begin function checkFields() { missinginfo = ; FormVar = document.getElementById(JoinForm); var Cards = new makeArray(8); Cards[0] = new CardType(MasterCard, 51,52,53,54,55, 16); var MasterCard = Cards[0]; Cards[1] = new CardType(VisaCard, 4, 13,16); var VisaCard = Cards[1]; Cards[2] = new CardType(AmExCard, 34,37, 15); var AmExCard = Cards[2]; Cards[3] = new CardType(DinersClubCard, 30,36,38, 14); var DinersClubCard = Cards[3]; Cards[4] = new CardType(DiscoverCard, 6011, 16); var DiscoverCard = Cards[4]; Cards[5] = new CardType(enRouteCard, 2014,2149, 15); var enRouteCard = Cards[5]; Cards[6] = new CardType(JCBCard, 3088,3096,3112,3158,3337,3528, 16); var JCBCard = Cards[6]; var LuhnCheckSum = Cards[7] = new CardType(); var tmpyear; if ((FormVar.CardNumber.value.length == 0) || (FormVar.CardNumber.value.Length 16)) { missinginfo += \n - Please enter a Card Number.; } if (FormVar.ExpYear.value.length == 4) tmpyear = FormVar.ExpYear.value; else { missinginfo += \n - The Expiration Year is not valid.; } tmpmonth = FormVar.ExpMon.options[FormVar.ExpMon.selectedIndex].value; // The following line doesn't work in IE3, you need to change it // to something like (new CardType()) // if (!CardType().isExpiryDate(tmpyear, tmpmonth)) { if (!(new CardType()).isExpiryDate(tmpyear, tmpmonth)) { missinginfo += \n - This card has already expired.; } card = FormVar.CardType.options[FormVar.CardType.selectedIndex].value; var retval = eval(card + .checkCardNumber(\ + FormVar.CardNumber.value + \, + tmpyear + , + tmpmonth + );); cardname = ; if (retval) // comment this out if used on an order form /* missinginfo += \n - This card number appears to be valid.; */; else { // The cardnumber has the valid luhn checksum, but we want to know which // cardtype it belongs to. for (var n = 0; n Cards.size; n++) { if (Cards[n].checkCardNumber(JoinForm.CardNumber.value, tmpyear, tmpmonth)) { cardname = Cards[n].getCardType(); break; } } if (cardname.length 0) { missinginfo += \n - This looks like a + cardname + number, not a + card + number.; } } / *\ Object CardType([String cardtype, String rules, String len, int year, int month]) cardtype: type of card, eg: MasterCard, Visa, etc. rules : rules of the cardnumber, eg: 4, 6011, 34,37. len : valid length of cardnumber, eg: 16,19, 13,16. year: year of expiry date. month : month of expiry date. eg: var VisaCard = new CardType(Visa, 4, 16); var AmExCard = new CardType(AmEx, 34,37, 15); \ */ function CardType() { var n; var argv = CardType.arguments; var argc = CardType.arguments.length; this.objname = object CardType; var tmpcardtype = (argc 0) ? argv[0] : CardObject; var tmprules = (argc 1) ? argv[1] : 0,1,2,3,4,5,6,7,8,9; var tmplen = (argc 2) ? argv[2] : 13,14,15,16,19; this.setCardNumber = setCardNumber; // set CardNumber method. this.setCardType = setCardType; // setCardType method. this.setLen = setLen; // setLen method. this.setRules = setRules; // setRules method. this.setExpiryDate = setExpiryDate; // setExpiryDate method. this.setCardType(tmpcardtype); this.setLen(tmplen); this.setRules(tmprules); if (argc 4) this.setExpiryDate(argv[3], argv[4]); this.checkCardNumber = checkCardNumber; // checkCardNumber method. this.getExpiryDate = getExpiryDate; // getExpiryDate method
Re: VNC vs PC Anywhere
I'd say VNC unless it's a Windows 2000 box. If it's Windows 2000, use Terminal Services. --- Billy Cravens - Original Message - From: Ben Whalley [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 11:15 AM Subject: OT: VNC vs PC Anywhere Has anyone had any experience using VNC from ATT - it seems reasonably good (and free) at first glance. Anything I should be aware of if we were to use it on a production box? __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: VNC vs PC Anywhere
You can actually access it from a browser (ActiveX control): http://www.microsoft.com/windows2000/downloads/recommended/TSAC/default.asp --- Billy Cravens - Original Message - From: Jim McAtee [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 11:24 AM Subject: Re: VNC vs PC Anywhere On Windows 2000, terminal services is the way to go unless you need access from a browser. Jim - Original Message - From: Ben Whalley [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 10:15 AM Subject: OT: VNC vs PC Anywhere Has anyone had any experience using VNC from ATT - it seems reasonably good (and free) at first glance. Anything I should be aware of if we were to use it on a production box? __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Report Utilities
PDF is the way to go. If the format of the form is static (and only the data changes) look at using FDF; otherwise, I'd recommend something like ActivePDF (though I've heard some that HTMLDoc, a freeware EXE, works pretty good too) --- Billy Cravens - Original Message - From: Douglas Lamb [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 10:45 AM Subject: Report Utilities We have serveral clients requesting the ability to print preformated forms. The same data is used but the printer and form variations are amost impossible to consider. Are there any good quality com objects, other pluggins available to allow remote printing of reports and forms? We're cosidering a CF to PDF tag, Crystal ( Seagate ) Reports or attempting to interface with Access's reporting facility. it anyone has any suggestions, they'd be greatly appreciated. Thanks. Douglas __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Credit Card, TAG/Questions
I seriously doubt it would be that easy. Some processors utilize an HTTP post, some use a get, some have you tie into an API at a low level, etc. As such, there's no way of knowing if it integrates the same way as Authorize - if noone has written anything, you'll need to code it yourself. On the plus side, perhaps you can sell your code if you're the first. (nothing like an unbroached market!) --- Billy Cravens - Original Message - From: Michael Ross [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 11:54 AM Subject: Credit Card, TAG/Questions I am going with a company called Firepay for my online transactions. Do you think it would be easy to just copy the authorize_3 custom tag, change the info to fit firepay and use that? Has anyone used these guys before? Thanks Mike __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: VNC vs PC Anywhere
Not the server, but you can install the client. (Windows XP Professional does have a TS server though) Go to the link I posted earlier. Thee should be a link to the workstation client. Alternately, you can install the web version (same link) on any IIS box to control a TS server. --- Billy Cravens - Original Message - From: David Brown [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 1:03 PM Subject: Re: VNC vs PC Anywhere Can you install Terminal Server on Windows 2000 professional? I have it installed on some servers, but my workstation is professional and pc anywhere is abit slow. - Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 1:03 PM Subject: RE: VNC vs PC Anywhere Has anyone had any experience using VNC from ATT - it seems reasonably good (and free) at first glance. Anything I should be aware of if we were to use it on a production box? Yes. By itself, it is pretty unsecure, while pcAnywhere isn't if properly configured. If you want to use VNC securely, you can set it up to run through SSH, but on Windows, you're probably better off using pcAnywhere or Terminal Server. I'm a big Terminal Server fan now - I can run it from a Pocket PC! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFObject ADO the decimal datatype
GetRows() converts to a VBScript array; not a CF array. If you want to see the contents of the array, you'll need to write a wrapper object that makes the ADO calls and gets the results. Out of curiosity, why are you using ADO instead of CFQuery? --- Billy Cravens - Original Message - From: Jon Hall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 10:15 AM Subject: CFObject ADO the decimal datatype I am writing a script that uses ado to update a table, and in the process of debugging it I have run into a snag. My app doesn't need to get a recordset, but while I am writing this template it would be nice to be able to see the data I am working with. I have a decimal datatype field in my recordset with a scale of 2 (if that makes a difference...). When I use recordset.GetRows() to convert the ADO recordset into an array, it bombs out with the error Error attempting to convert between object and ColdFusion datatypes. If I remove the decimal column everything works fine. Is this just a limitation of CFObject, or is their another way around this? RDBMS == SQL Server... jon This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFObject ADO the decimal datatype
It could be done with CFQuery, but it would require you to loop over your data and do an insert each time (thought this could be easily wrapped into a single CFQuery or a stored procedure). You can take advantage of Java's or ADO's capabilities now - simply put them in a bean, COM object, or CFX custom tag. Have you tried casting the column's datatype in your SQL? --- Billy Cravens - Original Message - From: Jon Hall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 12:43 PM Subject: Re: CFObject ADO the decimal datatype GetRows() converts to a native array which is handled by the interpreter, in this case CF. It only converts to a VBScript array, if called by VBScript. ADO is theorhetically platform independant. Basically I am trying to do an array update with ADO. This is easy with ASP or WSH, but with cfquery, although nice easy, is extremely limited in this manner. In my app I have one page (it's a grid...) that literally might update hundreds of rows in a normalized table. I am hoping that in Neo, I will be able to build a component that takes advantage of java.sql's batch updates, but until then... jon - Original Message - From: BILLY CRAVENS [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 12:06 PM Subject: Re: CFObject ADO the decimal datatype GetRows() converts to a VBScript array; not a CF array. If you want to see the contents of the array, you'll need to write a wrapper object that makes the ADO calls and gets the results. Out of curiosity, why are you using ADO instead of CFQuery? --- Billy Cravens - Original Message - From: Jon Hall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 10:15 AM Subject: CFObject ADO the decimal datatype I am writing a script that uses ado to update a table, and in the process of debugging it I have run into a snag. My app doesn't need to get a recordset, but while I am writing this template it would be nice to be able to see the data I am working with. I have a decimal datatype field in my recordset with a scale of 2 (if that makes a difference...). When I use recordset.GetRows() to convert the ADO recordset into an array, it bombs out with the error Error attempting to convert between object and ColdFusion datatypes. If I remove the decimal column everything works fine. Is this just a limitation of CFObject, or is their another way around this? RDBMS == SQL Server... jon __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Stressing SQL server
A search on Google returned 905 results - a few of them actually pointed to some valid resources. I'd post some URL's, but I don't want to presume that you have a web browser installed. --- Billy Cravens - Original Message - From: Neil H. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 11:37 AM Subject: Re: Stressing SQL server Simply compile? I am a CF developer, no compiling. How in the world would you think I would have the tools to compile? Neil - Original Message - From: Ron Anderson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 12:25 PM Subject: RE: Stressing SQL server In the SQL 2K resource Kit, there's a data hammer component that can be used for load testing SQL. It's in VB, simply compile and run. -Original Message- From: Neil H. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 8:27 AM To: CF-Talk Subject: Stressing SQL server Can anyone send me a block of code that I can use on a SQL 2000 server that will push CPU and memory to the limit? Thanks, Neil __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Stressing SQL server
Actually, you were pointed to an excellent resource, but you disregarded it and were practically antagonistic at the concept of using something you were unfamiliar with. As such, can you expect much more than sarcasm? --- Billy Cravens - Original Message - From: Neil H. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 2:00 PM Subject: Re: Stressing SQL server THAT is what I am missing. Shoot. You know where I can download a web browser? Man nice guy, with lots of help. Thought I would go to my peers but instead I get RTFM. Thanks a bunch! Neil - Original Message - From: BILLY CRAVENS [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 2:50 PM Subject: Re: Stressing SQL server A search on Google returned 905 results - a few of them actually pointed to some valid resources. I'd post some URL's, but I don't want to presume that you have a web browser installed. --- Billy Cravens - Original Message - From: Neil H. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 11:37 AM Subject: Re: Stressing SQL server Simply compile? I am a CF developer, no compiling. How in the world would you think I would have the tools to compile? Neil - Original Message - From: Ron Anderson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 12:25 PM Subject: RE: Stressing SQL server In the SQL 2K resource Kit, there's a data hammer component that can be used for load testing SQL. It's in VB, simply compile and run. -Original Message- From: Neil H. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 8:27 AM To: CF-Talk Subject: Stressing SQL server Can anyone send me a block of code that I can use on a SQL 2000 server that will push CPU and memory to the limit? Thanks, Neil __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Could you give my application a once through
Looks like your server's down. --- Billy Cravens - Original Message - From: Robert Everland [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 3:20 PM Subject: Could you give my application a once through Just finished my appplication and have already asked the fusebox people to give my application a once through, so I figured I would ask you guys too. Email me off list with the issues you find. http://www.reactivevision.com/index.cfm?fuseaction=products.hotel_booking_en gine Go to the bottom where it says demo. Password for hoteladmin for hotel 1 is test. Robert Everland III Dixon Ticonderoga __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Stressing SQL server
There's no such thing has a block of TSQL that you can run that will adequately stress your server. Stressing is based on concurrency, not on complexity. If you don't want to use a tool, write your own in CF. Write a CFML page that executes something powerful and typical (like a three table join on something like the Northwind database) and put this in a multi-frame page, loading the page in each frame. Put some code in each page that keeps it refreshing. (Details on this sort of thing are in Chris Cortes's book, Optimizing ColdFusion) Watch your server's resource meter, and see what happens. The resource kit specified is a very common one, and building a VB project is very simple (File-Make Project) I'm sure the list is full of developers who would be willing to build this app for you. --- Billy Cravens - Original Message - From: Neil H. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 4:17 PM Subject: Re: Stressing SQL server I was told to simply compile a program. How simple is it get a VB compiler and then compile code? It would be easier for someone to suggest a piece of transact SQL that would do the same. Neil - Original Message - From: BILLY CRAVENS [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 4:08 PM Subject: Re: Stressing SQL server Actually, you were pointed to an excellent resource, but you disregarded it and were practically antagonistic at the concept of using something you were unfamiliar with. As such, can you expect much more than sarcasm? --- Billy Cravens - Original Message - From: Neil H. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 2:00 PM Subject: Re: Stressing SQL server THAT is what I am missing. Shoot. You know where I can download a web browser? Man nice guy, with lots of help. Thought I would go to my peers but instead I get RTFM. Thanks a bunch! Neil - Original Message - From: BILLY CRAVENS [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 2:50 PM Subject: Re: Stressing SQL server A search on Google returned 905 results - a few of them actually pointed to some valid resources. I'd post some URL's, but I don't want to presume that you have a web browser installed. --- Billy Cravens - Original Message - From: Neil H. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 11:37 AM Subject: Re: Stressing SQL server Simply compile? I am a CF developer, no compiling. How in the world would you think I would have the tools to compile? Neil - Original Message - From: Ron Anderson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 12:25 PM Subject: RE: Stressing SQL server In the SQL 2K resource Kit, there's a data hammer component that can be used for load testing SQL. It's in VB, simply compile and run. -Original Message- From: Neil H. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 8:27 AM To: CF-Talk Subject: Stressing SQL server Can anyone send me a block of code that I can use on a SQL 2000 server that will push CPU and memory to the limit? Thanks, Neil __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Allaire Partner upgrades...
So UD is considered an upgrade to CF Studio? hahahahahahaha I thought it was the other way around. --- Billy Cravens - Original Message - From: Tangorre, Michael T. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 4:25 PM Subject: RE: Allaire Partner upgrades... We called MM form school (Alfred University) and inquired about our upgrade to CF Studio 5, and they said its on its way.. Well, 1 month later we got a CD but it was ULTRADEV!! We are still trying to get studio 5, based on the agreement we have with MM, our subscription entitles us to studio 5, and we would like to see MM honor their agreements on this. -Original Message- From: Kevin Langevin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 2:47 PM To: CF-Talk Subject: Allaire Partner upgrades... ANybody know when Allaire Alliance Partners (before they expire) should be recieving the upgrade to CF Studio5 and Homesite 5? I had been told soon, but got no firm date a while back. Kevin Langevin Web Guy In Charge UsWebGuys 954-327-5780 -Original Message- From: BILLY CRAVENS [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 2:43 PM To: CF-Talk Subject: Re: CFObject ADO the decimal datatype It could be done with CFQuery, but it would require you to loop over your data and do an insert each time (thought this could be easily wrapped into a single CFQuery or a stored procedure). You can take advantage of Java's or ADO's capabilities now - simply put them in a bean, COM object, or CFX custom tag. Have you tried casting the column's datatype in your SQL? --- Billy Cravens - Original Message - From: Jon Hall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 12:43 PM Subject: Re: CFObject ADO the decimal datatype GetRows() converts to a native array which is handled by the interpreter, in this case CF. It only converts to a VBScript array, if called by VBScript. ADO is theorhetically platform independant. Basically I am trying to do an array update with ADO. This is easy with ASP or WSH, but with cfquery, although nice easy, is extremely limited in this manner. In my app I have one page (it's a grid...) that literally might update hundreds of rows in a normalized table. I am hoping that in Neo, I will be able to build a component that takes advantage of java.sql's batch updates, but until then... jon - Original Message - From: BILLY CRAVENS [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 12:06 PM Subject: Re: CFObject ADO the decimal datatype GetRows() converts to a VBScript array; not a CF array. If you want to see the contents of the array, you'll need to write a wrapper object that makes the ADO calls and gets the results. Out of curiosity, why are you using ADO instead of CFQuery? --- Billy Cravens - Original Message - From: Jon Hall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 10:15 AM Subject: CFObject ADO the decimal datatype I am writing a script that uses ado to update a table, and in the process of debugging it I have run into a snag. My app doesn't need to get a recordset, but while I am writing this template it would be nice to be able to see the data I am working with. I have a decimal datatype field in my recordset with a scale of 2 (if that makes a difference...). When I use recordset.GetRows() to convert the ADO recordset into an array, it bombs out with the error Error attempting to convert between object and ColdFusion datatypes. If I remove the decimal column everything works fine. Is this just a limitation of CFObject, or is their another way around this? RDBMS == SQL Server... jon __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Just when you thought the topic of locking was completelyexhausted...
So would it simply not access the code within the lock? --- Billy Cravens - Original Message - From: Pascal Peters [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, December 17, 2001 5:49 AM Subject: RE: Just when you thought the topic of locking was completelyexhausted... The timeout is in seconds. How long it takes to obtain a lock, depends on the other locks in the application, the code in them, the number of usrs on your site, In short: it depends. If throwontimeout = no, CF will just continue executing after the /cflock without generating an error. -Original Message- From: Kay Smoljak [mailto:[EMAIL PROTECTED]] Sent: maandag 17 december 2001 12:37 To: CF-Talk Subject: Just when you thought the topic of locking was completelyexhausted... I have a couple of questions about locking. Now, before you groan, I *do* know how I should be locking, where I should be locking, and why. What I am unclear on is exactly what the effects of using different values for timeout and throwontimout. I presume timeout is in seconds; how long should the average application require to obtain a lock? When should I set this value higher or lower? What is the prctical effect of having it too high or too low? Also, throwontimeout - if I set this to yes, I presume I should then be using cftry and cfcatch to handle the timeout? What if it's set to no? Will the request keep trying to obtain a lock? Any insight would be really great... I'm hoping to take the certification exam in January, and there's so many niggly areas where I just *have* to know :) Thanks, Kay. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can we have two datasources with the same name?
I used to make that same mistake. However, if you use #application.dsn#, that means that you have to lock every query - this really hurts performance. Use a non-shared scope (like request) --- Billy Cravens - Original Message - From: Larry Juncker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 3:46 PM Subject: RE: Can we have two datasources with the same name? If I understand what you are asking, why do you not just set your DSN as an Application variable? cfset Application.DataSource = dev or cfset Application.DataSource = test You would use whichever one you wanted while testing and then just change this one spot in your Application.cfm file when you were ready to go live. Create the ODBC connections and just call the correct one in your code. In your templates then, your queries would be like: CFQUERY NAME=qMyQuery DATASOURCE=#Application.DataSource# Larry Juncker Senior Cold Fusion Developer Heartland Communications Group, Inc. [EMAIL PROTECTED] -Original Message- From: bajaria aslam [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 3:36 PM To: CF-Talk Subject: Can we have two datasources with the same name? Hi. Suppose I have a datasource datasource1 pointing to Database1 on a SQL Server called test. Can I have another datasource called datasource1 pointing to Database1 on SQL Server called dev? The datasource1 currently works fine on http://localhost/ I have created a virtual site called http://localhost/Dev So, is there a way to have the same datasource name to point to different servers depending on if I am under http://localhost/ or http://localhost/dev? That way, I thought, I don't have to keep changing the cf code when the code moves to Test server from Dev. Please let me know if you need more details. Thanks AB __ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF and JS
Yes, and no. CF is server-side; it's interaction with the browser consists of just HTTP POST and GET, which has nothing to do with JS. However, you can have the browser tell CF if JS is enabled. in your application.cfm: cfparam name=session.hasJS default=no in your first page on your site: script document.write(img src=\js.cfm\); /script in js.cfm: cfcontent type=image/gif file=c:\trans.gif deletefile=No cfset session.hasJS = yes (I omitted CFLOCK for brevity - always CFLOCK session vars) In the first page in the session, session.hasJS will be no - but afterwards, it will be yes if they have it turned on. --- Billy Cravens - Original Message - From: Tangorre, Michael T. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, December 14, 2001 10:56 AM Subject: CF and JS Is there anyway to detect if a browser has javascript enabled/disabled using CF? Michael T. Tangorre Resident Assistant - Brick Web Applications Developer A.U. Webteam Slave :-) AIM: CrazyFlash4 ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT(apologies)
Don't forget the pinnacle of objective news reporting, www.nationalenquirer.com --- Billy Cravens - Original Message - From: Alex [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 11:50 AM Subject: RE: OT(apologies) www.whitehouse.com On Thu, 13 Dec 2001, Kris Pilles wrote: half.com victorias secret.com New York State New Mexico Federal Government Aol (corporate site) Eminem.com Theres tons of them Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: [EMAIL PROTECTED] -Original Message- From: Moneymaker, Jon S CONT (WPNSTA Yorktown) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 12:37 PM To: CF-Talk Subject: OT(apologies) Ok, I have lurked on this list for some time now and remember some time ago a brief flurry of activity about who uses CF in the real world. I seem to recall a list somewhere or an article someone wrote about some of the big companies who use CF I was asked this question the other day and could only come up with a couple(I choked actually). any help would be appreciated. Ya'll (guess what part of the country I am in) are great Jon S. Moneymaker Network Administrator ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can we have two datasources with the same name?
Of course, it's a good idea to stick it in request scope in case you need the DSN for any custom tags, etc. --- Billy Cravens - Original Message - From: Shawn Grover [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, December 14, 2001 11:15 AM Subject: RE: Can we have two datasources with the same name? I agree. I don't see any reason why a DSN needs to be in the Application, or Server scope. I normally just set this as a normal variable in the Application.cfm file. ie. cfset MyDSN = DSN Name or cfscript // declare Application Level Constants App = structnew(); StructInsert(App, DSN, CAA_EPMS2); /cfscript then call it like so: cfquery name=MyQuery datasource=#MyDSN# or cfquery name=MyQuery datasource=#App.DSN# Then, for an application wide setting, I simply need to change the value in Application.cfm. If you were on different servers, you could use the same DSN name, but unfortunately you are not. So you will need two distinct DSNs. (assuming the development site, and the production site are running simultaneously, on the same box). HTH Shawn Grover -Original Message- From: BILLY CRAVENS [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 9:42 AM To: CF-Talk Subject: Re: Can we have two datasources with the same name? I used to make that same mistake. However, if you use #application.dsn#, that means that you have to lock every query - this really hurts performance. Use a non-shared scope (like request) --- Billy Cravens - Original Message - From: Larry Juncker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 3:46 PM Subject: RE: Can we have two datasources with the same name? If I understand what you are asking, why do you not just set your DSN as an Application variable? cfset Application.DataSource = dev or cfset Application.DataSource = test You would use whichever one you wanted while testing and then just change this one spot in your Application.cfm file when you were ready to go live. Create the ODBC connections and just call the correct one in your code. In your templates then, your queries would be like: CFQUERY NAME=qMyQuery DATASOURCE=#Application.DataSource# Larry Juncker Senior Cold Fusion Developer Heartland Communications Group, Inc. [EMAIL PROTECTED] -Original Message- From: bajaria aslam [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 3:36 PM To: CF-Talk Subject: Can we have two datasources with the same name? Hi. Suppose I have a datasource datasource1 pointing to Database1 on a SQL Server called test. Can I have another datasource called datasource1 pointing to Database1 on SQL Server called dev? The datasource1 currently works fine on http://localhost/ I have created a virtual site called http://localhost/Dev So, is there a way to have the same datasource name to point to different servers depending on if I am under http://localhost/ or http://localhost/dev? That way, I thought, I don't have to keep changing the cf code when the code moves to Test server from Dev. Please let me know if you need more details. Thanks AB __ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: NTConsoleJava Tieing Up Resources
link to cf5 hotfixes: http://www.allaire.com/Handlers/index.cfm?ID=20371Method=Full#50 --- Billy Cravens - Original Message - From: Nick Han [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, December 14, 2001 12:05 PM Subject: Re: NTConsoleJava Tieing Up Resources I had the same problem a couple of days ago. It is a known problem by MM and there's a patch on www.allaire.com. I don't remember the exact url, but if you go there and do a search you'll find it. Nick Han [EMAIL PROTECTED] 12/12/01 03:34AM I'm running Windows XP Pro with IIS and CF 5. When I log into my computer (or turn it on, whatever), during the startup process (after logging on, so the desktop is showing and startup items/services are starting up) NTConsoleJava.exe uses up all spare CPUs (which makes the computer run very slowly). The only way to speed it up is to kill the process. I originally thought this had something to do with my current version of my JVM on Windows. However, I just discovered that NTConsoleJava.exe is in the cfusion directory, so I assume it's related to ColdFusion. Is there anything I can do to either 1) Stop NTConsoleJava from using up all my spare CPUs or 2) Stop NTConsoleJava from running at startup? I looked in the CF Admin, and the closest I could find is to not load the JVM when CF starts up, but that was already turned off. Thanks! Scott -- Scott Brady http://www.scottbrady.net/ ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: How to take only a CUSTID number from XML code
It's a hack, but it should work: cfscript xml = cfhttp.fileContent; pos1 = find(string,xml); pos2 = find(,xml,pos1); xml=removeChars(xml,1,pos2); pos3 = find(/string,xml); str = removeChars(xml,pos3,len(xml)); /cfscript When I grow up, I'll become a RegEx guru :-) --- Billy Cravens - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, December 14, 2001 2:06 PM Subject: Re: How to take only a CUSTID number from XML code How would you take out only the customer ID number from the following XML response from a CFHTTP post: This is the response that comes from the server we do the CFHTTP post to. ?xml version=1.0 encoding=utf-8? string xmlns=http://tempuri.org/;892028/string We need to take out only the '892028' number and insert it into our database. Right now it tries to insert all the XML code. The customer ID is always in the same place in the code as far as position in the code. Thanks in advance for any help. ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: How to take only a CUSTID number from XML code
Yeah, but wouldn't the overhead of instantiating the object be overkill with such a little packet? --- Billy Cravens - Original Message - From: Scott Mulholland [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, December 14, 2001 2:53 PM Subject: RE: How to take only a CUSTID number from XML code You could actually parse the xml using something similar to the following: cfset XML = cfhttp.filecontent !---Call Microsoft XML Parser--- CFOBJECT TYPE=COM NAME=objSource CLASS=Microsoft.XMLDOM ACTION=CREATE !--- load XML source and check readyState --- CFSET objSource.async = false CFSET sourceReturn = objSource.loadXML(XML) CFSET sourceReady = objSource.readyState CFSET child_nodes = objSource.getElementsByTagName(string) CFLOOP COLLECTION=#child_nodes# ITEM=anElement CFSET CUSTID = anElement.text /CFLOOP -Original Message- From: BILLY CRAVENS [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 3:27 PM To: CF-Talk Subject: Re: How to take only a CUSTID number from XML code It's a hack, but it should work: cfscript xml = cfhttp.fileContent; pos1 = find(string,xml); pos2 = find(,xml,pos1); xml=removeChars(xml,1,pos2); pos3 = find(/string,xml); str = removeChars(xml,pos3,len(xml)); /cfscript When I grow up, I'll become a RegEx guru :-) --- Billy Cravens - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, December 14, 2001 2:06 PM Subject: Re: How to take only a CUSTID number from XML code How would you take out only the customer ID number from the following XML response from a CFHTTP post: This is the response that comes from the server we do the CFHTTP post to. ?xml version=1.0 encoding=utf-8? string xmlns=http://tempuri.org/;892028/string We need to take out only the '892028' number and insert it into our database. Right now it tries to insert all the XML code. The customer ID is always in the same place in the code as far as position in the code. Thanks in advance for any help. ~~ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Trimming Files
Parse the file as a list, with a carriage return as your delimiter. Each list element will represent a line. ListDeleteAt() any lines that are empty. cfset lineNum = 1 cfloop index=thisLine list=#fileContents# delimiters=#chr(10)# cfif not len(trim(thisLine)) cfset fileContents = listDeleteAt(list,lineNum,chr(10)) cfelse cfset lineNum = lineNum + 1 /cfif /cfloop --- Billy Cravens - Original Message - From: C. Hatton Humphrey [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 11, 2001 8:40 AM Subject: Trimming Files Does anyone have a quick way to trim extra lines from a text file? I have an app that uploads a text file and processes it as a TSV file, but some users are exporting from MS Access, which is adding some extra line feeds to the end. Any suggestions? C. Hatton Humphrey, Developer Fisher, Towne Associates 716-839-2141 x336 [EMAIL PROTECTED] ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Writing to text file
add a line break using #chr(10)#: output=CFOUTPUT query=hello#fname#,#lname##chr(10)# /CFOUTPUT or, the really slow method: you only create a new file on the first record - so do an append if you're doing record 2+ cfoutput qurey=hello cfif currentRow eq 1 cfset action = WRITE cfelse cfset action=APPEND /cfif cffile action=#action# file=test.txt output=#fname#,#lname# addnewline=Yes /cfoutput --- Billy Cravens - Original Message - From: Mookie Bear [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 11, 2001 2:36 PM Subject: RE: Writing to text file why can't I do this? i mean, I need to do this!! because i have to put over 3,000 names How can I loop over a write CFFILE tag? because it would keep making new files. why can't i put it all in one single thing? I was also thinking putting all that info in one variable, but how do I specify a line break in that variable? that line break is important, because Access reads it as a new row. grr!!! output=CFOUTPUT query=hello#fname#,#lname# /CFOUTPUT From: Adkins, Randy [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: RE: Writing to text file Date: Tue, 11 Dec 2001 15:31:00 -0500 If you need to nest the output of a query within the CFOUTPUT tags, simply use the CFLOOP function. -Original Message- From: Mookie Bear [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 3:27 PM To: CF-Talk Subject: Writing to text file hey guys, I am doing a CFFILE and writing to a NEW file (not appending). i am tyring to input information in text delimited from a query. how do I do this though? i cannot put CFOUTPUT query=whatever inside the output. help! _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: javascript or html to crash netscape or IE
I know that this chunk in an .htm by itself will take down NS4: tabletd width=1style=width:1div style=width:11 scriptdocument.write('div style=width:1')/script /table --- Billy Cravens - Original Message - From: Ron Hornbaker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 11, 2001 2:45 PM Subject: RE: javascript or html to crash netscape or IE I need a snippet of javascript/html/dhtml/css/whatever that will cause Netscape or IE to crash reliably so I can test something. I have certainly managed to crash them in the past but can't find the code that did it. Any ideas? http://www.netscape.com/ usually does it for me. ;) Seriously, crash how? Throw a JS error? Lock up the application? Lock up the computer? Lock up the house, and cause your toilets to overflow and your wife's hairdryer to catch fire? Be specific, man. :) -Ron ¸_¸.·´¯) http://www.BookCrossing.com ~ Read and Release! (¯`·.¸_¸. ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFContent
What MIME type are you passing? --- Billy Cravens - Original Message - From: Janine Jakim [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 11, 2001 2:59 PM Subject: CFContent I'm using CFCONTENT to call a pdf form- It does fine on MAC IE and most pc IE and Netscape. However, on one browser a 98 machine with IE5.5 I can't get the pdf to show. Instead there is the box and the msg says Error Locating Object Handler There is no viewer available for the type of object you are trying to open. The following informantion is available about this object. Address: http://blahblah Content type: text/html Possible location of viewer: Microsoft ActiveXGallery I took the Ben Forta advice and checked the Folder Options in Tools of Windows Explorer. I went over it piece by piece comparing it to the settings of a browser that worked- I didn't see any differences. This browser has opened pdfs when I used the meta tag and the embed tag so I know that it does open pdfs...any suggestions? Thanks in advance, ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hi
Of course, picture 2 scenarios: 1) your application is unsecure, but it only cost you $5000 to develop it 2) your app is locked down, but the extra time to develop made the final cost $10,000 Now let's say that in both situations the client was going to pay $20,000, even if they knew that the app was insecure. As much as I like quality, to quote the great philosopher, Sean Combs, it's all about the Benjamins baby. :- ) Microsoft has no incentive to make secure products (if they wanted to, with the resources at their disposal, they could make the most secure products on Earth). The same people who jump on the MS=bad bandwagon are the same people who buy MS products. (Perhaps .NET will change this - short term subscriptions, as opposed to lifetime liscenses, could be more of a market catalyst) --- Billy Cravens - Original Message - From: Costas Piliotis [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, December 07, 2001 6:34 PM Subject: RE: Hi Right. How many developers does microsoft have that it can allocate to breaking into its software. How many hackers are there worldwide? I'll bet I'm not the first to admit that I've left features in my code as well. Sometimes, clients have a way of finding them that I never thought of. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 3:04 PM To: CF-Talk Subject: RE: Hi If you were developing a ColdFusion Application that would be used by thousands worldwide, and you had pockets as deep as Microsoft, how likely would it be that the application could be hacked in dozens of different ways? How tough would it be to spend a couple of million to have a team of hackers go at it, BEFORE you release it? Better yet, release a hacker beta, and hand out wads of cash to whoever discovers holes. They haven't made it a priority. Expedient release is the priority. That's right - expedient release is certainly high on their priority list. That's how you get those deep pockets, you know. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: How do people work around the current limited cfmail
have you analyzed your undeliverable folder and your logs? I've found that when mail isn't going, it's usually an SMTP config issue. --- Billy Cravens - Original Message - From: Larry W. Virden [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, December 10, 2001 11:17 AM Subject: How do people work around the current limited cfmail At least 2-3 times in the past week we've had developers and users scurrying around trying to figure out why their ColdFusion apps were not delivering mail, with the final reason being that someone had mistyped one of a series of email addresses. I was just curious what others are doing about this sort of thing? What I sure wish were available was a way to a) get msgs out to all valid ids, b) bounce errors back to an Errors-To: header. -- Never apply a Star Trek solution to a Babylon 5 problem. Larry W. Virden mailto:[EMAIL PROTECTED] URL: http://www.purl.org/NET/lvirden/ Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: How do people work around the current limited cfmail
Easily done - CFSCHEDULE a task that checks the undeliverable folder, loops through the files, and emails them to whoever, and then deletes them from the folder --- Billy Cravens - Original Message - From: Larry W. Virden [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:32 PM Subject: Re: How do people work around the current limited cfmail have you analyzed your undeliverable folder and your logs? I've found that when mail isn't going, it's usually an SMTP config issue. Actually, the two most recent cases were places where users had typed in incorrect email addresses. The bottom line is that I would MUCH rather the person responsible for a CF app get the failures and deal with them than me. And I would prefer NOT to give everyone access to all the undelivered msgs - there might be something confidential in a msg. -- Never apply a Star Trek solution to a Babylon 5 problem. Larry W. Virden mailto:[EMAIL PROTECTED] URL: http://www.purl.org/NET/lvirden/ Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Anyone else get solicited? FW: CFX ImageCR
Looks like a decent product - too bad they just ruined their credibility by using SPAM Perhaps they can get in good graces by posting in a message to the list, typed 100 times: I will not resort to pathetic, slimy marketing tactics :-) --- Billy Cravens - Original Message - From: Will Swain [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, December 10, 2001 12:14 PM Subject: RE: Anyone else get solicited? FW: CFX ImageCR No. but i agree that that is pretty poor form, and i wouldn't be happy if they had emailed this to me. will -Original Message- From: Kelly Matthews [mailto:[EMAIL PROTECTED]] Sent: 10 December 2001 18:11 To: CF-Talk Subject: Anyone else get solicited? FW: CFX ImageCR Did anyone else get solicited by these people? They snatched my email address off CF-Talk... not appreciated... really hate it when people do that! -Original Message- From: Efflare Systems [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 09, 2001 11:47 AM To: [EMAIL PROTECTED] Subject: CFX ImageCR Based on your input on the cf-talk mailing list, I thought you might be interested in knowing about the recent public release of cfx ImageCR. http://efflare.com/products/cfx_imagecr/?12 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Test time
I'm not having any problem seeing the time of each message - they appear correct. Perhaps it's an issue with your mail client/server. --- Billy Cravens - Original Message - From: Won [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, December 10, 2001 1:43 PM Subject: Test time I must apologize for the swarm of test messages that I am posting. But as most of you know, CF-TALK receives a large volume of messages/mail everyday. Not being able to sort by date is not an option for me. So if I can't get it to work by a few more tries, I will stop polluting your inboxes with my useless messages/mails. Won ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CfLocation ?
Use hidden frames. --- Billy Cravens - Original Message - From: Eric J Hoffman [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, December 10, 2001 1:09 PM Subject: CfLocation ? Is it possible to use cflocation after a cfcontent download? I can't seem to make it work. Client clicks ok after selecting file, cf goes to the action page and the server finishes upload, the file is moved for storage, then cfcontent initiates a download...after that all seems to stop even though I have a cflocation after it so the client is moved back the beginning of the process. Any ideas how to get that to happen? Eric J Hoffman Director of Internet Development Small Dog Design, LLC www.smalldogdesign.com Home of MN Vikings Fans Worldwide! www.purplepride.org ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFX Single Thread question
How will you manage calling these tags? This could only be most effective if you evenly distribute calls across your cluster, but there's no way in CF to do that (no way to do that cfx_tag1_#var# ) --- Billy Cravens - Original Message - From: Kevin Pechin [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, December 07, 2001 9:47 AM Subject: CFX Single Thread question Hello All, I have two cfx questions. If you have two single threaded cfx tags registered and running on the server (both exclusively locked) is it possible that both can execute at the same time as different processes, or do they both fall under the cfserver process and therefor only one executes at a time? And for the second question (which kinda depends on the answer to the first one), if you have a single threaded cfx tag and then copy the tag physically on the server (i.e. cfx_tag1.dll, cfx_tag1_2.dll, cfx_tag1_3.dll ..) and register each instance in the cfadmin, is each one a separate single threaded operation which can be locked and randomly called? If so this could be a potential boost in performance since we can launch multiple processes (of course if you add too many it will eat memory). Food for thought! -Kevin Pechin Hofstra University Web Development ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Dynamic PDF products for Unix?
Unix or Linux? I know that there's a number of libraries (many are open source - look up pdf at Sourceforge - www.sf.net) for generating PDF's. You don't have the ease of ActivePDF's COM interface, but the libraries have the advantage of being very lightweight, like most things in the Unix world. Of course, you'll have to write some Java or C++, but you wouldn't have moved to *nix if you wanted to do things the easy way. --- Billy Cravens - Original Message - From: Dave Carabetta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, December 07, 2001 10:30 AM Subject: Dynamic PDF products for Unix? I would like to generate dynamic PDFs from ColdFusion. When I was in a Windows environment, activePDF was a great solution for this. However, it is not supported in Unix, and that's the evironment I'm now in. Do any of you CF/Unix users have experience with reliable PDF generators from CF? Thanks in advance, Dave. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: ISAPI URL Remapping Filter
This seems to work: - map the website to a directory with nothing in it, except an index.htm or index.cfm that does a redirect - map your 404 custom handler to a .cfm file that captures cgi.script_name and cgi.query_string and redirects to where you want (it'll take an extra bit of effort to capture HTTP POST's, but it shouldn't be too much trouble) - make sure that you setup the custom handler in both cf and iis --- Billy Cravens - Original Message - From: Angelo McComis [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, December 07, 2001 2:50 PM Subject: RE: ISAPI URL Remapping Filter James One way that comes to mind is this: 1/ Create a handler.cfm that examines the URL, query string, post data, and all that stuff. 2/ make it the default file for the site (so naming it index.cfm would work on most installations) 3/ In IIS, set it to be the custom 404 handler as well. In the logic for this, you could do any combination of cfswitch/cfcase statements looking for combinations of hostname, URI, etc. Then, do CFLocation or meta-refresh (or whatever you need to do) to the request to send the browser where it needs to go. Angelo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Cordiner, James Sent: Friday, December 07, 2001 3:47 PM To: CF-Talk Subject: ISAPI URL Remapping Filter Hi, I am looking for some kind of filter for IIS4 (an ISAPI filter maybe?), that would take requests for a page and perform a search and replace on the content before returning it. This would be to have URLs re-mapped, from something like http://www.somedomain.com to http://192.168.0.1/somedir . I would try to do this in CF somehow but I just can't see how. For one, not all our pages have been switched over to CF and just the conversion at this immediate point in time would make it unfeasable. jms. James Cordiner New Media Developer/Programmer Art Gallery of Ontario 317 Dundas Street West Toronto, Canada M5T 1G4 http://www.ago.net tel: 416-979-6660 ext.266 fax: 416-204-2709 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hi
Keep in mind that most of the exploits aren't due to explicit features, they are usually COM-based. As such, it's not the application that's at fault, it the extensibility. - Original Message - From: Lee Surma [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 5:08 PM Subject: Re: Hi If P-mail were as popular as Outlook, it would be targetted and exploited. You don't hear about Pegasus Mail viruses because it doesn't have the userbase that Outlook does. If you were developing a ColdFusion Application that would be used by thousands worldwide, and you had pockets as deep as Microsoft, how likely would it be that the application could be hacked in dozens of different ways? How tough would it be to spend a couple of million to have a team of hackers go at it, BEFORE you release it? Better yet, release a hacker beta, and hand out wads of cash to whoever discovers holes. They haven't made it a priority. Expedient release is the priority. -- Lee Surma [EMAIL PROTECTED] ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: SQL?
In those situations, I usually have a weight column - these contain integers that allow you to order by: tblRichPeople --- person weight ------ Bill Gates1 Michael Jordan3 Steve Jobs2 Billy Cravens4 select person from tblRichPeople order by weight - Original Message - From: Douglas Brown [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 11:32 AM Subject: SQL? I have a page where I am dynamically creating 20 dropdowns from a query, and what I need to be able to do is order it exactly how I want. I cannot use asc or desc. Is this possible in SQL? Maybe ordering it by column names or something? DB ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT: SPAM lists?
To avoid Nimda, CodeRed, et al, I usually leave the network cable unplugged when installing. I then disable IIS, replug the network cable, install SP, then turn IIS back on. Pretty simple. Personally, I think it's OK to get blocked.. as long as notification and retesting happen in a timely fashion.I agree that the whole process could be done in a matter of minutes rather than hours. I still believe that you are responsible for the consequences of your configuration. - Original Message - From: Jochem van Dieten [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 11:11 AM Subject: Re: OT: SPAM lists? Bryan Stevenson wrote: It's the fact that the legit folks get nailed as well. Listen..we all agree that spam is evil...we all agree that mail servers should not be open.BUT is it so bad to give the folks running the server a chance to fix it first?? I would also very much like a chance to update my Win2K to SP2 and supply some security fixes directly after install, but Nimda always gets there first. Shouldn't I get a chance to fix it first? Face it, it is the way things work. You may not like it this way because you were running an Open Relay and got locked out, but I like it this way. And I control what email gets through to my server. My issue is that once found to be open it is incredibly difficult to get off the blacklist. This means that legit folks can be without mail for a long time. Even if ORDB continues to aid in stopping legit mail, they could at least invest in some decent hardware and bandwidth. I mean 5-10 hours to test a mail server is so ridiculous it's not funny. If they are going to keep it up then the test should be avble to be performed in a matter of minutes and not hours. Actually, hardware and bandwidth are not the issue, sufficient testing clones spread around the globe and testing interval randomization are the issue. If they simply used 1 IP to do all the testing it would be pretty simple to lock out that IP. If they use more but test immediately it is still very easy to lock out their IPs. Jochem ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT: SPAM lists?
I'll agree that a blackhole list for web servers is a great idea. Definitely a far greater risk and traffic waste than open relays. - Original Message - From: Paris Lundis [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 11:20 AM Subject: RE: OT: SPAM lists? the anti-spam passion always gets funny :) a similar but certainly costly non blockable, but regulated by bad laws, is the legislation they passed on unsolicited fax transmissions... then again, I bet everyone doesn't attack their postman/post office about all the unsolicited paper form junk mail they receive :) even if a mail server being open is theoretically bad and your blocking it prevents some mail from flowing through it we are talking about hindering another's ability to provide service in an open environment... certainly whoever, raises any suit will notably sue both those blocking and ORBZ then. blocking because of risk is bad bad bad.. it is unproven... the likelihood that someone is going to do something wrong is unfounded until it happens... the impact on public health and safety therefore is about 0. the whole over reactive security aka I hate spam approach is way too far... whether a relay is open because it is, or admin hasn't hardened it or it is testing or a number of other things... I say this all because we handle near 500 domains across various platforms and they certainly receive a lot of spam... but it hardly is something that even causes much effort more than a few delete key presses.. ORBZ service is just horrible... basically wait for days... configure, reconfigure, etc I wish ORBZ would write a crawler to find security holes in others web servers then destroy their DNS ability/records since they haven't patched... now that would be nice.. sure would cut down on all that spare traffic absorbed by admins who haven't patched or won't in months. Now that would be useful :) -paris -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 11:37 To: CF-Talk Subject: Re: OT: SPAM lists? It's the fact that the legit folks get nailed as well. Listen..we all agree that spam is evil...we all agree that mail servers should not be open.BUT is it so bad to give the folks running the server a chance to fix it first?? My issue is that once found to be open it is incredibly difficult to get off the blacklist. This means that legit folks can be without mail for a long time. Even if ORDB continues to aid in stopping legit mail, they could at least invest in some decent hardware and bandwidth. I mean 5-10 hours to test a mail server is so ridiculous it's not funny. If they are going to keep it up then the test should be avble to be performed in a matter of minutes and not hours. They suckI'm right...so na na na na naaa ;-) Bryan Stevenson VP Director of E-Commerce Development Electric Edge Systems Group Inc. p. 250.920.8830 e. [EMAIL PROTECTED] ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT: SPAM lists?
True - I wasn't thinking of malicious attacks, I was thinking of SPAM. - Original Message - From: Len Conrad [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 11:57 AM Subject: Re: OT: SPAM lists? I'll agree that a blackhole list for web servers is a great idea. Definitely a far greater risk and traffic waste than open relays. You can only say that since you haven't been the victim of a mutli-week, high-source-bandwidth DoS and other malicious attacks mounted through 1000's and 1000's of open relays world-wide. Len http://MenAndMice.com/DNS-training http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4 W2K http://IMGate.MEIway.com : Build free, hi-perf, anti-abuse mail gateways ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT: SPAM lists?
No disrespect intended, but I would say that you should have been aware of the potential issues. Lazy and incompetent are strong terms. Perhaps irresponsibly negligent is better. If someone spreads viruses because their virus scanner didn't tell them they had to update it, that's negligence. If someone doesn't patch IIS and spreads CodeRed, Nimda, et al, to everyone and their dog, that's negligence. Negligence and innocence are not synonymous. You are responsible for the consequences of your configuration. --- Billy Cravens - Original Message - From: Bryan Stevenson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 12:16 PM Subject: Re: OT: SPAM lists? Well Len thanks for calling me lazy and incompetent. Until I got blacklisted I did not know about open relays. So how does that put me in either category? The mail server I was running had no documentation about the possible abuse of or even the existence of open relays. I'm the first to admit that my face was red when I found out that the situation existed and I dropped everything else I was doing and fixed it immeadiately. I can guarantee you that had I received a warning, it would certainly would have energized me to deal with the situation. Please watch those blanket statements in the future...because I am far from lazy or incompetent...you weenie ;-) Bryan Stevenson VP Director of E-Commerce Development Electric Edge Systems Group Inc. p. 250.920.8830 e. [EMAIL PROTECTED] ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: query name vs. query object
If your query is actually #request.thequery#, that variable becomes an object, not a string (the name of your query). Before your CFQuery tag, try dumping the name of your query into a separate string --- Billy Cravens - Original Message - From: Alexander just me Apartsev [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 12:19 PM Subject: query name vs. query object Hello All, i have a custom tag making a query. I would like to access its results in another custom tag or else in the calling template. The custom tag making the query is called from another custom tag. CFOUTPUT query=#request.thequery# doesn't work cause it needs a literal, not a query object. Is there a solution? Thanks in advance Alexander Apartsev [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF Forums Discussion Forums - Where can I find the source?
Bizarre - either the site has been blown away, or they have a configuration issue (the site that comes up is the hoster) --- Billy Cravens - Original Message - From: Bosky, Dave [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 1:07 PM Subject: CF Forums Discussion Forums - Where can I find the source? I need to setup a discussion forum and would like to use cfforums, where can I download the free open source to customize? I tried forumspot.org but their site is gone. Thanks, Dave ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT: SPAM lists?
I would agree that it would be best to give a warning with an opportunity to fix the problem. However, the fact that your relay was open is the source of the problem. If I found myself in the appropriate role, upon hearing of open relays in my company I'd start handing out directions to the local unemployment office. If you can't configure it properly, don't run it. - Original Message - From: Bryan Stevenson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 10:26 AM Subject: Re: OT: SPAM lists? To go back to your gun analogy, we are restricted in possession and use of guns in order to reduce the likelihood of homicides. Otherwise, I should be able to carry a locked and loaded gun anywhere I choose. open relay MX's lying around will be picked up by spammers and used as weapons. Running an open relay is inexcusable. Len And shutting people down with no warning is also inexusable Bryan http://MenAndMice.com/DNS-training http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4 W2K http://IMGate.MEIway.com : Build free, hi-perf, anti-abuse mail gateways ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hi
I think the reason it's cracked so much is that Microsoft's strengths are their weaknesses. Their strength in the market means that many hackers are running Windows as well as other MS apps, thus, they will crack what they know. Plus, it's a target. Plus, it's incredibly easy to exploit - the COM interfaces that make Microsoft application (and those that support COM) easier extend also make them easier to crack. - Original Message - From: Will Swain [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 10:21 AM Subject: RE: Hi Sure, but presumably vulnerabilities exist in more or less all software? The desire to crack them is that much greater in the case of MS for several reasons: 1) Market saturation. So many people use these products that it may be more 'beneficial' to crack them. 2) Hatred of M$ and what it stands for. 3) Vulnerabilities are often well known, and have existed for years w -Original Message- From: Zac Belado [mailto:[EMAIL PROTECTED]] Sent: 05 December 2001 16:15 To: CF-Talk Subject: RE: Hi If P-mail were as popular as Outlook, it would be targetted and exploited. You don't hear about Pegasus Mail viruses because it doesn't have the userbase that Outlook does. Complete and utter rubbish. Outlook, Windows Scripting and the entire Office macro system is riddled with security holes and this has been the case for years. Microsoft built the system, Microsoft made it insecure and Microsoft continues to ship apps and system level options that are enabled by default making them prime targets for exploitation by hackers. It is MS that builds the insecure systems. Virus writers take advantage of the vulnerabilities and problems in the system...they don't make them. ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Hi - DROP IT! NO MORE REPLIES PLEASE!
No doubt - if people spent as much time updating their virus scanners or locking down their servers as they did bitching about the merits/problems with [enter platform/application here], we'd all be so secure we'd have nothing to worry about. - Original Message - From: Stephen Moretti [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 10:52 AM Subject: Re: Hi - DROP IT! NO MORE REPLIES PLEASE! OK - I'm sorry for saying somebody slap this guy! I should have realised it would have kicked off a massive my email client is better than yours and who's the moron discussion. I've seen this discussion more than enough of the past 6 months, so can just leave it alone and get back to the business of CF development. Thank you very very much in advance Regards Stephen ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF NT to AIX box without CF
Nothing built into CF. Something like PGP would probably work. - Original Message - From: Kris Pilles [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 1:55 PM Subject: CF NT to AIX box without CF Ok. I have a file that I want to encrypt on my NT box Then our accounting system will FTP up... grab the file and take it down to Unix and decrypt it. Anyone know of a quick and painless way I can do this? Or have any suggestions on as to how I can acheive this ? Thanks for your help! Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: [EMAIL PROTECTED] ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF NT to AIX box without CF
Sounds like you forgot the minor detail of decrypting it. :) - Original Message - From: Alex [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 2:02 PM Subject: Re: CF NT to AIX box without CF You need a FTP server running on your NT box. Other than that you would do exactly what you wrote. You encrypt the file and put it in an FTP accessible directory. The unix machine runs its client and picksup the file. FTP ntbox.you.com user pass get encryptedfile quit On Wed, 5 Dec 2001, Kris Pilles wrote: Ok. I have a file that I want to encrypt on my NT box Then our accounting system will FTP up... grab the file and take it down to Unix and decrypt it. Anyone know of a quick and painless way I can do this? Or have any suggestions on as to how I can acheive this ? Thanks for your help! Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: [EMAIL PROTECTED] ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Dynamic creation of hidden fields
On the later template, you can use CFParam to provide default values for all form fields: cfparam name=form.soundCard default= - Original Message - From: Douglas Brown [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 11:01 AM Subject: Dynamic creation of hidden fields I have a page that will hold the configuration of a computer systems components in hidden fields. The components that are chosen is based on a column (isDefault) EQ yes. Lets say that the computer does not have a default sound card (isDefault) EQ no how can I generate a hidden field with the value of for the sound card? this is needed because of a template that looks for all the items later on down the tree. Doug ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: anyone with a mac out there?
for cross-browser testing, take a look at this site: http://www.netmechanic.com/browser-index.htm - Original Message - From: Paris Lundis [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 9:24 AM Subject: anyone with a mac out there? We are finishing up a Cold Fusion site for a client and the client swears it doesn't work on someone's MAC... anyone out there have a moment and a MAC to give a look??? -paris ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Limitations in Missing Template Handler Template?
For CFInclude, you can use mapped paths (in CF Administrator) to clean your pathing up. - Original Message - From: Jamie Jackson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 11:04 AM Subject: Re: Limitations in Missing Template Handler Template? Okay, figured it out. Both cffile and cfinclude will work. With cffile you need to output the cffile variable, as opposed to letting cffile display it directly. With cfinclude the pathing is screwy. I used a bunch of up-directories (../) to get all the way to the root of the server drive, and then used absolute pathing to get back down to the file I wanted: cfinclude template=../../../../../../../../../../../websites/mysite/404.cfm Hope it helps someone. Jamie On Fri, 30 Nov 2001 17:39:01 -0500, in cf-talk you wrote: I've found that HTTP redirects and cflocations function properly, but they don't quite have the behavior I need within my custom CF 404 page. So, I'm still wondering about cfincludes within my Missing Template Handler page. Possible, or no? Is there anything special I need to do with the cfinclude to make it work? Thanks, Jamie On Fri, 30 Nov 2001 13:55:47 -0500, in cf-talk you wrote: I'm trying to set up a custom 404 template that can (individually) handle multiple sites' (CF) 404 errors (they are hosted on the same server). I'm having trouble with cfincludes and cffiles within the custom CF 404 template: I can't get them to work. Are these disabled to prevent endless 404 error loops? If not, what might I be doing wrong? Thanks, ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: QUESTION: XML feed
I would try to work with them to clean up the XML file at the source - that's the key to the wonderful world of XML: syntactically valid XML. - Original Message - From: Emily C. Grossman [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 1:54 PM Subject: QUESTION: XML feed I am pulling a file from a company that has set up an xml feed. Needless to say, sometimes the file is full of errors -- things like p and no end cause my system to break. At first I was using ReReplace and Replace to read the file and replace the non wddx code but now it seems as if I have to plan for every potential mistake they could possibly make since I may get junk like above. Does anyone have a solution to problems like the one above? Is there any magical tool I can use? As long as their XMLfeed is clean, I can run my rereplaces and replaces and turn their non-wddx into wddx but I can't plan for these types of situations, at least not how I'm currently doing it.. ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: SPAM lists?
I was looking at automating my server-side SPAM filtering. Are there any resources for pulling known SPAM addresses? Free, as in beer? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT: SPAM lists?
Yeah, I saw the thing on Slashdot too - I'll probably investigate that. - Original Message - From: Michael Dinowitz [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 2:19 PM Subject: Re: OT: SPAM lists? Other than black hole lists, I don't know of any. I read of a distributed system being worked up on slashdot a few days back. I was going to suggest the same thing for iMS users to catalog email addresses, subjects, etc. of spam to be blocked. At 03:15 PM 12/4/01, you wrote: I was looking at automating my server-side SPAM filtering. Are there any resources for pulling known SPAM addresses? Free, as in beer? ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Credit Card Encryption
Are you sure about the cfencrypt() function? I don't think it's crackable, though any encryption is if you throw enough keys at it. Rather, the encryption for encrypting files (like encrypted custom tags) has been cracked for a long time (since it requires no user selectable key). - Original Message - From: Jeffrey Polaski [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 2:29 PM Subject: RE: Credit Card Encryption You can also remove the CC numbers from the database. We don't process a huge amount of CC's, so we just run some SQL to set all but the last four digits to 'x' after having copied the good cc numbers to a floppy. The floppies go to a locked managers office. That way the numbers aren't even on the network. We don't do it every day, but once a week or so--enough that there aren't very many CC number sitting in the db. One suggestion: write a stored procedure that writes the CC numbers out to disk, then run GnuPG on the file, and then set all but the last four CC digits to 'x'. You could do it with a chron job, or use a scheduled task in CF. I think that would work for you. One note: cfencrypt(), AFAIK, has been cracked. I'm not sure if that's true of recent versions of CF, though. Jeff Polaski Webmaster Research Graduate Studies University California, Irvine -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 9:43 AM To: CF-Talk Subject: Credit Card Encryption Does anyone have any insight on encrypting data into a Table? A client is asking about storing CC numbers and I want to see what level of protection we can provide. TIA! Hatton ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Credit Card Encryption
You're right, everything is crackable. I just wouldn't think that you can throw cfencrypt'ed text into some magic cracker program and get the decrypted results (keep in mind, this is different from brute forcing keys). Unless the CF developers were idiots and placed the key automatically in the encrypted text. Of course, most decrypters for cfencrypt() probably wouldn't take very long to decrypt using brute force techniques, because most developers I know use very short keys, like abc123 - your encryption key should be very long, and random). What do you mean by finding the key was trivial? The key for that function is user selected. You could brute force them, but I do not believe there's a simple way to automatically determine the encryption key used (as opposed to template encryption, which in essence uses a public key) Are you sure you're referring to cfencrypt() the function, and not referring to template decryption? - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 2:52 PM Subject: Re: Credit Card Encryption Why isn't it crackable? Everything's crackable. Anyhoo, it has been cracked. Finding the key for that function was horribly trivial. Go to Google and do a search, you'll find some code that'll unencrypt cfencrypt()'ed material. - Original Message - From: BILLY CRAVENS [EMAIL PROTECTED] Date: Tuesday, December 4, 2001 1:37 pm Subject: Re: Credit Card Encryption Are you sure about the cfencrypt() function? I don't think it's crackable, though any encryption is if you throw enough keys at it. Rather, the encryption for encrypting files (like encrypted custom tags) has been cracked for a long time (since it requires no user selectable key). - Original Message - From: Jeffrey Polaski [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 2:29 PM Subject: RE: Credit Card Encryption You can also remove the CC numbers from the database. We don't process a huge amount of CC's, so we just run some SQL to set all but the last four digits to 'x' after having copied the good cc numbers to a floppy. The floppies go to a locked managers office. That way the numbers aren't even on the network. We don't do it every day, but once a week or so-- enoughthat there aren't very many CC number sitting in the db. One suggestion: write a stored procedure that writes the CC numbers out to disk, then run GnuPG on the file, and then set all but the last four CC digits to 'x'. You could do it with a chron job, or use a scheduled task in CF. I think that would work for you. One note: cfencrypt(), AFAIK, has been cracked. I'm not sure if that'strue of recent versions of CF, though. Jeff Polaski Webmaster Research Graduate Studies University California, Irvine -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 9:43 AM To: CF-Talk Subject: Credit Card Encryption Does anyone have any insight on encrypting data into a Table? A client is asking about storing CC numbers and I want to see what level of protection we can provide. TIA! Hatton ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT: SPAM lists?
Personally, I'd like to avoid the blackhole lists. Reason being, it's very easy to get unfairly placed on their list - perfect example was the VerizonMail.com? domain. I'd like to avoid as much spam as possible, but still take as much care to ensure that real users (ie, non-scumbags) can reach me. The moment that I have to tell a friend, business associate, or potential customer that their email couldn't reach me because my spam filter caught them, is the moment that I've gone too far. One liner to prevent 100% of spam: *@*.* - Original Message - From: Len Conrad [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 2:54 PM Subject: Re: OT: SPAM lists? I was looking at automating my server-side SPAM filtering. Are there any resources for pulling known SPAM addresses? Free, as in beer? We run an SMTP anti-abuse gateway, and subcribe it to selected RBL servers, do DNS validations, enforce SMTP protocol compliance, regex filters on headers, bodies, attachments. This kills 90% of spam, and a bunch of worms, virii, too without costing anything. A couple of new ones that look promising are spamassassin.taint.org and tmda.sourceforge.net. Another one combines the MAIL FROM: [EMAIL PROTECTED] with a lookup of the owner of the sending mailserver's ip. If you say [EMAIL PROTECTED] and your mailserver is not an AOL ip, click. Len ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Credit Card Encryption
Well, even encryption for protecting government secrets can be cracked if the encryption uses a single key - you just try all the possibilities until you get it right. What makes an encryption mechanism secure is the length of the key, restriction of access to that key, and the hash algorithm. I don't think there's a way of decrypting cfencrypt() without the key - but as I pointed out, it'd probably take a ridiculously short amount of time to crack with a short key. Then again, the whole point is moot, if someone can access the original source code, since the encryption key would be in plain text there. - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 3:26 PM Subject: Re: Credit Card Encryption Of course, most decrypters for cfencrypt() probablywouldn't take very long to decrypt using brute force techniques, because most developers I know use very short keys, like abc123 - your encryptionkey should be very long, and random). It depends on many factors, but suffice it to say that the encryption mechanism is very, very weak. Mind you, those functions aren't really meant to protect government secrets. They're just a bit of obfuscation, essentially. ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT: SPAM lists?
My opinion would be that if you are running a mail server, it is your responsibility to be aware of and control how it relays. (IMO, falls into the same bucket as setting up IIS and being aware of things like Code Red) However, I will agree that some of the blackhole lists are a bit flawed in their implementation. - Original Message - From: Troy Montour [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 4:34 PM Subject: Re: OT: SPAM lists? Bryan, I know your feeling they did it to me while I was first setting up my server for my domain and a friends. and it was a bear to get it off there cause it was new software that I never used but after getting it set-up it was a good software package. The mail server is from icewarp called Merak it cost money but has some nice features with it. if you want to check them out its www.icewarp.com but I just wanted to add my 2 cents. Troy Montour Vampires Inc - Original Message - From: Bryan Stevenson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 2:48 PM Subject: Re: OT: SPAM lists? Hey All, cf_rant I just had an mazingly frustrating experiences with one of the blackhole database maintainers (ordb.org). These folks think they are doing favours by helping ISP's to block mail server IPs that are running open relays (allow spammers to send using that mail server), but their implementation SUCKS! The Scenario: I'm running a development box with IMS as a mail server (and hosting a client's domain during development). After about 8 months with no mail issues whatsoever I receive a bunch of spam test messages from ORDB.org and then get a message saying that my mai lever was an open relay and had been added to their database. This database is provided to ISPs so they can block ALL mail coming from the IP addresses in it. SOOOOO ORDB thinks it's best to just add my IP with NO warning and no chance to fix the issue before getting blacklisted. Well that bit of strong arming shut down my mail server and my client couldn't send any mail (BTW my logs show that no spam EVER went through the system). You then have to try and fix the problem (not easy in IMS) and submit your IP for re-testing (which they say takes 5-10 hours...reality was 12 plus hrs). If you haven't closed the relay then you have to try again (which I had to do). My client was without e-mail for over 2 days. I had to get rid of IMS and found a GREAT free mail servr that allows SMTP authentication (Argo Soft...get it). My communications with ORDB were less than fruitful. They didn't care that my mail service was interrupted and said they don't give you a warning because then more spam would get through (which there was none). So these guys would rather innocent people lose their mail service instead of allowing a few more spams through...geesh. To top it off they hide behind the well it;s the ISPs that block you..we just provide them with the database of IPs. Which transaltes to He didn't have to use the gun I handed him!! Well their predecesor ORBS had 2 legal injunctions against them and had to shut down. I'm sure if they continue to stop valid mail service that someone with the time and money will go after them too...awww what a shame *insert eveil grin here* /cf_rant Thanks for listening...and get ArgoSoft's mail serversuper easy to use and install Bryan Stevenson VP Director of E-Commerce Development Electric Edge Systems Group Inc. p. 250.920.8830 e. [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists