Testing for presence of array?

2002-02-01 Thread Jamie Jackson
How do you test for the existence of an array (not an array element, but the array itself)? I'm trying to manipulate an array that may or may not exist. Thanks, __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM /

RE: MSSQL and LIMIT

2002-02-01 Thread Pascal Peters
Range 201 - 250 SELECT TOP 50 your fields FROM your tables WHERE your joins and filters AND PrimaryKey NOT IN ( SELECT TOP 200 your fields FROM your tables WHERE your joins and filters ORDER BY

RE: Testing for presence of array?

2002-02-01 Thread Andy Parry
cfif IsDefined(myArrayName) cfif IsArray(myArrayName) then you have an array /cfif /cfif -Original Message- From: Jamie Jackson [mailto:[EMAIL PROTECTED]] Sent: Friday, 1 February 2002 4:21 PM To: CF-Talk Subject: Testing for presence of array?

RE: Testing for presence of array?

2002-02-01 Thread Pascal Peters
cfif IsDefined(myArray) and if you want to make shure it's an array cfif IsDefined(myArray) AND IsArray(myArray) -Original Message- From: Jamie Jackson [mailto:[EMAIL PROTECTED]] Sent: vrijdag 1 februari 2002 9:21 To: CF-Talk Subject: Testing for presence of array? How do you test

Re: Testing for presence of array?

2002-02-01 Thread Jamie Jackson
Great! Thanks, Jamie On Fri, 1 Feb 2002 09:27:21 +0100, in cf-talk you wrote: cfif IsDefined(myArray) and if you want to make shure it's an array cfif IsDefined(myArray) AND IsArray(myArray) -Original Message- From: Jamie Jackson [mailto:[EMAIL PROTECTED]] Sent: vrijdag 1 februari

RE: scripting windows 2000 dns

2002-02-01 Thread Ian Tait
I had problems (mainly slowness) with the Bind 9 port. Just FYI. Ian -Original Message- From: Tom Nunamaker [mailto:[EMAIL PROTECTED]] Sent: 01 February 2002 04:27 To: CF-Talk Subject: RE: scripting windows 2000 dns Jim I downloaded the BIND 9.2.0 windows package but it didn't have

RE: another quick regular expression question

2002-02-01 Thread Kola Oyedeji
Thanks for the replies havent tested them out yet but will they work if the title tag actualy has spaces inside as well? title /title Also could anyone see where I went wrong in my original regular expression: [ ]*title[ ]*[ ]*[[:alpha:]]*[[:punct:]]*[ ]*/title as I'm trying get to grips

RE: Session Swapping incident - proxy servers

2002-02-01 Thread Chris Bohill
Dimo, Our problem like yours is very isolated, happening to the same people, every once in a while. Unfortunately this every once in a while, was once too much. It was actually Dan Allison who helped to confirm this for us (thanks Dan!!). We had a suspicion that it might have been the proxy

Fwd: Please help with output of Binaries

2002-02-01 Thread Julia Green
--- Julia Green [EMAIL PROTECTED] wrote: Date: Thu, 31 Jan 2002 15:47:32 -0800 (PST) From: Julia Green [EMAIL PROTECTED] Subject: Please help with output of Binaries Reply-to: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] I set up an Access table with checkboxes and yes/no capacity. My

Re: Conditional statement based on Server Time

2002-02-01 Thread Dave Hannum
Mark, TimeFormat(Now(), HH:mm) give you hours and minutes in 24 hour format TimeFormat(Now(), hh:mm) gives you hours and minutes in 12 hour format hh:mm tt gives you AM or PM hh:mm t gives you A or P It's spelled out very nicely in the help in CF and CFStudio. Dave - Original Message

RE: Deliver flash via CFCONTENT

2002-02-01 Thread Dave Hannum
John, Thanks Dave John wrote Dave, You can do what I *think* you are trying to do like this: CFHTTP URL=http://www.targetserver.com/targetfile.swf;; METHOD=GET PATH=C:\WhereverYou'rePuttingIt FILE=WhateverYouWantToCallIt.swf RESOLVEURL=false TIMEOUT=30

Re: Fwd: Please help with output of Binaries

2002-02-01 Thread Julia Green
I figured it out by using the Timestamp part of the database, I used this code...cfif gets people out of jams... CFQUERY NAME=reich2a DATASOURCE=jgrn USERNAME=jgr DBTYPE=ODBC PASSWORD=pwd SELECT * FROM Email9d WHERE Firstname='#FORM.txtFirstName#' AND Lastname='#FORM.txtLastName#' OR

Windows 2000 Security Rollup Package 1

2002-02-01 Thread Zac Spitzer
anyone installed this yet, any horror stories? zac __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup

RE: Windows 2000 Security Rollup Package 1

2002-02-01 Thread Alexandr Timchur
I've installed it. One test and 3 production servers. All ok. -Original Message- From: Zac Spitzer [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 4:07 PM To: CF-Talk Subject: Windows 2000 Security Rollup Package 1 anyone installed this yet, any horror stories? zac

RE: ReReplace(NoCase) maximum length

2002-02-01 Thread Raymond Camden
Perhaps your hitting this: From the CFDOCS: In CFML regular expression functions, large input strings (greater than approximately 20,000 characters) cause a debug assertion failure and a regular expression error occurs. To avoid this, break your input into smaller chunks, as the following

RE: Community Manager for ColdFusion Position

2002-02-01 Thread Angel Stewart
*blink* You are leaving as Community Manager? But..but..but...we were just all getting to KNOW you.. (0_0) *sniffle* -Gel -Original Message- From: Matt Brown [mailto:[EMAIL PROTECTED]] Community Manager, ColdFusion Job#: 1203HS Location: San Francisco, CA Applicants can send

Re: Help - MS Word outputfrom CF?

2002-02-01 Thread Pete Ruckelshaus
http://tech.irt.org/articles/js154/ However, .PDF might be a better option for legal docs since they can't be modified (when done properly). Pete - Original Message - From: Ed Gordon [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, February 01, 2002 12:29 AM Subject: Help

RE: CFmail Text/HTML

2002-02-01 Thread Paul Melanophy
Hi, I've been trying to get this bit of code below working for an e-zing on an estate agents web site but it does not seem to function correctly. I am trying to send HTML formatted emails with text version as backup. I get html to my hotmail account, text to my outlook and both to a text

RE: Windows 2000 Security Rollup Package 1

2002-02-01 Thread Neil Clark
Nope, all fine! __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ:

RE: CFmail Text/HTML

2002-02-01 Thread cf-talk
There is a custom tag available that will help you set up a cfmail that ser ves up html or text, depending on the recipient's mail client's compatabili ty. It's by Kevin Klinsky. I haven't checked the new macromedia version for the custom tags - it used to be in the developers exchange section

RE: CFmail Text/HTML

2002-02-01 Thread Paul Melanophy
Thanks Tom. -Original Message- From: cf-talk [mailto:[EMAIL PROTECTED]] Sent: 01 February 2002 14:28 To: CF-Talk Subject: RE: CFmail Text/HTML There is a custom tag available that will help you set up a cfmail that ser ves up html or text, depending on the recipient's mail client's

RE: Help - MS Word outputfrom CF?

2002-02-01 Thread Matthew R. Small
Hi Ed, I do a lot of this, and I think in the easiest way: I generate an HTML page and store the entire thing in a variable, then write it to a file. I then open the file up in Word via CFOBJECT and have Word print it out automatically. It takes some work to get it set up properly but

cfgrid

2002-02-01 Thread Jones, Becky
is there a way to force a browser to download the java2 controls inorder for an enduse to see cfgrid pages? bec. * This e-mail, including any attachments, is intended for the receipt and use by the intended addressee(s), and may contain

RE: another quick regular expression question

2002-02-01 Thread Steve Oliver
Yeah, you were searching for spaces with that. If you have a [ ] followed by a * then it's searching for one or more spaces. title untitled /title [ ]*title[ ]*[ ]*[[:alpha:]]*[[:punct:]]*[ ]*/title __ steve oliver atnet solutions, inc. http://www.atnetsolutions.com

Substring function in query

2002-02-01 Thread Mark Leder
When I construct the following SQL statment, I get an undefined function error. I'm trying to extract the first letter of the Botanical_Name column (full text string) and create an alias column (of A, B, C, D, etc). What am I doing wrong? SELECT f_ID, Common_Name, Botanical_Name,

OT oracle portal CF

2002-02-01 Thread Alex
Has anyone integrated oracle portal CF? __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup

Re: Substring function in query

2002-02-01 Thread Douglas Brown
h dont see any problems with the query at all. There are two major products that come out of Berkeley: LSD and [Unix] BSD. We don't believe this to be a coincidence. Doug Brown - Original Message - From: Mark Leder [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday,

RE: Substring function in query

2002-02-01 Thread Mark A. Kruger - CFG
Mark, Your example is exactly like the one in SQL books online. You ARE using ms sql? Mark -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 7:38 AM To: CF-Talk Subject: Substring function in query When I construct the following SQL

RE: Substring function in query

2002-02-01 Thread Craig Dudley
Try SELECT f_ID, Common_Name, Botanical_Name, LEFT(Botanical_Name,1) AS Alpha1 FROM p_FloralContent ORDER BY Botanical_Name ASC hth, Craig -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED]] Sent: 01 February 2002 15:38 To: CF-Talk Subject: Substring function in query When

Compare SQL 6.5 to SQL 2000

2002-02-01 Thread David Brown
I ran the upgrade wizard of SQL 2000 to upgrade from our old 6.5 server to our new sql 2000 server. They are on two different servers and until I can compare the two system we have not moved from the 6.5 sql server. What I would like to do is be able to comapare database by database or table by

RE: another quick regular expression question

2002-02-01 Thread Kola Oyedeji
Steve I thought * matched 0 or more occurences? thanks Kola Oyedeji Web developer Macromedia Certified Advanced ColdFusion 5 Developer ekeda ltd http://www.ekeda.co.uk (+44)020-8429-7300 -Original Message- From: Steve Oliver [mailto:[EMAIL PROTECTED]] Sent: 01 February 2002 15:34

RE: Substring function in query

2002-02-01 Thread Mark Leder
The data is being pulled from Access, so yes. Mark -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 12:47 PM To: CF-Talk Subject: RE: Substring function in query Mark, Your example is exactly like the one in SQL books online.

RE: Substring function in query

2002-02-01 Thread Mark Leder
The LEFT function does work, thanks. Mark -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 10:41 AM To: CF-Talk Subject: RE: Substring function in query Try SELECT f_ID, Common_Name, Botanical_Name, LEFT(Botanical_Name,1) AS Alpha1 FROM

Re: Substring function in query

2002-02-01 Thread Douglas Brown
That would not work Craig, the substring function requires 3 arguments. At least this is true in MSSQL His code is fine, and I do not understand why it would give him that error. There are two major products that come out of Berkeley: LSD and [Unix] BSD. We don't believe this to be a

RE: Substring function in query

2002-02-01 Thread Craig Dudley
Works fine Douglas, I use it all the time. -Original Message- From: Douglas Brown [mailto:[EMAIL PROTECTED]] Sent: 01 February 2002 16:26 To: CF-Talk Subject: Re: Substring function in query That would not work Craig, the substring function requires 3 arguments. At least this is true

Re: Substring function in query

2002-02-01 Thread Douglas Brown
Never mind my last comment. See what happens when you have not finished your coffee and do not read an entire post. Sorry Craig!!! There are two major products that come out of Berkeley: LSD and [Unix] BSD. We don't believe this to be a coincidence. Doug Brown - Original Message -

RE: Substring function in query

2002-02-01 Thread Mark A. Kruger - CFG
Mark, um no... I mean are you using MS SQL Server (sql 7 or 2000). I'm not altogether positive that the SUBSTRING( ) function works in Access - never tried it. However, the syntax you entered before is practially letter for letter like the examples in SQL servers documentation. Maybe someone

RE: Substring function in query

2002-02-01 Thread Craig Dudley
No worries ;-) -Original Message- From: Douglas Brown [mailto:[EMAIL PROTECTED]] Sent: 01 February 2002 16:30 To: CF-Talk Subject: Re: Substring function in query Never mind my last comment. See what happens when you have not finished your coffee and do not read an entire post. Sorry

RE: another quick regular expression question

2002-02-01 Thread Steve Oliver
I don't think it works that way with spaces. If I have the string hello world And do a regexp for [ ]*he[ ]*llo[ ]*wor[ ]*ld[ ]* I don't believe that will work either, But this way should hello[ ]*world Or hello[[:space:]]*world __ steve oliver atnet solutions, inc.

RE: Substring function in query

2002-02-01 Thread Steve Oliver
Nope, it's one of those functions that does not work in Access. Just like SET, or @@Identity, or a few others I can't think of right now :) __ steve oliver atnet solutions, inc. http://www.atnetsolutions.com -Original Message- From: Mark A. Kruger - CFG

RE: Windows 2000 Security Rollup Package 1

2002-02-01 Thread Dave Watts
anyone installed this yet, any horror stories? It's fine on my laptop, for what that's worth. I wouldn't expect any serious problems with this, since it simply contains a bunch of individual patches that have been out for a while. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/

RE: another quick regular expression question

2002-02-01 Thread Matthew R. Small
Hi List, I've had a few requests off-list for the code on how I print out pages through Word. I'll go ahead and post it for everyone's benefit. Please feel free to write me on or off list if you have any problems. To start, you need to have Word installed on your CF server for

RE: scripting windows 2000 dns

2002-02-01 Thread Dave Watts
I had thought about writing the files with CF instead of using the scripting object, but to me there seems like less of a chance of something going wrong with using the WMI instead of writing the files (hopefully correct), editing the registry and then restarting the service. With the

Header Error

2002-02-01 Thread Dave Clay
Can anyone tell me why I would be getting this error? HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Fri, 01 Feb 2002 16:33:49 GMT Connection: close Content-type: text/html Page-Completion-Status: Normal Page-Completion-Status: Normal Page-Completion-Status: Normal Thank you for your help.

RE: another quick regular expression question

2002-02-01 Thread Kola Oyedeji
Steve Now i'm more confused - all of them work! Kola Oyedeji Web developer Macromedia Certified Advanced ColdFusion 5 Developer ekeda ltd http://www.ekeda.co.uk (+44)020-8429-7300 -Original Message- From: Steve Oliver [mailto:[EMAIL PROTECTED]] Sent: 01 February 2002 16:17 To:

RE: another quick regular expression question

2002-02-01 Thread Pascal Peters
This is incorrect. the regexp below will match hello world. Try running the code below cfoutput#ReFindNoCase([ ]*hel[ ]*lo[ ]*wo[ ]*rld, Hello World)#/cfoutput For the original question: [ ]*title[ ]*([^]*)/[ ]*title[ ]* this will match your title if there is no in the title. The

RE: another quick regular expression question

2002-02-01 Thread Kola Oyedeji
Pascal question regarding this regex: [ ]*title[ ]*([^]*)/[ ]*title[ ]* 1. Do I need the subexpression brackets if so why? 2. SO is it because I did not account for an opening that my regex didnt work? Thanks Kola Oyedeji Web developer Macromedia Certified Advanced ColdFusion 5 Developer

RE: Header Error

2002-02-01 Thread Matthew Fusfield
Is this appearing right at the top of your pages? We saw this sometimes when we had a cfhtmlhead tag that was above the HTML head tags. Matt -Original Message- From: Dave Clay [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 11:36 AM To: CF-Talk Subject: Header Error Can

RE: Help - MS Word outputfrom CF?

2002-02-01 Thread Steve Oliver
Since word can read HTML documents just fine, Wouldn't it be easier to do it this way? cfsetting enablecfoutputonly=yes cfcontent type=application/msword cfoutputhtmlheadstyle/style/headbody #Stuff# /body/html/cfoutput __ steve oliver atnet solutions, inc.

client side disable cookies

2002-02-01 Thread FARRAH NG
Hi all, i believe most of the CF login sites need to have client side browser cookie-enable in order the user can manaeuver freely after login. how can can take care of the situation where the client has disable the cookie in their browser ? does anyone has the experience of building a login

RE: client side disable cookies

2002-02-01 Thread Steve Oliver
You would have to track sessions by URL. (ie. Index.cfm?CFID=2350CFTOKEN=2907325) In your cfapplication tag put sessionmanagement=Yes and setclientcookies=No But then whenever you make a link you have to put #Client.URLToken# at the end of it. Also whenever you use cflocation you need to put

Re: client side disable cookies

2002-02-01 Thread Greg Alton
Yes. You store the CFID and CFTOKEN in your visitors table when a visitor signs in the first time along with a username, password and rememberMe attribute. If cookies are enabled and rememberMe is true, the visitor passes. If cookies are disabled, the user logs in and you set the CFID and

Print Friendly Web Site

2002-02-01 Thread Carlisle, Eric
I'm working with a Web site obtimized for 800x600 displays. As it stands, pages are horizontally cropping on a printout. This has concerned one of my managers. I'm not too bothered because pages that are more likely to printed (press releases, for instance) have seperate print friendly

Re: Print Friendly Web Site

2002-02-01 Thread Paul Giesenhagen
It all depends on who your customer base is. Do you want the homepage to be printable .. does it need to be printable. Is the person who is paying the bill's wanting it to be printable. We have an issue with our pages not being printable as well, we decided that it was more important to have

Best Practice on using/optimizing cfoutput and cfloops

2002-02-01 Thread Michael E. Carluen
I am wondering if anyone can advise if one practice (below) is more efficient than the other. Practice 1: Enclosing every instance on #variables# in cfoutput tags body cfoutput query=query_name #query_variable# /cfoutput /body VERSUS Practice 2: Enclosing

Re: Best Practice on using/optimizing cfoutput and cfloops

2002-02-01 Thread Paul Giesenhagen
cfoutput is much faster than cfloop always try to use cfoutput when you can. Paul Giesenhagen QuillDesign http://www.quilldesign.com SiteDirector - Commerce Builder I am wondering if anyone can advise if one practice (below) is more efficient than the other. Practice 1: Enclosing

RE: Best Practice on using/optimizing cfoutput and cfloops

2002-02-01 Thread Carlisle, Eric
CFOUTPUT over a query acts as a scaled down version of CFLOOP. If you're simply doing output of variables, it's better to use the first example. Much faster than CFLOOP. -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 1:43 PM

corrupted server memory

2002-02-01 Thread Jennifer Knoblock
Being new to CF, I launched an application that used session variables without single-threading or locking anything. I now know that not doing these things can corrupt server memory. I've since turned on single-threading until I get everything locked, but I was wondering if I had really messed up

RE: another quick regular expression question

2002-02-01 Thread Pascal Peters
1. You only need the brackets for the subexpression if you want to do something with it. (Like isolating the title or eliminating the tags with back referencing). Otherwise, you can drop them. It's not a problem if you leave them there. 2. I dont really see why your first one didn't match

RE: client side disable cookies

2002-02-01 Thread Bryan Love
Actually CFLOCATION defaults to addtoken=YES so you wouldn't have to change anything there... In your cfapplication tag put sessionmanagement=Yes and setclientcookies=No sessionManagement only enables the usage of session variables and so it doesn't really apply here... But then whenever you

Re: Print Friendly Web Site

2002-02-01 Thread John B. White
One nice thing about frames is that they allow the user to print out the content of interest. Maybe on the main page you just use frames for items that would print... --JW Carlisle, Eric wrote: I'm working with a Web site obtimized for 800x600 displays. As it stands, pages are

Access Db Query Date Syntax

2002-02-01 Thread Bruce Holm
I have more trouble with trying to write INSERT and UPDATE querys for an Access Db. I need help with what is wrong here. My insert query looks like this: cfoutput cfquery name=qInsertClass datasource=abbINSERT INTO Classes ( Status, Date, Class, ShortName,

RE: Print Friendly Web Site

2002-02-01 Thread Carlisle, Eric
Interesting suggestion. Since the site has already been released, I don't want to pull it up by the roots too much. I've considered a few things like using CSS to make cetain parts visible on the screen and invisible on the printer (leaving more space for content). That doesn't work for

RE: Print Friendly Web Site

2002-02-01 Thread Christian Abad
John B. White wrote: One nice thing about frames... Whoa! Is there REALLY anything nice about frames? ;-) (Sorry, I just had too...) Cheers, __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER

Re: scripting windows 2000 dns

2002-02-01 Thread Bernd VanSkiver
I am having some problems getting it to work with passing it the server, username, and password. Are you passing this information or just having it use the ColdFusion account? Everything works great when I type the command in to the command prompt on the server, but when I use CFExecute to

RE: Access Db Query Date Syntax

2002-02-01 Thread Steve Oliver
Are you using ODBC or OLEDB? If your using ODBC just use CreateODBCdatetime(datetime) __ steve oliver atnet solutions, inc. http://www.atnetsolutions.com -Original Message- From: Bruce Holm [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 2:07 PM To:

RE: Print Friendly Web Site

2002-02-01 Thread Perez, Bismark
instead of using CSS why don't you use the value of a field to display that part or not, you could for example remove the right column (if it has one) if print=Y, only pass the print variable to the page if printing, otherwise use cfparm to set it to N, that way you (1) don't have to redesign the

RE: Access Db Query Date Syntax

2002-02-01 Thread Matthew R. Small
Yes, you have problems with your query. ###Form.datepart# #Form.timepart###, This will not work at all. What do form.datepart and form.timepart look like? You may need to break these into pieces and create a proper datetime object in CF before you submit them to the database. - Matt

Re: Access Db Query Date Syntax

2002-02-01 Thread Kevin Miller
Try changing the name of the form variable to something other than 'date.' I think that is a reserved word. Kevin [EMAIL PROTECTED] 02/01/02 11:06AM I have more trouble with trying to write INSERT and UPDATE querys for an Access Db. I need help with what is wrong here. My insert query

RE: Print Friendly Web Site

2002-02-01 Thread BEN MORRIS
I use a printer-friendly version of all pages on my site. All the pages go through a CF template, so I just have several templates, one normal, one for printing, and so on. I don't think its OT, as CF is a great tool to allow these sort of useful features on a site. I don't think frames is

RE: Access Db Query Date Syntax

2002-02-01 Thread Bryan Love
createODBCdateTime(dateVal) is correct... +---+ Bryan Love Macromedia Certified Professional Internet Application Developer Database Analyst Telecommunication Systems [EMAIL PROTECTED] +---+ ...'If

RE: corrupted server memory

2002-02-01 Thread John Cummings
Jen, Just restarting the cfserver process would clear any memory that CF was using.If you'd like to send me your application and server logs off-line, I'll see if I can quickly help you identify the cause of the CF restarts. HTH, John [EMAIL PROTECTED] -Original Message- From:

RE: Print Friendly Web Site

2002-02-01 Thread Matthew R. Small
Hi Everybody, I'm trying to use CFCONTENT to push a pdf file to the client, but it's not working. Is there anything wrong with what I've written? I'm not getting an error message at all, but I'm not getting the file save as dialog either. cfcontent

RE: cfcontent and PDF's

2002-02-01 Thread Steve Oliver
Using cfcontent like that wouldn't give you the file save as dialog, it should open the PDF in your browser. Depending on which version of CF server you are running, it may be making whitespace at the top of the document, causing it to not print out right. cfsetting enablecfoutputonly=yes

Re: cfcontent and PDF's

2002-02-01 Thread chris.alvarado
using cfcontent, if you wish to get the file save as.. dialog you need to add this line of code BEFORE the cfcontent tag cfheader name=content-disposition value=attachment;filename=#filename# if you wish for the file to open in the browser use this: cfheader name=content-disposition

Re: scripting windows 2000 dns

2002-02-01 Thread Neil H.
Fortunately the login and password I Have the machine running as is the same and I have the cf server running as the admin (its an internal site) I thought you could pass credentials. Make sure you can also ping that server name. I had to mess with wins. Neil - Original Message -

Osprey?

2002-02-01 Thread Bill Davidson
Has anyone worked with an Osprey database? I couldn't find any specific references to it on MM's site, and have a client who needs us to interface with their Osprey server. Thanks in advance. -Bill brainbox __ Dedicated

RE: CFmail Text/HTML

2002-02-01 Thread Joseph DeVore
Hey Paul, I am the one that wrote the code you are trying to use. I use it in many applications without any problems as do many others. Can you send me the cfmail part of your code off list, so that I can help you get this working correctly? Thank you, Joseph DeVore VeloxWeb Technologies

RE: How XML benefits ColdFusion developers

2002-02-01 Thread Sandy Clark
I'm using it to test out ideas of how to transfer data from CF as a backend server to multiple front end servers. (Flash, Fancy HTML, Section 508 compliant HTML) using XML, all the front ends need to do is request the data and parse what it is given for display. CF simply responds to the

Re: Best Practice on using/optimizing cfoutput and cfloops

2002-02-01 Thread Dave Carabetta
I would actually disput that claim. I can't find the article for the life of me, but I think Michael Dinowitz or somebody wrote an article some time ago comparing the two methods. From what I remember CFLOOP is faster because it is a dumbed down way of outputting your data. It doesn't look for

RE: Osprey?

2002-02-01 Thread Mark A. Kruger - CFG
Bad Omen alert... isn't the osprey the plane/copter hybrid used by the marines that keeps crashing? -Original Message- From: Bill Davidson [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 12:03 PM To: CF-Talk Subject: Osprey? Has anyone worked with an Osprey database? I

RE: Best Practice on using/optimizing cfoutput and cfloops

2002-02-01 Thread Steve Oliver
I've read that cfloop is faster when doing certain things, but if your using it to cfoutput, like this: cfloop query=qryName cfoutput#var1#/cfoutput blah blah blah cfoutput#var2#/cfoutput /cfloop That way supposedly runs slower because CF has to parse the data in each cfoutput.

RE: scripting windows 2000 dns

2002-02-01 Thread Dave Watts
I am having some problems getting it to work with passing it the server, username, and password. Are you passing this information or just having it use the ColdFusion account? Everything works great when I type the command in to the command prompt on the server, but when I use CFExecute

Re: Best Practice on using/optimizing cfoutput and cfloops

2002-02-01 Thread Bryan Stevenson
Ben Forta has this info on his site. It's in a PowerPoint presentation, so I don't have a direct link. Go to www.forta.comclikc ColdFusion.clikc on CF resources.go to bottom of page (or close to bottom) and look for Tips and Tricks from the CF Masters (or something like

Re: Best Practice on using/optimizing cfoutput and cfloops

2002-02-01 Thread Dave Carabetta
OK, I finally found some explanations in the archives. Careful about the URL wrapping. One thing to keep in mind as I've read through some of the old posts, I think the answer depends on two things: 1.) CF Server version Apparently, CF 4.0 and below proved that CFOUTPUT was quicker, but the

RE: Best Practice on using/optimizing cfoutput and cfloops

2002-02-01 Thread Mark A. Kruger - CFG
The issue with Cfoutput is that it parses everything between the two tags looking for CF variables to output -including any HTML that might be between the tags. If you have a lot of HTML between your cfoutput/cfoutput tags, and just a few variables, you are making CF wade through a lot of code

Re: Best Practice on using/optimizing cfoutput and cfloops

2002-02-01 Thread ksuh
In CF5, it's not supposed to matter if you do cfloop or cfoutput. I've done some testing with getTickCount() to compare the two and they seem to be equivalent. I remember back in the version 3 days where cfloop would be slow as molasses. - Original Message - From: Dave Carabetta

browser version count

2002-02-01 Thread Bernd VanSkiver
I have a table that I keep track of page views on a couple pages and I am grabbing the browser tag of the user who visits the site. I am trying to get it to display the number of each distinct browser hit the page(s). Was just wondering if anyone had some code to figure this out already, or if

RE: Best Practice on using/optimizing cfoutput and cfloops

2002-02-01 Thread Steve Oliver
See I've heard the exact opposite of that. I used to code like that, putting cfoutput around everything and using cfloop to loop over the queries, but after looking over quite a few sites, most of them say using cfoutput to loop is a lot faster. Even in the Allaire knowledge base it said to

CFGRID

2002-02-01 Thread Jones, Becky
I sent this in early, but i am not sure it made it so i am re-submitting. anyways, is there a way to automatically download the java2 controls if t he user doesnt already have it on their pc? because without it...u cant see the grid. thanks for your help, bec.

RE: browser version count

2002-02-01 Thread Steve Oliver
You could use group by Select Count(browsertype) as bcount, browsertype From yourTable Group By browsertype __ steve oliver atnet solutions, inc. http://www.atnetsolutions.com -Original Message- From: Bernd VanSkiver [mailto:[EMAIL PROTECTED]] Sent: Friday,

RE: browser version count

2002-02-01 Thread Tony Gruen
Perhaps use SQL CONTAINS? Identify a common character set for each br owser type and count records containing that string. Tony -Original Message- From: Bernd VanSkiver [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 12:55 PM To: CF-Talk Subject: browser version count I

RE: Best Practice on using/optimizing cfoutput and cfloops

2002-02-01 Thread Steve Oliver
This is directly from the Knowledge base on macromedia. CFOUTPUT vs. CFLOOP Use a CFOUTPUT query instead of CFLOOP query wherever possible. A loop over a query repeats for every record in the query result set. The CFLOOP results are just like a CFOUTPUT. During each iteration of the loop the

RE: Best Practice on using/optimizing cfoutput and cfloops

2002-02-01 Thread Lee Fuller
Agreed... We've been unable to confirm either, and attempt to do as much as is reasonable to limit the amount of parsing for ANY CF tag. However, we're especially careful when we have a template that gets heavy usage or will pull a lot of data. Lee Fuller Chief Technical Officer PrimeDNA

cookie error

2002-02-01 Thread Paul Giesenhagen
I am dynamically creating cookies and getting the following error. I create the cookie by setting a uuid, then strip out everything but the first part of the uuid Example: !--- First set the id varable --- cfset variables.id = #createuuid()# !--- Next I set the cookie id, by stripping out

Re: cookie error

2002-02-01 Thread Howie Hamlin
A variable name cannot begin with a digit. maybe you should put an append an alpha character to the beginning of the cookie name. HTH, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com - 631-737-4668 x101 inFusion Mail Server (iMS) - The Intelligent

CF 5, Java, Solaris

2002-02-01 Thread Kevin Cundick
Hi All, Has anyone experienced trouble using Java 1.3.1 with Solaris 8 and ColdFusion 5? I am having trouble with it crashing the server every time I call a Java Custom Tag. I am currently working to Migrate to ColdFusion 5 from CF 4.5.1. We run Java 1.2.2 on CF 4. Thanks!! Kevin Cundick

ADDTNL: CF 5, Java, Solaris

2002-02-01 Thread Kevin Cundick
I forgot to mention that I did Find the article in the Knowledge Base, Technote: 20198. I followed its instructions and I still have the same problem. Thanks, Kevin -Original Message- From: Kevin Cundick [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 1:56 PM To: CF-Talk

Re: Community Manager for ColdFusion Position

2002-02-01 Thread Massimo Foti
Angel Stewart [EMAIL PROTECTED] wrote in message news:002d01c1ab23$f817f810 You are leaving as Community Manager? But..but..but...we were just all getting to KNOW you.. N, Matt is just too busy managing those crazy Dreamweaver folks :-) Massimo Foti [EMAIL

RE: cookie error

2002-02-01 Thread Steve Oliver
I'm not sure if you can check for a variable like that. You may need to do something like: cfif isDefined(evaluate(COOKIE. #variables.cookieid#)) __ steve oliver atnet solutions, inc. http://www.atnetsolutions.com -Original Message- From: Paul Giesenhagen

  1   2   >