Re: html as xml for asp :)
and other then wddx? isn't there a code or library (or whatever THEY call it) that formats/re-formats xml easily from asp? I need ittt :( michael. - Original Message - From: Paul Mone [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, June 03, 2001 10:10 PM Subject: RE: html as xml for asp :) WDDX is the tool for the job. http://www.openwddx.org --- Paul Mone Ninthlink Consulting Group [EMAIL PROTECTED] http://www.ninthlink.com 619.222.7082 -Original Message- From: Michael Lugassy [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 03, 2001 6:56 AM To: CF-Talk Subject: OT: html as xml for asp :) I'm trying to locate a code or object that will easily convert/create xml document from asp structre or variable. something easy like the CF_SOXML tag, just for ASP. Thanks, Michael. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Alternative to CFSchedule?
However, that won't work if the registry access is disabled. I believe the program-tag is actually CFSCHEDULE (?). It's not in my printed documentation, but it is in my on-line documentation for CFSTUDIO. At 09:03 PM 06/03/2001 -0400, you wrote: On 6/4/01, Michael Kear penned: I have a CF Hosting service that doesn't allow CF Schedule and I want a site to run a daily check on itself and report to me if any of my users have added links, changed details, etc on any of my pages so I can go and check they're all Ok. When you say they don't allow it, do you mean they actually don't allow it, or they just won't set it up for you in cf administration? Because there is a way to create a schedule yourself with a template. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
ColdFusion progress meters
Thanks to Ray Camden for the article in the CF DevExchange on progress meters in CF! I've already implemented one for generating a PDF file (online will) and it works really well! Cheers! Peter Tilbrook Chief Web Developer Lunar Power Internet Technologies Unit 1, 26-28 Winchcombe Court Mitchell, ACT, 2911 AUSTRALIA Phone: +61 2 6242 Fax: +61 2 6242 6655 WWW: http://www.lunarpower.com.au ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Dynamic content (pages) being served from SQL Server 2000
What are people's opinions on serving a page (i.e. info from a text data type) from a database over serving it from a text file. For instance, we're working on a content management system where the page information is being stored in the database rather than a text file. I guess the main question is which is quicker and more efficient over which is the easiest to search. --- Regards, Darryl Lyons Senior Systems Developer Fuzion: http://www.fuzion.com.au Email : [EMAIL PROTECTED] Phone : (07) 3620 1000 Fax : (07) 3620 1001 Technical Support : (07) 3230 8811 'merging business + technology' ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: SQL Server 2000 DTS Import help
Brian Hogue [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Also, is there a good NG on SQL Server (like this is for CF)? You can find excellent mailing list at: http://www.swynk.com/ Massimo ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Alternative to CFSchedule?
I think your best alternative is call it from your development server or change a hosting services. -Original Message- From: Michael Kear [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 03, 2001 5:33 PM To: CF-Talk Subject: Alternative to CFSchedule? I have a CF Hosting service that doesn't allow CF Schedule and I want a site to run a daily check on itself and report to me if any of my users have added links, changed details, etc on any of my pages so I can go and check they're all Ok. The only alternative I've thought of so far is to have a CFSchedule running on my own development machine that calls the template on this site. Does anyone have a better idea for achieving the same thing? There is a potential problem with having a production template running regularly on a development server, since there's no guarantee it's going to be up and going at the time the job's supposed to be run. Cheers, Mike Kear AFP Webworks, Windsor, NSW, Australia. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Bizarre Browser Problem
When I open the CF pages on my PC at home, they come into the browser with all the CF code intact (i.e. unprocessed). I thought this was an issue at the host, but it turns out if I surf anywhere else, it works fine. Seems like a host problem - let their tech. people know. (If your saying what I think your saying, and that host.com/you returns raw CF, and host.com/notyou works fine). ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Alternative to CFSchedule?
I would like to hear an alternative as well as i have been told by many that the scheduler is unreliable! Kola -Original Message- From: PEREZ, RICHARD D (SBCSI) [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 09:23 To: CF-Talk Subject: RE: Alternative to CFSchedule? I think your best alternative is call it from your development server or change a hosting services. -Original Message- From: Michael Kear [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 03, 2001 5:33 PM To: CF-Talk Subject: Alternative to CFSchedule? I have a CF Hosting service that doesn't allow CF Schedule and I want a site to run a daily check on itself and report to me if any of my users have added links, changed details, etc on any of my pages so I can go and check they're all Ok. The only alternative I've thought of so far is to have a CFSchedule running on my own development machine that calls the template on this site. Does anyone have a better idea for achieving the same thing? There is a potential problem with having a production template running regularly on a development server, since there's no guarantee it's going to be up and going at the time the job's supposed to be run. Cheers, Mike Kear AFP Webworks, Windsor, NSW, Australia. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF_Amazon anyone?
That's CF_Amazon 1.1 which no longer works because it was set up to parse old Amazon.com layouts. I downloaded and tried it again just a moment ago... just to make sure, you get a 404 from amazon.com. CF_Amazon 4.0 was supposed to fix having to constantly update the parsing code by querying the company who developed the tag and then they queried Amazon.com (with some sort of caching I imagine). But that is no longer being maintained, the searches don't work, and the best selling lists are out of date. This is why I ask if anyone is keeping a tag like this up to date. Thanks. - Original Message - From: Peter Tilbrook [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, June 03, 2001 9:16 PM Subject: RE: CF_Amazon anyone? http://devex.allaire.com/developer/gallery/info.cfm?ID=CA347575-2830-11D4-AA 9700508B94F380method=Full -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of defective dreams Sent: Monday, 4 June, 2001 1:00 PM To: CF-Talk Subject: CF_Amazon anyone? is there anyone maintaining a tag like CF_Amazon listed in the Developer Exchange? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Dynamic content (pages) being served from SQL Server 2000
Darryl Case 1: Storing static xxx.html pages in a text field of database as opposed to storing them as xxx.html pages on the server. 1) User requests a page with: href=GetPage.cfm?PageName=xxx 2) Your program retrieves page from db and serves with cfcontent tag + Some gain in page management of pages with db + Can search without need to rebuild index (ala Verity) - Much additional overhead of CF server and SQL Server - inefficient use of SQL db - More complex page creation/maintenance interface than straight html (copy/paste between html editor and data entry form) = no real advantage of updating redundant information (same information appears in multiple pages) = no real navigational advantage Case 2: Database-Driven Dynamic Content - The information used to dynamically generate pages (as opposed to the pages themselves) is stored in the db. 1) User requests information (usually as part of a search and drill-down), with: href=GetInfo.cfm?Table=NewsField=anyAction=containsValue=Fusion 2) Your program: Analyzes the request and builds a query Queries the db formats a list of candidates - those records satisfying the search, from information in the db presents re-presents next/previous groups of candidates formats detail of candidate selected as result of drill-down. Combines data from fields in db with markup, headings, etc. from template presents detail of selected candidate + Large gain in management of information with db + Very flexible search/sort capability + Easy to impose/change format and presentation standards... they are in the template not in the data + Content can be created/maintained by non-techies + Queries can be cached by CF + Eliminates redundant information and all the associated problems + Simplifies creation/maintenance data + Great advantage in efficiency of navigation and drill-down + Great improvement in user control and user experience... the site works the way he wants to work + Great flexibility in what information is presented and how it is presented (as compared to programs like Verity). For example in a drill-down for suppliers of a certain product you present a next/prev list of candidates. When a candidate is selected, you show the detail information and: other products he sells news articles where he is mentioned... + Easy to enter data in advance of its being made public, then later, making it available (release date, etc). For example: 10 % price increase in all products. introducing a new product line publishing This Week's News Articles + Easy to maintain statistics/ monitor site activity in real time + Ability to create/update content from wherever; whenever! - Slight additional overhead of CF server and SQL Server There are probably many other points that could be made. Case 2, IMHO, is where CF and SQL really shine! HTH Dick At 5:30 PM +1000 6/4/01, Darryl Lyons wrote: What are people's opinions on serving a page (i.e. info from a text data type) from a database over serving it from a text file. For instance, we're working on a content management system where the page information is being stored in the database rather than a text file. I guess the main question is which is quicker and more efficient over which is the easiest to search. --- Regards, Darryl Lyons ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
cfencode: header not appearing in /v 2
I'm using cfencode.exe to encrypt some templates, but i can't get the header to appear if i use the version parameter to 2. eg: I use the command: c:\cfencode.exe tester.cfm testv1.cfm /h my header /v 1 the template comes out as: Allaire Cold Fusion Template Header Size: 63 my header.¬@ @fé.ô0ÅÍDL.EeÈê etc. But if i use: c:\cfencode.exe tester.cfm testv1.cfm /h my header /v 2 i can't see my header: Allaire Cold Fusion Template Header Size: New Version.CR*ÙÊ7C.,..zF4hqؤä8X°É etc. Is this a known bug/feature? Are there any reasons why i shouldn't use /v 1? Cheers Bert ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Your site's easy to navigate? You Think so?
You should take a look at bobby and the WAI guide. Bobby is a collaboration project between (amongst others) SUN microsystems and Microsoft (gasp!) (http://www.cast.org/bobby/) - you can either download the java based tool or use the website to check a website you have built for accessibility, while the WWW Consortioum have been working on the Web Accessibility Initiative (WAI) since the mid nineties (http://www.w3.org/WAI/) which gives web designers guidelines as how to build sites. The key to designing sites for accessibility is to allways offer an alternative - in that if you have a flash site, then do it in plain html, if you have a graph then write a description of the data on a seperate page and add the link to it next to the image, etc. Always use alt tags and never use frames. From the outset it can take a while to get into the working practice of designing for accessibility, but once you take into consideration the guide (above) and test you sites then their should not be a problem - as a guide also get hold of Lynx the text only browser and check you site/s on this too (for as a rule of thumb that is how voice browsers will read you site) - if you can't navigate your site with Lynx then a blind user will never be able to use you site. HTH James -Original Message- From: Michael Kear [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 04:44 To: CF-Talk Subject: Your site's easy to navigate? You Think so? I have just come out of a most enlightening session with a blind user, running though a client's web site with JAWS, a screen reading program that turns the web page into synthesised voice. I thought I was quite aware of accessibility issues before, and was comfortable in thinking that my sites were better than the average in providing access to the blind and people with other disabilities. This session was educational to say the least. I am still convinced my sites are better than average, but I am bound to inform you that the average is pretty damn poor. I know some people are really concerned about accessibility for the disabled and others have decided that the disabled are such a small portion of their userbase, it's not worth changing everything to allow for them. I'm here to tell you that it's not difficult to design a good site to allow for access, it just takes a little understanding of how programs like JAWS works. To be truthful, I think that if I were blind, I'd go stark raving mad at all the frustrations of life but trying to surf the web wouldn't make life any easier that's for sure. For example, he took us through a page of our bookshop. And we'd arranged things to look nice on the page, but there were parts of the catalogue page where he didn't know what the add to basket graphic was referring to - this book or the previous one. And some nested tables were simply awful and impossible to work round.We all think putting navigation buttons on the top of every page makes for easy navigation, but blind people have to wade through (in our case) 50 navigation links before getting to the guts of the page. On a search of our site, the resulting page has a nice header at the top with links to all our site's catgegories and sub-categories and then a sidebar with links to other parts of the site, and finally the search results itself. Visually it looks fine - quick and simple to move around the site. But using the screen reading software it took **AGES** to get to anything related to the search. By just laying out the page differently, we could have made this page FAR easier to navigate for him. I'm not suggesting we should all go about redesigning our sites just for the relatively few blind users, but just understanding how the software works, has made me re-think many of the forms I build. The user also said that Government sites tended to be the worst of all. I'm not sure if that's because they're designed by developers with an eye on the government money or because they are specified by bureaucrats. Certainly of all the sites that ought to know about accessibility, Government sites ought to be the leaders, and apparently they aren't. I think as web developers, you'd all be doing A Good Thing if you arranged for a meeting like we just had at Australian Consumers Association - have a blind person come and work your site for you using their screen reading software. At the risk of being accused of making an off-colour joke, it's a real eye-opener. Cheers, Mike Kear AFP Webworks, Windsor, NSW, Australia. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: html as xml for asp :)
If you're using ASP, why not use the MSXML object directly? Have a look at CF_SOXML and reverse engineer (it's really not that hard!). I hope you are successful. Paul -Original Message- From: Michael Lugassy [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Date: 03 June 2001 14:10 Subject: OT: html as xml for asp :) I'm trying to locate a code or object that will easily convert/create xml document from asp structre or variable. something easy like the CF_SOXML tag, just for ASP. Thanks, Michael. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Alternative to CFSchedule?
Use CF in command line mode with NT Scheduled tasks (AT) But you should find the CFSchedule runs fine under CF4.5.1SP2 http://www.allaire.com/Handlers/index.cfm?ID=19118Method=Full Regards Stephen -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 10:15 To: CF-Talk Subject: RE: Alternative to CFSchedule? I would like to hear an alternative as well as i have been told by many that the scheduler is unreliable! Kola -Original Message- From: PEREZ, RICHARD D (SBCSI) [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 09:23 To: CF-Talk Subject: RE: Alternative to CFSchedule? I think your best alternative is call it from your development server or change a hosting services. -Original Message- From: Michael Kear [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 03, 2001 5:33 PM To: CF-Talk Subject: Alternative to CFSchedule? I have a CF Hosting service that doesn't allow CF Schedule and I want a site to run a daily check on itself and report to me if any of my users have added links, changed details, etc on any of my pages so I can go and check they're all Ok. The only alternative I've thought of so far is to have a CFSchedule running on my own development machine that calls the template on this site. Does anyone have a better idea for achieving the same thing? There is a potential problem with having a production template running regularly on a development server, since there's no guarantee it's going to be up and going at the time the job's supposed to be run. Cheers, Mike Kear AFP Webworks, Windsor, NSW, Australia. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Your site's easy to navigate? You Think so?
Is there an industry standard tool used by people with disablities to browse web sites, i've just brought this issue to the attention of my boss, and we may want to purchase such a package to test our sites. Thanks Kola -Original Message- From: Michael Kear [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 04:44 To: CF-Talk Subject: Your site's easy to navigate? You Think so? I have just come out of a most enlightening session with a blind user, running though a client's web site with JAWS, a screen reading program that turns the web page into synthesised voice. I thought I was quite aware of accessibility issues before, and was comfortable in thinking that my sites were better than the average in providing access to the blind and people with other disabilities. This session was educational to say the least. I am still convinced my sites are better than average, but I am bound to inform you that the average is pretty damn poor. I know some people are really concerned about accessibility for the disabled and others have decided that the disabled are such a small portion of their userbase, it's not worth changing everything to allow for them. I'm here to tell you that it's not difficult to design a good site to allow for access, it just takes a little understanding of how programs like JAWS works. To be truthful, I think that if I were blind, I'd go stark raving mad at all the frustrations of life but trying to surf the web wouldn't make life any easier that's for sure. For example, he took us through a page of our bookshop. And we'd arranged things to look nice on the page, but there were parts of the catalogue page where he didn't know what the add to basket graphic was referring to - this book or the previous one. And some nested tables were simply awful and impossible to work round.We all think putting navigation buttons on the top of every page makes for easy navigation, but blind people have to wade through (in our case) 50 navigation links before getting to the guts of the page. On a search of our site, the resulting page has a nice header at the top with links to all our site's catgegories and sub-categories and then a sidebar with links to other parts of the site, and finally the search results itself. Visually it looks fine - quick and simple to move around the site. But using the screen reading software it took **AGES** to get to anything related to the search. By just laying out the page differently, we could have made this page FAR easier to navigate for him. I'm not suggesting we should all go about redesigning our sites just for the relatively few blind users, but just understanding how the software works, has made me re-think many of the forms I build. The user also said that Government sites tended to be the worst of all. I'm not sure if that's because they're designed by developers with an eye on the government money or because they are specified by bureaucrats. Certainly of all the sites that ought to know about accessibility, Government sites ought to be the leaders, and apparently they aren't. I think as web developers, you'd all be doing A Good Thing if you arranged for a meeting like we just had at Australian Consumers Association - have a blind person come and work your site for you using their screen reading software. At the risk of being accused of making an off-colour joke, it's a real eye-opener. Cheers, Mike Kear AFP Webworks, Windsor, NSW, Australia. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Resubmit: cfgraph problem
Your link worked great! However, mine just will not display a graph. I did a subscription update. I was sent a link to download what I thought was final product of CF Pro 5.0. When I do a version check I get:: Server Product: ColdFusion Server Version: 5, 0, 0, 0 Edition: Professional Operating System: Windows NT OS Version: 5.0 OS Build Number: 2195 Jim - Original Message - From: Ann Harrell [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, June 03, 2001 11:32 PM Subject: RE: Resubmit: cfgraph problem Jim, are you on the RC, evaluation or Release? I am still on the RC. Here is the link and here is the source: http://ann.bourbon.hoosierlink.net/harrell/codecount.cfm OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca b#version=3,0,0,0 WIDTH=700 HEIGHT=500PARAM NAME=movie VALUE=/CFGraphingPage.cfm?Action=GetGraphGraphFile=/cfgraphs/bar.swtKey=- 264550028Generate=TRUEFileType=flashPARAM NAME=quality VALUE=highEMBED src=/servlet/AllaireGraphingServlet?GraphFile=/cfgraphs/bar.swtKey=-264550 028Generate=TRUE quality=high WIDTH=700 HEIGHT=500 TYPE=application/x-shockwave-flash PLUGINSPACE=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_ Version=ShockwaveFlash/EMBED/OBJECT Ann Harrell -Original Message- From: Jim Watkins [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 03, 2001 9:54 PM To: CF-Talk Subject: Re: Resubmit: cfgraph problem This example should work at http://www.ngtcollege.org/bannercfm/graphtest.cfm but the IE browser just keeps churning. Netscape will say done but nothing appears. Makes me think something is setup wrong. Viewing the source in IE gives me this: OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/ swflash.ca b#version=3,0,0,0 WIDTH=500 HEIGHT=300PARAM NAME=movie VALUE=/CFGraphingPage.cfm?Action=GetGraphGraphFile=/cfgraphs/are a.swtKey= 290193689Generate=TRUEFileType=flashPARAM NAME=quality VALUE=highEMBED src=/CFGraphingPage.cfm?Action=GetGraphGraphFile=/cfgraphs/area. swtKey=29 0193689Generate=TRUE quality=high WIDTH=500 HEIGHT=300 TYPE=application/x-shockwave-flash PLUGINSPACE=http://www.macromedia.com/shockwave/download/index.cg i?P1_Prod_ Version=ShockwaveFlash/EMBED/OBJECT - Original Message - From: Ann Harrell [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, June 03, 2001 9:27 PM Subject: RE: Resubmit: cfgraph problem I went back to the beta forum to see if the information about the problem was still there, but all the beta information is gone. Here is a working example of a line graph with a fill though. If you want, I have other examples I can send you. Ann Harrell cfset Q1income=760 cfset Q2income=87 cfset Q3income=93 cfset Q4income=86 cfgraph type=Line title=Quarterly Income fill=yes BackgroundColor=white cfgraphdata item=Q1 value=#Q1income# cfgraphdata item=Q2 value=#Q2income# cfgraphdata item=Q3 value=#Q3income# cfgraphdata item=Q4 value=#Q4income# /cfgraph -Original Message- From: Jim Watkins [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 03, 2001 5:47 PM To: CF-Talk Subject: Resubmit: cfgraph problem Know one responded to this so am resending. Sure would appreciate some help here. Jim - Original Message - From: Jim Watkins [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, June 02, 2001 11:43 AM Subject: cfgraph problem I have tried creating a sample graph in CF 5 using the cfgraph tag but the browser just keeps on churning and never gives me data or error. What am I doing wrong or do I neeed to set up something on the server? Code I used is from documentation and is: cfgraph type=pie title=Income by Department cfgraphdata item=New Vehicle Sales value=50 cfgraphdata item=Used Vehicle Sales value=25 cfgraphdata item=Leasing value=30 cfgraphdata item=Service value=40 /cfgraph Any help would be appreciated! Jim Watkins http://www.ngtcollege.org ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Removing items from the shopping basket?
Pardon my ignorance, but how would you use arrays (or structures) to create a basket? I'm looking for the best, efficient, way of doing this. Thanks!! Michael Gagnon - Original Message - From: Ben Forta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, June 01, 2001 4:42 PM Subject: RE: Removing items from the shopping basket? Michel, If you are going to use queries than there is no clean way to remove rows - best bet would be to have another column with an active flag. To delete you just set it to 0 and then ignore it in further processing. The only way to actually remove a row is to copy the query except for that row (which would not be efficient). If you use arrays or structures (for example) then you could remove rows easily. --- Ben -Original Message- From: Michel Gagnon [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 2:03 PM To: CF-Talk Subject: Removing items from the shopping basket? Hi! I've got a shopping basket going: cfset tempValue = queryAddRow(session.basket) cfset tempValue = querySetCell(session.basket, ID, form.ID) cfset tempValue = querySetCell(session.basket, Quantity, form.quantity) But I can't find the instructions on how to delete items from the basket. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: ColdFusion progress meters
Your welcome. Someone sent me an example this weekend that shows the progress meters in Flash, and it looks a LOT cooler than what I did with GIFs. I'm going to see if this guy minds me adding his work to the end of the article, or at least to the ZIP file. === 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: Peter Tilbrook [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 3:09 AM To: CF-Talk Subject: ColdFusion progress meters Thanks to Ray Camden for the article in the CF DevExchange on progress meters in CF! I've already implemented one for generating a PDF file (online will) and it works really well! ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: cfhttp/cffile locking?
No, the first poster said it right, If other pages in your application, or other applications on your server write to the file, then you *do* need to lock the cffile, (for both the read and write). Notice - both read and write. You should use an exclusive lock around the write, and a ReadOnly lock around the reads, even if you only write once a day. Sure, with one write you will probably never run into trouble w/o locks, but since it takes about 2 seconds to type in the code, why _not_ do it? === 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: Michael Lugassy [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 03, 2001 12:34 PM To: CF-Talk Subject: Re: cfhttp/cffile locking? Let me see if I got this figured out: About CFFILE: You're saying that if I read lots of times from the file and just doing one update (daily, off-hours) I just need to exclusive lock this one cffile write once? no lock around cffile read? or include that uses the same file? you see - I'm generating once a day a designed html page with the latest news flashes. this page is included in alot of my other pages in the site. cfinclude but it is only updated by a single process that I scheduled through CF-Admin. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: COOKIE expiration :((
You can download my custom tag CF_LOCATION from: http://www.pengoworks.com/index.cfm?action=CustomTags The code is pretty simply and does allow you to use CFCOOKIE and do a server relocation on the same page. Using the CFHEADER tag, you're able to successfully relocate the user using the code: CFHEADER STATUSCODE=302 STATUSTEXT=Object Temporarily Moved CFHEADER NAME=Location VALUE=#strURL# Why CF doesn't use the same code with internally, I don't know. -Dan -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 12:41 AM To: CF-Talk Subject: RE: COOKIE expiration :(( You can consider setting up the cookie in a process page and redirect with javascript instead of cflocation that will allow the cookie to be set. I'm curious, will the new CFFLUSH tag resolve this problem? No, I don't think so. All CFFLUSH does is signal that part of the HTTP response body can be returned, before the rest has been generated. The problem with CFCOOKIE and CFLOCATION is simply that CF doesn't allow the use of both tags, which affect the HTTP response header, in a single script. As has been discussed on this list occasionally in the past, there's no inherent limitation in the HTTP RFC about using headers to simultaneously set a cookie and specify a new location - CF just doesn't let you do this, if I recall correctly. 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 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Your site's easy to navigate? You Think so?
As Michael suggested, Kola, take look at the Bobby tool. To just expand on this issue, Section 508 of the Rehabilitation Act has defined a set of standards that must now be met by web sites developed for US government agencies to ensure that people with disabilities can adequately navigate the site. While it is a bit of a burden (re-writing old sites is never fun), the changes really aren't that extensive or intrusive. There are a few restrictions that have caused us problems though, namely, using Javascript to submit a form (now a no-no). I thought it was interesting that Mike said that the government sites seemed to be the worst. The standards laid out in section 508 should address this problem. While the standards are specifically targeted for government websites, they provide a good set of guidelines for the average developer who is interested in making their websites available for everyone. For more info on these standards, check out: http://www.usdoj.gov/crt/508/web.htm Brian - Original Message - From: Kola Oyedeji [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 04, 2001 5:02 AM Subject: RE: Your site's easy to navigate? You Think so? Is there an industry standard tool used by people with disablities to browse web sites, i've just brought this issue to the attention of my boss, and we may want to purchase such a package to test our sites. Thanks Kola -Original Message- From: Michael Kear [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 04:44 To: CF-Talk Subject: Your site's easy to navigate? You Think so? I have just come out of a most enlightening session with a blind user, running though a client's web site with JAWS, a screen reading program that turns the web page into synthesised voice. I thought I was quite aware of accessibility issues before, and was comfortable in thinking that my sites were better than the average in providing access to the blind and people with other disabilities. This session was educational to say the least. I am still convinced my sites are better than average, but I am bound to inform you that the average is pretty damn poor. I know some people are really concerned about accessibility for the disabled and others have decided that the disabled are such a small portion of their userbase, it's not worth changing everything to allow for them. I'm here to tell you that it's not difficult to design a good site to allow for access, it just takes a little understanding of how programs like JAWS works. To be truthful, I think that if I were blind, I'd go stark raving mad at all the frustrations of life but trying to surf the web wouldn't make life any easier that's for sure. For example, he took us through a page of our bookshop. And we'd arranged things to look nice on the page, but there were parts of the catalogue page where he didn't know what the add to basket graphic was referring to - this book or the previous one. And some nested tables were simply awful and impossible to work round.We all think putting navigation buttons on the top of every page makes for easy navigation, but blind people have to wade through (in our case) 50 navigation links before getting to the guts of the page. On a search of our site, the resulting page has a nice header at the top with links to all our site's catgegories and sub-categories and then a sidebar with links to other parts of the site, and finally the search results itself. Visually it looks fine - quick and simple to move around the site. But using the screen reading software it took **AGES** to get to anything related to the search. By just laying out the page differently, we could have made this page FAR easier to navigate for him. I'm not suggesting we should all go about redesigning our sites just for the relatively few blind users, but just understanding how the software works, has made me re-think many of the forms I build. The user also said that Government sites tended to be the worst of all. I'm not sure if that's because they're designed by developers with an eye on the government money or because they are specified by bureaucrats. Certainly of all the sites that ought to know about accessibility, Government sites ought to be the leaders, and apparently they aren't. I think as web developers, you'd all be doing A Good Thing if you arranged for a meeting like we just had at Australian Consumers Association - have a blind person come and work your site for you using their screen reading software. At the risk of being accused of making an off-colour joke, it's a real eye-opener. Cheers, Mike Kear AFP Webworks, Windsor, NSW, Australia. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe:
RE: cfhttp/cffile locking?
slight;y related... what about file uploads? If i want an upload operation to time out to stop users uploading huge files can i use cflock? Kola -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 13:15 To: CF-Talk Subject: RE: cfhttp/cffile locking? No, the first poster said it right, If other pages in your application, or other applications on your server write to the file, then you *do* need to lock the cffile, (for both the read and write). Notice - both read and write. You should use an exclusive lock around the write, and a ReadOnly lock around the reads, even if you only write once a day. Sure, with one write you will probably never run into trouble w/o locks, but since it takes about 2 seconds to type in the code, why _not_ do it? === 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: Michael Lugassy [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 03, 2001 12:34 PM To: CF-Talk Subject: Re: cfhttp/cffile locking? Let me see if I got this figured out: About CFFILE: You're saying that if I read lots of times from the file and just doing one update (daily, off-hours) I just need to exclusive lock this one cffile write once? no lock around cffile read? or include that uses the same file? you see - I'm generating once a day a designed html page with the latest news flashes. this page is included in alot of my other pages in the site. cfinclude but it is only updated by a single process that I scheduled through CF-Admin. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: cfpop and multi part messages
Might be wrong - but isnt the message normally included as an attachment (at least I think thats how outlook displays it...) - maybe you need to process the attachment... -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED]] Sent: 24 May 2001 21:47 To: CF-Talk Subject: cfpop and multi part messages Hi, I am using cfpop to retrieve undeliverable mail and mark an account as such. When I look in the mail server mailbox the message is a multi part/mixed message which contains in the first part the reason the message could not be delivered and the actual message in the second part. Cfpop is only retrieving (or displaying) the first part of this multi part message. I need to get the whole thing. Anybody have any ideas? Brook Davies maracasmedia Inc ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Warehouse management software
Yes, I am. The software is incredibly large and complex though. Contact me off-list for any additional information you need. Brian - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, June 03, 2001 10:21 AM Subject: Warehouse management software Is anyone aware of an application written in CF for Warehouse Management, Inventory Control for a manufacturing environment? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CF Installation Problems SQL Server 7.0 DTS Problem
htmlDIVI installed CF 4.5 on my server that has SQL Server 7.0 and the server works just fine except the server DTSs do not work anymore.nbsp; It gives an error of co create classes not being registered.nbsp; /DIV DIVnbsp;/DIV DIVDoes any one have an idea of what I can do to fix this problem?/DIV DIVnbsp;/DIV DIVRob/DIVbr clear=allhrGet your FREE download of MSN Explorer at a href=http://explorer.msn.com;http://explorer.msn.com/abr/p/html ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Use interactive CF debugger!!! : was VeRy tricky evaluate()
Seems to me the only way you could find your way out of this one is to use the cfstudio step through debugging. You may be doing so already but I get the impression not many cf developers use this, perhaps because it can be temperamental. But I've found it invaluable now I've got it working. It can save you mountains of time and brain ache. I'd recommend spending the time to get it running. I had it working on a stand-alone but I'd been led to believe it wouldn't work well on a network, but it does, sometimes it takes a few attempts to connect. -Original Message- From: Michael Lugassy [mailto:[EMAIL PROTECTED]] Sent: 29 May 2001 16:45 To: CF-Talk Subject: VeRy tricky evaluate() I'm in a complex situation here which gives NO ERRORS but doesn't seem to work right. please help. My project has several unique sections (where the key=grid) Every user can upload several images to each group. everytime he uploads at least 1 file to a new group, I'm assigning him a session array variable that is called: session.my#url.grid#: cfif NOT isDefined(session.my#url.grid#) cflock timeout=10 throwontimeout=Yes type=EXCLUSIVE scope=SESSION cfset session.my#url.grid#=Arraynew(1) /cflock /cfif then I give him the upload form. after each upload, I'm appending the array with the new file: cflock timeout=10 throwontimeout=Yes type=EXCLUSIVE scope=SESSION cfset temp=ArrayPrepend(evaluate(session.my#url.grid#),file.serverfile) /cflock and now I want to display back the upload form, but with a list of the files he already uploaded: first I'm moving the session array into a local variable: cfif isDefined(session.my#url.grid#) cflock timeout=10 throwontimeout=Yes type=READONLY scope=SESSION cfset a=evaluate(session.my#url.grid#) /cflock then I'm looping without worrying for locking: Files that were uploaded to #url.grid#: cfloop index=i from=1 to=#arraylen(a)# #a[i]# /cfloop the a array keeps being EMPTY all the time. I'm checking that with this: cfif NOT isDefined(a) or arraylen(a) eq 0 You haven't uploaded any pictures to #url.grid# yet. /cfif note that I don't want to : a. query the db everytime to get the list of files that was uploaded. b. limit the session timout to 1 minute Thanks, Michael Lugassy IT/WEB Specialist Interactive Music Ltd. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFLOCK syntax with CF4.0
Oops, quite right. It's Name=#Session.sessionID# because it has to evaluate the variable. thanks, Chris Norloff -- Original Message -- From: Raymond Camden [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 01 Jun 2001 15:24:09 -0400 I always though it was NAME=#Session.SessionID# and NAME=#Application.ApplicationName#. Notice the pounds. === 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: Chris Norloff [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 1:20 PM To: CF-Talk Subject: Re: CFLOCK syntax with CF4.0 For 4.0 use Name=session.sessionId for session variables and Name=Application.ApplicationName for application variables. This works in both 4.0 4.5, though you can't use Full Checking in 4.5 because it's not compatible with the Name scope (you can still use Auto Read Locking if you want to). 4.0 vs. 4.5 is covered in Changes to CFLOCK in CF server 4.5, knowledgebase article 14165 Chris Norloff ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Your site's easy to navigate? You Think so?
using Javascript to submit a form (now a no-no). Why is that? KOla -Original Message- From: G [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 13:56 To: CF-Talk Subject: Re: Your site's easy to navigate? You Think so? As Michael suggested, Kola, take look at the Bobby tool. To just expand on this issue, Section 508 of the Rehabilitation Act has defined a set of standards that must now be met by web sites developed for US government agencies to ensure that people with disabilities can adequately navigate the site. While it is a bit of a burden (re-writing old sites is never fun), the changes really aren't that extensive or intrusive. There are a few restrictions that have caused us problems though, namely, using Javascript to submit a form (now a no-no). I thought it was interesting that Mike said that the government sites seemed to be the worst. The standards laid out in section 508 should address this problem. While the standards are specifically targeted for government websites, they provide a good set of guidelines for the average developer who is interested in making their websites available for everyone. For more info on these standards, check out: http://www.usdoj.gov/crt/508/web.htm Brian - Original Message - From: Kola Oyedeji [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 04, 2001 5:02 AM Subject: RE: Your site's easy to navigate? You Think so? Is there an industry standard tool used by people with disablities to browse web sites, i've just brought this issue to the attention of my boss, and we may want to purchase such a package to test our sites. Thanks Kola -Original Message- From: Michael Kear [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 04:44 To: CF-Talk Subject: Your site's easy to navigate? You Think so? I have just come out of a most enlightening session with a blind user, running though a client's web site with JAWS, a screen reading program that turns the web page into synthesised voice. I thought I was quite aware of accessibility issues before, and was comfortable in thinking that my sites were better than the average in providing access to the blind and people with other disabilities. This session was educational to say the least. I am still convinced my sites are better than average, but I am bound to inform you that the average is pretty damn poor. I know some people are really concerned about accessibility for the disabled and others have decided that the disabled are such a small portion of their userbase, it's not worth changing everything to allow for them. I'm here to tell you that it's not difficult to design a good site to allow for access, it just takes a little understanding of how programs like JAWS works. To be truthful, I think that if I were blind, I'd go stark raving mad at all the frustrations of life but trying to surf the web wouldn't make life any easier that's for sure. For example, he took us through a page of our bookshop. And we'd arranged things to look nice on the page, but there were parts of the catalogue page where he didn't know what the add to basket graphic was referring to - this book or the previous one. And some nested tables were simply awful and impossible to work round.We all think putting navigation buttons on the top of every page makes for easy navigation, but blind people have to wade through (in our case) 50 navigation links before getting to the guts of the page. On a search of our site, the resulting page has a nice header at the top with links to all our site's catgegories and sub-categories and then a sidebar with links to other parts of the site, and finally the search results itself. Visually it looks fine - quick and simple to move around the site. But using the screen reading software it took **AGES** to get to anything related to the search. By just laying out the page differently, we could have made this page FAR easier to navigate for him. I'm not suggesting we should all go about redesigning our sites just for the relatively few blind users, but just understanding how the software works, has made me re-think many of the forms I build. The user also said that Government sites tended to be the worst of all. I'm not sure if that's because they're designed by developers with an eye on the government money or because they are specified by bureaucrats. Certainly of all the sites that ought to know about accessibility, Government sites ought to be the leaders, and apparently they aren't. I think as web developers, you'd all be doing A Good Thing if you arranged for a meeting like we just had at Australian Consumers Association - have a blind person come and work your site for you using their screen reading software. At the risk of being accused of making an off-colour joke, it's a real eye-opener. Cheers, Mike Kear AFP Webworks, Windsor, NSW, Australia.
Re: COOKIE expiration :((
Thanks, but that's not my problem. The cookie is set up ok. I use javascript's location.href method to reffer the page the cookie exists, I can see it and use it all over the site. the problem is that it's TERMINATING after a user closes the browser, although I specificed: Expires=Never It's been over a week since I'm stuck in this!!! please help. Thanks, Michael Lugassy - Original Message - From: Dan G. Switzer, II [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 04, 2001 2:53 PM Subject: RE: COOKIE expiration :(( You can download my custom tag CF_LOCATION from: http://www.pengoworks.com/index.cfm?action=CustomTags The code is pretty simply and does allow you to use CFCOOKIE and do a server relocation on the same page. Using the CFHEADER tag, you're able to successfully relocate the user using the code: CFHEADER STATUSCODE=302 STATUSTEXT=Object Temporarily Moved CFHEADER NAME=Location VALUE=#strURL# Why CF doesn't use the same code with internally, I don't know. -Dan -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 12:41 AM To: CF-Talk Subject: RE: COOKIE expiration :(( You can consider setting up the cookie in a process page and redirect with javascript instead of cflocation that will allow the cookie to be set. I'm curious, will the new CFFLUSH tag resolve this problem? No, I don't think so. All CFFLUSH does is signal that part of the HTTP response body can be returned, before the rest has been generated. The problem with CFCOOKIE and CFLOCATION is simply that CF doesn't allow the use of both tags, which affect the HTTP response header, in a single script. As has been discussed on this list occasionally in the past, there's no inherent limitation in the HTTP RFC about using headers to simultaneously set a cookie and specify a new location - CF just doesn't let you do this, if I recall correctly. 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 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Your site's easy to navigate? You Think so?
One of the main restrictions of many of the reader's used by blind people is that they do not support javascript (or other active scritps i assume). As a result, any page that contains javascript functionality, must have an alternate way of performing the same or similar type function. So what this really comes down to, is programming your site to work for browsers that do not support active scripting, or that may have that feature disabled. This is something that's not a bad idea to do anyway. Brian - Original Message - From: Kola Oyedeji [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 04, 2001 8:10 AM Subject: RE: Your site's easy to navigate? You Think so? using Javascript to submit a form (now a no-no). Why is that? KOla snip ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: COOKIE expiration :((
does it terminate with Never in quotes and without? -Original Message- From: Michael Lugassy [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 7:32 AM To: CF-Talk Subject: Re: COOKIE expiration :(( Thanks, but that's not my problem. The cookie is set up ok. I use javascript's location.href method to reffer the page the cookie exists, I can see it and use it all over the site. the problem is that it's TERMINATING after a user closes the browser, although I specificed: Expires=Never It's been over a week since I'm stuck in this!!! please help. Thanks, Michael Lugassy - Original Message - From: Dan G. Switzer, II [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 04, 2001 2:53 PM Subject: RE: COOKIE expiration :(( You can download my custom tag CF_LOCATION from: http://www.pengoworks.com/index.cfm?action=CustomTags The code is pretty simply and does allow you to use CFCOOKIE and do a server relocation on the same page. Using the CFHEADER tag, you're able to successfully relocate the user using the code: CFHEADER STATUSCODE=302 STATUSTEXT=Object Temporarily Moved CFHEADER NAME=Location VALUE=#strURL# Why CF doesn't use the same code with internally, I don't know. -Dan -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 12:41 AM To: CF-Talk Subject: RE: COOKIE expiration :(( You can consider setting up the cookie in a process page and redirect with javascript instead of cflocation that will allow the cookie to be set. I'm curious, will the new CFFLUSH tag resolve this problem? No, I don't think so. All CFFLUSH does is signal that part of the HTTP response body can be returned, before the rest has been generated. The problem with CFCOOKIE and CFLOCATION is simply that CF doesn't allow the use of both tags, which affect the HTTP response header, in a single script. As has been discussed on this list occasionally in the past, there's no inherent limitation in the HTTP RFC about using headers to simultaneously set a cookie and specify a new location - CF just doesn't let you do this, if I recall correctly. 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 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: cfhttp/cffile locking?
Kola Oyedeji [EMAIL PROTECTED] wrote in message 0396C60E9D42D411B1B2003048210DF6082F88@SERVER01">news:0396C60E9D42D411B1B2003048210DF6082F88@SERVER01... slight;y related... what about file uploads? If i want an upload operation to time out to stop users uploading huge files can i use cflock? I know this has nothing to do about locks, but to prevent users uploading huge files, checking for the value of cgi.content_length could be a fairly good solution. Of course, malicious users could alter the data inside the HTTP header and some firewall could remove them as well Massimo ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Use interactive CF debugger!!! : was VeRy tricky evaluate()
After many many attempts i still have not got it working this may be due to the fact that i'm not sure exactly how it is supposed to work. Do you have an tips/pointers? Thanks Kola -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 14:24 To: CF-Talk Subject: Use interactive CF debugger!!! : was VeRy tricky evaluate() Seems to me the only way you could find your way out of this one is to use the cfstudio step through debugging. You may be doing so already but I get the impression not many cf developers use this, perhaps because it can be temperamental. But I've found it invaluable now I've got it working. It can save you mountains of time and brain ache. I'd recommend spending the time to get it running. I had it working on a stand-alone but I'd been led to believe it wouldn't work well on a network, but it does, sometimes it takes a few attempts to connect. -Original Message- From: Michael Lugassy [mailto:[EMAIL PROTECTED]] Sent: 29 May 2001 16:45 To: CF-Talk Subject: VeRy tricky evaluate() I'm in a complex situation here which gives NO ERRORS but doesn't seem to work right. please help. My project has several unique sections (where the key=grid) Every user can upload several images to each group. everytime he uploads at least 1 file to a new group, I'm assigning him a session array variable that is called: session.my#url.grid#: cfif NOT isDefined(session.my#url.grid#) cflock timeout=10 throwontimeout=Yes type=EXCLUSIVE scope=SESSION cfset session.my#url.grid#=Arraynew(1) /cflock /cfif then I give him the upload form. after each upload, I'm appending the array with the new file: cflock timeout=10 throwontimeout=Yes type=EXCLUSIVE scope=SESSION cfset temp=ArrayPrepend(evaluate(session.my#url.grid#),file.serverfile) /cflock and now I want to display back the upload form, but with a list of the files he already uploaded: first I'm moving the session array into a local variable: cfif isDefined(session.my#url.grid#) cflock timeout=10 throwontimeout=Yes type=READONLY scope=SESSION cfset a=evaluate(session.my#url.grid#) /cflock then I'm looping without worrying for locking: Files that were uploaded to #url.grid#: cfloop index=i from=1 to=#arraylen(a)# #a[i]# /cfloop the a array keeps being EMPTY all the time. I'm checking that with this: cfif NOT isDefined(a) or arraylen(a) eq 0 You haven't uploaded any pictures to #url.grid# yet. /cfif note that I don't want to : a. query the db everytime to get the list of files that was uploaded. b. limit the session timout to 1 minute Thanks, Michael Lugassy IT/WEB Specialist Interactive Music Ltd. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Your site's easy to navigate? You Think so?
Just a quick thought/question... not just for the case of the blind but also those on low bandwidth and other alternate web browsing choices, would a good solution for all this be to build a site of many faces, using CF and the CGI.HTTP_USER_AGENT to switch between faces. I've seen this done for WAP in an example mode but haven't really seen it. The concept would be something along the lines of an auto-switch instead of having the user click on High Bandwidth and Low Bandwidth at a splash page. Granted, it's more development time, but it's also a great selling point! Just my two cents. Hatton Humphrey -Original Message- From: G [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 9:29 AM To: CF-Talk Subject: Re: Your site's easy to navigate? You Think so? One of the main restrictions of many of the reader's used by blind people is that they do not support javascript (or other active scritps i assume). As a result, any page that contains javascript functionality, must have an alternate way of performing the same or similar type function. So what this really comes down to, is programming your site to work for browsers that do not support active scripting, or that may have that feature disabled. This is something that's not a bad idea to do anyway. Brian - Original Message - From: Kola Oyedeji [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 04, 2001 8:10 AM Subject: RE: Your site's easy to navigate? You Think so? using Javascript to submit a form (now a no-no). Why is that? KOla snip ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Your site's easy to navigate? You Think so?
Kola, as I said earlier - the quickest short cut to this is to download Lynx (text only flavour browser) (http://lynx.browser.org/) - as this will act as a text reader (which is how voice browsers work in effect - they usaully read out from top let across the page to top right, then down a line, etc) - if you can navigate a website with Lynx (which is free) then a voice browser *should* work too - if you can't navigate a site with Lynx then a voice browser will DEFINATELY not work. Which is a starting point. Secondly, if it works on Lynx then run bobby over it to generate a report that will give you errors in order of preference. The WAI guidelines are just that - in that they suggest a minimum methodology, but also suggest a tiered approach to development. If you are interested in this methodology also try doing some research on the web about it - as a starter use something like Betsie (created back in 1998 in collaboartion between the BBC and the RNIB in the UK) which is a free tool that creates text only versions of sites. If you don't want the hassle of re-training youself or your staff into creating hand code, etc. that is WAI compliant then use lynx - bobby - betsie (all are free) as a road map in checking, testing, creating a text only version of a site - then add a link to the text only version at the top-left first code on every page of your site/s - it's a crude but working methodology - when creating a site in CF that is template/dynamicly driven you can also bear in mind these issues - we pull all our content in from flat text/html formatted pages then depending on global variables set display the text with a graphic or non-graphic wrapper. James -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 11:03 To: CF-Talk Subject: RE: Your site's easy to navigate? You Think so? Is there an industry standard tool used by people with disablities to browse web sites, i've just brought this issue to the attention of my boss, and we may want to purchase such a package to test our sites. Thanks Kola -Original Message- From: Michael Kear [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 04:44 To: CF-Talk Subject: Your site's easy to navigate? You Think so? I have just come out of a most enlightening session with a blind user, running though a client's web site with JAWS, a screen reading program that turns the web page into synthesised voice. I thought I was quite aware of accessibility issues before, and was comfortable in thinking that my sites were better than the average in providing access to the blind and people with other disabilities. This session was educational to say the least. I am still convinced my sites are better than average, but I am bound to inform you that the average is pretty damn poor. I know some people are really concerned about accessibility for the disabled and others have decided that the disabled are such a small portion of their userbase, it's not worth changing everything to allow for them. I'm here to tell you that it's not difficult to design a good site to allow for access, it just takes a little understanding of how programs like JAWS works. To be truthful, I think that if I were blind, I'd go stark raving mad at all the frustrations of life but trying to surf the web wouldn't make life any easier that's for sure. For example, he took us through a page of our bookshop. And we'd arranged things to look nice on the page, but there were parts of the catalogue page where he didn't know what the add to basket graphic was referring to - this book or the previous one. And some nested tables were simply awful and impossible to work round.We all think putting navigation buttons on the top of every page makes for easy navigation, but blind people have to wade through (in our case) 50 navigation links before getting to the guts of the page. On a search of our site, the resulting page has a nice header at the top with links to all our site's catgegories and sub-categories and then a sidebar with links to other parts of the site, and finally the search results itself. Visually it looks fine - quick and simple to move around the site. But using the screen reading software it took **AGES** to get to anything related to the search. By just laying out the page differently, we could have made this page FAR easier to navigate for him. I'm not suggesting we should all go about redesigning our sites just for the relatively few blind users, but just understanding how the software works, has made me re-think many of the forms I build. The user also said that Government sites tended to be the worst of all. I'm not sure if that's because they're designed by developers with an eye on the government money or because they are specified by bureaucrats. Certainly of all the sites that ought to know about accessibility, Government sites ought to be the leaders, and apparently they aren't. I think as web developers,
OT: batch physical delete
Has anyone come across a script, tag or cfx that can delete files that appear (or doesn't appear) in a txt file from multiple directories? I mean that I'm giving out this list: c:\dos\emm386.exe c:\cfusion\bin\cfml.exe c:\windows\readme.txt and this thing scan through the c:\ drive and delete the files I requested? I know it can be easily done with cfdirectory and cffile but I look for a better solution with c or vb. Thanks, Michael ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Use interactive CF debugger!!! : was VeRy tricky evaluate()
Surely the Array a has not been defined, therefore a will always either be a null or length=0. Have you Evaluating the Session Variable as the Array? I think this should work, or somthing very simular cfloop index=i from=1 to=#arraylen(evaluate(session.my url.grid))# #evaluate(session.my url.grid [ i ])# /cfloop Jason Lees National Express Email : [EMAIL PROTECTED] -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 14:42 To: CF-Talk Subject: RE: Use interactive CF debugger!!! : was VeRy tricky evaluate() After many many attempts i still have not got it working this may be due to the fact that i'm not sure exactly how it is supposed to work. Do you have an tips/pointers? Thanks Kola -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 14:24 To: CF-Talk Subject: Use interactive CF debugger!!! : was VeRy tricky evaluate() Seems to me the only way you could find your way out of this one is to use the cfstudio step through debugging. You may be doing so already but I get the impression not many cf developers use this, perhaps because it can be temperamental. But I've found it invaluable now I've got it working. It can save you mountains of time and brain ache. I'd recommend spending the time to get it running. I had it working on a stand-alone but I'd been led to believe it wouldn't work well on a network, but it does, sometimes it takes a few attempts to connect. -Original Message- From: Michael Lugassy [mailto:[EMAIL PROTECTED]] Sent: 29 May 2001 16:45 To: CF-Talk Subject: VeRy tricky evaluate() I'm in a complex situation here which gives NO ERRORS but doesn't seem to work right. please help. My project has several unique sections (where the key=grid) Every user can upload several images to each group. everytime he uploads at least 1 file to a new group, I'm assigning him a session array variable that is called: session.my#url.grid#: cfif NOT isDefined(session.my#url.grid#) cflock timeout=10 throwontimeout=Yes type=EXCLUSIVE scope=SESSION cfset session.my#url.grid#=Arraynew(1) /cflock /cfif then I give him the upload form. after each upload, I'm appending the array with the new file: cflock timeout=10 throwontimeout=Yes type=EXCLUSIVE scope=SESSION cfset temp=ArrayPrepend(evaluate(session.my#url.grid#),file.serverfile) /cflock and now I want to display back the upload form, but with a list of the files he already uploaded: first I'm moving the session array into a local variable: cfif isDefined(session.my#url.grid#) cflock timeout=10 throwontimeout=Yes type=READONLY scope=SESSION cfset a=evaluate(session.my#url.grid#) /cflock then I'm looping without worrying for locking: Files that were uploaded to #url.grid#: cfloop index=i from=1 to=#arraylen(a)# #a[i]# /cfloop the a array keeps being EMPTY all the time. I'm checking that with this: cfif NOT isDefined(a) or arraylen(a) eq 0 You haven't uploaded any pictures to #url.grid# yet. /cfif note that I don't want to : a. query the db everytime to get the list of files that was uploaded. b. limit the session timout to 1 minute Thanks, Michael Lugassy IT/WEB Specialist Interactive Music Ltd. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
problems using text driver
I'm having troubles getting a text driver to work with CF. I can create the driver on my machine, and I can verify it within CF admin, but when I try to view the table in CF Studio database view, I get the following error: The table fields could not be retrieved due to an error: Error -1 occurred: ODBC Error Code = S1C00 (Driver not capable). [Microsoft][ODBC Text Driver] Optional Feature not implemented. Any assistance? I need to read the information from a text file and put it into SQL Server. Thanks, Marc Garrett ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: LDAP and binary files
Dain: Thanks for the info, however this does seem to work. I try to access the picture via the ldap protocol: ldap://law-ldap.georgetown.edu/uid=batesm,%20ou=Specials,%20o=Georgetown.EDU ,c=US?jpegphoto and in Netscape it shows ok. However, if I try to directly link to it in a template like: img src=ldap://law-ldap.georgetown.edu/uid=batesm,%20ou=Specials,%20o=Georgetow n.EDU,c=US?jpegphoto it does not work. Also, your suggestion to use the 2-step approach below does not seem to be bringing any results (broken link to image). It is also kind of hard to debug. If I try to output the photo result that I get back from the LDAP directory is only 5 characters, which if I try to TOBASE64 I get the first few characters of the image. I guess either the LDAP tag does not return the whole image (only the 1st 5 characters), or there is a manipulation or a step somewhere that I am missing. Can anybody help me with that? I posted this to forums.allaire.com but nobody has responded there yet either. Thanks in advance, Dimo Michailov - Original Message - From: Dain Anderson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, June 02, 2001 10:36 AM Subject: Re: LDAP and binary files Dimitar, You could try something like the following, which requires two steps. The first page uses a .cfm file as the source of an image, passing it the user's 'uid' value. The second page (the one that queries the LDAP server) uses CFCONTENT and the query result to form the proper MIME type of 'image/jpeg' that gets returned to Page1.cfm. As a note, some jpegs use the image/pjpeg MIME type (photoshop). Page1.cfm: img src=ldap.cfm?uid=#userid# Ldap.cfm: cfldap action=QUERY name=Test attributes=uid, mail,guradiusprofile,jpegphoto start=ou=Specials, o=University.EDU,c=US scope=SUBTREE filter=(uid=#url.uid#) server=ldap.university.edu cfcontent type=image/jpeg #Test.jpegphoto# Dain Anderson Caretaker, CF Comet http://www.cfcomet.com/ - Original Message - From: Dimitar Michailov [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, June 01, 2001 1:23 PM Subject: LDAP and binary files Hello everybody: I have been going through the archives but with no success I need to query a LDAP directory for a user and show their picture. I execute the LDAP query but I am not able to show the picture information (JPEG file). cfldap action=QUERY name=Test attributes=uid, mail,guradiusprofile,jpegphoto start=ou=Specials, o=University.EDU,c=US scope=SUBTREE filter=(uid=userid) server=ldap.university.edu Then, if I try to output the JPEGPHOTO all I see on the screen is 'ÿØÿà' which, if I try to TOBINARY() I get the first 5 characters of the image file. The problem and the question is - why I am getting only the first 5 characters (in TOBASE64 format) of the JPEG image. Am I missing something? Thanks for the help. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: problems using text driver
Quick follow up to my post: I can actually write a cfquery and view the contents of the text file when I run the template, I just can't access column names in the text file in the database view. Is this a limitation of CFStudio? Thanks, Marc - Original Message - From: Marc Garrett [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 04, 2001 10:00 AM Subject: problems using text driver I'm having troubles getting a text driver to work with CF. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
New CF site
I just came across a new cf site called, www.coldfuionmonthly.com. I tlooks like it may be pretty useful. Anyway, I just thought that some people may want to check it out. -- Clint Tredway www.factorxsoftware.com -- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: New CF site
You forgot the s www.coldfusionmonthly.com Robert - Original Message - From: Clint Tredway [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 04, 2001 10:26 AM Subject: New CF site I just came across a new cf site called, www.coldfuionmonthly.com. I tlooks like it may be pretty useful. Anyway, I just thought that some people may want to check it out. -- Clint Tredway www.factorxsoftware.com -- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: cfhttp/cffile locking?
Massimo , how would i use this cgi variable to check for the length of a file bieng uploaded? Thanks Kola -Original Message- From: Massimo Foti [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 14:34 To: CF-Talk Subject: Re: cfhttp/cffile locking? Kola Oyedeji [EMAIL PROTECTED] wrote in message 0396C60E9D42D411B1B2003048210DF6082F88@SERVER01">news:0396C60E9D42D411B1B2003048210DF6082F88@SERVER01... slight;y related... what about file uploads? If i want an upload operation to time out to stop users uploading huge files can i use cflock? I know this has nothing to do about locks, but to prevent users uploading huge files, checking for the value of cgi.content_length could be a fairly good solution. Of course, malicious users could alter the data inside the HTTP header and some firewall could remove them as well Massimo ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Use interactive CF debugger!!! : was VeRy tricky evaluate()
Don't know how far you've got, but first step is to set up a development mapping, and then make sure you can browse the page from within cf studio. Then open the page you want to start debugging and set a break point on a line of cf code. You should do this on any subsequent pages as well, if you don't it tends to fall over. I've found you can move through many pages, even via cflocation as long as you have a break in each page. Click on the start debug arrow button or press ctrl F5. You get to select a page to start from, make sure you pick the right page and the right development mapping and click ok. It should go to the page and stop. Sometimes it takes a couple of goes to connect to the server. Once in you can step through code, view variables, evaluate variables look at query record counts, look at the output set watches etc. But so much easier than staring at a bit of code that doesn't work. Maybe I've just been lucky in getting it running - I'm using NT4 CF4.5, but as far as I know there isn't any reason why it wouldn't, as long as your developemnt mappings work. Does anyone else know why there are probelms using it, or is it just the case that most people havn't bothered with it? -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 14:42 To: CF-Talk Subject: RE: Use interactive CF debugger!!! : was VeRy tricky evaluate() After many many attempts i still have not got it working this may be due to the fact that i'm not sure exactly how it is supposed to work. Do you have an tips/pointers? Thanks Kola -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 14:24 To: CF-Talk Subject: Use interactive CF debugger!!! : was VeRy tricky evaluate() Seems to me the only way you could find your way out of this one is to use the cfstudio step through debugging. You may be doing so already but I get the impression not many cf developers use this, perhaps because it can be temperamental. But I've found it invaluable now I've got it working. It can save you mountains of time and brain ache. I'd recommend spending the time to get it running. I had it working on a stand-alone but I'd been led to believe it wouldn't work well on a network, but it does, sometimes it takes a few attempts to connect. -Original Message- From: Michael Lugassy [mailto:[EMAIL PROTECTED]] Sent: 29 May 2001 16:45 To: CF-Talk Subject: VeRy tricky evaluate() I'm in a complex situation here which gives NO ERRORS but doesn't seem to work right. please help. My project has several unique sections (where the key=grid) Every user can upload several images to each group. everytime he uploads at least 1 file to a new group, I'm assigning him a session array variable that is called: session.my#url.grid#: cfif NOT isDefined(session.my#url.grid#) cflock timeout=10 throwontimeout=Yes type=EXCLUSIVE scope=SESSION cfset session.my#url.grid#=Arraynew(1) /cflock /cfif then I give him the upload form. after each upload, I'm appending the array with the new file: cflock timeout=10 throwontimeout=Yes type=EXCLUSIVE scope=SESSION cfset temp=ArrayPrepend(evaluate(session.my#url.grid#),file.serverfile) /cflock and now I want to display back the upload form, but with a list of the files he already uploaded: first I'm moving the session array into a local variable: cfif isDefined(session.my#url.grid#) cflock timeout=10 throwontimeout=Yes type=READONLY scope=SESSION cfset a=evaluate(session.my#url.grid#) /cflock then I'm looping without worrying for locking: Files that were uploaded to #url.grid#: cfloop index=i from=1 to=#arraylen(a)# #a[i]# /cfloop the a array keeps being EMPTY all the time. I'm checking that with this: cfif NOT isDefined(a) or arraylen(a) eq 0 You haven't uploaded any pictures to #url.grid# yet. /cfif note that I don't want to : a. query the db everytime to get the list of files that was uploaded. b. limit the session timout to 1 minute Thanks, Michael Lugassy IT/WEB Specialist Interactive Music Ltd. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: html as xml for asp :)
Michael Try something like this... % Dim objXMLDOM Set objXMLDOM = Server.CreateObject(Microsoft.XMLDOM) 'load the widget.xml document objXMLDOM.load(Server.MapPath(widget.xml)) for each objChild in objXMLDOM.documentElement.childNodes Response.write objChild.NodeName - response.write objChild.Text BR next % -Original Message- From: Paul Johnston [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 4:47 AM To: CF-Talk Subject: Re: html as xml for asp :) If you're using ASP, why not use the MSXML object directly? Have a look at CF_SOXML and reverse engineer (it's really not that hard!). I hope you are successful. Paul -Original Message- From: Michael Lugassy [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Date: 03 June 2001 14:10 Subject: OT: html as xml for asp :) I'm trying to locate a code or object that will easily convert/create xml document from asp structre or variable. something easy like the CF_SOXML tag, just for ASP. Thanks, Michael. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: New CF site
Works better if you try: www.coldfusionmonthly.com (I.E. the URL below is missing a letter) At 10:26 AM 06/04/2001 -0400, you wrote: I just came across a new cf site called, www.coldfuionmonthly.com. I tlooks like it may be pretty useful. Anyway, I just thought that some people may want to check it out. -- Clint Tredway www.factorxsoftware.com -- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: New CF site
I apologize... I mispelled the url... this is the correct one.. www.coldfusionmonthly.com -- Original Message -- From: Jeffry Houser [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 04 Jun 2001 11:00:28 -0700 Works better if you try: www.coldfusionmonthly.com (I.E. the URL below is missing a letter) At 10:26 AM 06/04/2001 -0400, you wrote: I just came across a new cf site called, www.coldfuionmonthly.com. I tlooks like it may be pretty useful. Anyway, I just thought that some people may want to check it out. -- Clint Tredway www.factorxsoftware.com -- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: New CF site
that's ok. i think most of us figured that one out on our own. :) -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 8:06 AM To: CF-Talk Subject: Re: New CF site I apologize... I mispelled the url... this is the correct one.. www.coldfusionmonthly.com -- Original Message -- From: Jeffry Houser [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 04 Jun 2001 11:00:28 -0700 Works better if you try: www.coldfusionmonthly.com (I.E. the URL below is missing a letter) At 10:26 AM 06/04/2001 -0400, you wrote: I just came across a new cf site called, www.coldfuionmonthly.com. I tlooks like it may be pretty useful. Anyway, I just thought that some people may want to check it out. -- Clint Tredway www.factorxsoftware.com -- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Stored Procedure Q: Set Variable from dynamically executed query
This is a somewhat advanced Stored procedure question. I would like to get a record count by dyamically executing a query, as below: EXEC('SELECT count(*) AS total_count' + @from_clause + @where_clause) and I would like to set the results of that count into a local variable in the procedure, called @total_count. Does anyone know of a way to do this? I am running MS SQL 7. Thanks! Avi -- Avi Flax Developer, Afternic.com [EMAIL PROTECTED] 212-798-5484 Art is the lie that makes us realize truth. - Pablo Picasso ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: New CF site
Is this a magazine or strictly an online information site? Rich -Original Message- From: Dylan Bromby [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 11:13 AM To: CF-Talk Subject: RE: New CF site that's ok. i think most of us figured that one out on our own. :) -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 8:06 AM To: CF-Talk Subject: Re: New CF site I apologize... I mispelled the url... this is the correct one.. www.coldfusionmonthly.com -- Original Message -- From: Jeffry Houser [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 04 Jun 2001 11:00:28 -0700 Works better if you try: www.coldfusionmonthly.com (I.E. the URL below is missing a letter) At 10:26 AM 06/04/2001 -0400, you wrote: I just came across a new cf site called, www.coldfuionmonthly.com. I tlooks like it may be pretty useful. Anyway, I just thought that some people may want to check it out. -- Clint Tredway www.factorxsoftware.com -- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Client variable storage and Long Text Buffer Size....
We have been having some sporadic oddities with client variables. Some times they seem to be missing or not found. I was wondering if anyone has modified the Long Text Buffer Size setting in the ODBC settings for your client variable database. I have noticed some of the database fields seems to be unusually large. Thanks Rich ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: [RE: IIS or Apache? (WAS RE: can anyone help?)]
I do not know about IIS. With apache when you install as a service you can specify which config file to use (we also copy the apache exe to a new name so that we can tell the services apart in Perfmon). We install apache as a service twice with the config files listening on different ip/ports. If you have a load balancer I recommend the same IP for both services but different ports, if no load balancer then use different IP's. I like to run different services because of the threading issues. I do not know how virtual servers within IIS work, but with this apache configuration, I pretty much guarantee that one apache service bottlenecking (i.e. more CF requests than it can handle) does not prevent the other for servicing it's requests. This does break down eventually as the TCP stack is still a bottleneck in the end. It is correct (as mentioned below) that all instances of the apache service will use the same CF Service, so there is no value is having multiple instances and running CF from all of them. We do it specifically to allow static files to be served regardless of how jammed the CFserver is. On performance, We have found that we can generate enough static traffic on a dual PIII box running apache to saturate our 100MB LAN (service 14K files). Serving 1K files we are able to serve about 800 connections/sec. I do not believe that for most people the performance of the web server software itself is really an issue. The performance of Cold Fusion itself, the SQL code, etc are the bigger issues. As soon as you add any back end processing things really slow down. Justin -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 12:14 AM To: CF-Talk Subject: RE: [RE: IIS or Apache? (WAS RE: can anyone help?)] -- Spamex - Because sending you email is a privilege not a right. -- Replies will be sent to [EMAIL PROTECTED] -- Additional Info: http://www.spamex.com/i/?v=43 1. Run 2 instances of apache on each web server. ... How did you configure this? Did the different instances have different ports? ALSO how did you get CF to run with all the instances? Did anyone ever answer this? I'm curious myself.. specifically on IIS. I don't think anyone answered the question with regard to IIS - it was an Apache question. You can't run multiple instances on IIS on a single server. However, you can run multiple virtual servers within IIS, and each can have its own ISAPI configuration. You can get the same effect doing this as the original writer mentioned using Apache. With either IIS or Apache - or any other web server - all instances or virtual servers can use the same CF service, as long as they're configured to do so. 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 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: cfhttp/cffile locking?
Kola Oyedeji [EMAIL PROTECTED] wrote in message Massimo , how would i use this cgi variable to check for the length of a file bieng uploaded? This is a pretty basic example without any complex error handling, but it should put you on the right track: cfif isDefined(form.photo) cfset tmtFileSize=5 cfif Val(cgi.content_length) GT tmtFileSize cfscript WriteOutPut(The selected file's size is greater than the #tmtFileSize# bytes maximun size allowed, please select another one and try again.); /cfscript cfabort /cfif cffile action=upload filefield=photo destination=#ExpandPath(../myfolder)# nameconflict=makeunique accept=image/* /cfif The benefit of using cgi.content_length is that you perform the check before the file is actually uploaded. Right now I am putting together a fairly complex routine for file uploading to turn it into an Ultradev extension, maybe I will considered making a custom tag out of it as well. The beta version of the UD's extension is available from: http://www.massimocorner.com/beta/cf.htm If you want a fully commented version of my CFML code contact me off-list, it's a little too much verbose to post it here. On my website there is also a Dreamwever/Ultradev behavior callecd Check Image Upload. It's a client-side JavaScript solution that check for file size and dimensions (in pixels) of an image upload. Unfortunately, it works only on PC based browser and fail silentely on the Mac platform. Of course, being client-side only, it's not a bullet-proof solution, but it may be quite handy in most scenario. Personally, I prefer to use both client and server side validation and get the best of both worlds Again, if you need anything more, post here or contact me directely. Massimo Foti [EMAIL PROTECTED] My own Corner of the web http://www.massimocorner.com Dreamweaver, Ultradev and Fireworks goodies It should be this hole in the ozone layer But I am not the coder I use to be... ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Removing items from the shopping basket?
Michel, Let me make ssure I understand what you're trying to do. You're using a query to store your shopping cart data, and you need to delete a row from the shopping cart. If such is the case then what you need to do is create a new query and include all rows from your old query except for the rows you want to delete. As in: !--- this is the action page. The user has already selected which items to delete from a form on the previous page --- !--- First, check to make sure that there is a delete items list --- CFIF isDefined(attributes.DeleteItem) !--- set up the new shopping cart --- CFSET NewCart = querynew(SKU,styleNo,Description,QTY,Price,Cost,size,saleDate) !--- Loop over the old cart --- CFLOOP QUERY=Request.YourCart !--- is the item is not in the deleted items list? If so, then include it with new cart --- CFIF NOT ListFindNoCase(attributes.DeleteItem,sku) CFSCRIPT queryAddRow(NewCart); querySetCell(NewCart,SKU,Request.YourCart.SKU); querySetCell(NewCart,StyleNo,Request.YourCart.styleNo); querySetCell(NewCart,Description,Request.YourCart.Description); querySetCell(NewCart,Price,Request.YourCart.Price); querySetCell(NewCart,Qty,Request.YourCart.Qty); querySetCell(NewCart,Cost,Request.YourCart.Cost); querySetCell(NewCart,Size,Request.YourCart.Size); querySetCell(NewCart,SaleDate,Request.YourCart.SaleDate); /CFSCRIPT /CFIF /CFLOOP !--- Now set the old shopping cart's value to the new one. Remember to use cflock if you have session or application variables. --- CFLOCK TIMEOUT=30 THROWONTIMEOUT=Yes TYPE=EXCLUSIVE CFSET session.YourCart = NewCart /CFLOCK CFSET request.YourCart = NewCart /CFIF hth, larry -- Larry C. Lyons ColdFusion/Web Developer EBStor.com 8870 Rixlew Lane, Suite 201 Manassas, Virginia 20109-3795 tel: (703) 393-7930 x253 fax: (703) 393-2659 http://www.ebstor.com http://www.pacel.com email: [EMAIL PROTECTED] Chaos, panic, and disorder - my work here is done. -- Michel Gagnon wrote: Hi! I've got a shopping basket going: cfset tempValue = queryAddRow(session.basket) cfset tempValue = querySetCell(session.basket, ID, form.ID) cfset tempValue = querySetCell(session.basket, Quantity, form.quantity) But I can't find the instructions on how to delete items from the basket. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Oracle/CF 5 support on Linux (which CF Version?)
Which version of Cold Fusion 5 supports Oracle database connectivity? I am a little confused since our 4.5 professional version worked just fine and 5.0 professional doesn't. Recently we installed the trial version of 5 and it works just fine (looks like Enterprise - although I didn't think the Linux Enterprise version would be available 'til August). Last Thursday we received subscriber information on upgrading our 4.5 Professional to 5.0 Professional. As soon as I install the upgrade it kills about half of the ODBC drivers (including Oracle). When running CF scripts the server responds, Unsupported ODBC data source TDWEB for ColdFusion Professional Edition. Why remove Oracle support in Professional version of 5 when 4.5 supported it just fine!!?? The feature comparison matrix on the Macromedia/Allaire sites only says the native drivers are not supported in professional version. Are we going to be forced to upgrade to Enterprise edition??? Any ideas??? Rich Boekweg TheraDoc http://www.theradoc.com ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFFTP Exist Problem
I figured out the solution to my problem myself. CF 4.0 accepts either back ('\') or forward ('/') slashes in the directory name of the CFFTP tag, while CF 4.5 only works for forward slashes. -Jan Perlmutter I have code to check for the existence of a file which work fine in CF 4.0 but only always returns a 'NO' in CF 4.5. Has anyone else encountered this problem and/or could offer some advise? CFSET CFFTP.ReturnValue = NO CFSET sDirQTROper = #sDir#'QtrOper\MPC\'#client.PlanID#'.pdf' CFFTP CONNECTION=FTP ACTION=EXISTS FAILIFEXISTS=No ITEM=#sDirQTROper# STOPONERROR=No CFIF CFFTP.ReturnValue EQ YES . Thanks Jan ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
duplicate logins
Hello All! I'm running into a problem with session/cookie management, and am hoping you folks would be able to point me in the right direction. It's like this: we ask user's to sign in with basic information to gain access to a certain part of the website. After they fill out the form, I run a script which writes their information to a database and sets a session variable to represent that they have already logged in (so they don't have to log back in if they surf to other parts of the site and then come back). This works fine for probably 85% of the users, but it seems that for some users that session variable isn't getting set (I haven't been able to verify this; I can't replicate the problem but I've received reports about it). It might be an issue of the user turning of cookies -- which I am attempting to catch and deal with in the Application.cfm file. If the user is not accepting cookies, I'm trying to add the CFID and CFTOKEN to the URL so I can still keep track of their session info. Here's the code I am working with -- do you see anything amiss? TIA! Cheers, David ---Application.cfm cfapplication name=cgg clientmanagement=Yes sessionmanagement=Yes setclientcookies=Yes sessiontimeout=#CreateTimeSpan(1,0,0,0)# applicationtimeout=#createTimeSpan(1,0,0,0)# clientstorage=Cookie setdomaincookies=Yes CFIF NOT ISDEFINED(session.rollCount) CFSET SESSION.ROLLCOUNT = 1 CFCOOKIE NAME=isOn VALUE=testing CFSET APPLICATION.ADDTOKEN = cfid=#client.cfid#cftoken=#client.cftoken# CFELSE CFSET APPLICATION.ADDTOKEN = IIF(NOT ISDEFINED(cookie.isOn), DE(cfid=#client.cfid#cftoken=#client.cftoken#), DE()) /CFIF --- ---form processing page- !--- Insert Query Here --- cfquery name=Update_login datasource=dsn maxrows=1 INSERT INTO tablename(name,city,state,zip,country,email,num_people,login_date,login_time ,http_user_agent) VALUES('#name#','#city#','#state#','#zipcode#','#country#','#email#','#num_p eople#','#DateFormat(Now(),MM/DD/)#','#TimeFormat(Now(), hh:mm:ss tt)#','cfoutput#CGI.HTTP_USER_AGENT#/cfoutput')/cfquery cfoutput cfif (ParameterExists(save_info)) AND (#save_info# IS Yes) cfcookie name=name value=#name# expires=NEVER cfcookie name=city value=#city# expires=NEVER cfcookie name=state value=#state# expires=NEVER cfcookie name=zipcode value=#zipcode# expires=NEVER cfcookie name=country value=#country# expires=NEVER cfcookie name=email value=#email# expires=NEVER cfelse cfcookie name=name value=#name# expires=NOW cfcookie name=city value=#city# expires=NOW cfcookie name=state value=#state# expires=NOW cfcookie name=zipcode value=#zipcode# expires=NOW cfcookie name=country value=#country# expires=NOW cfcookie name=email value=#email# expires=NOW /cfif /cfoutput CFSET SESSION.LOGGED_IN = yes script self.location='newlocation.cfm'; /script --- -newlocation.cfm--- CFIF SESSION.CGG_RA_LIVE_LOGGED_IN IS NOT yes cflocation url=login.cfm addtoken=Yes /CFIF --- HTML content here --- -- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: New CF site
Strictly ONLINE so you can search it but you CAN Print it. Nathan Stanford Senior Programmer/Analyst [EMAIL PROTECTED] -Original Message- From: Alii Design [SMTP:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 10:24 AM To: CF-Talk Subject: RE: New CF site Is this a magazine or strictly an online information site? Rich -Original Message- From: Dylan Bromby [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 11:13 AM To: CF-Talk Subject: RE: New CF site that's ok. i think most of us figured that one out on our own. :) -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 8:06 AM To: CF-Talk Subject: Re: New CF site I apologize... I mispelled the url... this is the correct one.. www.coldfusionmonthly.com -- Original Message -- From: Jeffry Houser [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 04 Jun 2001 11:00:28 -0700 Works better if you try: www.coldfusionmonthly.com (I.E. the URL below is missing a letter) At 10:26 AM 06/04/2001 -0400, you wrote: I just came across a new cf site called, www.coldfuionmonthly.com. I tlooks like it may be pretty useful. Anyway, I just thought that some people may want to check it out. -- Clint Tredway www.factorxsoftware.com -- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: cfhttp/cffile locking?
Massimo thanks a lot, i'll check out you're site for the javascript ... KOla -Original Message- From: Massimo Foti [mailto:[EMAIL PROTECTED]] Sent: 04 June 2001 16:35 To: CF-Talk Subject: Re: cfhttp/cffile locking? Kola Oyedeji [EMAIL PROTECTED] wrote in message Massimo , how would i use this cgi variable to check for the length of a file bieng uploaded? This is a pretty basic example without any complex error handling, but it should put you on the right track: cfif isDefined(form.photo) cfset tmtFileSize=5 cfif Val(cgi.content_length) GT tmtFileSize cfscript WriteOutPut(The selected file's size is greater than the #tmtFileSize# bytes maximun size allowed, please select another one and try again.); /cfscript cfabort /cfif cffile action=upload filefield=photo destination=#ExpandPath(../myfolder)# nameconflict=makeunique accept=image/* /cfif The benefit of using cgi.content_length is that you perform the check before the file is actually uploaded. Right now I am putting together a fairly complex routine for file uploading to turn it into an Ultradev extension, maybe I will considered making a custom tag out of it as well. The beta version of the UD's extension is available from: http://www.massimocorner.com/beta/cf.htm If you want a fully commented version of my CFML code contact me off-list, it's a little too much verbose to post it here. On my website there is also a Dreamwever/Ultradev behavior callecd Check Image Upload. It's a client-side JavaScript solution that check for file size and dimensions (in pixels) of an image upload. Unfortunately, it works only on PC based browser and fail silentely on the Mac platform. Of course, being client-side only, it's not a bullet-proof solution, but it may be quite handy in most scenario. Personally, I prefer to use both client and server side validation and get the best of both worlds Again, if you need anything more, post here or contact me directely. Massimo Foti [EMAIL PROTECTED] My own Corner of the web http://www.massimocorner.com Dreamweaver, Ultradev and Fireworks goodies It should be this hole in the ozone layer But I am not the coder I use to be... ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: New CF site
Hal: If you liked Clean Slate you'll love Memento best, paul At 11:09 AM 6/4/01 -0500, you wrote: Strictly ONLINE so you can search it but you CAN Print it. Nathan Stanford Senior Programmer/Analyst [EMAIL PROTECTED] -Original Message- From: Alii Design [SMTP:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 10:24 AM To: CF-Talk Subject: RE: New CF site Is this a magazine or strictly an online information site? Rich -Original Message- From: Dylan Bromby [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 11:13 AM To: CF-Talk Subject: RE: New CF site that's ok. i think most of us figured that one out on our own. :) -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 8:06 AM To: CF-Talk Subject: Re: New CF site I apologize... I mispelled the url... this is the correct one.. www.coldfusionmonthly.com -- Original Message -- From: Jeffry Houser [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 04 Jun 2001 11:00:28 -0700 Works better if you try: www.coldfusionmonthly.com (I.E. the URL below is missing a letter) At 10:26 AM 06/04/2001 -0400, you wrote: I just came across a new cf site called, www.coldfuionmonthly.com. I tlooks like it may be pretty useful. Anyway, I just thought that some people may want to check it out. -- Clint Tredway www.factorxsoftware.com -- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: duplicate logins
sounds appropriate, but if you want to pass the url token you must add it to every address in the site (anchor tags, form actions, javascript functions). It is automatically added to all cfinclude's unless you specifically tell it not to. Also, you don't need to recreate the urltoken, CF creates one automatically: replace this: CFIF NOT ISDEFINED(session.rollCount) CFSET SESSION.ROLLCOUNT = 1 CFCOOKIE NAME=isOn VALUE=testing CFSET APPLICATION.ADDTOKEN = cfid=#client.cfid#cftoken=#client.cftoken# CFELSE CFSET APPLICATION.ADDTOKEN = IIF(NOT ISDEFINED(cookie.isOn), DE(cfid=#client.cfid#cftoken=#client.cftoken#), DE()) /CFIF with this: cfparam name=session.rollCount default=1 and use #urltoken# wherever you need to. Bryan Love ACP Internet Application Developer [EMAIL PROTECTED] -Original Message- From: David Grabbe [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 9:19 AM To: CF-Talk Subject: duplicate logins Hello All! I'm running into a problem with session/cookie management, and am hoping you folks would be able to point me in the right direction. It's like this: we ask user's to sign in with basic information to gain access to a certain part of the website. After they fill out the form, I run a script which writes their information to a database and sets a session variable to represent that they have already logged in (so they don't have to log back in if they surf to other parts of the site and then come back). This works fine for probably 85% of the users, but it seems that for some users that session variable isn't getting set (I haven't been able to verify this; I can't replicate the problem but I've received reports about it). It might be an issue of the user turning of cookies -- which I am attempting to catch and deal with in the Application.cfm file. If the user is not accepting cookies, I'm trying to add the CFID and CFTOKEN to the URL so I can still keep track of their session info. Here's the code I am working with -- do you see anything amiss? TIA! Cheers, David ---Application.cfm cfapplication name=cgg clientmanagement=Yes sessionmanagement=Yes setclientcookies=Yes sessiontimeout=#CreateTimeSpan(1,0,0,0)# applicationtimeout=#createTimeSpan(1,0,0,0)# clientstorage=Cookie setdomaincookies=Yes CFIF NOT ISDEFINED(session.rollCount) CFSET SESSION.ROLLCOUNT = 1 CFCOOKIE NAME=isOn VALUE=testing CFSET APPLICATION.ADDTOKEN = cfid=#client.cfid#cftoken=#client.cftoken# CFELSE CFSET APPLICATION.ADDTOKEN = IIF(NOT ISDEFINED(cookie.isOn), DE(cfid=#client.cfid#cftoken=#client.cftoken#), DE()) /CFIF --- ---form processing page- !--- Insert Query Here --- cfquery name=Update_login datasource=dsn maxrows=1 INSERT INTO tablename(name,city,state,zip,country,email,num_people,login_date,login_time ,http_user_agent) VALUES('#name#','#city#','#state#','#zipcode#','#country#','#email#','#num_p eople#','#DateFormat(Now(),MM/DD/)#','#TimeFormat(Now(), hh:mm:ss tt)#','cfoutput#CGI.HTTP_USER_AGENT#/cfoutput')/cfquery cfoutput cfif (ParameterExists(save_info)) AND (#save_info# IS Yes) cfcookie name=name value=#name# expires=NEVER cfcookie name=city value=#city# expires=NEVER cfcookie name=state value=#state# expires=NEVER cfcookie name=zipcode value=#zipcode# expires=NEVER cfcookie name=country value=#country# expires=NEVER cfcookie name=email value=#email# expires=NEVER cfelse cfcookie name=name value=#name# expires=NOW cfcookie name=city value=#city# expires=NOW cfcookie name=state value=#state# expires=NOW cfcookie name=zipcode value=#zipcode# expires=NOW cfcookie name=country value=#country# expires=NOW cfcookie name=email value=#email# expires=NOW /cfif /cfoutput CFSET SESSION.LOGGED_IN = yes script self.location='newlocation.cfm'; /script --- -newlocation.cfm--- CFIF SESSION.CGG_RA_LIVE_LOGGED_IN IS NOT yes cflocation url=login.cfm addtoken=Yes /CFIF --- HTML content here --- -- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: [RE: IIS or Apache? (WAS RE: can anyone help?)]
I like to run different services because of the threading issues. I do not know how virtual servers within IIS work, but with this apache configuration, I pretty much guarantee that one apache service bottlenecking (i.e. more CF requests than it can handle) does not prevent the other for servicing it's requests. This does break down eventually as the TCP stack is still a bottleneck in the end. One IIS virtual server waiting on slow CF responses doesn't seem to affect another returning static files. 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 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Installation Problems SQL Server 7.0 DTS Problem
I installed CF 4.5 on my server that has SQL Server 7.0 and the server works just fine except the server DTSs do not work anymore. It gives an error of co create classes not being registered. Does any one have an idea of what I can do to fix this problem? Reinstall either MDAC 2.6 or MDAC 2.5 SP 2. Both are available at http://www.microsoft.com/data/. 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 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Can we limit the text in textarea
Is there a way to limit the number of characters someone can type in in a textarea input box? Thanks AB ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CF_MAGIC tag!!!!
Hi All, I faced a very strange coding experience. I have a tag with a single line comment in it. There is absolutely no code inside it. So essentially it is an empty tag. I call this the magic tag. On my current project, I have a custom tag that builds an HTML table dynamically based on a query. And this tag has a lot of other business logic code that is being called. It used to take 20 seconds (yes! 20 seconds) to build the table. I call this the snail tag. I wrapped all the code in the snail tag using the magic tag. So the snail tag looks like this cf_magictag all the business logic and the loop around the query to build the dynamic HTML table /cf_magictag The time taken reduced to less than 2 seconds (yes! less than 2 seconds). Now you know why I called is the magic tag!!! How does this happen? Does anyone have an explanation? Thanks Kedar Desai ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Can we limit the text in textarea
Is there a way to limit the number of characters someone can put in a textarea? Thanks AB ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can we limit the text in textarea
This can be done with JavaScript. There's a custom tag in the gallery to do it. Is there a way to limit the number of characters someone can type in in a textarea input box? Thanks AB ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can we limit the text in textarea
Well there isn't a maxlength BUT after they hit submit, on the action page, before it processes anything else, you can have CF COUNT the characters in that string and if they exceed a certain number you can give them a message telling them so. There are also javascripts that will count characters on the form so when a person types in their text they click the (count characters) button to see if it's too long. I think there are even some written that will not let them hit submit until they fix the field. Kelly -Original Message- From: bajaria aslam [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 1:26 PM To: CF-Talk Subject: Can we limit the text in textarea Is there a way to limit the number of characters someone can type in in a textarea input box? Thanks AB ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can we limit the text in textarea
Not with straight HTML, but you can do it with JavaScript - something like onKeyPress=if(document.FORMNAME.TEXTAREANAME.value.length 500) { alert('Only 500 characters allowed') } You can also do it, obviously, when the form is submitted: cfif Len(form.TEXTAREANAME) GT 500 cfabort showerror=Only 500 characters allowed /CFIF Matt -Original Message- From: bajaria aslam [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 1:26 PM To: CF-Talk Subject: Can we limit the text in textarea Is there a way to limit the number of characters someone can type in in a textarea input box? Thanks AB ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can we limit the text in textarea
There are two ways that I am aware of. One make Cf show a Please limit your input to 125 letters message with server side validation. The other is to use java script.(client side validation) http://javascript.internet.com/forms/limit-textarea.html Mark W. Breneman -Cold Fusion Developer -Network Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 -Original Message- From: bajaria aslam [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 12:26 PM To: CF-Talk Subject: Can we limit the text in textarea Is there a way to limit the number of characters someone can type in in a textarea input box? Thanks AB ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: cfhttp/cffile locking?
If you have Draemweaver or Ultradev the url for the extension is: http://www.massimocorner.com/dw/behaviors/check_img_upload.mxp If not, write me off list and I will send you a JavaScript/CFML sample file Massimo Kola Oyedeji [EMAIL PROTECTED] wrote in message Massimo thanks a lot, i'll check out you're site for the javascript ... /index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can we limit the text in textarea
You can do it in Javascript function lencheck(obj_value, len){ // Returns true if value is less than or equal to length, // otherwise returns false. if (obj_value.length = len){ return true; } else { over = obj_value.length - len; alert(This field can only contain +len+ characters. You have +over+ extra characters.); return false; } -Original Message- From: bajaria aslam [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 10:26 AM To: CF-Talk Subject: Can we limit the text in textarea Is there a way to limit the number of characters someone can type in in a textarea input box? Thanks AB ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF_MAGIC tag!!!!
My guess... difference in how it's called an processed. But I'll wait for other guru's to provide the answer. Lee Fuller Chief Technical Officer PrimeDNA Corporation / AAA Web Hosting Corporation We ARE the net. http://www.aaawebhosting.com -Original Message- From: Planet CF [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 10:33 AM To: CF-Talk Subject: CF_MAGIC tag Hi All, I faced a very strange coding experience. I have a tag with a single line comment in it. There is absolutely no code inside it. So essentially it is an empty tag. I call this the magic tag. On my current project, I have a custom tag that builds an HTML table dynamically based on a query. And this tag has a lot of other business logic code that is being called. It used to take 20 seconds (yes! 20 seconds) to build the table. I call this the snail tag. I wrapped all the code in the snail tag using the magic tag. So the snail tag looks like this cf_magictag all the business logic and the loop around the query to build the dynamic HTML table /cf_magictag The time taken reduced to less than 2 seconds (yes! less than 2 seconds). Now you know why I called is the magic tag!!! How does this happen? Does anyone have an explanation? Thanks Kedar Desai ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can we limit the text in textarea
Try something like this. This (should) restrict the textarea to 800 characters, and display how many characters are remaining, in a seperate textbox: SCRIPT LANGUAGE=JavaScript !-- Begin function textCounter(field, countfield, maxlimit) { if (field.value.length maxlimit) // if too long...trim it! field.value = field.value.substring(0, maxlimit); // otherwise, update 'characters left' counter else countfield.value = maxlimit - field.value.length; } // End -- /script cfform name=REPLIER method=post action=post.cfm textarea name=ReplyMessage wrap=physical cols=27 rows=9 onKeyDown=textCounter(this.form.ReplyMessage,this.form.remLen,800); onKeyUp=textCounter(this.form.ReplyMessage,this.form.remLen,800);/textar ea br input readonly type=text name=remLen size=3 maxlength=3 value=800 characters left /cfform - Original Message - From: bajaria aslam [EMAIL PROTECTED] Newsgroups: cf-talk Sent: Monday, June 04, 2001 6:41 PM Subject: Can we limit the text in textarea Is there a way to limit the number of characters someone can put in a textarea? Thanks AB ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF_MAGIC tag!!!!
Could you post some more code? I'm not sure I understand exactly what you're getting at, but I'm interested in the test results. :) Benjamin S. Rogers Web Developer, c4.net Voice: (508) 240-0051 Fax: (508) 240-0057 -Original Message- From: Planet CF [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 1:33 PM To: CF-Talk Subject: CF_MAGIC tag Hi All, I faced a very strange coding experience. I have a tag with a single line comment in it. There is absolutely no code inside it. So essentially it is an empty tag. I call this the magic tag. On my current project, I have a custom tag that builds an HTML table dynamically based on a query. And this tag has a lot of other business logic code that is being called. It used to take 20 seconds (yes! 20 seconds) to build the table. I call this the snail tag. I wrapped all the code in the snail tag using the magic tag. So the snail tag looks like this cf_magictag all the business logic and the loop around the query to build the dynamic HTML table /cf_magictag The time taken reduced to less than 2 seconds (yes! less than 2 seconds). Now you know why I called is the magic tag!!! How does this happen? Does anyone have an explanation? Thanks Kedar Desai ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: SQL Server 2000 DTS Import help
I guess my mail server is faster to collect the mails from the list :-) Massimo Brian Hogue [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Massimo - You must be a mind reader. How can your reply's timestamp be 14 minutes before my question? :-) ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can we limit the text in textarea
Yes, Javascript. This is what I used. cfif #Len(form.descrip)# GT 750 SCRIPT LANGUAGE=JavaScript TYPE=text/javascript !-- alert ('Your Description exceeds the space alotted. If more detail is required submit description as Word document file.') location.href='javascript:window.history.back(1)' //-- /SCRIPT cfabort /cfif bajaria aslam wrote: Is there a way to limit the number of characters someone can type in in a textarea input box? Thanks AB ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF_MAGIC tag!!!!
Did you get some performance numbers using the gettickcount function? At 10:32 AM 06/04/2001 -0700, you wrote: Hi All, I faced a very strange coding experience. I have a tag with a single line comment in it. There is absolutely no code inside it. So essentially it is an empty tag. I call this the magic tag. On my current project, I have a custom tag that builds an HTML table dynamically based on a query. And this tag has a lot of other business logic code that is being called. It used to take 20 seconds (yes! 20 seconds) to build the table. I call this the snail tag. I wrapped all the code in the snail tag using the magic tag. So the snail tag looks like this cf_magictag all the business logic and the loop around the query to build the dynamic HTML table /cf_magictag The time taken reduced to less than 2 seconds (yes! less than 2 seconds). Now you know why I called is the magic tag!!! How does this happen? Does anyone have an explanation? Thanks Kedar Desai ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: [RE: IIS or Apache? (WAS RE: can anyone help?)]
Does IIS provide setting for how many connections it will allow? For example, in Apache, if you set one conenction and that one connection is being held by a slow CF query, then everything else backs up. Does IIS behave the same way, or does it establish separate connection queues for each virtual server? We were hitting situations where we would get hit with a burst of traffic, say 80 CF requests per second (about 7Mb of load), for a brief period. Each CF request has a corresponding 9 or so graphic requests. We are tuned for CF to only allow 10 concurrent connection (per web server to control database load), so we very quickly hit a backlog of requests in the web server waiting for the CF requests to finish. By serving the images out of a separate instance of Apache, we were able to make sure that once a CF page was returned, that the corresponding pieces were returned quickly and not stuck in the queue. Sounds like this might work in IIS by establishing a virtual server for static elements if the queueing structure is in fact separate. Justin -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 1:17 PM To: CF-Talk Subject: RE: [RE: IIS or Apache? (WAS RE: can anyone help?)] I like to run different services because of the threading issues. I do not know how virtual servers within IIS work, but with this apache configuration, I pretty much guarantee that one apache service bottlenecking (i.e. more CF requests than it can handle) does not prevent the other for servicing it's requests. This does break down eventually as the TCP stack is still a bottleneck in the end. One IIS virtual server waiting on slow CF responses doesn't seem to affect another returning static files. 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 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Limit to number of answer sets from stored procedure?
Is there a limit to the number of answer sets CF can handle from a stored procedure? We are using DB2 on the mainframe . . . Thanks! George [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Random Quotes SQL
Hello, i've been tasked with creating a random quote app for a web site. The trouble i'm having is figuring out how to store the data in my table and then be able to retrieve data once the client has deleted a quote. For example, i can use a PK to define each quote and then just pull a random number within the range of quotes available (eg. 45 quotes, so a random number between 1 and 45), but the client wants to be able to modify or delete quotes so once a deletion occurs, it's possible that the random number chosen might just not exist. What is the SOP for something like this? If the record doesn't exist, select a different random number (seems like a lot of overhead) or is there a way that i should be keying the data to make the possibility of pulling an id that doesn't exist. Oh, i'm working with Access too. Thanks for any help. d ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Random Quotes SQL
Why not use the query.recordcount to define your random number range and display using startrow=#randomRecord# and maxrows=1 attributes? This way you could cache the query or assign it to the application or server scope and work with it out of memory... Just a thought. Jeff Garza Lead Developer/Webmaster Spectrum Astro, Inc. 480.892.8200 [EMAIL PROTECTED] http://www.spectrumastro.com -Original Message- From: David Baskin [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 1:08 PM To: CF-Talk Subject: Random Quotes SQL Hello, i've been tasked with creating a random quote app for a web site. The trouble i'm having is figuring out how to store the data in my table and then be able to retrieve data once the client has deleted a quote. For example, i can use a PK to define each quote and then just pull a random number within the range of quotes available (eg. 45 quotes, so a random number between 1 and 45), but the client wants to be able to modify or delete quotes so once a deletion occurs, it's possible that the random number chosen might just not exist. What is the SOP for something like this? If the record doesn't exist, select a different random number (seems like a lot of overhead) or is there a way that i should be keying the data to make the possibility of pulling an id that doesn't exist. Oh, i'm working with Access too. Thanks for any help. d ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Refreshing a form thru JavaScript
Hello! When I do a window.location.reload() on a page containing results of a form, Internet Explorer is smart enough to ask if I want to repost the form data. Unfortunately, Netscape just plows ahead without reposting the form data. This, of course, throws massive errors in ColdFusion. Does anyone know a way to get around this without transferring all the form variables to the URL? Thanks Norman ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: Multi-Part Sensing for E-mail Campaign Transmission
Does any one have or know of a CF solution for transmitting e-mail campaigns using multi-part sensing? Thank you. TMWussow:-) ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT: Multi-Part Sensing for E-mail Campaign Transmission
This code will send a multipart message which will display as html where supported and text where it is not supported. It works in Eudora, AOL, Netscape mail, Outlook. cfparam name=name default= cfparam name=htmlbody default= cfparam name=textbody default= cfparam name=recipient default= cfparam name=subject default= cfparam name=from default= !--- set the html message--- cfset htmlbody=Put html message here. Try the cf_bodycontent tag, works well for this purpose !--- now set the text only message --- cfset textbody=test only message cfset crlf = chr(13)chr(10) CFSET MIMEBOUNDARY = MIME-BOUNDARY CFSET contenttype = multipart/alternative;boundary=MIMEBOUNDARY CFSET myHeaders = X-Mailer: My Mailer, MIME-Version: 1.0 CFSET myPlainMsgTop = --#MIMEboundary##crlf#Content-Type: text/plain; charset=us-ascii#crlf#Content-Transfer-Encoding: 7bit#crlf##crlf# CFSET myHTMLMsgTop = --#MIMEboundary##crlf#Content-Type: text/html; charset=us-ascii#crlf#Content-Transfer-Encoding: 7bit#crlf##crlf# !--- Send the messages --- CFMAIL To=#recipient# From=#from# Subject=#subject# !--- Sean: cfmailparam --- cfmailparam name=Content-type value=#contenttype# cfmailparam name=MIME-Version value=1.0 #myPlainMsgTop# !--- begin plain text version --- #textbody# #myHTMLMsgTop# !--- begin html version --- #htmlbody# /cfmail Good Luck! Brook. At 03:32 PM 04/06/01 -0500, you wrote: Does any one have or know of a CF solution for transmitting e-mail campaigns using multi-part sensing? Thank you. TMWussow:-) ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: OT: Multi-Part Sensing for E-mail Campaign Transmission
I will try it - Thanks Brook! T:-) -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 3:52 PM To: CF-Talk Subject: Re: OT: Multi-Part Sensing for E-mail Campaign Transmission This code will send a multipart message which will display as html where supported and text where it is not supported. It works in Eudora, AOL, Netscape mail, Outlook. cfparam name=name default= cfparam name=htmlbody default= cfparam name=textbody default= cfparam name=recipient default= cfparam name=subject default= cfparam name=from default= !--- set the html message--- cfset htmlbody=Put html message here. Try the cf_bodycontent tag, works well for this purpose !--- now set the text only message --- cfset textbody=test only message cfset crlf = chr(13)chr(10) CFSET MIMEBOUNDARY = MIME-BOUNDARY CFSET contenttype = multipart/alternative;boundary=MIMEBOUNDARY CFSET myHeaders = X-Mailer: My Mailer, MIME-Version: 1.0 CFSET myPlainMsgTop = --#MIMEboundary##crlf#Content-Type: text/plain; charset=us-ascii#crlf#Content-Transfer-Encoding: 7bit#crlf##crlf# CFSET myHTMLMsgTop = --#MIMEboundary##crlf#Content-Type: text/html; charset=us-ascii#crlf#Content-Transfer-Encoding: 7bit#crlf##crlf# !--- Send the messages --- CFMAIL To=#recipient# From=#from# Subject=#subject# !--- Sean: cfmailparam --- cfmailparam name=Content-type value=#contenttype# cfmailparam name=MIME-Version value=1.0 #myPlainMsgTop# !--- begin plain text version --- #textbody# #myHTMLMsgTop# !--- begin html version --- #htmlbody# /cfmail Good Luck! Brook. At 03:32 PM 04/06/01 -0500, you wrote: Does any one have or know of a CF solution for transmitting e-mail campaigns using multi-part sensing? Thank you. TMWussow:-) ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Slightly OT: Javascript Error - Confirmation Box
I have the following javascript and form. Can anyone see why I am not getting the confirm box? No error messages, just processes the form without the confirm. Any help would be greatly appreciated. head meta http-equiv=Content-Language content=en-us meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta name=description content= meta name=keywords content= titleAction Page/title !--- check the user wants to delete the PAGE they selected --- script language=JavaScript function checksure() { if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) { return true; } else { return false; } } /script /head body cfoutput cfif URL.a is Delete cfset CheckDelete = return checksure(); cfelse cfset CheckDelete = return checksubmit(); /cfif cfoutput form action=action.cfm method=post name=update onsubmit=#CheckDelete# Form Fields input type=submit value= #URL.a# name=update class=formboxes/td/tr input type=hidden name=action value=#URL.a# input type=hidden name=id value=#URL.ID# input type=hidden name=lev value=#URL.lev# input type=hidden name=WebSiteIDNo value=2 /cfif /form Thank you, Issac Rosa IT - National Sales Marketing OLAP Specialist Team Lead Ofc: 407-658-3111 Cell: 407-342-0644 Fax: 407-971-2374 [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
ColdFusion 5 Availability
There have been some questions on the list about ColdFusion 5 availability. This email is intended to answer some of the frequently asked questions: Which versions of ColdFusion 5 are available? The following editions of ColdFusion 5 have been released to manufacturing and are available for purchase (see below for details): ** ColdFusion Server 5, Enterprise Edition for Windows ** ColdFusion Server 5, Professional Edition for Windows ** ColdFusion Server 5, Professional Edition for Linux ** ColdFusion Server 5, Enterprise Edition for HP-UX Can I buy ColdFusion 5? Yes. All of the above editions can be ordered from Macromedia sales at 1-888-939-2545 or through resellers that offer ColdFusion. The electronic version of ColdFusion Server 5 for Windows is available for purchase through the Macromedia Online Store (http://www.macromedia.com/store). Boxed versions of ColdFusion 5 will be made available from the Online Store when the boxes start shipping (in the next 2 weeks). How can I evaluate ColdFusion 5? You can download a free 30-day evaluation version of ColdFusion 5 for Windows, Linux or HP-UX at http://www.macromedia.com/software/coldfusion/trial/contents.html. You should also check out the many resources, including data sheets and a performance brief, at http://www.macromedia.com/software/coldfusion/resources/evaluation/. Thanks for your support. Phil Costa Sr. Product Marketing Manager Macromedia [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Radiant Communications
I host my 4 CF servers at RADIANT COMMUNICATIONS. Vancouver BC Canada... Man, It is so frustrating when the facility we use for co-locating 4 of our servers all of a sudden becomes unavailable and we can not access any of our sites. Going on 10 minutes now, all four of our servers are down. last time (last month) our connection was down for 70 minutes Another time they decided to update the software on our leased fire wall without notifying us effecting disabling our https and smtp services for close to an hour. What's the point in investing time and money in fail over when your bloody ISP can't keep their redundant service running!!! And to add insult to injury, their stinking site (www.radiant.net) is still running just fine. Maybe they out source...grr Brook Davies MaracasMedia inc. At 05:32 PM 04/06/01 -0400, you wrote: I have the following javascript and form. Can anyone see why I am not getting the confirm box? No error messages, just processes the form without the confirm. Any help would be greatly appreciated. head meta http-equiv=Content-Language content=en-us meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta name=description content= meta name=keywords content= titleAction Page/title !--- check the user wants to delete the PAGE they selected --- script language=JavaScript function checksure() { if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) { return true; } else { return false; } } /script /head body cfoutput cfif URL.a is Delete cfset CheckDelete = return checksure(); cfelse cfset CheckDelete = return checksubmit(); /cfif cfoutput form action=action.cfm method=post name=update onsubmit=#CheckDelete# Form Fields input type=submit value= #URL.a# name=update class=formboxes/td/tr input type=hidden name=action value=#URL.a# input type=hidden name=id value=#URL.ID# input type=hidden name=lev value=#URL.lev# input type=hidden name=WebSiteIDNo value=2 /cfif /form Thank you, Issac Rosa IT - National Sales Marketing OLAP Specialist Team Lead Ofc: 407-658-3111 Cell: 407-342-0644 Fax: 407-971-2374 [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Slightly OT: Javascript Error - Confirmation Box
You have messed up on your brackets. Try this. script language=JavaScript type=text/javascript function checksure() if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) return true; } else { return false; } /script -Original Message- From: Rosa, Issac [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 2:32 PM To: CF-Talk Subject: Slightly OT: Javascript Error - Confirmation Box I have the following javascript and form. Can anyone see why I am not getting the confirm box? No error messages, just processes the form without the confirm. Any help would be greatly appreciated. head meta http-equiv=Content-Language content=en-us meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta name=description content= meta name=keywords content= titleAction Page/title !--- check the user wants to delete the PAGE they selected --- script language=JavaScript function checksure() if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) { return true; } else { return false; } } /script /head body cfoutput cfif URL.a is Delete cfset CheckDelete = return checksure(); cfelse cfset CheckDelete = return checksubmit(); /cfif cfoutput form action=action.cfm method=post name=update onsubmit=#CheckDelete# . Form Fields input type=submit value= #URL.a# name=update class=formboxes/td/tr input type=hidden name=action value=#URL.a# input type=hidden name=id value=#URL.ID# input type=hidden name=lev value=#URL.lev# input type=hidden name=WebSiteIDNo value=2 /cfif /form Thank you, Issac Rosa IT - National Sales Marketing OLAP Specialist Team Lead Ofc: 407-658-3111 Cell: 407-342-0644 Fax: 407-971-2374 [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Slightly OT: Javascript Error - Confirmation Box
This will work function checksure() { return confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!'); } /script with the onsubmit=return checksure(); confirm() returns a boolean true or false already, no need to recreate it. jon - Original Message - From: Rosa, Issac [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 04, 2001 5:32 PM Subject: Slightly OT: Javascript Error - Confirmation Box I have the following javascript and form. Can anyone see why I am not getting the confirm box? No error messages, just processes the form without the confirm. Any help would be greatly appreciated. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Slightly OT: Javascript Error - Confirmation Box
Issac, Not sure if this got wrapped in the email or if it is on two lines in your code, but I tried placing the confirm text all on one line and it worked fine. if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) { versus if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) { Todd -Original Message- From: Rosa, Issac [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 3:32 PM To: CF-Talk Subject: Slightly OT: Javascript Error - Confirmation Box I have the following javascript and form. Can anyone see why I am not getting the confirm box? No error messages, just processes the form without the confirm. Any help would be greatly appreciated. head meta http-equiv=Content-Language content=en-us meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta name=description content= meta name=keywords content= titleAction Page/title !--- check the user wants to delete the PAGE they selected --- script language=JavaScript function checksure() { if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) { return true; } else { return false; } } /script /head body cfoutput cfif URL.a is Delete cfset CheckDelete = return checksure(); cfelse cfset CheckDelete = return checksubmit(); /cfif cfoutput form action=action.cfm method=post name=update onsubmit=#CheckDelete# . Form Fields input type=submit value= #URL.a# name=update class=formboxes/td/tr input type=hidden name=action value=#URL.a# input type=hidden name=id value=#URL.ID# input type=hidden name=lev value=#URL.lev# input type=hidden name=WebSiteIDNo value=2 /cfif /form Thank you, Issac Rosa IT - National Sales Marketing OLAP Specialist Team Lead Ofc: 407-658-3111 Cell: 407-342-0644 Fax: 407-971-2374 [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Radiant Communications
Make that 20 minutes and counting At 02:46 PM 04/06/01 -0700, you wrote: I host my 4 CF servers at RADIANT COMMUNICATIONS. Vancouver BC Canada... Man, It is so frustrating when the facility we use for co-locating 4 of our servers all of a sudden becomes unavailable and we can not access any of our sites. Going on 10 minutes now, all four of our servers are down. last time (last month) our connection was down for 70 minutes Another time they decided to update the software on our leased fire wall without notifying us effecting disabling our https and smtp services for close to an hour. What's the point in investing time and money in fail over when your bloody ISP can't keep their redundant service running!!! And to add insult to injury, their stinking site (www.radiant.net) is still running just fine. Maybe they out source...grr Brook Davies MaracasMedia inc. At 05:32 PM 04/06/01 -0400, you wrote: I have the following javascript and form. Can anyone see why I am not getting the confirm box? No error messages, just processes the form without the confirm. Any help would be greatly appreciated. head meta http-equiv=Content-Language content=en-us meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta name=description content= meta name=keywords content= titleAction Page/title !--- check the user wants to delete the PAGE they selected --- script language=JavaScript function checksure() { if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) { return true; } else { return false; } } /script /head body cfoutput cfif URL.a is Delete cfset CheckDelete = return checksure(); cfelse cfset CheckDelete = return checksubmit(); /cfif cfoutput form action=action.cfm method=post name=update onsubmit=#CheckDelete# Form Fields input type=submit value= #URL.a# name=update class=formboxes/td/tr input type=hidden name=action value=#URL.a# input type=hidden name=id value=#URL.ID# input type=hidden name=lev value=#URL.lev# input type=hidden name=WebSiteIDNo value=2 /cfif /form Thank you, Issac Rosa IT - National Sales Marketing OLAP Specialist Team Lead Ofc: 407-658-3111 Cell: 407-342-0644 Fax: 407-971-2374 [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Radiant Communications
Verio in New Orleans was worse. A little over a week ago, they lost power for ALMOST 4 hours. Thier power failover failed apparently. Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 16:46 To: CF-Talk Subject: Radiant Communications I host my 4 CF servers at RADIANT COMMUNICATIONS. Vancouver BC Canada... Man, It is so frustrating when the facility we use for co-locating 4 of our servers all of a sudden becomes unavailable and we can not access any of our sites. Going on 10 minutes now, all four of our servers are down. last time (last month) our connection was down for 70 minutes Another time they decided to update the software on our leased fire wall without notifying us effecting disabling our https and smtp services for close to an hour. What's the point in investing time and money in fail over when your bloody ISP can't keep their redundant service running!!! And to add insult to injury, their stinking site (www.radiant.net) is still running just fine. Maybe they out source...grr Brook Davies MaracasMedia inc. At 05:32 PM 04/06/01 -0400, you wrote: I have the following javascript and form. Can anyone see why I am not getting the confirm box? No error messages, just processes the form without the confirm. Any help would be greatly appreciated. head meta http-equiv=Content-Language content=en-us meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta name=description content= meta name=keywords content= titleAction Page/title !--- check the user wants to delete the PAGE they selected --- script language=JavaScript function checksure() { if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) { return true; } else { return false; } } /script /head body cfoutput cfif URL.a is Delete cfset CheckDelete = return checksure(); cfelse cfset CheckDelete = return checksubmit(); /cfif cfoutput form action=action.cfm method=post name=update onsubmit=#CheckDelete# Form Fields input type=submit value= #URL.a# name=update class=formboxes/td/tr input type=hidden name=action value=#URL.a# input type=hidden name=id value=#URL.ID# input type=hidden name=lev value=#URL.lev# input type=hidden name=WebSiteIDNo value=2 /cfif /form Thank you, Issac Rosa IT - National Sales Marketing OLAP Specialist Team Lead Ofc: 407-658-3111 Cell: 407-342-0644 Fax: 407-971-2374 [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Radiant Communications
I know it is frustrating... depending on your size and needs, it often is best to lease two high speed lines and build at your own facility.. that is unless you have the mucho dinero to pay the crazy rates the real folks like Exodus want... and not to pick on them, but even local yocals want 2k a month for 2 boxes on a fractional T1... Be sure to get redundant bandwidth as much as you at your own location (if you can afford it)... some companies out there like Teligent had a good opportunity to pitch everyone but just didn't get the marketing... since they sell wireless T1 type circuits it makes a wonderful backup... Colocation can be fine, but there are so many variables, large cost, distance from your office, etc. that in my opinion it just isn't all it has been marketed to be... -paris http://www.pubcrawler.com [finding the future in the past, passing the future in the present] [connecting people, places and things] -Original Message- From: Brook Davies [EMAIL PROTECTED] Date: Mon, 04 Jun 2001 14:46:15 -0700 Subject: Radiant Communications I host my 4 CF servers at RADIANT COMMUNICATIONS. Vancouver BC Canada... Man, It is so frustrating when the facility we use for co-locating 4 of our servers all of a sudden becomes unavailable and we can not access any of our sites. Going on 10 minutes now, all four of our servers are down. last time (last month) our connection was down for 70 minutes Another time they decided to update the software on our leased fire wall without notifying us effecting disabling our https and smtp services for close to an hour. What's the point in investing time and money in fail over when your bloody ISP can't keep their redundant service running!!! And to add insult to injury, their stinking site (www.radiant.net) is still running just fine. Maybe they out source...grr Brook Davies MaracasMedia inc. At 05:32 PM 04/06/01 -0400, you wrote: I have the following javascript and form. Can anyone see why I am not getting the confirm box? No error messages, just processes the form without the confirm. Any help would be greatly appreciated. head meta http-equiv=Content-Language content=en-us meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta name=description content= meta name=keywords content= titleAction Page/title !--- check the user wants to delete the PAGE they selected --- script language=JavaScript function checksure() { if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) { return true; } else { return false; } } /script /head body cfoutput cfif URL.a is Delete cfset CheckDelete = return checksure(); cfelse cfset CheckDelete = return checksubmit(); /cfif cfoutput form action=action.cfm method=post name=update onsubmit=#CheckDelete# Form Fields input type=submit value= #URL.a# name=update class=formboxes/td/tr input type=hidden name=action value=#URL.a# input type=hidden name=id value=#URL.ID# input type=hidden name=lev value=#URL.lev# input type=hidden name=WebSiteIDNo value=2 /cfif /form Thank you, Issac Rosa IT - National Sales Marketing OLAP Specialist Team Lead Ofc: 407-658-3111 Cell: 407-342-0644 Fax: 407-971-2374 [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Radiant Communications
45 minutes and counting.the clients are starting to call. I'm trying to run a god damned Application service provider. Keeping the systems running 100% of the time is hard enough without my Co location facility contributing to the problem. In the ASP market, high availability and reliability are paramount. This kind of outage is absolutely terrible. It destroys my clients confidence in us. Paris, I think your right in saying the co-location may not be all it is made out to be. I'm looking into alternatives now as I pull out my hair. Thanks for letting me vent. 45 minutes and counting?!! I think I'm going to start smoking again Brook Davies logiforms.com Maracasmedia.com At 04:54 PM 04/06/01 -0500, you wrote: Verio in New Orleans was worse. A little over a week ago, they lost power for ALMOST 4 hours. Thier power failover failed apparently. Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 16:46 To: CF-Talk Subject: Radiant Communications I host my 4 CF servers at RADIANT COMMUNICATIONS. Vancouver BC Canada... Man, It is so frustrating when the facility we use for co-locating 4 of our servers all of a sudden becomes unavailable and we can not access any of our sites. Going on 10 minutes now, all four of our servers are down. last time (last month) our connection was down for 70 minutes Another time they decided to update the software on our leased fire wall without notifying us effecting disabling our https and smtp services for close to an hour. What's the point in investing time and money in fail over when your bloody ISP can't keep their redundant service running!!! And to add insult to injury, their stinking site (www.radiant.net) is still running just fine. Maybe they out source...grr Brook Davies MaracasMedia inc. At 05:32 PM 04/06/01 -0400, you wrote: I have the following javascript and form. Can anyone see why I am not getting the confirm box? No error messages, just processes the form without the confirm. Any help would be greatly appreciated. head meta http-equiv=Content-Language content=en-us meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta name=description content= meta name=keywords content= titleAction Page/title !--- check the user wants to delete the PAGE they selected --- script language=JavaScript function checksure() { if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) { return true; } else { return false; } } /script /head body cfoutput cfif URL.a is Delete cfset CheckDelete = return checksure(); cfelse cfset CheckDelete = return checksubmit(); /cfif cfoutput form action=action.cfm method=post name=update onsubmit=#CheckDelete# Form Fields input type=submit value= #URL.a# name=update class=formboxes/td/tr input type=hidden name=action value=#URL.a# input type=hidden name=id value=#URL.ID# input type=hidden name=lev value=#URL.lev# input type=hidden name=WebSiteIDNo value=2 /cfif /form Thank you, Issac Rosa IT - National Sales Marketing OLAP Specialist Team Lead Ofc: 407-658-3111 Cell: 407-342-0644 Fax: 407-971-2374 [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Radiant Communications
Most likely Verio does not have their own location in New Orleans. In most cities, Verio just co-locates with someone else. If the building power goes out, or some #$!%ing contstruction workers spray insulation into the ducts causing the AC to shutdown, or the moron on the rack next to you trips and falls on top of your server, or someone forgot to fill the generators with gasoline...there are so many variables... It's usually not Verio's fault is what I'm trying to say ;-) I dont know anyone at Verio, or care, I do know that they do their best though. We are colocated next to them down here, and they are crazy redundant for no reason. They have 2 redundant Cisco 7500's with redundant backbones for 2 stinking managed Sun RAQ's, with a ton of batteries to backup the generators... jon - Original Message - From: Russel Madere [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 04, 2001 5:54 PM Subject: RE: Radiant Communications Verio in New Orleans was worse. A little over a week ago, they lost power for ALMOST 4 hours. Thier power failover failed apparently. Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 16:46 To: CF-Talk Subject: Radiant Communications I host my 4 CF servers at RADIANT COMMUNICATIONS. Vancouver BC Canada... Man, It is so frustrating when the facility we use for co-locating 4 of our servers all of a sudden becomes unavailable and we can not access any of our sites. Going on 10 minutes now, all four of our servers are down. last time (last month) our connection was down for 70 minutes Another time they decided to update the software on our leased fire wall without notifying us effecting disabling our https and smtp services for close to an hour. What's the point in investing time and money in fail over when your bloody ISP can't keep their redundant service running!!! And to add insult to injury, their stinking site (www.radiant.net) is still running just fine. Maybe they out source...grr ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Radiant Communications
power fail over... sure did fail over... Verio is by far one of the lower quality facilities... Check out INFLOW... they have centers all over the place and run a pretty good shop... And one more thing about them... they have a stocked kitchen and workstations so when you are there you don't have to leave the facility for food and such... good thinking... and it is free (well just hidden in the bundled cost)... -paris [finding the future in the past, passing the future in the present] [connecting people, places and things] -Original Message- From: Russel Madere [EMAIL PROTECTED] Date: Mon, 04 Jun 2001 16:54:14 -0500 Subject: RE: Radiant Communications Verio in New Orleans was worse. A little over a week ago, they lost power for ALMOST 4 hours. Thier power failover failed apparently. Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 16:46 To: CF-Talk Subject: Radiant Communications I host my 4 CF servers at RADIANT COMMUNICATIONS. Vancouver BC Canada... Man, It is so frustrating when the facility we use for co-locating 4 of our servers all of a sudden becomes unavailable and we can not access any of our sites. Going on 10 minutes now, all four of our servers are down. last time (last month) our connection was down for 70 minutes Another time they decided to update the software on our leased fire wall without notifying us effecting disabling our https and smtp services for close to an hour. What's the point in investing time and money in fail over when your bloody ISP can't keep their redundant service running!!! And to add insult to injury, their stinking site (www.radiant.net) is still running just fine. Maybe they out source...grr Brook Davies MaracasMedia inc. At 05:32 PM 04/06/01 -0400, you wrote: I have the following javascript and form. Can anyone see why I am not getting the confirm box? No error messages, just processes the form without the confirm. Any help would be greatly appreciated. head meta http-equiv=Content-Language content=en-us meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta name=description content= meta name=keywords content= titleAction Page/title !--- check the user wants to delete the PAGE they selected --- script language=JavaScript function checksure() { if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) { return true; } else { return false; } } /script /head body cfoutput cfif URL.a is Delete cfset CheckDelete = return checksure(); cfelse cfset CheckDelete = return checksubmit(); /cfif cfoutput form action=action.cfm method=post name=update onsubmit=#CheckDelete# Form Fields input type=submit value= #URL.a# name=update class=formboxes/td/tr input type=hidden name=action value=#URL.a# input type=hidden name=id value=#URL.ID# input type=hidden name=lev value=#URL.lev# input type=hidden name=WebSiteIDNo value=2 /cfif /form Thank you, Issac Rosa IT - National Sales Marketing OLAP Specialist Team Lead Ofc: 407-658-3111 Cell: 407-342-0644 Fax: 407-971-2374 [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Radiant Communications
i've been with various co-lo facilities for 5+ years. i've been at epoch for the past year and it has been infallible. i pay just over $1000/month for a half-cabinet and i can burst up to 10Mbps. mind you i purposefully negotiated my contract on the last day of the month when all the sales people are trying to make their numbers. -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 3:22 PM To: CF-Talk Subject: RE: Radiant Communications 45 minutes and counting.the clients are starting to call. I'm trying to run a god damned Application service provider. Keeping the systems running 100% of the time is hard enough without my Co location facility contributing to the problem. In the ASP market, high availability and reliability are paramount. This kind of outage is absolutely terrible. It destroys my clients confidence in us. Paris, I think your right in saying the co-location may not be all it is made out to be. I'm looking into alternatives now as I pull out my hair. Thanks for letting me vent. 45 minutes and counting?!! I think I'm going to start smoking again Brook Davies logiforms.com Maracasmedia.com At 04:54 PM 04/06/01 -0500, you wrote: Verio in New Orleans was worse. A little over a week ago, they lost power for ALMOST 4 hours. Thier power failover failed apparently. Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 16:46 To: CF-Talk Subject: Radiant Communications I host my 4 CF servers at RADIANT COMMUNICATIONS. Vancouver BC Canada... Man, It is so frustrating when the facility we use for co-locating 4 of our servers all of a sudden becomes unavailable and we can not access any of our sites. Going on 10 minutes now, all four of our servers are down. last time (last month) our connection was down for 70 minutes Another time they decided to update the software on our leased fire wall without notifying us effecting disabling our https and smtp services for close to an hour. What's the point in investing time and money in fail over when your bloody ISP can't keep their redundant service running!!! And to add insult to injury, their stinking site (www.radiant.net) is still running just fine. Maybe they out source...grr Brook Davies MaracasMedia inc. At 05:32 PM 04/06/01 -0400, you wrote: I have the following javascript and form. Can anyone see why I am not getting the confirm box? No error messages, just processes the form without the confirm. Any help would be greatly appreciated. head meta http-equiv=Content-Language content=en-us meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta name=description content= meta name=keywords content= titleAction Page/title !--- check the user wants to delete the PAGE they selected --- script language=JavaScript function checksure() { if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) { return true; } else { return false; } } /script /head body cfoutput cfif URL.a is Delete cfset CheckDelete = return checksure(); cfelse cfset CheckDelete = return checksubmit(); /cfif cfoutput form action=action.cfm method=post name=update onsubmit=#CheckDelete# Form Fields input type=submit value= #URL.a# name=update class=formboxes/td/tr input type=hidden name=action value=#URL.a# input type=hidden name=id value=#URL.ID# input type=hidden name=lev value=#URL.lev# input type=hidden name=WebSiteIDNo value=2 /cfif /form Thank you, Issac Rosa IT - National Sales Marketing OLAP Specialist Team Lead Ofc: 407-658-3111 Cell: 407-342-0644 Fax: 407-971-2374 [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Radiant Communications
Yeah Brook... I only say what I do based on my experience... I have seen folks spend 20-30k a month to those at 2k a month... I am hard pressed to say either works well... If you need hands on your machinery then it is a big expensive flight, hotel etc... plus it takes time... more time than the web allows.. Perhaps a good load balancing appliance that sits outside the datcenter.. or better two of them with geographic distribution and at minimum one of those sites being at your location is a nice hybrid play... Let's all face it... If you don't buy your bandwidth and connection from the people who own the network, there are more layers of problems... Play with the variables based on your budget... and get running from that data center... I can give you better uptime on my DSL connection :) -paris [finding the future in the past, passing the future in the present] [connecting people, places and things] -Original Message- From: Brook Davies [EMAIL PROTECTED] Date: Mon, 04 Jun 2001 15:21:52 -0700 Subject: RE: Radiant Communications 45 minutes and counting.the clients are starting to call. I'm trying to run a god damned Application service provider. Keeping the systems running 100% of the time is hard enough without my Co location facility contributing to the problem. In the ASP market, high availability and reliability are paramount. This kind of outage is absolutely terrible. It destroys my clients confidence in us. Paris, I think your right in saying the co-location may not be all it is made out to be. I'm looking into alternatives now as I pull out my hair. Thanks for letting me vent. 45 minutes and counting?!! I think I'm going to start smoking again Brook Davies logiforms.com Maracasmedia.com At 04:54 PM 04/06/01 -0500, you wrote: Verio in New Orleans was worse. A little over a week ago, they lost power for ALMOST 4 hours. Thier power failover failed apparently. Russel Madere, Jr. Senior Web Developer ICQ: 5446158 http://www.TurboSquid.com Some days you eat the bear; some days the bear eats you. -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 16:46 To: CF-Talk Subject: Radiant Communications I host my 4 CF servers at RADIANT COMMUNICATIONS. Vancouver BC Canada... Man, It is so frustrating when the facility we use for co-locating 4 of our servers all of a sudden becomes unavailable and we can not access any of our sites. Going on 10 minutes now, all four of our servers are down. last time (last month) our connection was down for 70 minutes Another time they decided to update the software on our leased fire wall without notifying us effecting disabling our https and smtp services for close to an hour. What's the point in investing time and money in fail over when your bloody ISP can't keep their redundant service running!!! And to add insult to injury, their stinking site (www.radiant.net) is still running just fine. Maybe they out source...grr Brook Davies MaracasMedia inc. At 05:32 PM 04/06/01 -0400, you wrote: I have the following javascript and form. Can anyone see why I am not getting the confirm box? No error messages, just processes the form without the confirm. Any help would be greatly appreciated. head meta http-equiv=Content-Language content=en-us meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta name=description content= meta name=keywords content= titleAction Page/title !--- check the user wants to delete the PAGE they selected --- script language=JavaScript function checksure() { if (confirm('Are you sure you want to DELETE the Page you selected? This will also delete any SUB articles of this item!!')) { return true; } else { return false; } } /script /head body cfoutput cfif URL.a is Delete cfset CheckDelete = return checksure(); cfelse cfset CheckDelete = return checksubmit(); /cfif cfoutput form action=action.cfm method=post name=update onsubmit=#CheckDelete# Form Fields input type=submit value= #URL.a# name=update class=formboxes/td/tr input type=hidden name=action value=#URL.a# input type=hidden name=id value=#URL.ID# input type=hidden name=lev value=#URL.lev# input type=hidden name=WebSiteIDNo value=2 /cfif /form Thank you, Issac Rosa IT - National Sales Marketing OLAP Specialist Team Lead Ofc: 407-658-3111