User DSN and System DSN
What's the difference if (when setting up a dsn on a machine) i use user dsn or system dsn? (This is on IIS5/Win2kAS) Right now, if i use system dsn, it appears auotmatically in cf administrator, nice time saver. It was something I never really noticed before but now that I do, I wonder if there is a point to putting it in the UserDSN tab or not. (My guess is no but thats just a guess) _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp 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
Form Formatting
A lame question but hoping someone knows straight away. I am trying to shrink the size of input Text boxes etc... and maybe control the font used... but can't seem to figure it out. Anyone with a hint for me? 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: Data Source--Browse Server...
Erm, and it could be the Java install - I had the same problem yesterday and simply installed the latest JRE and it works fine... ~~ 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
Dynamic Navigation: Hierarchy style
Hi How does one build a dynamic navigation system that constantly shows you on what page you are, in a hierarchy style? Amazon.com does this very good, ie when you are on the software page it shows: browse categories - top sellers - new releases - kids - games - software downloads Regards Carlo 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
CFselect puzzling
Hi all - I've got a cfselect box set up to take multiple selections. This inserts a comma delimited list of item id's into my table column. In my update page I want those selections preselected, but the 'selected' attribute only accepts a single value, not a list. Does anyone have a work around for this? Tristram Charnley ~~ 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: Dynamic Navigation: Hierarchy style
How does one build a dynamic navigation system that constantly shows you on what page you are, in a hierarchy style? There's several tag to do it in the DevX, but it's easy to do by iterating over cgi.path_info or soemthing. ~~ 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: User DSN and System DSN
What's the difference if (when setting up a dsn on a machine) i use user dsn or system dsn? (This is on IIS5/Win2kAS) One requires a user to be logged on, and the other doesn't, iirc. ~~ 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: Form Formatting
input type=text name=T1 size=20 style=font-family: French Script MT There is a Size property and you can change the font that is used in the text box by using a style. The font has to be loaded on client in order for the user to use that particular font in the text box. I only tested this in IE, so you may want to make sure it works in any other browser you plan on your users using to view your site. hope that helps David - Original Message - From: Gonzo Rock [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 3:28 AM Subject: Form Formatting A lame question but hoping someone knows straight away. I am trying to shrink the size of input Text boxes etc... and maybe control the font used... but can't seem to figure it out. Anyone with a hint for me? 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: Reading an XML post
Paul Thanks for the response, but I am unclear on a few things: Apparently the GetHTTPRequestData() allows you to access an XML (SOAP) packet that has been sent to you in an HTTP header... eliminating the need for a form post. If I wanted to code both ends of this application to application transmission in CF 5: how would the sender create the HTTP header to be sent to the receiver? how would the sender send it to the receiver? how would the receiver create a response header? cfheader? how would the receiver return the response? Are there any references or examples of doing both ends of this with CF? TIA Dick At 8:12 PM -0700 8/14/01, Paul Mone wrote: Dick, Yes, you can post most XML packets via an HTML Form. However, HTML forms are for people, and people aren't usually the entities posting XML packets. It is usually a system of some sort that takes data from some other format (i.e. a database) and creates an XML packet and distributes it. That being said, if a person was sending you XML data, they would most likely use an HTML form to POST the data to you. But to a computer system, wrapping the XML packet inside a form field would be an unnecessary and cumbersome layer. XML isn't something that is incredibly handy for humans to parse through or build by hand, but it is a great tool when you need to share/syndicate data between multiple platforms/environments in a system. --- Paul Mone Ninthlink Consulting Group [EMAIL PROTECTED] http://www.ninthlink.com 619.222.7082 -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 3:14 AM To: CF-Talk Subject: RE: Reading an XML post I have only been using CF 5 for about 2 weeks and was unaware of the GetHTTPRequestData() function suggested by Paul and Dave Watts... After reading the docs and experimenting with this function I don't see what it does for you (in answer to the original question). As far as I can tell, GetHTTPRequestData() places the XML (the content of the form post) in a structure along with several other items from the http post operation. Fine! But what does this buy you over having the XML in a Form Variable (another structure)? The XML is in the same format regardless of where it is stored... it still must be parsed to be useful. Am I missing something? TIA Dick At 4:43 PM -0700 8/13/01, Paul Mone wrote: With CF5, I believe that you use GetHTTPRequestData() to retrieve XML data that has been POSTed to a CF template. cfset requestData = GetHTTPRequestData() This function returns a structure, the contents of which you can look up in CFStudio inline help. --- Paul Mone Ninthlink Consulting Group [EMAIL PROTECTED] http://www.ninthlink.com 619.222.7082 -Original Message- From: Ricardo Villalobos [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 2:35 PM To: CF-Talk Subject: Reading an XML post Hi, One of our customers will start sending us orders using XML. They basically will post the file to a URL in our web server. Using ASP, I can read the contents of the post using Request.BinaryRead. Is there anything similar in ColdFusion? Thanks in advance for your help. Ricardo Villalobos [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: Siily question re CFDIRECTORY and downloads
here is the answer to your question. I saw it in a post a couple of days ago. Yes ... you need to modify the HTTP Header Content type. If the content type is known to the browser ... it will open the associated application or whatever. If you change the content type to 'application/unknown' the browser will present the download dialog. In CF take a look at: CFCONTENT TYPE=file_type DELETEFILE=Yes/No FILE=filename RESET=Yes/No In ASP take a look at: Response.ContentType Cheers, Bill In a message dated 8/12/01 1:54:01 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: Hi All, I'm trying to create a page where users can download files from. What i have discovered was that if you have a certain file type associated to a certain program and there is an href to download that type of file, what will happen is that it will automatically open the file with the associated program. for example: if i have mp3's asssociated to winamp...if there is a link A HREF=http://song.mp3/;download song/A and i click it, it will open my winamp player and start playing the song rather than popping up the save as window so that i can save the file. my questions are: Is this discovery correct? and is there a way to prevent it from opening the associated program but rather popping up the save as window? If anyone has any clue please let me know! - Original Message - From: Mike Brunt [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, August 14, 2001 7:33 PM Subject: Siily question re CFDIRECTORY and downloads I have a large mp3 collection that I want to make downloadable to good friends. I have CFDIRECTORY listing the files OK but I am having difficulty making them downloadable. I know this is really silly question but how do I allow users to download the files by clicking them? Kind Regards - Mike Brunt Tel: 562.790.8631 Instant Messaging Handles: - AIM (AOL): MediaEmbee MSN: [EMAIL PROTECTED] Yahoo: MediaEmbeeYH ~~ 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: Remove spaces
Well, in this case the question was very specific - remove the spaces. But in order to remove any non number, you could simply do: CFSET ZIP = REReplace(ZIP,[^[[:digit:]]]*,,ALL) === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : [EMAIL PROTECTED] ICQ UIN : 3679482 My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 6:01 PM To: CF-Talk Subject: RE: Remove spaces What happens if a user types in $%! #*( for their zip code? Always assume the worst. --- Billy Cravens HR Systems, EDS [EMAIL PROTECTED] -Original Message- From: Rich Tretola [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 4:37 PM To: CF-Talk Subject: RE: Remove spaces No you are right but I really don't need to get that involved. The CFSET Zip = REReplace(Zip,[[:space:]]*,,ALL) worked just fine. Thanks, Rich ~~ 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: CFLOCK Scope vs Name attributes !!
on 8/15/01 1:27 AM, Jay Sudowski - Handy Networks LLC at [EMAIL PROTECTED] wrote: NAME Optional. Specifies the name of the lock. Only one request will be able to execute inside a CFLOCK tag with a given name. Does this mean then that you don't have to specify what type (read only, exclusive) when you use the name attribute? Sebastian ~~ 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: CFLOCK Scope vs Name attributes !!
NAME Optional. Specifies the name of the lock. Only one request will be able to execute inside a CFLOCK tag with a given name. Does this mean then that you don't have to specify what type (read only, exclusive) when you use the name attribute? This is interesting - I believe the docs may be wrong here. As far as I know, using NAME= does not make the lock act like TYPE=Exclusive. You can still do NAME=.. TYPE=ReadOnly. FYI, to be anal, your question is, do I have to specify the type, and the answer is no, you don't, ever, because it defaults to Exclusive, but you _should_ specify the type. === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : [EMAIL PROTECTED] ICQ UIN : 3679482 My ally is the Force, and a powerful ally it is. - Yoda ~~ 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
CFMAIL iMS-SE
OK - on Monday, I described how all of a sudden our CFMAIL no longer works. Seems that the SysAdmin on the box that has the SMTP server is now queing up messages to scan for viruses. This seems to have choked our CFMAIL. So, we purchased and installed iMS-SE. While we are in the process of modifying our applications to bye-pass CFMAIL and use the CFX_IMSMAIL tag, we need to relay CFMAIL through the iMS Server. However, when I spool up the CFMAIL messages that have been getting rejected since the 3rd (I've only been spooling up about 10) - they still all come right back into the undelivered bin. The CF Administrator says that CFMAIL is hooking up with the iMS Server, and we have RELAY turned on and the IP set to the IP of our machine. Any clues? I know some of you (Michael) are well versed in the iMS server. Thanks, Dave === David R Hannum Ohio University Web Analyst/Programmer (740) 597-2524 [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: CFMAIL iMS-SE
What does the CF mail log file say ? ~~ 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: code red?
Il giorno [DATA], [NOME], [INDIRIZZO] ha scritto: I just looked again in my apache logs and I found an interesting entry. It looks like all the other code red entries I have but it is 1.78 megs of code can anyone tell me what this is? should I be worried about being infected? I was informed that only iis was susceptible to the worm but I have been monitoring my server just the same there are a ton of enties looking for default.ida? but only one of these. Please help Frederic: GET /default.ida?X XX XX XXX%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9 090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u%u00=a HTTP/1.0 404 279 We are getting the same on all of our Linux and Mac Servers. For now they just seem to be a bother - creates a bit of traffic. If you're lucky, they don't arrive that often. John Forrester Ancitel Spa Rome Italy [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: code red?
Thanks to everyone that responded I guess it's just an inconvienience and not any real trouble. Thanks again, Fred John Forrester wrote: Il giorno [DATA], [NOME], [INDIRIZZO] ha scritto: I just looked again in my apache logs and I found an interesting entry. It looks like all the other code red entries I have but it is 1.78 megs of code can anyone tell me what this is? should I be worried about being infected? I was informed that only iis was susceptible to the worm but I have been monitoring my server just the same there are a ton of enties looking for default.ida? but only one of these. Please help Frederic: GET /default.ida?X XX XX XXX%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9 090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u%u00=a HTTP/1.0 404 279 We are getting the same on all of our Linux and Mac Servers. For now they just seem to be a bother - creates a bit of traffic. If you're lucky, they don't arrive that often. John Forrester Ancitel Spa Rome Italy [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: Remove spaces
I know that both English and Dutch Zip codes are alpha-numeric and 6 characters long (minus spaces). -Original Message- From: Rich Tretola [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 4:22 PM To: CF-Talk Subject: RE: Remove spaces Can't do that because the US zips are 5 digits and international are 6. Rich -Original Message- From: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 5:11 PM To: CF-Talk Subject: RE: Remove spaces You could do a Replace(zipcode, ,,all) but I would suggest doing client-side as well as server-side validation, and make it more robust than just checking for spaces. Check for length, all numbers, etc. --- Billy Cravens HR Systems, EDS [EMAIL PROTECTED] -Original Message- From: Rich Tretola [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 3:59 PM To: CF-Talk Subject: Remove spaces What function do I use to remove spaces in the middle of a string? I have a zipcode field where international users are leaving spaces in the zipcode which is causing errors in the shipping calculator. Thanks, Rich ~~ 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: Remove spaces
Not all UK postcodes are 6 chars long. Some english postcodes are seven charcters long e.g. SW10 0SZ is a location in Chelsea, London and WC2E 7PE is Tavistock street in central London. cheers s -Original Message- From: Leon Oosterwijk [mailto:[EMAIL PROTECTED]] Sent: 15 August 2001 13:59 To: CF-Talk Subject: RE: Remove spaces I know that both English and Dutch Zip codes are alpha-numeric and 6 characters long (minus spaces). -Original Message- From: Rich Tretola [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 4:22 PM To: CF-Talk Subject: RE: Remove spaces Can't do that because the US zips are 5 digits and international are 6. Rich -Original Message- From: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 5:11 PM To: CF-Talk Subject: RE: Remove spaces You could do a Replace(zipcode, ,,all) but I would suggest doing client-side as well as server-side validation, and make it more robust than just checking for spaces. Check for length, all numbers, etc. --- Billy Cravens HR Systems, EDS [EMAIL PROTECTED] -Original Message- From: Rich Tretola [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 3:59 PM To: CF-Talk Subject: Remove spaces What function do I use to remove spaces in the middle of a string? I have a zipcode field where international users are leaving spaces in the zipcode which is causing errors in the shipping calculator. Thanks, Rich ~~ 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: CFselect puzzling
First off, a note of caution - if you're storing multiple values in one field in your database, your database is not normalized. You could end up with some real headaches down the road. But, as for your question. I would avoid using the cfselect in this situation and just use a regular select box. Then, I'd do something like so: cfset myselectedlist = myquery.mycolumn select name=myselect size=1 option value=myvalue cfif listfind(myselectedlist, myvalue) GT 0selected My Value /option /select Make sense? Deanna Schneider Interactive Media Developer [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: CFMAIL iMS-SE
In the MAIL/LOG/ERRORS.LOG file, there is nothing that speaks of this problem. The last entry in that log file is 7/20/2001 Dave - Original Message - From: Thomas Chiverton [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 8:34 AM Subject: RE: CFMAIL iMS-SE What does the CF mail log file say ? ~~ 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: CFMAIL iMS-SE
For iMS to relay you need the following configured: 1) On the relay setting check off the enable box and make sure that the port setting is one that you want to use (standard smtp is port 25) 2) a range or ranges of ip addresses that are allowed to relay through the server (this is the allowed ips button) 3) one or more dns servers (comma-delimited) need to be configured in the post server settings. That should be it. If you need more help then just send me an email directly. Regards, Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. www.CoolFusion.com 631-737-4668 x101 inFusion Mail Server (iMS) - The Intelligent Mail Server Join the DevCon community at www.coolfusion.com/devcon - Original Message - From: Dave Hannum [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 8:14 AM Subject: CFMAIL iMS-SE OK - on Monday, I described how all of a sudden our CFMAIL no longer works. Seems that the SysAdmin on the box that has the SMTP server is now queing up messages to scan for viruses. This seems to have choked our CFMAIL. So, we purchased and installed iMS-SE. While we are in the process of modifying our applications to bye-pass CFMAIL and use the CFX_IMSMAIL tag, we need to relay CFMAIL through the iMS Server. However, when I spool up the CFMAIL messages that have been getting rejected since the 3rd (I've only been spooling up about 10) - they still all come right back into the undelivered bin. The CF Administrator says that CFMAIL is hooking up with the iMS Server, and we have RELAY turned on and the IP set to the IP of our machine. Any clues? I know some of you (Michael) are well versed in the iMS server. Thanks, Dave === David R Hannum Ohio University Web Analyst/Programmer (740) 597-2524 [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: Remove spaces
Stephen Galligan wrote: Not all UK postcodes are 6 chars long. Some english postcodes are seven charcters long e.g. SW10 0SZ is a location in Chelsea, London and WC2E 7PE is Tavistock street in central London. Actually, I seem to remember that my postcode in Japan was 7 chars as well. Universal Postal Union (thanx Paul) has got all the different formats and can be found at (url may be truncated): http://www.upu.int/pls/ap/layout.startup?p_language=ANp_theme=addrsystp_content_url=/pls/ap/postcode.choice?p_language=AN Jochem ~~ 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
Thoughts
I think I know what everyone has to say about this but I thought I would share. A web manager here has asked one of the developers to change an app they built. The current one is all db driven, it has a few pages to display about 110 pages worth of info. Well the manager wants them to make all the pages static. To have them hard coded. The manager says that because the info is only updated once in a blue moon they don't need the extra calls to the db. Well the developer called me to find out where they could find info on why this would be a bad idea. any thoughts ~~ 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
GTE problem
Hi, Has anyone had problems with GTE (Greater than or Equal to) on ColdFusion 5 Pro NT? GT, LT, and LTE all work fine, but anytime I try to use GTE I get the following error: Code: cfif 4 gte 2 it works /cfif Error: Just in time compilation error Invalid parser construct found on line 1 at position 8. ColdFusion was looking at the following text: gte Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFIF tag occupying document position (1:1) to (1:5). I would hate to think this is a bug, please prove me wrong. Thanks +++ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.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: GTE problem
I can't replicate this - I put those 3 lines at the top of the template I was working on just now, and it added the text to the top of the output. -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: 15 August 2001 14:32 To: CF-Talk Subject: GTE problem Hi, Has anyone had problems with GTE (Greater than or Equal to) on ColdFusion 5 Pro NT? GT, LT, and LTE all work fine, but anytime I try to use GTE I get the following error: Code: cfif 4 gte 2 it works /cfif Error: Just in time compilation error Invalid parser construct found on line 1 at position 8. ColdFusion was looking at the following text: gte Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFIF tag occupying document position (1:1) to (1:5). I would hate to think this is a bug, please prove me wrong. Thanks +++ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.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: GTE problem
Your code works fine for me using CF5 Pro on Win2K. Ken -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:32 AM To: CF-Talk Subject: GTE problem Hi, Has anyone had problems with GTE (Greater than or Equal to) on ColdFusion 5 Pro NT? GT, LT, and LTE all work fine, but anytime I try to use GTE I get the following error: Code: cfif 4 gte 2 it works /cfif Error: Just in time compilation error Invalid parser construct found on line 1 at position 8. ColdFusion was looking at the following text: gte Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFIF tag occupying document position (1:1) to (1:5). I would hate to think this is a bug, please prove me wrong. Thanks +++ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.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: Thoughts
Well the manager wants them to make all the pages static. To have them hard coded. The manager says that because the info is only updated once in a blue moon they don't need the extra calls to the db. Well the developer called me to find out where they could find info on why this would be a bad idea. It depends on the situation, but in reality if a few extra calls to the db server are causing a problem, then perhaps it's best to upgrade the db server instead of trying to band-aid the problem. If that's not a viable option, some caching may cut down the number of db requests. -Ryan ~~ 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: GTE problem
I can't replicate this - I put those 3 lines at the top of the template I was working on just now, and it added the text to the top of the output. CF5 Pro, 2K - anyone got NT still ? ~~ 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: GTE problem
Hi Pete, I am on a w2k server box with CF5. I cut and pasted that code and it works fine for me. HTH Will Swain Hot Horse Ltd http://www.hothorse.com e: [EMAIL PROTECTED] -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: 15 August 2001 14:32 To: CF-Talk Subject: GTE problem Hi, Has anyone had problems with GTE (Greater than or Equal to) on ColdFusion 5 Pro NT? GT, LT, and LTE all work fine, but anytime I try to use GTE I get the following error: Code: cfif 4 gte 2 it works /cfif Error: Just in time compilation error Invalid parser construct found on line 1 at position 8. ColdFusion was looking at the following text: gte Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFIF tag occupying document position (1:1) to (1:5). I would hate to think this is a bug, please prove me wrong. Thanks +++ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.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: Thoughts
Well, what he's asking for is not insane. In fact, it really makes a lot of sense - don't make things dynamic that are not dynamic. I know of a lot of people that are reverting to static, or semi-static pages from dynamic pages - especially for pages that really have no reason to be dynamic. Its all for scalability reasons. Having said that, you don't really have to change much. There are a lot of ways of doing what he wants without much work. One way is to just spider over the files and save them as HTML files. That way, if they change, just run the spider again. You could set the scheduler to do it for you.You could use a program like Teleport Pro to do it as well. Another way might be to use the CFCACHE tag - this might take care of everything for you, depending on your situation. So, in my opinion, its not a bad idea for the pages to be just HTML pages. To recode them by hand is crazy, but to use the system you already have in place, and just cache the pages as HTML pages for an indefinate period is the right way to go. Michael Ross wrote: I think I know what everyone has to say about this but I thought I would share. A web manager here has asked one of the developers to change an app they built. The current one is all db driven, it has a few pages to display about 110 pages worth of info. Well the manager wants them to make all the pages static. To have them hard coded. The manager says that because the info is only updated once in a blue moon they don't need the extra calls to the db. Well the developer called me to find out where they could find info on why this would be a bad idea. any thoughts ~~ 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: GTE problem
Your code works fine for me using CF5 Pro on Win2K. Found an NT4, sp6a-post, CF5Pro box - code runs fine in template by itself. ~~ 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: Thoughts
Assuming there's no need for personalization or much in the way of security, it should work fine and avoid any performance hit of the CF/DB calls. Just use CF to generate the static files and keep the manager happy. If they've built content management/editing into the back end they can still use it when content changes are needed and then re-publish the site. Of course, setting up static page publishing system gives the developer a new project to enjoy. :) Or is the manager saying they literally want them hand-coded manually? Ken -Original Message- From: Michael Ross [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:18 AM To: CF-Talk Subject: Thoughts I think I know what everyone has to say about this but I thought I would share. A web manager here has asked one of the developers to change an app they built. The current one is all db driven, it has a few pages to display about 110 pages worth of info. Well the manager wants them to make all the pages static. To have them hard coded. The manager says that because the info is only updated once in a blue moon they don't need the extra calls to the db. Well the developer called me to find out where they could find info on why this would be a bad idea. any thoughts ~~ 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: Thoughts
cfcache is your friend. CFML Language Reference -- Chapter 1 : ColdFusion Tags CFCACHE CFCACHE allows you to speed up pages considerably in cases where the dynamic content doesn't need to be retrieved each time a user accesses the page. To accomplish this, it creates temporary files that contain the static HTML returned from a particular run of the ColdFusion page. You can use CFCACHE for simple URLs and URLs that contain URL parameters. Syntax CFCACHE ACTION=CACHE or FLUSH or CLIENTCACHE or OPTIMAL USERNAME=username PASSWORD=password PROTOCOL=protocol_name TIMEOUT=#DateAdd(datepart, number, date)# DIRECTORY=directory_name_for_map_file CACHEDIRECTORY=directory_name_for_cached_pages EXPIREURL=wildcarded_URL_reference PORT= port_number ACTION Optional. Specifies one of the following: a.. CACHE -- Specifies server-side caching. The default is CACHE. b.. FLUSH -- Refresh the cached page. If you specify FLUSH, you can also specify the DIRECTORY and EXPIREURL attributes. c.. CLIENTCACHE --Specifies browser caching. d.. OPTIMAL--Specifies optimal caching through a combination of server-side and browser caching. See the Usage section for more information. USERNAME Optional. When required for basic authentication, a valid username. PASSWORD Optional. When required for basic authentication, a valid password. PROTOCOL Optional. Specifies the protocol used to create pages from cache. Specify either HTTP:// or HTTPS://. The default is HTTP://. TIMEOUT Optional. DateTime that specifies the oldest acceptable cached page. If the cached page is older than the specified datetime, ColdFusion refreshes the page. By default, ColdFusion uses all cached pages. For example, if you want a cached file to be no older than 4 hours, code the following: CFCACHE TIMEOUT=#DateAdd(h, -4, Now() )# DIRECTORY Optional. Used with ACTION=FLUSH. Specifies the fully qualified path of a directory containing the cfcache.map to be used when ACTION=FLUSH. The default is the directory of the current page. CACHEDIRECTORY Optional. Specifies the fully qualified path of the directory where the pages are to be cached. The default is the directory of the current page. EXPIREURL Optional. Used with ACTION=FLUSH. EXPIREURL takes a wildcarded URL reference that ColdFusion matches against all mappings in the cfcache.map file. The default is to flush all mappings. For example, foo.cfm matches foo.cfm; foo.cfm?* matches foo.cfm?x=5 and foo.cfm?x=9. PORT Optional. The port number of the web server from which the page is being requested. The port number defaults to 80. The port number is useful because the CFCACHE code calls CFHTTP. If the port number is specified correctly in the internal call to CFHTTP, the URL of each retrieved document is resolved to preserve links. Usage In its simplest form, all you need to do is code CFCACHE at the top of a page for it to be cached. With the ACTION attribute, you can specify server-side caching, browser caching, or a combination of server-side and browser caching. The advantage of browser caching is that it takes no ColdFusion resources because the browser stores the pages in its own cache, thus, improving performance. The advantage of using a combination of the two forms of caching is that it optimizes performance; if the browser cache times out, the server can retrieve the cached data from its own cache. In addition to the cached files themselves, CFCACHE uses a mapping file to control caching. It is named cfcache.map and uses a format similar to a Windows INI file. The mapping of a URL with parameters is stored as follows. Assume a directory c:\InetPub\wwwroot\dir1 that has a CFM file called foo.cfm, which can be invoked with or without URL parameters. The cfcache.map file entries for foo.cfm will look like this: [foo.cfm] Mapping=C:\InetPub\wwwroot\dir1\CFCBD.tmp SourceTimeStamp=08/31/1999 08:59:04 AM [foo.cfm?x=5] Mapping=C:\InetPub\wwwroot\dir1\CFCBE.tmp SourceTimeStamp=08/31/1999 08:59:04 AM [foo.cfm?x=9] Mapping=C:\InetPub\wwwroot\dir1\CFCBF.tmp SourceTimeStamp=08/31/1999 08:59:04 AM The cfcache.map file in a given directory stores mappings for that directory only. Any time the timestamp of the underlying page changes, ColdFusion updates the cache file for that URL only. ColdFusion uses the SourceTimeStamp field to determine if the currently cached file is up to date or needs to be rebuilt. You can refresh the cache in the following ways: a.. TIMEOUT attribute -- ColdFusion tests the timestamp of the cached file against the TIMEOUT attribute. If the cached file's timestamp is older than TIMEOUT, the old file is deleted and a new one created. You can use fixed dates if necessary, but it's preferable to use relative dates. This is the preferred technique and it works for seconds, hours, days, weeks, years, etc. b.. ACTION=FLUSH -- You use ACTION=FLUSH to
RE: Thoughts
You will probably get a lot of responses on this. I assume this is a CF application if so there are several ways to cache content-queries etc. The simplest way is to turn on Trusted Cache in CF Administrator and for prudence upsize the Template Cache Size depending on what it is currently set to and how much RAM is available. By doing this each CF page is cached after the first hit and stays there until Trusted Cache is turned off and the server restarted, no hits to the database for cached pages. This way the manager gets their wish fulfilled without taking such a disastrously unnecessary step. **Be sure to restart CF Server after enabling Trusted Cache. Kind Regards - Mike Brunt Tel: 562.790.8631 Instant Messaging Handles: - AIM (AOL): MediaEmbee MSN: [EMAIL PROTECTED] Yahoo: MediaEmbeeYH -Original Message- From: Michael Ross [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 6:18 AM To: CF-Talk Subject: Thoughts I think I know what everyone has to say about this but I thought I would share. A web manager here has asked one of the developers to change an app they built. The current one is all db driven, it has a few pages to display about 110 pages worth of info. Well the manager wants them to make all the pages static. To have them hard coded. The manager says that because the info is only updated once in a blue moon they don't need the extra calls to the db. Well the developer called me to find out where they could find info on why this would be a bad idea. any thoughts ~~ 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: A good E-Commerce product
We've been looking at both AbleCommerce and, more recently, the release candidate for OSB 3 by Visual Trends (http://www.visualtrends.com/). Both are fully featured products, though AbleCommerce does offer a few nice extras in its QuickStore functionality and WYSIWYG editor. OSB is priced better for us: a flat rate of $5,000 for unlimited stores as opposed to AbleCommerce's per store methods. We believe the OSB administration interface is far easier to use, both for administrators and for clients. Permissioning in OSB seems to be a lot stronger. At the last company I worked at, we used AbleCommerce and I can say with out a doubt that they have a great support staff. I tried contacting Visual Trends a couple days ago to find out the answers to a few questions we had while demoing the product and have yet to hear back from them. Not a good sign. Of course, some of the best companies we deal with regularly have terrible (nonexistent) sales staff but incredible support staff. One more thing to note is that both of these products are really geared to companies that are going to be hosting more than one store on the same server. Though they will both work well in single store installations, you may find that many of their features are unnecessary for what you want to do. In which case, you may want to have a look at a product like CF Web Store (http://www.cfwebstore.com/). It offers much less in the way of functionality but is also a lot easier on the budget. Also, and probably as a result of the reduced number of features, it has a pretty easy to use administration interface. There are quite a few shopping cart solutions similar in scope to CF Web Store. You should be able to find most of those by searching for cart in the Allaire Developer Exchange. Benjamin S. Rogers http://www.c4.net/ v.508.240.0051 f.508.240.0057 -Original Message- From: nyon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 10:31 PM To: CF-Talk Subject: A good E-Commerce product Hi, Wonder if anyone can recommend a good e-commerce product which includes invoicing issuing, basic inventory, e-mail notification . So far, I heard about AbleCommerce. Any comments about this product ? Thanks Nyon ~~ 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: GTE problem
CF5 Pro, 2K - anyone got NT still ? Yes, it works for me on NT4.0 too. ** Information in this email is confidential and may be privileged. It is intended for the addressee only. If you have received it in error, please notify the sender immediately and delete it from your system. You should not otherwise copy it, retransmit it or use or disclose its contents to anyone. Thank you for your co-operation. ** ~~ 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: GTE problem
it works without a problem on NT 4.0 SP6a, using CF 5.0 Enterprise edition. Regards, Joel Parramore -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:36 AM To: CF-Talk Subject: RE: GTE problem I can't replicate this - I put those 3 lines at the top of the template I was working on just now, and it added the text to the top of the output. CF5 Pro, 2K - anyone got NT still ? ~~ 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: GTE problem
works for me also. I'm running Win XP Pro with CF5 Ent. Ben Densmore - Original Message - From: Will Swain [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 9:44 AM Subject: RE: GTE problem Hi Pete, I am on a w2k server box with CF5. I cut and pasted that code and it works fine for me. HTH Will Swain Hot Horse Ltd http://www.hothorse.com e: [EMAIL PROTECTED] -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: 15 August 2001 14:32 To: CF-Talk Subject: GTE problem Hi, Has anyone had problems with GTE (Greater than or Equal to) on ColdFusion 5 Pro NT? GT, LT, and LTE all work fine, but anytime I try to use GTE I get the following error: Code: cfif 4 gte 2 it works /cfif Error: Just in time compilation error Invalid parser construct found on line 1 at position 8. ColdFusion was looking at the following text: gte Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFIF tag occupying document position (1:1) to (1:5). I would hate to think this is a bug, please prove me wrong. Thanks +++ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.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: Thoughts
If the info truly is fairly static and almost never changes, there is no reason to make it database driven / dynamically generated. If they are in some high-traffic area, hard-coding will also increase efficiency of serving them to the many hard-traffic people. However, you have 110 pages today. Are you going to have 220 tomorrow? Are all the pages templated or are you performing a lot of processing to make each one individual? One solution is to generate static pages from the database. (I.E. write a scripts using CFFILE to generate the HTML pages) and then you have the benefit of static pages and the benefits of a database-driven data. It's also probably easier than hand-coding all 110 pages. At 09:18 AM 08/15/2001 -0400, you wrote: I think I know what everyone has to say about this but I thought I would share. A web manager here has asked one of the developers to change an app they built. The current one is all db driven, it has a few pages to display about 110 pages worth of info. Well the manager wants them to make all the pages static. To have them hard coded. The manager says that because the info is only updated once in a blue moon they don't need the extra calls to the db. Well the developer called me to find out where they could find info on why this would be a bad idea. any thoughts ~~ 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: GTE problem
Just tried it on NT4 Server SP6 with CF 5.0 and it worked fine. Have you tried cycling the ColdFusion Service? Jeff Garza Webmaster, Spectrum Astro, Inc. [EMAIL PROTECTED] -Original Message- From: Thomas Chiverton To: CF-Talk Sent: 8/15/01 6:36 AM Subject: RE: GTE problem I can't replicate this - I put those 3 lines at the top of the template I was working on just now, and it added the text to the top of the output. CF5 Pro, 2K - anyone got NT still ? ~~ 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: GTE problem
Hi Just tried it in cf5 ent nt4 server works fine for me. Alan Comeau - Original Message - From: Pete Freitag [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 2:32 PM Subject: GTE problem Hi, Has anyone had problems with GTE (Greater than or Equal to) on ColdFusion 5 Pro NT? GT, LT, and LTE all work fine, but anytime I try to use GTE I get the following error: Code: cfif 4 gte 2 it works /cfif Error: Just in time compilation error Invalid parser construct found on line 1 at position 8. ColdFusion was looking at the following text: gte Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFIF tag occupying document position (1:1) to (1:5). I would hate to think this is a bug, please prove me wrong. Thanks +++ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.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
drop down lists
is there a way to have a select list that drops down a specific list from a query, but it is also able to add new items to this drop down list on the fly. in other words..if i have a list of apples oranges pears but i dont see grapes...and that is what i want to use.. can i just start typing grapes in this select drop down? so i want it to be a drop down AND a text field at the same time. ive seen many applications do this, but i am not sure of how i would go about it. thanks everyone bec. * This e-mail, including any attachments, is intended for the receipt and use by the intended addressee(s), and may contain confidential and privileged information. If you are not an intended recipient of this e-mail, you are hereby notified that any unauthorized use or distribution of this e-mail is strictly prohibited. ~~ 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
paypal
Hi Everybody, Have anyone worked on paypal.com... this is pretty usefulll for me, but iam stuck up as my problem is i want to enroll the user only if the credit card info given by the user is successfully verified. DOES ANYONE HAVE A CFML SCRIPT FOR THIS PLEASE thanks in advance Regards Vikram ~~ 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
dynamically create drop downs. based on number needed?
hello all. i have a form i need to re-create in the paste there is a section for Team Member Info, here i just had 10 text fields where the project manager would enter in his team members. but now i want to pull the Member_Names from an existing db in a drop down list, i know how to do this. but at the start of this section, i want the user to be asked How Many Team Members? then depending on the number selection i would want that many Member_Names Drop Downs Created. so if there were where only 3 team members, 3 drop downs would appear. So how would i go about doing this. would this be a JavaScript thing? would i first need to select 3 then hit submit, or could i do it on an on change event how? also how would the select boxes then be named? If there is an example i have over looked in the WACK book, just give me a page number right now the way i am doing 1 drop down is cfquery name=rs_Team_Members datasource=Project_Setup SELECT EmployeeID, FirstName, LastName, Email FROM tbl_Employee ORDER BY LastName DESC; /cfquery select name=EmployeeID cfloop query=rs_Team_Members option value=cfoutput#rs_Team_Members.EmployeeID#/cfoutput cfif (#rs_Team_Members.EmployeeID# EQ #rs_Team_Members.EmployeeID#)SELECTED/cfifcfoutput#rs_Team_Members.Las tName# #rs_Team_Members.FirstName#/cfoutput/option /cfloop /select thanks -paul -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 5:44 PM To: CF-Talk Subject: Re: Remove spaces rereplace() ~~ 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: Getting values from CFFORM
I have two input boxes. How do I find out if the user typed in anything in those input boxes. They might enter in data in the first box but leave the second one emtpy and visa-versa. Based on what they type in and in which input box different results are generated. cfoutput cfform action=#cgi.script_name# method=GET name=form1 nbsp;nbsp; cfinput type=text name=redirect value= size=16 maxlength=30 class=dirlinksnbsp; input type=hidden name=defined value= input type=submit value=Jump class=dirlinks name=results /cfform cfform action=test3.cfm?#mask# method=GET name=form2 nbsp;nbsp; cfinput type=text name=filter value=#filter# size=16 maxlength=20 class=dirlinksnbsp; input type=hidden name=maskdefined value= input type=submit value= Filter class=dirlinks /cfform /cfoutput ~~ 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: GTE problem
Ok, must not be a problem with CF5, I'll reinstall, but I'm still very confused as to why this error is getting thrown. Thanks to all who tested this. BTW I am running Win2k Server even though I said NT, I was referring to the version of CF. + Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.com/ -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:44 AM To: CF-Talk Subject: RE: GTE problem Hi Pete, I am on a w2k server box with CF5. I cut and pasted that code and it works fine for me. HTH Will Swain Hot Horse Ltd http://www.hothorse.com e: [EMAIL PROTECTED] -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: 15 August 2001 14:32 To: CF-Talk Subject: GTE problem Hi, Has anyone had problems with GTE (Greater than or Equal to) on ColdFusion 5 Pro NT? GT, LT, and LTE all work fine, but anytime I try to use GTE I get the following error: Code: cfif 4 gte 2 it works /cfif Error: Just in time compilation error Invalid parser construct found on line 1 at position 8. ColdFusion was looking at the following text: gte Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFIF tag occupying document position (1:1) to (1:5). I would hate to think this is a bug, please prove me wrong. Thanks +++ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.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: drop down lists
yup we got a free tag that works like a select, but allows you to also type in. Its called CF_ComboBox http://www.cfdev.com/products/index.cfm?ref=126 + Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.com/ -Original Message- From: Jones, Becky [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:53 AM To: CF-Talk Subject: drop down lists is there a way to have a select list that drops down a specific list from a query, but it is also able to add new items to this drop down list on the fly. in other words..if i have a list of apples oranges pears but i dont see grapes...and that is what i want to use.. can i just start typing grapes in this select drop down? so i want it to be a drop down AND a text field at the same time. ive seen many applications do this, but i am not sure of how i would go about it. thanks everyone bec. * This e-mail, including any attachments, is intended for the receipt and use by the intended addressee(s), and may contain confidential and privileged information. If you are not an intended recipient of this e-mail, you are hereby notified that any unauthorized use or distribution of this e-mail is strictly prohibited. ~~ 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: Thoughts
I worked for a place where they decided to make the pages partly static and partly dynamic. It was a website that sold movies. Things like the synopsis and cover art would change rarely, while the pricing could change at any time. What we did was give the staff the ability to regenerate the static page (if they changed something like the synopsis) on demand. The built page then contains only one query that does a price lookup, as that was the only data that needed to be current at all times. It's a lot less load then having a dynamic page do ten queries whenever someone looks up a title. Melanie At 09:18 AM 08/15/2001 -0400, you wrote: I think I know what everyone has to say about this but I thought I would share. A web manager here has asked one of the developers to change an app they built. The current one is all db driven, it has a few pages to display about 110 pages worth of info. Well the manager wants them to make all the pages static. To have them hard coded. The manager says that because the info is only updated once in a blue moon they don't need the extra calls to the db. Well the developer called me to find out where they could find info on why this would be a bad idea. any thoughts ~~ 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: Thoughts
Well, he could leave the existing page, then open it, use view source to grab the html and save that for people to access. He could use the existing page for periodic updating. Might be some cleanup of the html is all. We nearly had a client go this route because the person making the suggestion doesn't understand dynamic pages. JoAnn A. Schlosser Consultant Association Management Software Grant Thornton LLP Washington, D. C. 703.837.4428 -Original Message- From: Michael Ross [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:18 AM To: CF-Talk Subject: Thoughts I think I know what everyone has to say about this but I thought I would share. A web manager here has asked one of the developers to change an app they built. The current one is all db driven, it has a few pages to display about 110 pages worth of info. Well the manager wants them to make all the pages static. To have them hard coded. The manager says that because the info is only updated once in a blue moon they don't need the extra calls to the db. Well the developer called me to find out where they could find info on why this would be a bad idea. any thoughts ~~ 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: paypal
Are you using their web-accept method where you are building the cart on your site and sending them the data for processing? Eric J Hoffman Director of Internet Development Small Dog Design, LLC www.smalldogdesign.com -Original Message- From: kavitha [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 8:54 AM To: CF-Talk Subject: paypal Hi Everybody, Have anyone worked on paypal.com... this is pretty usefulll for me, but iam stuck up as my problem is i want to enroll the user only if the credit card info given by the user is successfully verified. DOES ANYONE HAVE A CFML SCRIPT FOR THIS PLEASE thanks in advance Regards Vikram ~~ 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: dynamically create drop downs. based on number needed?
never mind. i am a moron. will just use 1 multi selection box. 11 days till the wedding my code is suffering from anxiety : ] -paul -Original Message- From: Paul Ihrig Sent: Wednesday, August 15, 2001 10:04 AM To: '[EMAIL PROTECTED]' Subject: dynamically create drop downs. based on number needed? hello all. i have a form i need to re-create in the paste there is a section for Team Member Info, here i just had 10 text fields where the project manager would enter in his team members. but now i want to pull the Member_Names from an existing db in a drop down list, i know how to do this. but at the start of this section, i want the user to be asked How Many Team Members? then depending on the number selection i would want that many Member_Names Drop Downs Created. so if there were where only 3 team members, 3 drop downs would appear. So how would i go about doing this. would this be a JavaScript thing? would i first need to select 3 then hit submit, or could i do it on an on change event how? also how would the select boxes then be named? If there is an example i have over looked in the WACK book, just give me a page number right now the way i am doing 1 drop down is cfquery name=rs_Team_Members datasource=Project_Setup SELECT EmployeeID, FirstName, LastName, Email FROM tbl_Employee ORDER BY LastName DESC; /cfquery select name=EmployeeID cfloop query=rs_Team_Members option value=cfoutput#rs_Team_Members.EmployeeID#/cfoutput cfif (#rs_Team_Members.EmployeeID# EQ #rs_Team_Members.EmployeeID#)SELECTED/cfifcfoutput#rs_Team_Members.Las tName# #rs_Team_Members.FirstName#/cfoutput/option /cfloop /select thanks -paul -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 5:44 PM To: CF-Talk Subject: Re: Remove spaces rereplace() ~~ 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: Thoughts
You will probably get a lot of responses on this. I assume this is a CF application if so there are several ways to cache content-queries etc. The simplest way is to turn on Trusted Cache in CF Administrator and for prudence upsize the Template Cache Size depending on what it is currently set to and how much RAM is available. By doing this each CF page is cached after the first hit and stays there until Trusted Cache is turned off and the server restarted, no hits to the database for cached pages. This way the manager gets their wish fulfilled without taking such a disastrously unnecessary step. Unfortunately, this is incorrect. Using Trusted Cache doesn't have anything to do with database queries. By default, when the CF Server runs a page for the first time, it reads the contents of the ASCII text and converts those contents to what is commonly referred to by Macromedia as p-code. This p-code can be thought of as a native version of the instruction set originally contained within the ASCII text. By default also, the CF Server caches this instruction set in memory. You can specify the size of the memory allotted for storing cached instruction sets in the CF Administrator. Now when the page, once cached, is subsequently executed again, the CF Server fetches the instruction set from the cache and executes that, skipping the original step of parsing the ASCII text. However, whatever instructions are contained within that set are reexecuted - database queries, HTML output generation, and so on. By default, before the cached instruction set is reexecuted, the CF Server checks the original ASCII file to see whether it has been changed since the instruction set was generated. This requires some disk access overhead, which is generally unnecessary in a production server environment. So, to avoid this overhead, you can enable Trusted Cache in production, and the CF Server won't check the file on disk for changes once it has a cached instruction set. Any database queries within that instruction set will be reexecuted each time the page is run, though. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ 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: dynamically create drop downs. based on number needed?
I just did this in ASP (but the CF equivilent is just as easy, if you want a copy of my code, drop me a line. Brian Yager President - North AL Cold Fusion Users Group Sr. Systems Analyst NCCIM/CIC [EMAIL PROTECTED] (256) 842-8342 -Original Message- From: Paul Ihrig [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:04 AM To: CF-Talk Subject: dynamically create drop downs. based on number needed? hello all. i have a form i need to re-create in the paste there is a section for Team Member Info, here i just had 10 text fields where the project manager would enter in his team members. but now i want to pull the Member_Names from an existing db in a drop down list, i know how to do this. but at the start of this section, i want the user to be asked How Many Team Members? then depending on the number selection i would want that many Member_Names Drop Downs Created. so if there were where only 3 team members, 3 drop downs would appear. So how would i go about doing this. would this be a JavaScript thing? would i first need to select 3 then hit submit, or could i do it on an on change event how? also how would the select boxes then be named? If there is an example i have over looked in the WACK book, just give me a page number right now the way i am doing 1 drop down is cfquery name=rs_Team_Members datasource=Project_Setup SELECT EmployeeID, FirstName, LastName, Email FROM tbl_Employee ORDER BY LastName DESC; /cfquery select name=EmployeeID cfloop query=rs_Team_Members option value=cfoutput#rs_Team_Members.EmployeeID#/cfoutput cfif (#rs_Team_Members.EmployeeID# EQ #rs_Team_Members.EmployeeID#)SELECTED/cfifcfoutput#rs_Team_Members.Las tName# #rs_Team_Members.FirstName#/cfoutput/option /cfloop /select thanks -paul -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 5:44 PM To: CF-Talk Subject: Re: Remove spaces rereplace() ~~ 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: drop down lists
thank u so much. i will give that a shot. -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 10:30 AM To: CF-Talk Subject: RE: drop down lists yup we got a free tag that works like a select, but allows you to also type in. Its called CF_ComboBox http://www.cfdev.com/products/index.cfm?ref=126 + Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.com/ -Original Message- From: Jones, Becky [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:53 AM To: CF-Talk Subject: drop down lists is there a way to have a select list that drops down a specific list from a query, but it is also able to add new items to this drop down list on the fly. in other words..if i have a list of apples oranges pears but i dont see grapes...and that is what i want to use.. can i just start typing grapes in this select drop down? so i want it to be a drop down AND a text field at the same time. ive seen many applications do this, but i am not sure of how i would go about it. thanks everyone bec. * This e-mail, including any attachments, is intended for the receipt and use by the intended addressee(s), and may contain confidential and privileged information. If you are not an intended recipient of this e-mail, you are hereby notified that any unauthorized use or distribution of this e-mail is strictly prohibited. ~~ 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: Reading an XML post
Thanks for the response, but I am unclear on a few things: Apparently the GetHTTPRequestData() allows you to access an XML (SOAP) packet that has been sent to you in an HTTP header... eliminating the need for a form post. If I wanted to code both ends of this application to application transmission in CF 5: how would the sender create the HTTP header to be sent to the receiver? how would the sender send it to the receiver? how would the receiver create a response header? cfheader? how would the receiver return the response? Are there any references or examples of doing both ends of this with CF? When you use HTTP as a SOAP transport mechanism, the SOAP envelope is typically placed not within an HTTP header, but within the body of an HTTP POST request. Here's what that might look like: POST /team/webcontrols/mathservice.asmx HTTP/1.0 SOAPAction: http://tempuri.org/Add Content-Type: text/xml Referer: http://localhost/soap/dhtmlclient/mathservicedemo.html Content-Length: 476 User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows.NT.5.0) Host: www.fmexpense.com Connection: Keep-Alive Pragma: no-cache ?xml version='1.0'? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsi=http://www.w3.org/1999/XMLSchema-instance; xmlns:xsd=http://www.w3.org/1999/XMLSchema; SOAP-ENV:Body Add xmlns='http://tempuri.org/' a xsi:type=xsd:int SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 5 /a b xsi:type=xsd:int SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 3 /b /Add /SOAP-ENV:Body /SOAP-ENV:Envelope The problem with reading the body of the POST prior to CF 5 is that it's expecting typical form variable encoding - name-value pairs. For some incredibly oversimplified sample code, you might look here: http://www.figleaf.com/figleafhome/cfug/2001/CFUGJun2001/jun2001.zip This contains two SOAP topics covered at the June DC-CFUG, as well as some other stuff. Next month, I'm doing a follow-up SOAP topic with more worthwhile code samples. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ 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: Thoughts
I think it is okay to make it static. However just write a publish process using the existing app and cfhttp to write the generated pages to static html. Then everytime your database changes just re-run the process. My 2 cents. -- Mike Michael Goodwin Project Manager Databuilt, L.L.C. 4720 Salisbury Road, Suite 213 Jacksonville, FL 32256 (904)493-6157 tel (904)535-DATA mobile (904)493-6084 fax www.databuilt.net AN E-BUSINESS SOLUTION PROVIDER -Original Message- From: Michael Ross [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:18 AM To: CF-Talk Subject: Thoughts I think I know what everyone has to say about this but I thought I would share. A web manager here has asked one of the developers to change an app they built. The current one is all db driven, it has a few pages to display about 110 pages worth of info. Well the manager wants them to make all the pages static. To have them hard coded. The manager says that because the info is only updated once in a blue moon they don't need the extra calls to the db. Well the developer called me to find out where they could find info on why this would be a bad idea. any thoughts ~~ 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
SQL Server Authentication
I am trying to set up a datasource connection to a SQL Server. The test server works fine, the production fails. The DS connection is set up on the production server just as it is on the test server. All SQL Server settings that I can see are the same. I can log into the production server with the username and pw over a TCP/IP connect and named pipes with Enterprise manager. I have tried with and without USE TRUSTED CONNECTION. I have gone into the Win2000 ODBC tool in the control panel and tested the connection there. It tested out fine. Have used the SA account and another account. I tried putting the username and password in just the CF Datasource setup, just the templates query, and both. The server is on the same lan as the CF server. Nothing seems to get around this error: ODBC Error Code = 28000 (Invalid authorization specification) [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '\'. It seems to never allow the username to get through. Ideas? ~~ 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
locking a loop or the contents
Which code is better and why? A: Locking the whole loop... cflock type=EXCLUSIVE scope=SESSION timeout=10 cfloop collection=#evaluate(session.#attrubites.StructName#)# item=locField cfset form.#locField# = evaluate(session.#attrubites.StructName#.#locField#) /cfloop /cflock --- or --- B: Locking the contents in the loop cfloop collection=#evaluate(session.#attrubites.StructName#)# item=locField cflock type=EXCLUSIVE scope=SESSION timeout=10 cfset form.#locField# = evaluate(session.#attrubites.StructName#.#locField#) /cflock /cfloop --- better yet --- C: This just occured to me while asking this question cflock type=EXCLUSIVE scope=SESSION timeout=10 cfset locStruct=Duplicate(session.#attrubites.StructName#) /cflock cfloop collection=#locStruct# item=locField cfset form.#locField# = evaluate(locStruct.#locField#) /cfloop What do the masses have to say about this one? Justin Hansen - [EMAIL PROTECTED] Web Application Developer Interactive Business Solutions, Inc 816-221-5200 ext. 1305 ~~ 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: locking a loop or the contents
Correction... they should all be READONLY locks -Original Message- Which code is better and why? A: Locking the whole loop... cflock type=READONLY scope=SESSION timeout=10 cfloop collection=#evaluate(session.#attrubites.StructName#)# item=locField cfset form.#locField# = evaluate(session.#attrubites.StructName#.#locField#) /cfloop /cflock --- or --- B: Locking the contents in the loop cfloop collection=#evaluate(session.#attrubites.StructName#)# item=locField cflock type=READONLY scope=SESSION timeout=10 cfset form.#locField# = evaluate(session.#attrubites.StructName#.#locField#) /cflock /cfloop --- better yet --- C: This just occured to me while asking this question cflock type=READONLY scope=SESSION timeout=10 cfset locStruct=Duplicate(session.#attrubites.StructName#) /cflock cfloop collection=#locStruct# item=locField cfset form.#locField# = evaluate(locStruct.#locField#) /cfloop What do the masses have to say about this one? Justin Hansen - [EMAIL PROTECTED] Web Application Developer Interactive Business Solutions, Inc 816-221-5200 ext. 1305 ~~ 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: GTE problem
Pete, before you do anything too drastic, check the code ABOVE this statement. If you've mismatched s for example, or left off a #, CF may be pointing you to the line where it realized there WAS a problem, and not necessarily where the problem lies. Trim with Okham's Razor before ya chop with Bunyan's Ax :) Brian - Original Message - From: Pete Freitag [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 9:12 AM Subject: RE: GTE problem Ok, must not be a problem with CF5, I'll reinstall, but I'm still very confused as to why this error is getting thrown. Thanks to all who tested this. BTW I am running Win2k Server even though I said NT, I was referring to the version of CF. + Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.com/ -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:44 AM To: CF-Talk Subject: RE: GTE problem Hi Pete, I am on a w2k server box with CF5. I cut and pasted that code and it works fine for me. HTH Will Swain Hot Horse Ltd http://www.hothorse.com e: [EMAIL PROTECTED] -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: 15 August 2001 14:32 To: CF-Talk Subject: GTE problem Hi, Has anyone had problems with GTE (Greater than or Equal to) on ColdFusion 5 Pro NT? GT, LT, and LTE all work fine, but anytime I try to use GTE I get the following error: Code: cfif 4 gte 2 it works /cfif Error: Just in time compilation error Invalid parser construct found on line 1 at position 8. ColdFusion was looking at the following text: gte Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFIF tag occupying document position (1:1) to (1:5). I would hate to think this is a bug, please prove me wrong. Thanks +++ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.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: SQL Server Authentication
Actually, to ammend that. It doesn't appear I can connect with Enterprise manager via TCP/IP -Original Message- From: DJ Riebesell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 10:02 AM To: CF-Talk Subject: SQL Server Authentication I am trying to set up a datasource connection to a SQL Server. The test server works fine, the production fails. The DS connection is set up on the production server just as it is on the test server. All SQL Server settings that I can see are the same. I can log into the production server with the username and pw over a TCP/IP connect and named pipes with Enterprise manager. I have tried with and without USE TRUSTED CONNECTION. I have gone into the Win2000 ODBC tool in the control panel and tested the connection there. It tested out fine. Have used the SA account and another account. I tried putting the username and password in just the CF Datasource setup, just the templates query, and both. The server is on the same lan as the CF server. Nothing seems to get around this error: ODBC Error Code = 28000 (Invalid authorization specification) [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '\'. It seems to never allow the username to get through. Ideas? ~~ 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: GTE problem
CF5 on Linux(Redhat)/Apache It Works... At 09:32 AM 8/15/01 -0400, you wrote: Hi, Has anyone had problems with GTE (Greater than or Equal to) on ColdFusion 5 Pro NT? GT, LT, and LTE all work fine, but anytime I try to use GTE I get the following error: Code: cfif 4 gte 2 it works /cfif Error: Just in time compilation error Invalid parser construct found on line 1 at position 8. ColdFusion was looking at the following text: gte Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFIF tag occupying document position (1:1) to (1:5). I would hate to think this is a bug, please prove me wrong. Thanks +++ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.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: GTE problem
I thought that too, but then i saw the line number on the err message. Line 1 pos 8. I'm assuming those are the only 3 lines of code that he's running. Plus, it's Pete, I'm sure he's debugged enough apps to know to check for that. Robert Hinojosa [EMAIL PROTECTED] 972.243.4343 x7446 -Original Message- From: G [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 10:08 AM To: CF-Talk Subject: Re: GTE problem Pete, before you do anything too drastic, check the code ABOVE this statement. If you've mismatched s for example, or left off a #, CF may be pointing you to the line where it realized there WAS a problem, and not necessarily where the problem lies. Trim with Okham's Razor before ya chop with Bunyan's Ax :) Brian - Original Message - From: Pete Freitag [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 9:12 AM Subject: RE: GTE problem Ok, must not be a problem with CF5, I'll reinstall, but I'm still very confused as to why this error is getting thrown. Thanks to all who tested this. BTW I am running Win2k Server even though I said NT, I was referring to the version of CF. + Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.com/ -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:44 AM To: CF-Talk Subject: RE: GTE problem Hi Pete, I am on a w2k server box with CF5. I cut and pasted that code and it works fine for me. HTH Will Swain Hot Horse Ltd http://www.hothorse.com e: [EMAIL PROTECTED] -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: 15 August 2001 14:32 To: CF-Talk Subject: GTE problem Hi, Has anyone had problems with GTE (Greater than or Equal to) on ColdFusion 5 Pro NT? GT, LT, and LTE all work fine, but anytime I try to use GTE I get the following error: Code: cfif 4 gte 2 it works /cfif Error: Just in time compilation error Invalid parser construct found on line 1 at position 8. ColdFusion was looking at the following text: gte Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFIF tag occupying document position (1:1) to (1:5). I would hate to think this is a bug, please prove me wrong. Thanks +++ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.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: Thoughts
My thought; Sounds like you guys don't have enough to keep you busy... :-) At 09:18 AM 8/15/01 -0400, you wrote: I think I know what everyone has to say about this but I thought I would share. A web manager here has asked one of the developers to change an app they built. The current one is all db driven, it has a few pages to display about 110 pages worth of info. Well the manager wants them to make all the pages static. To have them hard coded. The manager says that because the info is only updated once in a blue moon they don't need the extra calls to the db. Well the developer called me to find out where they could find info on why this would be a bad idea. any thoughts ~~ 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: locking a loop or the contents
Which code is better and why? A: Locking the whole loop... Since the loop uses a Session variable in its COLLECTION attribute, you need to lock the loop, and not just its contents. There's nothing wrong with copying the structure by value into a local scope, all other things being equal, as you're doing in your example C, either. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ 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: Checking CFFORM INPUT
I still can't get one part of my code to pass the input variable. When the user types in for example aosl, it looks in the database and returns the destination (directory path on server) based on the alias match. In this example the destination from the database would be D:\books\aosl. This is then passed to a CFLOCATION which displays that directory (directory code missing) I can't get the alias or destination passed to the page itself. There is something I'm not understanding... cfform action=#cgi.script_name# method=GET name=form cfinput type=text name=redirect value= size=16 maxlength=30 class=dirlinksnbsp; input type=hidden name=jumpdefined value= input type=submit value=Jump class=dirlinks /cfform cfif isdefined(jumpdefined) cfquery name=qRedirect datasource=cygwinprofile SELECT * FROMprofile WHERE alias = '#redirect#' /cfquery cfif qredirect.recordcount cflocation url=test3.cfm?dir=#URLEncodedFormat(qRedirect.destination)#%5C /cfif /cfif ~~ 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: SQL Server Authentication
I am trying to set up a datasource connection to a SQL Server. The test server works fine, the production fails. The DS connection is set up on the production server just as it is on the test server. All SQL Server settings that I can see are the same. I can log into the production server with the username and pw over a TCP/IP connect and named pipes with Enterprise manager. I have tried with and without USE TRUSTED CONNECTION. I have gone into the Win2000 ODBC tool in the control panel and tested the connection there. It tested out fine. Have used the SA account and another account. I tried putting the username and password in just the CF Datasource setup, just the templates query, and both. The server is on the same lan as the CF server. Nothing seems to get around this error: ODBC Error Code = 28000 (Invalid authorization specification) [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '\'. If you're using SQL Server 2000/MDAC 2.6, there's a bug in the initial release that doesn't allow native SQL Server logins to work, only trusted connections: http://support.microsoft.com/support/kb/articles/Q279/5/26.ASP?LN=EN-USSD=g nFR=0qry=MDAC%202.6rnk=46src=DHCS_MSPSS_gn_SRCHSPR=SQL You won't be able to use a trusted connection in your datasource unless the CF Server is running as a user with the appropriate rights - by default, CF runs as SYSTEM, which has no trusted connection rights. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ 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: Reading an XML post
At 10:46 AM -0400 8/15/01, Dave Watts wrote: For some incredibly oversimplified sample code, you might look here: http://www.figleaf.com/figleafhome/cfug/2001/CFUGJun2001/jun2001.zip This contains two SOAP topics covered at the June DC-CFUG, as well as some other stuff. Next month, I'm doing a follow-up SOAP topic with more worthwhile code samples. Thanks Dave, Nice presentation. It answers most of my questions (and several I hadn't asked)! As a favor, post to cf-talk when the next presentation on the subject is available TIA Dick ~~ 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: SQL Server Authentication
Enterprise manager cannot connect via TCP/IP I receive an error: Not associated with a Trusted SQL Server Sql Server Network Utility shows Named Pipes, Multi-protocol, and TCP/IP -Original Message- From: DJ Riebesell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 10:26 AM To: CF-Talk Subject: RE: SQL Server Authentication Actually, to ammend that. It doesn't appear I can connect with Enterprise manager via TCP/IP -Original Message- From: DJ Riebesell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 10:02 AM To: CF-Talk Subject: SQL Server Authentication I am trying to set up a datasource connection to a SQL Server. The test server works fine, the production fails. The DS connection is set up on the production server just as it is on the test server. All SQL Server settings that I can see are the same. I can log into the production server with the username and pw over a TCP/IP connect and named pipes with Enterprise manager. I have tried with and without USE TRUSTED CONNECTION. I have gone into the Win2000 ODBC tool in the control panel and tested the connection there. It tested out fine. Have used the SA account and another account. I tried putting the username and password in just the CF Datasource setup, just the templates query, and both. The server is on the same lan as the CF server. Nothing seems to get around this error: ODBC Error Code = 28000 (Invalid authorization specification) [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '\'. It seems to never allow the username to get through. Ideas? ~~ 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: GTE problem
Well CF has turned me into a liar, it works now... reboot solved it, I should have done that before posting to the list, I apologize. I still have no clue what could have caused it. This was on a development server that takes a lot of abuse, so it could be anything. Thanks again for everyones help. + Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.com/ -Original Message- From: Hinojosa, Robert A [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 11:29 AM To: CF-Talk Subject: RE: GTE problem I thought that too, but then i saw the line number on the err message. Line 1 pos 8. I'm assuming those are the only 3 lines of code that he's running. Plus, it's Pete, I'm sure he's debugged enough apps to know to check for that. Robert Hinojosa [EMAIL PROTECTED] 972.243.4343 x7446 -Original Message- From: G [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 10:08 AM To: CF-Talk Subject: Re: GTE problem Pete, before you do anything too drastic, check the code ABOVE this statement. If you've mismatched s for example, or left off a #, CF may be pointing you to the line where it realized there WAS a problem, and not necessarily where the problem lies. Trim with Okham's Razor before ya chop with Bunyan's Ax :) Brian - Original Message - From: Pete Freitag [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 9:12 AM Subject: RE: GTE problem Ok, must not be a problem with CF5, I'll reinstall, but I'm still very confused as to why this error is getting thrown. Thanks to all who tested this. BTW I am running Win2k Server even though I said NT, I was referring to the version of CF. + Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.com/ -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:44 AM To: CF-Talk Subject: RE: GTE problem Hi Pete, I am on a w2k server box with CF5. I cut and pasted that code and it works fine for me. HTH Will Swain Hot Horse Ltd http://www.hothorse.com e: [EMAIL PROTECTED] -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: 15 August 2001 14:32 To: CF-Talk Subject: GTE problem Hi, Has anyone had problems with GTE (Greater than or Equal to) on ColdFusion 5 Pro NT? GT, LT, and LTE all work fine, but anytime I try to use GTE I get the following error: Code: cfif 4 gte 2 it works /cfif Error: Just in time compilation error Invalid parser construct found on line 1 at position 8. ColdFusion was looking at the following text: gte Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFIF tag occupying document position (1:1) to (1:5). I would hate to think this is a bug, please prove me wrong. Thanks +++ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.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
Verity and remote searches
I'm not having much luck coming to a solid conclusion on this, so I was wondering if anyone on the list might know. Is it possible to have a verity collection that can index documents on remote, disparate (not networked together) machines. I have a few different sites that have pdf documents available for download that I would like to index and be able to search from a different site that is running CF. The url returned would then (ideally) be for wherever the matching document was found. I thought this might be possible using CFHTTP or the new Verity spider, but I haven't done much with either of these, and I've never built a Verity collection from datasources that were not on the same box that CF was running on. Any recommendations on how this might be achieved? Thanks, George ~~ 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: Hardware Load Balancers
Sorry if this is coming late - but you'd LOVE FreeSco. Stands for Free Cisco and it replaces a cisco - completely free, runs on any old piece or crap machine (486 etc) runs completely from a floppy, plus can handle all kinds of other bits and pieces. Incredibly easy to install and just drop in place - you'll never have to think about it again, and it's very very secure. www.freesco.org HTH Toby At 09:06 PM 8/13/2001, you wrote: I've had some really good experiences with Cisco's Local Director 416. At $6000 - $7000 though, it's really not inexpensive. - Original Message - From: Randy Smith [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, August 10, 2001 5:34 AM Subject: OT: Hardware Load Balancers Hi all! I'm hoping that I can get some insight and guidance in the load balancing arena. My little group provides intranet apps for various parts of my company (some of them CF, some not). These apps are spread across HP-UX, Linux, and NT, and are also spread across multiple sites. We're looking for a smallish, inexpensive piece of hardware that would recognize that a server was down and route traffic to an alternate. It would be a bonus if it could recognize the app via URL, and route to a designated replacement. Right now, we're not worried about session and client variables. Recommendations, prices, thoughts? Vendors welcome. Many thanks!!! Randy Smith [EMAIL PROTECTED] 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 ~~ 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: CFREPORT and the Crystal Server
Reed- CF used to include the CR engine. It doesn't anymore. You have to buy CR separately, sorry. BTW when you do get CR and try CFREPORT search for the threads about #GetDirectoryFromPath(CF_TEMPLATE_PATH)# HTH -Ben -Original Message- From: Reed Powell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 6:44 PM To: CF-Talk Subject: CFREPORT and the Crystal Server I'm trying out CFREPORT for the very first time. I must be missing something. I thought that when CF installed, it included the Crystal Reports engine. I created a .RPT file in Crystal Reports Professional on my workstation, and moved it over to the server, and made a .CFM file to do the CFREPORT call. The error I get is: 192.168.0.2, Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90), Error occurred while processing CFREPORT The Crystal Reports Engine (CRPE32.DLL) could not be located on this server. ColdFusion's reporting functionality requires the Crystal Engine. Please verify that you have installed this component before using the CFREPORT tag.Crystal Library = () DLL Version = , Engine Version =The error occurred while processing an element with a general identifier of (CFREPORT), occupying document position (9:2) to (9:55) in the template file d:\inetpub\wwwroot\asg\testcr1.cfm.Date/Time: 08/14/01 21:21:16Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)Remote Address: 192.168.0.2 I did a search for the CFPE32.DLL file, and could not find it on the server. I have tried this with both CF4.5.2 and with CF5, same problem. I cannot find anything in the installation options, or the readme files, about this. What did I do wrong? thanks everyone, -reed 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 ~~ 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
Subject: Form Formatting
Easiest way is to use a style sheet. If you want to have all the INPUTS on a page to follow the same style, then try this: style SELECT { color: black; font-family: arial; font-size: 8pt; font-weight: normal; border : Fuchsia; text-align : right; background-color : Silver; border-width : 0; line-height : 12px; padding-bottom : 0px; padding-top : 0px; } INPUT { color: black; font-family: arial; font-size: 8pt; font-weight: normal; text-align : right; background-color : Silver; width: 51px; border-width : 0; line-height : 12px; padding-bottom : 0px; padding-top : 0px; } /style If you wanted only some of the boxes to change, then name the style something like .SmallInputBox and then in the INPUT tag use a CLASS=SmallInputBox option - be sure to get the case correct! -reed -- Date: Wed, 15 Aug 2001 00:28:44 -0700 From: Gonzo Rock [EMAIL PROTECTED] Subject: Form Formatting Message-ID: [EMAIL PROTECTED] A lame question but hoping someone knows straight away. I am trying to shrink the size of input Text boxes etc... and maybe control the font used... but can't seem to figure it out. Anyone with a hint for me? Thanks, 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
CFFTP
Currently Getting this using FTP. A stop and start of services fixes it for a bit. We haven't touched the code base for at least 6 months and not used the application for around 2 months Then this has just started to happen. The machine has been rebooted and the Code Red Path applied. Now code it be that? Error Occurred While Processing Request Error Diagnostic Information Error trying to create object specified in the tag. COM error 0x80040154. Class not registered Date/Time: 08/15/01 14:52:04 Browser: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt) Remote Address: XXX.XXX.XXX.XXX HTTP Referrer: http://awebserver/acfmpage.cfm http://awebserver/acfmpage.cfm Template: e:\directory\ftp.cfm Cheers Kev McCabe Senior ETV Developer _/_/_/_/ _/ _/ _/_/ Digital Development _/ _/ _/_/ _/British Sky Broadcasting _/_/_/_/ _/_/ _/ Tel: +44 (0)20 7941 5329 _/ _/ _/ _/ Mob: +44 (0)77 1117 2730 _/_/_/_/ _/_/ _/Mobex: 123 5502 Web: http://www.sky.com http://www.sky.com Wap: http://mobile.sky.com http://mobile.sky.com ** Information in this email is confidential and may be privileged. It is intended for the addressee only. If you have received it in error, please notify the sender immediately and delete it from your system. You should not otherwise copy it, retransmit it or use or disclose its contents to anyone. Thank you for your co-operation. ** ~~ 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: locking a loop or the contents
I prefer C, less times locking, less processes inside the locking -Original Message- From: Justin Hansen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 10:09 AM To: CF-Talk Subject: RE: locking a loop or the contents Correction... they should all be READONLY locks -Original Message- Which code is better and why? A: Locking the whole loop... cflock type=READONLY scope=SESSION timeout=10 cfloop collection=#evaluate(session.#attrubites.StructName#)# item=locField cfset form.#locField# = evaluate(session.#attrubites.StructName#.#locField#) /cfloop /cflock --- or --- B: Locking the contents in the loop cfloop collection=#evaluate(session.#attrubites.StructName#)# item=locField cflock type=READONLY scope=SESSION timeout=10 cfset form.#locField# = evaluate(session.#attrubites.StructName#.#locField#) /cflock /cfloop --- better yet --- C: This just occured to me while asking this question cflock type=READONLY scope=SESSION timeout=10 cfset locStruct=Duplicate(session.#attrubites.StructName#) /cflock cfloop collection=#locStruct# item=locField cfset form.#locField# = evaluate(locStruct.#locField#) /cfloop What do the masses have to say about this one? Justin Hansen - [EMAIL PROTECTED] Web Application Developer Interactive Business Solutions, Inc 816-221-5200 ext. 1305 ~~ 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 i delete the core file
-- Original Message -- from: Mak Wing Lok [EMAIL PROTECTED] can i delete the core file in the /coldfusion/log/ directory? will it cause any system malfunction if i delete this file as i find the size of the file is way too large. Yes, you can delete it. It's the memory dump(s) from previous crash(es). Chris Norloff ~~ 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: Hacking CF Web Sites and Applications
Date: Mon, 13 Aug 2001 22:29:13 +0200 From: Jochem van Dieten [EMAIL PROTECTED] Subject: Re: Hacking CF Web Sites and Applications Why a filter looking for words in a URL? To help prevent hack attempts. In some situations, changing the values in a certain locations can create huge security problems. AFAIK the issue is that code (like DROP, INSERT, DELETE, UPDATE, ALTER and possibly functions/vbscript etc.) is executed in the database. What code can be executed? Wouldn't that be code that is not escaped? So that means that everything between proper quotes is safe by definition. What is left is dates, numbers etc. Well, simply use cfqueryparam for them and you are done. Or am I misunderstanding something here? That issue was the catalyst to this discussion, but the security issues we're talking about (at least I am anyway) covers a much larger area. Jochem PS Some suggestions for Josh:- check formfields too - URLDECODE everything so you can use regex pattern matching (instead of ;%20DROP%20TABLE%20 match [[:space:]]*;[[:space:]]*drop[[:space:]]*table[[:space:]]* so I can't simply replace a space with a tab and bypass your filter - check for all the abovementioned statements Thanks for the suggestion, Jochem, but my script already covers urls, forms and cookies as well as looking for altered spaces. I believe you're making suggestions based on the little example I gave, which is not how my script is laid out. It was an altered, simplified example to explain a point. (I make a habit of altering my code slightly when posting it, so I can understand the confusion.) however I do appreciate your comments. Josh - [EMAIL PROTECTED] _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp 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 name=blahblah
-- Original Message -- from: Ken Beard [EMAIL PROTECTED] can you still use the name attribute in 5.0? Sometimes it's nice to have a higher level of control.. rather than having to use scope=application. don't want my app to break when we upgrade. anyone know? We ran name=#session.sessionID# locks when we moved from 4.5 to 5.0 and it appeared to work fine. The official Allaire/MM stance is to use scope locking not name locking (at least for server,application, session variables). I'm feeling rather cynical right now, so I wonder if scope locking isn't chosed as safer - lock the entire scope rather than lock by unique name. Personally I'm tired of locking, throwing on locks timeouts, auto-read-locking not catching non-cfset reads (anybody else know that)... we're moving to client variables. Chris Norloff ~~ 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: GTE problem
This has peaked my curiosity, Pete. How could a CFAS become unstable to the point where it's unable to parse perfectly legitimate CFML, but only specific pieces? And why GTE and not LT or LTE etc etc? I'm glad you got the issue resolvedbut I'd love to hear a cause. Brian - Original Message - From: Pete Freitag [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 10:58 AM Subject: RE: GTE problem Well CF has turned me into a liar, it works now... reboot solved it, I should have done that before posting to the list, I apologize. I still have no clue what could have caused it. This was on a development server that takes a lot of abuse, so it could be anything. Thanks again for everyones help. + Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.com/ -Original Message- From: Hinojosa, Robert A [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 11:29 AM To: CF-Talk Subject: RE: GTE problem I thought that too, but then i saw the line number on the err message. Line 1 pos 8. I'm assuming those are the only 3 lines of code that he's running. Plus, it's Pete, I'm sure he's debugged enough apps to know to check for that. Robert Hinojosa [EMAIL PROTECTED] 972.243.4343 x7446 -Original Message- From: G [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 10:08 AM To: CF-Talk Subject: Re: GTE problem Pete, before you do anything too drastic, check the code ABOVE this statement. If you've mismatched s for example, or left off a #, CF may be pointing you to the line where it realized there WAS a problem, and not necessarily where the problem lies. Trim with Okham's Razor before ya chop with Bunyan's Ax :) Brian - Original Message - From: Pete Freitag [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 9:12 AM Subject: RE: GTE problem Ok, must not be a problem with CF5, I'll reinstall, but I'm still very confused as to why this error is getting thrown. Thanks to all who tested this. BTW I am running Win2k Server even though I said NT, I was referring to the version of CF. + Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.com/ -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:44 AM To: CF-Talk Subject: RE: GTE problem Hi Pete, I am on a w2k server box with CF5. I cut and pasted that code and it works fine for me. HTH Will Swain Hot Horse Ltd http://www.hothorse.com e: [EMAIL PROTECTED] -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: 15 August 2001 14:32 To: CF-Talk Subject: GTE problem Hi, Has anyone had problems with GTE (Greater than or Equal to) on ColdFusion 5 Pro NT? GT, LT, and LTE all work fine, but anytime I try to use GTE I get the following error: Code: cfif 4 gte 2 it works /cfif Error: Just in time compilation error Invalid parser construct found on line 1 at position 8. ColdFusion was looking at the following text: gte Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFIF tag occupying document position (1:1) to (1:5). I would hate to think this is a bug, please prove me wrong. Thanks +++ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.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: Subject: Form Formatting
Reed, this is very nice. Thanks for sharing this code. We have been looking for a similar solution that works in Netscape also. Do you know if this is possible? We have found many solutions but none that we can get working in NS 4.5+ I appreciate any input you can share.. thanks in advance. Tony Gruen sfnetworks -Original Message- From: Reed Powell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 9:12 AM To: CF-Talk Subject: Subject: Form Formatting Easiest way is to use a style sheet. If you want to have all the INPUTS on a page to follow the same style, then try this: style SELECT { color: black; font-family: arial; font-size: 8pt; font-weight: normal; border : Fuchsia; text-align : right; background-color : Silver; border-width : 0; line-height : 12px; padding-bottom : 0px; padding-top : 0px; } INPUT { color: black; font-family: arial; font-size: 8pt; font-weight: normal; text-align : right; background-color : Silver; width: 51px; border-width : 0; line-height : 12px; padding-bottom : 0px; padding-top : 0px; } /style If you wanted only some of the boxes to change, then name the style something like .SmallInputBox and then in the INPUT tag use a CLASS=SmallInputBox option - be sure to get the case correct! -reed -- Date: Wed, 15 Aug 2001 00:28:44 -0700 From: Gonzo Rock [EMAIL PROTECTED] Subject: Form Formatting Message-ID: [EMAIL PROTECTED] A lame question but hoping someone knows straight away. I am trying to shrink the size of input Text boxes etc... and maybe control the font used... but can't seem to figure it out. Anyone with a hint for me? Thanks, 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 ~~ 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
CF/Flash Integration Resources
Can someone suggest some tutorial/information pages on integrating flash and Cold Fusion? I know it *can* be done, but how is a different story entirely. TIA Hatton Humphrey ~~ 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
Session vs. Cookies
hey guys, a friend of mine who is a pretty advanced CF programmer says that I should stay away from using sessions when developing sites that have a pretty good load of users, because sessions take up wa too much memory, and that I should resort to cookies or client cookies instead. This makes me very sad, cuz i really like sessions a lot, and am about to develop a complex and lots-of-users site. Sessions are really easy to work with for me! Maybe he is wrong or is missing something? Can one of yall make me happy again? or gimme some suggestions? thanx ~~ 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/Flash Integration Resources
http://www.flashcfm.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 1:37 PM To: CF-Talk Subject: CF/Flash Integration Resources Can someone suggest some tutorial/information pages on integrating flash and Cold Fusion? I know it *can* be done, but how is a different story entirely. TIA Hatton Humphrey ~~ 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: Session vs. Cookies
If your going to be doing a site that has a lot of load you need to look at either Client vars, or cookies. If it's going to be scaling and going into a clustered environment you can't use session var's and have them stick. In that case you will need to use Client var's and a DB. I personally never use Session var's if I can help it. There are times when you have to, but if I can get away with not using them I don't use them. Just my .02 Bill -Original Message- From: Fuon See Tu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 1:32 PM To: CF-Talk Subject: Session vs. Cookies hey guys, a friend of mine who is a pretty advanced CF programmer says that I should stay away from using sessions when developing sites that have a pretty good load of users, because sessions take up wa too much memory, and that I should resort to cookies or client cookies instead. This makes me very sad, cuz i really like sessions a lot, and am about to develop a complex and lots-of-users site. Sessions are really easy to work with for me! Maybe he is wrong or is missing something? Can one of yall make me happy again? or gimme some suggestions? thanx ~~ 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/Flash Integration Resources
Can someone suggest some tutorial/information pages on integrating flash and Cold Fusion? I know it *can* be done, but how is a different story entirely. FlashCFM has some interesting tutorials http://www.flashcfm.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/Flash Integration Resources
Integrating flash and Cold Fusion is even easier now with CF server 5. Shawn Regan Applications Developer Pacific Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 10:37 AM To: CF-Talk Subject: CF/Flash Integration Resources Can someone suggest some tutorial/information pages on integrating flash and Cold Fusion? I know it *can* be done, but how is a different story entirely. TIA Hatton Humphrey ~~ 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: drop down lists
Hey Becky, Try this custom tag available here: WWW.CFDEV.COM CF_ComboBox CF_ComboBox creates a combination dropdown and text input box. At 09:53 AM 8/15/01 -0400, you wrote: is there a way to have a select list that drops down a specific list from a query, but it is also able to add new items to this drop down list on the fly. in other words..if i have a list of apples oranges pears but i dont see grapes...and that is what i want to use.. can i just start typing grapes in this select drop down? so i want it to be a drop down AND a text field at the same time. ive seen many applications do this, but i am not sure of how i would go about it. thanks everyone bec. * This e-mail, including any attachments, is intended for the receipt and use by the intended addressee(s), and may contain confidential and privileged information. If you are not an intended recipient of this e-mail, you are hereby notified that any unauthorized use or distribution of this e-mail is strictly prohibited. ~~ 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: Hardware Load Balancers
This does load balancing?? At 01:59 AM 16/08/01 +1000, you wrote: Sorry if this is coming late - but you'd LOVE FreeSco. Stands for Free Cisco and it replaces a cisco - completely free, runs on any old piece or crap machine (486 etc) runs completely from a floppy, plus can handle all kinds of other bits and pieces. Incredibly easy to install and just drop in place - you'll never have to think about it again, and it's very very secure. www.freesco.org HTH Toby At 09:06 PM 8/13/2001, you wrote: I've had some really good experiences with Cisco's Local Director 416. At $6000 - $7000 though, it's really not inexpensive. - Original Message - From: Randy Smith [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, August 10, 2001 5:34 AM Subject: OT: Hardware Load Balancers Hi all! I'm hoping that I can get some insight and guidance in the load balancing arena. My little group provides intranet apps for various parts of my company (some of them CF, some not). These apps are spread across HP-UX, Linux, and NT, and are also spread across multiple sites. We're looking for a smallish, inexpensive piece of hardware that would recognize that a server was down and route traffic to an alternate. It would be a bonus if it could recognize the app via URL, and route to a designated replacement. Right now, we're not worried about session and client variables. Recommendations, prices, thoughts? Vendors welcome. Many thanks!!! Randy Smith [EMAIL PROTECTED] 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 ~~ 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/Flash Integration Resources
There is a book out called Server Side Flash. It has examples in PHP and ASP, you will probably be able to adapt them to CF. - Original Message - From: C. Hatton Humphrey [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 1:36 PM Subject: CF/Flash Integration Resources Can someone suggest some tutorial/information pages on integrating flash and Cold Fusion? I know it *can* be done, but how is a different story entirely. TIA Hatton Humphrey ~~ 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: Session vs. Cookies
Just for information purposes we use session variables exclusively to manage our personalization sessions and have not yet gone up over 15% of memory usage. There are a minimum of actual variables used in a session (an array of link values, name, breed and breed image, plus a few flag fields). We are on a sun es 5500 quad with 3 gigs of memory so it is a pretty hefty box but it is our only webserver. We recieve anywhere from 300,000 to 500,000 page views and 2-3,000,000 hits a day and 30,000 to 40,000 sessions. This form of personalization is also scalable over a cluster as all the infomation that is stored in session variables is extracted from the database on any hit to the website if there is not already a session created for the user. If I were using many variables or variables that hold alot of data I would not recommend using this method. To tell the truth I wanted to use client vars but the dba's did not want to allow that many hits to the database and also did not want to create a table to hold them. I do have to say this method works great as it is now. Thanks, Frederic Fuon See Tu wrote: hey guys, a friend of mine who is a pretty advanced CF programmer says that I should stay away from using sessions when developing sites that have a pretty good load of users, because sessions take up wa too much memory, and that I should resort to cookies or client cookies instead. This makes me very sad, cuz i really like sessions a lot, and am about to develop a complex and lots-of-users site. Sessions are really easy to work with for me! Maybe he is wrong or is missing something? Can one of yall make me happy again? or gimme some suggestions? thanx ~~ 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: Thoughts
I think I know what everyone has to say about this but I thought I would share. A web manager here has asked one of the developers to change an app they built. The current one is all db driven, it has a few pages to display about 110 pages worth of info. Well the manager wants them to make all the pages static. To have them hard coded. The manager says that because the info is only updated once in a blue moon they don't need the extra calls to the db. Well the developer called me to find out where they could find info on why this would be a bad idea. Here's an idea - make all of the hyperlinks to the actual HTML page names and then pour them out of the database when you make an update That way you can update the main navigation/lookfeel centrally and still keep them as static pages We have one site like this, but you wouldn't know it was poured Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 Websites for the real world ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** ~~ 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: locking a loop or the contents
As a reminder, and a bit off topic, and if one of the earlier repliers said this, please forgive... Do not forget that the Session scope is a structure. There is NO need to do Evaluate(Session.#dynamic#). Simply do: COLLECTION=#Session[Dynamic]# where Dynamic == a valid key in the struct. Ditto for your copy.. CFSET Form[locField] = Session[Attributes.StructName][locField] A: Locking the whole loop... cflock type=EXCLUSIVE scope=SESSION timeout=10 cfloop collection=#evaluate(session.#attrubites.StructName#)# item=locField cfset form.#locField# = evaluate(session.#attrubites.StructName#.#locField#) /cfloop /cflock === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : [EMAIL PROTECTED] ICQ UIN : 3679482 My ally is the Force, and a powerful ally it is. - Yoda ~~ 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
client variables jumble?
i have a typical and very random problem. we have a site which uses client variables and have a login-authentication system. difeerent ppl login all the time. but sometimes, out of no where when someone logs in he see's a screen which belongs to someone else. all the data of other person. and these ppl are located in different continents!!. how can it be?? how is someone else session is still maintained and assigned to another person? any ideas leads would be helpful. we client varibles storing in DB (MS-SQL2000) and using CF server 4.5 SP2 on win2k. the client variables settings on CF admin are that they are purged every 10 days. and no global updates. TIA. ::akbar ~~ 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: Cookie Question
I use Cold Fusion for most of my cookie work. cfcookie to the rescue! Eric J Hoffman Director of Internet Development Small Dog Design, LLC www.smalldogdesign.com -Original Message- From: Fuon See Tu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 1:42 PM To: CF-Talk Subject: Cookie Question Do I use javascript to manipulate cookies, or can coldfusion do all of the cookie handling and manipulation? ~~ 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
Converting list to array, different index than 1
let's say i have a list of 100 elements. i want to break up the list every fifth element and store in an array. it would be like ListToArray(), except rather than a 1-to-1 list-to-array i want 5-1 list-to-array. any easy way to do that other than looping through and manually appending? -mike ~~ 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
Casting Object in CF
Does anyone know to cast to a Java object using Coldfusion?? Thanks in advance. --Michael ~~ 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
Executing Dynamic Code
Hello World, I have a template which allows a user to build a criteria based selection. Somthing like where x=10 and/or z gte 100. After the user has created the expression it is stored in a database, then I need to pull it out and try to execute it within a cfif block. So I need to build a string like cfif #thereVariable# #operator# #value# and then actually execute this code. I Know I can do this if I write it to a file and then include the file the code will get executed. But is there any other way to do this other than writing to a file? Thanks for the help, btw I'm using 4.5.1 Brook At 01:49 PM 15/08/01 -0500, you wrote: I use Cold Fusion for most of my cookie work. cfcookie to the rescue! Eric J Hoffman Director of Internet Development Small Dog Design, LLC www.smalldogdesign.com -Original Message- From: Fuon See Tu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 1:42 PM To: CF-Talk Subject: Cookie Question Do I use javascript to manipulate cookies, or can coldfusion do all of the cookie handling and manipulation? ~~ 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: client variables jumble?
Try settings your temporary files/Internet Options to check every time and see if that helps. We had a similar problem where the client variables did not seem to be accurate. We determined that this setting was a factor. We ended up appending some random characters to the end of our urls so that the page would not be read from cache which can sometimes cause old client variables data to be used. Not sure if this is what is happening in your case, but its worth noting Brook At 02:46 PM 15/08/01 -0400, you wrote: i have a typical and very random problem. we have a site which uses client variables and have a login-authentication system. difeerent ppl login all the time. but sometimes, out of no where when someone logs in he see's a screen which belongs to someone else. all the data of other person. and these ppl are located in different continents!!. how can it be?? how is someone else session is still maintained and assigned to another person? any ideas leads would be helpful. we client varibles storing in DB (MS-SQL2000) and using CF server 4.5 SP2 on win2k. the client variables settings on CF admin are that they are purged every 10 days. and no global updates. TIA. ::akbar ~~ 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