Re: number format for 0

2001-03-13 Thread Mak Wing Lok

sorry that i did not write the problem clearly, it supposed to display
whatever number in 999,999,999,999,999,999.99 format as the variable "no"
can contains any numeric value, but whenever no = 0, it will show as .00 not
0.00, how could i format it so it display 0.00?



- Original Message -
From: "Bud" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 11:43 AM
Subject: Re: number format for 0


> On 3/14/01, Mak Wing Lok penned:
> >I tried to format a number with zero value :
> >
> >
> >#numberformat(no, "(999,999,999,999,999,999.99)")#
> >
> >i got this result .00 but i want it to display 0.00
> >is there any other way to do it?
>
> numberformat(no, "0.00")
> --
>
> 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



Difference btw Studio 4.0, 4.5 , 5.0

2001-03-13 Thread JAIME HOI


Hi
Does anybody know are there any obsolete tags from Studio 4.0 - >
4.5 Or from Studio 4.5 - 5.0?? 
   




~~
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: Word lists for Ultraedit

2001-03-13 Thread Douglas Malcolm

Here:
http://www.ultraedit.com/downloads/additional.html

You'll want the cf wordfile, and the taglist.  Both can be tweaked to your
personal preference easily.

djm


-Original Message-
From: Lockie Martin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 8:00 PM
To: Doug
Subject: Word lists for Ultraedit


Can anyone here please tell me where do you got the CF word lists and syntax
highlighting for Ultraedit?

Ta
-l---
Lockie Martin
[EMAIL PROTECTED]
http://www.keystone-solutions.com/ http://marquee/
http://www.keystone-support.net
PER [EMAIL PROTECTED]
MSN [EMAIL PROTECTED]
ICQ 19741013
+64-9-357 0408 x339 (work) +64-2-174 3910 (cell)
+64-9-357 0414 (work fax)
~~
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: Word lists for Ultraedit

2001-03-13 Thread Lockie Martin

Thanks got them now

-Original Message-
From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 14 March 2001 17:16
To: CF-Talk
Subject: Re: Word lists for Ultraedit


ftp://ultraedit.com/wf/cfmltag.txt

HTH,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - the World's most configurable mail server
Get your free copy of iMS POST-SE Server from CoolFusion!

- Original Message -
From: "Lockie Martin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 11:00 PM
Subject: Word lists for Ultraedit


> Can anyone here please tell me where do you got the CF word lists and
syntax
> highlighting for Ultraedit?
>
> Ta
> -l---
> Lockie Martin
> [EMAIL PROTECTED]
> http://www.keystone-solutions.com/ http://marquee/
> http://www.keystone-support.net
> PER [EMAIL PROTECTED]
> MSN [EMAIL PROTECTED]
> ICQ 19741013
> +64-9-357 0408 x339 (work) +64-2-174 3910 (cell)
> +64-9-357 0414 (work fax)
>
>
>
~~
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: Word lists for Ultraedit

2001-03-13 Thread Howie Hamlin

ftp://ultraedit.com/wf/cfmltag.txt

HTH,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - the World's most configurable mail server
Get your free copy of iMS POST-SE Server from CoolFusion!

- Original Message -
From: "Lockie Martin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 11:00 PM
Subject: Word lists for Ultraedit


> Can anyone here please tell me where do you got the CF word lists and
syntax
> highlighting for Ultraedit?
>
> Ta
> -l---
> Lockie Martin
> [EMAIL PROTECTED]
> http://www.keystone-solutions.com/ http://marquee/
> http://www.keystone-support.net
> PER [EMAIL PROTECTED]
> MSN [EMAIL PROTECTED]
> ICQ 19741013
> +64-9-357 0408 x339 (work) +64-2-174 3910 (cell)
> +64-9-357 0414 (work fax)
>
>
>
~~
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



Word lists for Ultraedit

2001-03-13 Thread Lockie Martin

Can anyone here please tell me where do you got the CF word lists and syntax
highlighting for Ultraedit?

Ta
-l---
Lockie Martin 
[EMAIL PROTECTED]
http://www.keystone-solutions.com/ http://marquee/
http://www.keystone-support.net
PER [EMAIL PROTECTED]
MSN [EMAIL PROTECTED]
ICQ 19741013
+64-9-357 0408 x339 (work) +64-2-174 3910 (cell)
+64-9-357 0414 (work fax)

~~
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 Studio 4.5.2 Memory Leak?

2001-03-13 Thread Lockie Martin

Can you please tell me where do you got the CF word lists and syntax
highlighting for Ultraedit?

-Original Message-
From: Douglas Malcolm [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 14 March 2001 12:52
To: CF-Talk
Subject: RE: CF Studio 4.5.2 Memory Leak?


Thank you, Richard!  Now you're talking.  I had nothing but trouble from
Studio, met with varying degrees of indifference & incompetence from Allaire
staff... and gave up on it.

I switched to UltraEdit, took the time to customize it fully to my liking
(loading cf word lists, syntax highlighting, etc), and never looked back.
Productivity is up, and frustration is way down.

UltraEdit fits on one floppy when zipped, costs $30 to register, and can
easily be configured to work nicely with any programming language.  Needless
to say at this point, I am very pleased with it.  I wouldn't go back to
Studio even if was free.

My $0.02.

Douglas Malcolm



-Original Message-
From: Richard Kuryk [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 9:46 AM
To: Doug
Subject: RE: CF Studio 4.5.2 Memory Leak?


If it crashes and eats through memory don't use it and certainly don't
purchase it!  There are many good programmer editors out there.  UltraEdit,
MultiEdit, and the list goes on and on, give your money to something that is
stable and is not counterproductive.  Most of these editors have demos or
eval copies and can be customized to do whatever you like.  I have even read
that the new multiedit integrates into studio, not sure I would want that
but hey maybe it makes studio more stable.

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



Parsing Street Address

2001-03-13 Thread Eron Cohen

Hi Everyone,

I am wondering if anyone has any code or any ideas
about the most efficient way to handle this:

I need to parse the street address from people's
accounts such that I can parse out the Street Name and
Street Number separately (and disregard things like
suite and apartment number) and assign each to a
variable.

In other words, say I was given an address like:

4853 Flower Blossom Avenue

Or

4853 Flower Blossom Avenue Apartment 1222

I need to get the street number (4853) and then just
the street name (Flower Blossom Avenue) and pop them
into a variable.

Would this best be done with Regular Expressions? 
Does anyone have any example code? I could force
people to enter their street addresses in a strict
manner to make this easy, but I'd rather not do that.

Thanks,

Eron
~~
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: How to pass javascript variable to a cf tag?

2001-03-13 Thread Kym Kovan

Hi,

>juz a pity that this tag is not what i am looking for. I need to populate
>from 2 different tables, different columns so i will need 2 cfquery but this
>tag only allows for 1 cfquery tag.

The tag can easily be rewritten to take two separate queries, we had to do 
that for one job we had, it was not difficult.



--

Yours,

Kym


~~
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 of Session variable

2001-03-13 Thread Bud

On 3/13/01, Haryono ... penned:
>Hallo!
>What is the use of session variable in ColdFusion
>Application?

To store information unique to a user in memory until needed at a 
later point in the application without having to pass the information 
from page to page with every click.
-- 

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



Re: number format for 0

2001-03-13 Thread Bud

On 3/14/01, Mak Wing Lok penned:
>I tried to format a number with zero value :
>
>
>#numberformat(no, "(999,999,999,999,999,999.99)")#
>
>i got this result .00 but i want it to display 0.00
>is there any other way to do it?

numberformat(no, "0.00")
-- 

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



number format for 0

2001-03-13 Thread Mak Wing Lok

hi people,

I tried to format a number with zero value :


#numberformat(no, "(999,999,999,999,999,999.99)")#

i got this result .00 but i want it to display 0.00
is there any other way to do it?

mak wl


~~
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



White space

2001-03-13 Thread Parker, Kevin

I have seen some discussion on this list from time to time about management
of white space in CF code. Is there a preferred strategy for dealing with
it?

TIA!!




Kevin Parker
Web Services Manager
WorkCover Corporation

[EMAIL PROTECTED]

www.workcover.com

p: +61 8 82332548
f: +61 8 82332000
m: 0418 800 287






This e-mail is intended for the use of the addressee only. It may contain
information that is protected by legislated confidentiality and/or is
legally privileged. If you are not the intended recipient you are prohibited
from disseminating, distributing or copying this e-mail. Any opinion
expressed in this e-mail may not necessarily be that of the WorkCover
Corporation of South Australia. Although precautions have been taken, the
sender cannot warrant that this e-mail or any files transmitted with it are
free of viruses or any other defect.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and destroy the original e-mail and any copies.


~~
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: How to pass javascript variable to a cf tag?

2001-03-13 Thread JAIME HOI



juz a pity that this tag is not what i am looking for. I need to populate
from 2 different tables, different columns so i will need 2 cfquery but this
tag only allows for 1 cfquery tag.


-Original Message-
From: Joseph Thompson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 9:46 AM
To: CF-Talk
Subject: Re: How to pass javascript variable to a cf tag?


Someone beat you too it :)

Try the TwoSelectsRelated tag at the Allaire tag gallery (Developers
Exchange)

> i understand that by putting the js values into a forn , i can read using
> CF. But..what i am doing now is to create a dynamic drop down list based
on
> what is selected on the first drop down list,
~~
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: cfloop for 2 list?!!!

2001-03-13 Thread han peng

Hey ppl!!! i got the answer using this... hmm.. pha.. do u actually mean
this?!!

cheers
han

page1.cfm

   
 #p_arrival_remarks#
   
   


page2.cfm

 
  update table_name
   set p_arrival_remarks = '#evaluate(test)#'
  where p_username = '#test#'
 




> > - Original Message -
> > From: han peng <[EMAIL PROTECTED]>
> > To: CF-Talk <[EMAIL PROTECTED]>
> > Sent: Tuesday, March 13, 2001 4:32 AM
> > Subject: cfloop for 2 list?!!!
> >
> >
> > > hi.. i hav a prob. here. i hav a tool to key in remarks for mulitple
> > users.
> > > Eg. Page1.cfm
> > >
> > >  
> > >   
> > >  > name="p_arrival_remarks">#p_arrival_remarks#
> > >  value="#part_info.p_username#">
> > >   
> > >  
> > > 
> > >
> > > So in page2.cfm...
> > > how can i insert the remarks into the database using the respective
> > username.??
> > >
> > > i cant use 
> > > as it can only use for 1 list...
> > >
> > > another prob.. i try CFOUTPUT the 2 list...
> > #p_username#,#p_arrival_remarks#
> > > and notice that if theres no input for remarks.. both list length
doesnt
> > match..
> > >
> > > any advice how i shld go abt doing it?!!
> > >
> > > thanx in advance,
> > > han
> > >
> > >
> > >
> > >
> >
>
~~
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: site address for the FAQ? TIA

2001-03-13 Thread Howie Hamlin

http://www.thenetprofits.co.uk/coldfusion/faq/

Regards,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - the World's most configurable mail server
Get your free copy of iMS POST-SE Server from CoolFusion!

- Original Message -
From: "Michael" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 7:18 PM
Subject: site address for the FAQ? TIA


>
>
>
>
>
>
~~
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: cfloop for 2 list?!!!

2001-03-13 Thread han peng

hi.. pha..
sorry i dun quite get u... how to put the form name as dynamic??
coz the no. of input fields r depended on the query.

by the way.. i miss out some info on this question..
i doing update .. not insert...
and the p_username is unique key.

sigh,
han

- Original Message -
From: Phoeun Pha <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Thursday, November 23, 2000 7:50 PM
Subject: Re: cfloop for 2 list?!!!


> insteadof using a list, dynamically name your input forms, then in your
> cfoutput, u can output those forms.
>
> like #Form.Question1# #Form.Remark1#
> #Form.Question1# #Form.Remark1#
>
> - Original Message -
> From: han peng <[EMAIL PROTECTED]>
> To: CF-Talk <[EMAIL PROTECTED]>
> Sent: Tuesday, March 13, 2001 4:32 AM
> Subject: cfloop for 2 list?!!!
>
>
> > hi.. i hav a prob. here. i hav a tool to key in remarks for mulitple
> users.
> > Eg. Page1.cfm
> >
> >  
> >   
> >  name="p_arrival_remarks">#p_arrival_remarks#
> > 
> >   
> >  
> > 
> >
> > So in page2.cfm...
> > how can i insert the remarks into the database using the respective
> username.??
> >
> > i cant use 
> > as it can only use for 1 list...
> >
> > another prob.. i try CFOUTPUT the 2 list...
> #p_username#,#p_arrival_remarks#
> > and notice that if theres no input for remarks.. both list length doesnt
> match..
> >
> > any advice how i shld go abt doing it?!!
> >
> > thanx in advance,
> > han
> >
> >
> >
> >
>
~~
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: How to pass javascript variable to a cf tag?

2001-03-13 Thread Joseph Thompson

Someone beat you too it :)

Try the TwoSelectsRelated tag at the Allaire tag gallery (Developers
Exchange)

> i understand that by putting the js values into a forn , i can read using
> CF. But..what i am doing now is to create a dynamic drop down list based
on
> what is selected on the first drop down list,


~~
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: cfloop for 2 list?!!!

2001-03-13 Thread han peng

hi adkins... thanx for yr reply...
however the prob is still not solved..
maybe i can giv u a clearer idea...

there r mulitple input.. :

Input1 : blah,,,...
id: 1
Input2: hee
id:2
Input3: 
id:3
Input4: hoo..
id:4

if i use yr method to write in..
i will hav mismatch data..
as CFOUPUT of the above will look like this
blah, hee,hoo..
1,2,3,4

the empty string is not taken in.

still trying hard to solve..
han.
- Original Message -
From: Adkins, Randy <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 7:44 PM
Subject: RE: cfloop for 2 list?!!!


> For inserting the remarks into the DB simply
> suffix your textarea variable with the ID number
> or some unique value that would indicate the
> record they are putting the remarks to.
>
> Example:
>
>
> -Original Message-
> From: han peng [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 5:32 AM
> To: CF-Talk
> Subject: cfloop for 2 list?!!!
>
> 
>   
>  name="p_arrival_remarks">#p_arrival_remarks#
> 
> 
>
>  
> 
>
> ON PAGE2.CFM
> IF INSERTING INTO A NEW TABLE:
> 
> insert into remarksTable(remark_id,Username,remarks)
> values(#form.ID#,'#form.p_username#','#form.p_arrivale_remarks#')
> 
>
> IF UPDATING THE TABLE WITH THE REMARKS
> 
> UPDATE remarksTable
> Set Remarks = '#form.P-arrival_remarks#'
> Where Part_info_ID = #form.ID#
> 
>
> This UPDATE is assuming you have a UNIQUE Identifier within
> the table. Else you will have to determine the unique record by some
> means of combining fields.
>
>
>
>
> hi.. i hav a prob. here. i hav a tool to key in remarks for mulitple
users.
> Eg. Page1.cfm
>
>  
>   
>  name="p_arrival_remarks">#p_arrival_remarks#
> 
>   
>  
> 
>
> So in page2.cfm...
> how can i insert the remarks into the database using the respective
> username.??
>
> i cant use 
> as it can only use for 1 list...
>
> another prob.. i try CFOUTPUT the 2 list...
#p_username#,#p_arrival_remarks#
> and notice that if theres no input for remarks.. both list length doesnt
> match..
>
> any advice how i shld go abt doing it?!!
>
> thanx in advance,
> han
>
~~
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 of Session variable

2001-03-13 Thread Joseph Thompson


> Hallo!
> What is the use of session variable in ColdFusion
> Application?
> 
> Thank's

Lots of information here for you :)

http://cfhub.com/search/index.cfm?findme=session


~~
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: How to pass javascript variable to a cf tag?

2001-03-13 Thread JAIME HOI

i understand that by putting the js values into a forn , i can read using
CF. But..what i am doing now is to create a dynamic drop down list based on
what is selected on the first drop down list, I need to query the database
using the value selected from the first drop down and create the second drop
down dynamically. There is no submit action so i cannot access the Form
variable nor the URL variable. Are there any other ways out??

-Original Message-
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 6:51 PM
To: CF-Talk
Subject: RE: How to pass javascript variable to a cf tag?


> i am using a  inside a javascript function. Question is how do i
> pass the javascript variable to the cfquery?
> this is an example of the code.
>
> function ChangeSelect(value)
> {
> 
>   select family_name || '  '  || given_name as name
>   from table where
>   company_code = 'the javascript variable'
> 
> }

You know, I never get tired of saying this...

CF=Server Side
JS=Client Side

You need to pass the JS variables to the server to use them, you can't just
assume that it'll work on the page - CF compiles the page and then sends it
to the browser where JS runs

If you want to pass things back, either put them in a URL variable or put
them in a FORM

Remember that this will fall flat on it's face if the user either has JS
turned off or is behind a fire-wall that doesn't allow JS

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Use of Session variable

2001-03-13 Thread Haryono ...

Hallo!
What is the use of session variable in ColdFusion
Application?

Thank's
~~
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



site address for the FAQ? TIA

2001-03-13 Thread 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



navigation of records, ie first last next previous

2001-03-13 Thread Michael

  Having a problem figuring this out on record's,  I would appreciate
anything that anybody has on the proper way of doing the codeing for record
selection, like in the subject line,  first record, last record, and so
on and so forth


TIA

Mike



~~
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 Studio 4.5.2 Memory Leak?

2001-03-13 Thread Douglas Malcolm

Thank you, Richard!  Now you're talking.  I had nothing but trouble from
Studio, met with varying degrees of indifference & incompetence from Allaire
staff... and gave up on it.

I switched to UltraEdit, took the time to customize it fully to my liking
(loading cf word lists, syntax highlighting, etc), and never looked back.
Productivity is up, and frustration is way down.

UltraEdit fits on one floppy when zipped, costs $30 to register, and can
easily be configured to work nicely with any programming language.  Needless
to say at this point, I am very pleased with it.  I wouldn't go back to
Studio even if was free.

My $0.02.

Douglas Malcolm



-Original Message-
From: Richard Kuryk [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 9:46 AM
To: Doug
Subject: RE: CF Studio 4.5.2 Memory Leak?


If it crashes and eats through memory don't use it and certainly don't
purchase it!  There are many good programmer editors out there.  UltraEdit,
MultiEdit, and the list goes on and on, give your money to something that is
stable and is not counterproductive.  Most of these editors have demos or
eval copies and can be customized to do whatever you like.  I have even read
that the new multiedit integrates into studio, not sure I would want that
but hey maybe it makes studio more stable.

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



eCredit

2001-03-13 Thread Nick McClure

anybody out there ever dealt with eCredit.com?

Any problems CF or otherwise.


~~
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: Ben Forta tonite!! in Dallas

2001-03-13 Thread Chris Montgomery

Billy,

I attended Ben's presentation last night in Austin and it was great! Except
he talked so fast I understood about every third word (and I ain't even a
native Texan). You might want to record the meeting and then play it back
later at slow speed so your members will catch every word.

P.S. Just kidding Ben :)

Chris Montgomery [EMAIL PROTECTED]

Web Development & Consulting http://www.astutia.com
Allaire Consulting Partner
210-490-3249/888-745-7603Fax 210-490-4692
AIM: astutiaweb; ICQ: 7381282


~~
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: TID errorlist

2001-03-13 Thread Joseph Thompson

lol.  That would explain the absence of the list then...TY

So why does my "manual" define "thread ID" as being useful to the Allaire
technical support team... oh well...



> TID represents the Thread ID, it's not an error number.
>
> Deb
>



~~
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: example of navigation buttons

2001-03-13 Thread Parker, Kevin

Do a search on the net on "free clipart" - you'll find thousands of them,
particularly under the category of VCR type controls.




Kevin Parker
Web Services Manager
WorkCover Corporation

[EMAIL PROTECTED]

www.workcover.com

p: +61 8 82332548
f: +61 8 82332000
m: 0418 800 287




-Original Message-
From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 14 March 2001 7:00:AM
To: CF-Talk
Subject: RE: example of navigation buttons


dude just draw a square with arrows and boxes and what not

-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 2:25 PM
To: CF-Talk
Subject: example of navigation buttons


Anyone have links or examples of simple nav buttons,  like next, previous,
last , first,

Thanks
~~
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: Access Denied using Scheduled Task

2001-03-13 Thread Howie Hamlin

CFScheduler uses an HTTP connection to call your template.  So, you need to
make sure that you supply a user name and password in the scheduler settings
for template security.

HTH,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - the World's most configurable mail server
Get your free copy of iMS POST-SE Server from CoolFusion!

- Original Message -
From: "Chris Martin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 4:54 PM
Subject: Access Denied using Scheduled Task


> I'm using the CF Scheduler to call a template I wrote to update and
optimize
> a verity collection once a week.  I set it to run over on a Sunday at 3 AM
> so it wouldn't interfere with anything else.I came back and looked at
> the logs to see if it worked, and all the log says is access denied.  Is
> this a problem with the Scheduler executing the template (its in a Web
> Directory on our staging server), or something else?
>
> Thanks,
> Chris Martin
>
>
>
>
~~
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: Access Denied using Scheduled Task

2001-03-13 Thread John Fix 3rd

Chris,

I've seen this happen when some of the CF admin functions are disabled
(CFREGISTRY, CFCONTENT, etc.) in the Basic Security area of the CF
Administrator.  I don't think this is what's happening in your case as
the Application Error Log would specifically mention the tag which
caused the problem.  Have you checked the CF error logs?

John
www.cornells.com

-Original Message-
From: Chris Martin [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 13, 2001 4:55 PM
To: CF-Talk
Subject: Access Denied using Scheduled Task


I'm using the CF Scheduler to call a template I wrote to update and
optimize a verity collection once a week.  I set it to run over on a
Sunday at 3 AM
so it wouldn't interfere with anything else.I came back and looked
at
the logs to see if it worked, and all the log says is access denied.  Is
this a problem with the Scheduler executing the template (its in a Web
Directory on our staging server), or something else?

Thanks,
Chris Martin


~~
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: Linking to URLs with Ampersands

2001-03-13 Thread Bud

On 3/13/01, Terra Durrant penned:
>HREF="#Session.TemplatePath#&Template=Redirect.cfm&Location=http://www.leg.s
>tate.co.us/2001/inetcbill.nsf/fsbillcont/F0ACA8F6AE0D6AE7872569BC005A272F?Op
>en&file=001_rn2.pdf" TARGET="_blank">

This should work:

http://www.leg.state.co.us/2001/inetcbill.nsf/fsbillcont/F0ACA8F6AE0D6AE7872569BC005A272F?Open&file=001_rn2.pdf">


Go

-- 

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



RE: Broken Images / Testing for file existence

2001-03-13 Thread Tony Schreiber

They're our pics (well, not ours, but we're licensed to use them), but
unfortunately, the arrangement of servers/applications is such that it
precludes the common sense approach the this scenario.

This will change soon enough (I'll have the pics on the webserver or at
least access to them by file), but until then I'm trying to find a
reasonable workaround...

> It seems like u are running your own ecommerce site, but using someone
> else's pic.  are u sure u wont get into trouble?
> 
> -Original Message-
> From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 3:04 AM
> To: CF-Talk
> Subject: RE: Broken Images / Testing for file existence
> 
> 
> It's like 2.5 gigs of 250,000 images! I could, but I certinaly don't
> want to. ;p
> 
> > why dont ya just download all dem pics to your server?  makes life easier
> > 
> > -Original Message-
> > From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, March 13, 2001 2:27 AM
> > To: CF-Talk
> > Subject: RE: Broken Images / Testing for file existence
> > 
> > 
> > Doesn't help, since I said: "I can't see using an  for
> > every item for 50 or so on a page. Plus, I can't even do that because I'm
> > grabbing the images from a different server via http only" But thanks...
> > 
> > > use the FileExists() function in CF
> > > 
> > > -Original Message-
> > > From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> > > Sent: 13 March 2001 08:06
> > > To: CF-Talk
> > > Subject: Broken Images / Testing for file existence
> > > 
> > > 
> > > I have an application where I list several items on a page and display
> an
> > > image for that item based on a reference number (ie, productnum+.jpg).
> The
> > > database table does not tell me whether there is an image for that item
> > > and there are many that do have one.
> > > 
> > > I'd like to display an alternate image (or nothing at all) when there is
> > > no image present, but I can't see using an  for every
> > > item for 50 or so on a page. Plus, I can't even do that because I'm
> > > grabbing the images from a different server via http only ( > > SRC="http://otherserver/path/number.jpg>)...
> > > 
> > > How can I avoid displaying broken images?
> > > 
> > > 
> > > Tony Schreiber, Senior Partner  Man and Machine, Limited
> > > mailto:[EMAIL PROTECTED]   http://www.technocraft.com
> > > 
> > > http://www.linktoss.com ___The Fastest Way to Send a Link to Anyone!
> > > http://www.digitacamera.com __DigitA Camera Scripts and Tips
> > > http://www.is300.net ___The Enthusiast's Home of the Lexus IS300
> > > http://www.cfug-sfl.org ___South Florida Cold Fusion Users Group
> > > http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion
> > >
> >
>
~~
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: TID errorlist

2001-03-13 Thread Deb Dickerson

TID represents the Thread ID, it's not an error number.

Deb

- Original Message -
From: "Joseph Thompson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 1:35 PM
Subject: TID errorlist


> Well, the post I sent to Allaire looking for the list of "TID" errors (and
I
> was thinking, maybe the definitions/solutions) came and went without an
> answer.
>
> Any one here know if there is such an animal?
>
> What prompted me to ask was a TID=4100 error on a linux server. (not mine)
>
>
>
~~
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



Access Denied using Scheduled Task

2001-03-13 Thread Chris Martin

I'm using the CF Scheduler to call a template I wrote to update and optimize
a verity collection once a week.  I set it to run over on a Sunday at 3 AM
so it wouldn't interfere with anything else.I came back and looked at
the logs to see if it worked, and all the log says is access denied.  Is
this a problem with the Scheduler executing the template (its in a Web
Directory on our staging server), or something else?

Thanks,
Chris Martin


~~
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: OLE DB vs. ODBC

2001-03-13 Thread Steve Aylor


- Original Message -
From: "S R" <[EMAIL PROTECTED]>



>I've been told in the past that when using CF server and SQL Server to use
OLE DB >instead of ODBC when connecting to databases. I've never been told
why? Is it faster?

I think the rec has to do wit the odbc / MDAC memory leaks - especially in
access.






~~
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: Update on Win2000 vs NT4 Benchmark

2001-03-13 Thread Jon Hall

Cringley has no clue what he talks about. Dont pay him any attention.

jon
- Original Message -
From: "Arden Weiss" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 3:58 PM
Subject: Update on Win2000 vs NT4 Benchmark


> Last week I posted a reference from Info World's Cringley about SQL Server
> being almost twice as fast on NT4 as on Win2000. Well, the storyline has
> changed a bit.
>
> Cringely had more to say this week and printed the following URL that
> details the test -- more about network speed than SQL Server speed so it
> seems -- but still interesting for upgrade adicts.
>
> http://www.nwfusion.com/news/2001/0226performance.html
>  ^
> / \__
>(@\___
>   /  O
>  /(_/
> /_/
> Whoof...
> 410-757-3487
>
>
>
>
>
~~
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: Broken Images / Testing for file existence

2001-03-13 Thread Phoeun Pha

It seems like u are running your own ecommerce site, but using someone
else's pic.  are u sure u wont get into trouble?

-Original Message-
From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 3:04 AM
To: CF-Talk
Subject: RE: Broken Images / Testing for file existence


It's like 2.5 gigs of 250,000 images! I could, but I certinaly don't
want to. ;p

> why dont ya just download all dem pics to your server?  makes life easier
> 
> -Original Message-
> From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 2:27 AM
> To: CF-Talk
> Subject: RE: Broken Images / Testing for file existence
> 
> 
> Doesn't help, since I said: "I can't see using an  for
> every item for 50 or so on a page. Plus, I can't even do that because I'm
> grabbing the images from a different server via http only" But thanks...
> 
> > use the FileExists() function in CF
> > 
> > -Original Message-
> > From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> > Sent: 13 March 2001 08:06
> > To: CF-Talk
> > Subject: Broken Images / Testing for file existence
> > 
> > 
> > I have an application where I list several items on a page and display
an
> > image for that item based on a reference number (ie, productnum+.jpg).
The
> > database table does not tell me whether there is an image for that item
> > and there are many that do have one.
> > 
> > I'd like to display an alternate image (or nothing at all) when there is
> > no image present, but I can't see using an  for every
> > item for 50 or so on a page. Plus, I can't even do that because I'm
> > grabbing the images from a different server via http only ( > SRC="http://otherserver/path/number.jpg>)...
> > 
> > How can I avoid displaying broken images?
> > 
> > 
> > Tony Schreiber, Senior Partner  Man and Machine, Limited
> > mailto:[EMAIL PROTECTED]   http://www.technocraft.com
> > 
> > http://www.linktoss.com ___The Fastest Way to Send a Link to Anyone!
> > http://www.digitacamera.com __DigitA Camera Scripts and Tips
> > http://www.is300.net ___The Enthusiast's Home of the Lexus IS300
> > http://www.cfug-sfl.org ___South Florida Cold Fusion Users Group
> > http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion
> >
>
~~
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



XML

2001-03-13 Thread Phoeun Pha

what are the advantages of using XML with my coldfusion web apps?  like what
cool stuff can I do?  and is XML hard to learn?

~~
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: Form Fields cleared on Back PART 2

2001-03-13 Thread Phoeun Pha

ooh!  was it my method?  if i was I'd feel special

-Original Message-
From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 2:42 PM
To: CF-Talk
Subject: RE: Form Fields cleared on Back


Thanks all, some excellent idea's.  I was hoping there was some hidden
buffer size entry I could tweak but it looks like Im going to have to store
the input and repopulate using one of the methods suggested, at least that
way it will work 100%.

Thanks again,Adrian
~~
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: Linking to URLs with Ampersands

2001-03-13 Thread Terra Durrant

I did, but it didn't work.  We ended up having to change the code in my
redirect page to allow ampersands in the URLs.

Thanks!

Terra

-Original Message-
From: Patricia Lee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 2:45 PM
To: CF-Talk
Subject: RE: Linking to URLs with Ampersands


Did you try URLENCODING() the url that you're passing along the URL?

|-Original Message-
|From: Terra Durrant [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 13, 2001 2:06 PM
|To: CF-Talk
|Subject: Linking to URLs with Ampersands
|
|
|Hello,
|
|For our Web site, I use a ColdFusion redirect page to display a legal
|disclaimer when linking to external sites.  To have this redirect text
|appear in the template before the user leaves our site, I must use the
|following format for a link tag:
|
|
|
|Since ColdFusion uses the ampersand to define variables, I am
|running into
|trouble linking to Web sites that use ampersands in their
|URLs.  Because of
|the two variables previously defined in this tag, any of the
|URL after (and
|including) an ampersand is deleted.  So, the above URL would
|be truncated
|to:
|
|http://www.leg.state.co.us/2001/inetcbill.nsf/fsbillcont/F0ACA8
|F6AE0D6AE7872
|569BC005A272F?Open
|
|Thus, rendering my link useless.  I have tried using CFOUTPUT
|tags, using
|two ampersands, and using the HTML code for an ampersand to replace the
|ampersand in the URL.  None of these options have worked.  Since the
|redirect page isn't something I can just *not* use, I am
|wondering if any of
|you have found an alternative way to deal with this issue.
|
|Thanks in advance!
|
|Terra Durrant
|On-Line Specialist
|American Collectors Association
|(952) 928-8000, ext. 755
|www.collector.com
|
|
|Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
|Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
|
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP and creating csv recordset problems...

2001-03-13 Thread lsellers


"
There is a documented feature of CFHTTP that allows you to load up a
comma-delimited file into memory via CFHTTP.  This is useful if (and this is
the case) you can't use CFFile to load up a comma-delimited file (CFX_File
has a max size of 64KB for a read) and you can't set up a csv datasource in
"

Note: CFX_secFile (basically same thing) has no limit beyond your current
virtual memory.

--min


~~
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: Broken Images / Testing for file existence

2001-03-13 Thread Tim Bahlke

There's a custom tag at the exchange, CF_ImgMultifunction -
http://devex.allaire.com/developer/gallery/info.cfm?ID=CA34776B-2830-11D4-AA
9700508B94F380&method=Full, that I've used and has worked well for me.

Tim Bahlke

> -Original Message-
> From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 2:06 AM
> To: CF-Talk
> Subject: Broken Images / Testing for file existence
> 
> 
> I have an application where I list several items on a page 
> and display an
> image for that item based on a reference number (ie, 
> productnum+.jpg). The
> database table does not tell me whether there is an image for 
> that item
> and there are many that do have one.
> 
> I'd like to display an alternate image (or nothing at all) 
> when there is
> no image present, but I can't see using an  for every
> item for 50 or so on a page. Plus, I can't even do that because I'm
> grabbing the images from a different server via http only ( SRC="http://otherserver/path/number.jpg>)...
> 
> How can I avoid displaying broken images?
> 
> 
> Tony Schreiber, Senior Partner  Man and 
> Machine, Limited
> mailto:[EMAIL PROTECTED]   
> http://www.technocraft.com
> 
> http://www.linktoss.com ___The Fastest Way to Send a Link 
> to Anyone!
> http://www.digitacamera.com __DigitA Camera 
> Scripts and Tips
> http://www.is300.net ___The Enthusiast's Home of the 
> Lexus IS300
> http://www.cfug-sfl.org ___South Florida Cold Fusion 
> Users Group
> http://www.simplemessageboard.com ___Free Forum Software for 
> Cold Fusion
>
~~
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: Form Fields cleared on Back

2001-03-13 Thread Dan G. Switzer, II

Check out the qForms API:
http://www.pengoworks.com/qForms/

It won't necessarily solve the blanking of the forms problem, but you can
pass it a JS based structure and it will repopulate the form, which will
save you a ton of CF-based coding, since all you'll need to do is save the
FORM scope as a JS string, and then pass that string back to the API to
repopulate the form. It's pretty easy to do, plus the API has a bunch of ton
of other useful functionality built-in...

-Dan

-Original Message-
From: Maia, Eric [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 3:02 PM
To: CF-Talk
Subject: RE: Form Fields cleared on Back

The way I do it is to first create a structure with all of the form field
preloads (if editing a record) or all blank values (if a new record). I use
this struct to populate the form fields.

Then, if there's an error detected upon submittal, I load the form data into
the struct (so it'll keep their new entries), and save the struct in a
session variable. I also save any error messages in a session variable.

That way, when I reload the form, I just check to see if the session
variables are defined, and if they are, display the error messages and grab
the struct from the session variable to re-populate the form fields.

(I also make sure to clear the session variable once the validation passes,
so they don't get any incorrect error messages if they go back to the form.)

Eric

-Original Message-
From: S R [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 11:51 AM
To: CF-Talk
Subject: Re: Form Fields cleared on Back


I've found that this is something that happens on IE5. Netscape doesn't do
this. The only way I've gotten around is to painstakingly include a bunch of

'hidden' form fields that way when the user presses the back button it
repopulates the form.


>From: "Adrian Cesana" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Form Fields cleared on Back
>Date: Tue, 13 Mar 2001 11:46:49 -0800
>
>Im going nuts trying to figure this one out, I have a form with about 110
>fields (ya i know), there is lots of server side validation, if an input
>error occurs I CFABORT and give the user a JavaScript back button to go
>back
>an correct the input.  On some users PC the form gets cleared on other PC's
>it does not.  I also use some of the CF built in validation (_required) so
>the user has to use the browser back button, same thing happens on some of
>these peoples browsers.  Of coarse it does not happen on mine.  I setup a
>few test forms for the problems users and it things work ok.  These users
>are all using IE 5.x, any one else have such problems, could it be the
>large
>number of INPUT fields? any browser settings? registry settings? Voodoo
>dances? anything?
>
>Thanks,Adrian
>
>
>
>
~~
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: Broken Images / Testing for file existence

2001-03-13 Thread Tony Schreiber

It's like 2.5 gigs of 250,000 images! I could, but I certinaly don't
want to. ;p

> why dont ya just download all dem pics to your server?  makes life easier
> 
> -Original Message-
> From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 2:27 AM
> To: CF-Talk
> Subject: RE: Broken Images / Testing for file existence
> 
> 
> Doesn't help, since I said: "I can't see using an  for
> every item for 50 or so on a page. Plus, I can't even do that because I'm
> grabbing the images from a different server via http only" But thanks...
> 
> > use the FileExists() function in CF
> > 
> > -Original Message-
> > From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> > Sent: 13 March 2001 08:06
> > To: CF-Talk
> > Subject: Broken Images / Testing for file existence
> > 
> > 
> > I have an application where I list several items on a page and display an
> > image for that item based on a reference number (ie, productnum+.jpg). The
> > database table does not tell me whether there is an image for that item
> > and there are many that do have one.
> > 
> > I'd like to display an alternate image (or nothing at all) when there is
> > no image present, but I can't see using an  for every
> > item for 50 or so on a page. Plus, I can't even do that because I'm
> > grabbing the images from a different server via http only ( > SRC="http://otherserver/path/number.jpg>)...
> > 
> > How can I avoid displaying broken images?
> > 
> > 
> > Tony Schreiber, Senior Partner  Man and Machine, Limited
> > mailto:[EMAIL PROTECTED]   http://www.technocraft.com
> > 
> > http://www.linktoss.com ___The Fastest Way to Send a Link to Anyone!
> > http://www.digitacamera.com __DigitA Camera Scripts and Tips
> > http://www.is300.net ___The Enthusiast's Home of the Lexus IS300
> > http://www.cfug-sfl.org ___South Florida Cold Fusion Users Group
> > http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion
> >
>
~~
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: Form Fields cleared on Back

2001-03-13 Thread Bryan Laplante

go to the developer exchange at allaire and download the cfwizard tag set. Using wddx 
you can hold form var's for as many pages as you wish until the user clicks finish. 
It's a really cool tag set.

Bryan

-- Original Message --
From: Patricia Lee <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Tue, 13 Mar 2001 15:42:23 -0500

If you are allowed to only program for 5.x there might be a programmatic
workaround for you.

!-- PERSISTENCE_NOTE: The style block is required in Internet Explorer 5
Beta 1 for the saveHistory peer. -->


.saveHistory {behavior:url(##default##savehistory);}



Attach the .saveHistory class to each of the form elements you want to
retain information for.  Then, as long as the user uses the Back button,
or you program a javascript: history.go(-1) (or whatever flavor you
prefer)... the user data will be retained.

Again, only will work for IE 5.x... and probably only on PC?

|-Original Message-
|From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 13, 2001 2:47 PM
|To: CF-Talk
|Subject: Form Fields cleared on Back
|
|
|Im going nuts trying to figure this one out, I have a form 
|with about 110
|fields (ya i know), there is lots of server side validation, 
|if an input
|error occurs I CFABORT and give the user a JavaScript back 
|button to go back
|an correct the input.  On some users PC the form gets cleared 
|on other PC's
|it does not.  I also use some of the CF built in validation 
|(_required) so
|the user has to use the browser back button, same thing 
|happens on some of
|these peoples browsers.  Of coarse it does not happen on mine. 
| I setup a
|few test forms for the problems users and it things work ok.  
|These users
|are all using IE 5.x, any one else have such problems, could 
|it be the large
|number of INPUT fields? any browser settings? registry settings? Voodoo
|dances? anything?
|
|Thanks,Adrian
|
|
|
|
~~
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: example of navigation buttons & Code behind them

2001-03-13 Thread Mike

Sorry should have put that up there the first time



"Mike" <[EMAIL PROTECTED]> wrote in message
3aae826b$[EMAIL PROTECTED]">news:3aae826b$[EMAIL PROTECTED]...
> Anyone have links or examples of simple nav buttons,  like next, previous,
> last , first,
>
> Thanks
>
>



~~
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



Update on Win2000 vs NT4 Benchmark

2001-03-13 Thread Arden Weiss

Last week I posted a reference from Info World's Cringley about SQL Server 
being almost twice as fast on NT4 as on Win2000. Well, the storyline has 
changed a bit.

Cringely had more to say this week and printed the following URL that 
details the test -- more about network speed than SQL Server speed so it 
seems -- but still interesting for upgrade adicts.

http://www.nwfusion.com/news/2001/0226performance.html
 ^
/ \__
   (@\___
  /  O
 /(_/
/_/
Whoof...
410-757-3487




~~
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: Form Fields cleared on Back

2001-03-13 Thread Trey Rouse

My understanding this is a function of client side caching.

Basically, you don't have any control over it.

What we do is submit the form back to itself, run the validation, if it 
fails we skip the DB work and just redisplay the form using 
value=#form.whatever#.  The only trick to this is you must cfparam all your 
form variables on the first load. This was the app repeats the process till 
the user gets it right.


The primary reason we began using this method was to display error messages 
over the specific field that failed validation.  When your done, you end up 
with a very clean, user friendly form.

Food for thought...


At 11:46 AM 3/13/2001 -0800, you wrote:
>Im going nuts trying to figure this one out, I have a form with about 110
>fields (ya i know), there is lots of server side validation, if an input
>error occurs I CFABORT and give the user a JavaScript back button to go back
>an correct the input.  On some users PC the form gets cleared on other PC's
>it does not.  I also use some of the CF built in validation (_required) so
>the user has to use the browser back button, same thing happens on some of
>these peoples browsers.  Of coarse it does not happen on mine.  I setup a
>few test forms for the problems users and it things work ok.  These users
>are all using IE 5.x, any one else have such problems, could it be the large
>number of INPUT fields? any browser settings? registry settings? Voodoo
>dances? anything?
>
>Thanks,Adrian
>
>
>
>
~~
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



How to get Verity to recognize title in XML file?

2001-03-13 Thread Marc Garrett

How can I get Verity to recognize the  tag in an xml file? The search
works for html title tags, but not xml.

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



CFQuery Error

2001-03-13 Thread Duane Boudreau

Any idea what this error means?


CFQuery

Retrieval of cached query failed



~~
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: Linking to URLs with Ampersands

2001-03-13 Thread Patricia Lee

Did you try URLENCODING() the url that you're passing along the URL?

|-Original Message-
|From: Terra Durrant [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 13, 2001 2:06 PM
|To: CF-Talk
|Subject: Linking to URLs with Ampersands
|
|
|Hello,
|
|For our Web site, I use a ColdFusion redirect page to display a legal
|disclaimer when linking to external sites.  To have this redirect text
|appear in the template before the user leaves our site, I must use the
|following format for a link tag:
|
|
|
|Since ColdFusion uses the ampersand to define variables, I am 
|running into
|trouble linking to Web sites that use ampersands in their 
|URLs.  Because of
|the two variables previously defined in this tag, any of the 
|URL after (and
|including) an ampersand is deleted.  So, the above URL would 
|be truncated
|to:
|
|http://www.leg.state.co.us/2001/inetcbill.nsf/fsbillcont/F0ACA8
|F6AE0D6AE7872
|569BC005A272F?Open
|
|Thus, rendering my link useless.  I have tried using CFOUTPUT 
|tags, using
|two ampersands, and using the HTML code for an ampersand to replace the
|ampersand in the URL.  None of these options have worked.  Since the
|redirect page isn't something I can just *not* use, I am 
|wondering if any of
|you have found an alternative way to deal with this issue.
|
|Thanks in advance!
|
|Terra Durrant
|On-Line Specialist
|American Collectors Association
|(952) 928-8000, ext. 755
|www.collector.com
|
|
|Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
|Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
|

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Form Fields cleared on Back

2001-03-13 Thread Adrian Cesana

Thanks all, some excellent idea's.  I was hoping there was some hidden
buffer size entry I could tweak but it looks like Im going to have to store
the input and repopulate using one of the methods suggested, at least that
way it will work 100%.

Thanks again,Adrian




~~
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: Broken Images / Testing for file existence

2001-03-13 Thread Phoeun Pha

why dont ya just download all dem pics to your server?  makes life easier

-Original Message-
From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 2:27 AM
To: CF-Talk
Subject: RE: Broken Images / Testing for file existence


Doesn't help, since I said: "I can't see using an  for
every item for 50 or so on a page. Plus, I can't even do that because I'm
grabbing the images from a different server via http only" But thanks...

> use the FileExists() function in CF
> 
> -Original Message-
> From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2001 08:06
> To: CF-Talk
> Subject: Broken Images / Testing for file existence
> 
> 
> I have an application where I list several items on a page and display an
> image for that item based on a reference number (ie, productnum+.jpg). The
> database table does not tell me whether there is an image for that item
> and there are many that do have one.
> 
> I'd like to display an alternate image (or nothing at all) when there is
> no image present, but I can't see using an  for every
> item for 50 or so on a page. Plus, I can't even do that because I'm
> grabbing the images from a different server via http only ( SRC="http://otherserver/path/number.jpg>)...
> 
> How can I avoid displaying broken images?
> 
> 
> Tony Schreiber, Senior Partner  Man and Machine, Limited
> mailto:[EMAIL PROTECTED]   http://www.technocraft.com
> 
> http://www.linktoss.com ___The Fastest Way to Send a Link to Anyone!
> http://www.digitacamera.com __DigitA Camera Scripts and Tips
> http://www.is300.net ___The Enthusiast's Home of the Lexus IS300
> http://www.cfug-sfl.org ___South Florida Cold Fusion Users Group
> http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion
>
~~
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: Form Fields cleared on Back

2001-03-13 Thread Patricia Lee

If you are allowed to only program for 5.x there might be a programmatic
workaround for you.

!-- PERSISTENCE_NOTE: The style block is required in Internet Explorer 5
Beta 1 for the saveHistory peer. -->


.saveHistory {behavior:url(##default##savehistory);}



Attach the .saveHistory class to each of the form elements you want to
retain information for.  Then, as long as the the user uses the Back button,
or you program a javascript: history.go(-1) (or whatever flavor you
prefer)... the user data will be retained.

Again, only will work for IE 5.x... and probably only on PC?

|-Original Message-
|From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 13, 2001 2:47 PM
|To: CF-Talk
|Subject: Form Fields cleared on Back
|
|
|Im going nuts trying to figure this one out, I have a form 
|with about 110
|fields (ya i know), there is lots of server side validation, 
|if an input
|error occurs I CFABORT and give the user a JavaScript back 
|button to go back
|an correct the input.  On some users PC the form gets cleared 
|on other PC's
|it does not.  I also use some of the CF built in validation 
|(_required) so
|the user has to use the browser back button, same thing 
|happens on some of
|these peoples browsers.  Of coarse it does not happen on mine. 
| I setup a
|few test forms for the problems users and it things work ok.  
|These users
|are all using IE 5.x, any one else have such problems, could 
|it be the large
|number of INPUT fields? any browser settings? registry settings? Voodoo
|dances? anything?
|
|Thanks,Adrian
|
|
|
|
~~
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: Broken Images / Testing for file existence

2001-03-13 Thread Tony Schreiber

> I don't know that you can.

That's kinda what I was thinking...
 
> I would store that info in the database; it could be a flag which simply
> indicates the existence of the file or not.
> 
> You could write a CF page to update the db as often as necessary (once,
> hourly, daily, etc.); that page would check to see if the file exists, then
> update the db.  (Don't update the db for each record; loop through your
> productnums, delete productnums that don't have graphic file, then do one db
> update along the lines of "update  set hasGraphic = 1 where
> productnum in ()"

That would work of course, but in this application, I'm essentially using
a "read-only" table from an external source. I'd have to add another table
to match the item number and a flag for the graphic's existence...

>
> I have an application where I list several items on a page and display an
> image for that item based on a reference number (ie, productnum+.jpg). The
> database table does not tell me whether there is an image for that item
> and there are many that do have one.
> 
> I'd like to display an alternate image (or nothing at all) when there is
> no image present, but I can't see using an  for every
> item for 50 or so on a page. Plus, I can't even do that because I'm
> grabbing the images from a different server via http only ( SRC="http://otherserver/path/number.jpg>)...
> 
> How can I avoid displaying broken images?
> 
> 
> Tony Schreiber, Senior Partner  Man and Machine, Limited
> mailto:[EMAIL PROTECTED]   http://www.technocraft.com
> 
> http://www.linktoss.com ___The Fastest Way to Send a Link to Anyone!
> http://www.digitacamera.com __DigitA Camera Scripts and Tips
> http://www.is300.net ___The Enthusiast's Home of the Lexus IS300
> http://www.cfug-sfl.org ___South Florida Cold Fusion Users Group
> http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion
>
~~
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: example of navigation buttons

2001-03-13 Thread Phoeun Pha

dude just draw a square with arrows and boxes and what not

-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 2:25 PM
To: CF-Talk
Subject: example of navigation buttons


Anyone have links or examples of simple nav buttons,  like next, previous,
last , first,

Thanks
~~
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: Broken Images / Testing for file existence

2001-03-13 Thread Caulfield, Michael

If broken images are the exception, the easiest way is to make a generic
filler graphic (e.g. a transparent gif or image that says "No photo
available") and then name it x.jpg where x is the number of the product
without the picture.

If you can't control the pictures on the other server, however, this won't
be much help.

-Original Message-
From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 2:06 AM
To: CF-Talk
Subject: Broken Images / Testing for file existence


I have an application where I list several items on a page and display an
image for that item based on a reference number (ie, productnum+.jpg). The
database table does not tell me whether there is an image for that item
and there are many that do have one.

I'd like to display an alternate image (or nothing at all) when there is
no image present, but I can't see using an  for every
item for 50 or so on a page. Plus, I can't even do that because I'm
grabbing the images from a different server via http only (http://otherserver/path/number.jpg>)...

How can I avoid displaying broken images?


Tony Schreiber, Senior Partner  Man and Machine, Limited
mailto:[EMAIL PROTECTED]   http://www.technocraft.com

http://www.linktoss.com ___The Fastest Way to Send a Link to Anyone!
http://www.digitacamera.com __DigitA Camera Scripts and Tips
http://www.is300.net ___The Enthusiast's Home of the Lexus IS300
http://www.cfug-sfl.org ___South Florida Cold Fusion Users Group
http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion
~~
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: Broken Images / Testing for file existence

2001-03-13 Thread Daniel Lancelot

OOPS

Sorry

I really should read the message before replying :(

It might be possible to use cfhttp to check for the existence of the file -
maybe update the db with the info as David suggested...

cheers

Dan

-Original Message-
From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 08:27
To: CF-Talk
Subject: RE: Broken Images / Testing for file existence


Doesn't help, since I said: "I can't see using an  for
every item for 50 or so on a page. Plus, I can't even do that because I'm
grabbing the images from a different server via http only" But thanks...

> use the FileExists() function in CF
> 
> -Original Message-
> From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2001 08:06
> To: CF-Talk
> Subject: Broken Images / Testing for file existence
> 
> 
> I have an application where I list several items on a page and display an
> image for that item based on a reference number (ie, productnum+.jpg). The
> database table does not tell me whether there is an image for that item
> and there are many that do have one.
> 
> I'd like to display an alternate image (or nothing at all) when there is
> no image present, but I can't see using an  for every
> item for 50 or so on a page. Plus, I can't even do that because I'm
> grabbing the images from a different server via http only ( SRC="http://otherserver/path/number.jpg>)...
> 
> How can I avoid displaying broken images?
> 
> 
> Tony Schreiber, Senior Partner  Man and Machine, Limited
> mailto:[EMAIL PROTECTED]   http://www.technocraft.com
> 
> http://www.linktoss.com ___The Fastest Way to Send a Link to Anyone!
> http://www.digitacamera.com __DigitA Camera Scripts and Tips
> http://www.is300.net ___The Enthusiast's Home of the Lexus IS300
> http://www.cfug-sfl.org ___South Florida Cold Fusion Users Group
> http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion
>
~~
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: Form Fields cleared on Back

2001-03-13 Thread Patricia Lee

This is a browser setting... You can tell your browser to check for new data
every time (in which case the form will always come back blank), or you can
tell it to used cached info (in which case it comes back full).

In other words, you're most likely sol


|-Original Message-
|From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 13, 2001 2:47 PM
|To: CF-Talk
|Subject: Form Fields cleared on Back
|
|
|Im going nuts trying to figure this one out, I have a form 
|with about 110
|fields (ya i know), there is lots of server side validation, 
|if an input
|error occurs I CFABORT and give the user a JavaScript back 
|button to go back
|an correct the input.  On some users PC the form gets cleared 
|on other PC's
|it does not.  I also use some of the CF built in validation 
|(_required) so
|the user has to use the browser back button, same thing 
|happens on some of
|these peoples browsers.  Of coarse it does not happen on mine. 
| I setup a
|few test forms for the problems users and it things work ok.  
|These users
|are all using IE 5.x, any one else have such problems, could 
|it be the large
|number of INPUT fields? any browser settings? registry settings? Voodoo
|dances? anything?
|
|Thanks,Adrian
|
|
|
|
~~
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: Broken Images / Testing for file existence

2001-03-13 Thread Olivier Gostan

one solution i've used is to write a simple CFX to display the image.

O-


- Original Message -
From: "Tony Schreiber" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 3:27 AM
Subject: RE: Broken Images / Testing for file existence


> Doesn't help, since I said: "I can't see using an  for
> every item for 50 or so on a page. Plus, I can't even do that because I'm
> grabbing the images from a different server via http only" But thanks...
>
> > use the FileExists() function in CF
> >
> > -Original Message-
> > From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> > Sent: 13 March 2001 08:06
> > To: CF-Talk
> > Subject: Broken Images / Testing for file existence
> >
> >
> > I have an application where I list several items on a page and display
an
> > image for that item based on a reference number (ie, productnum+.jpg).
The
> > database table does not tell me whether there is an image for that item
> > and there are many that do have one.
> >
> > I'd like to display an alternate image (or nothing at all) when there is
> > no image present, but I can't see using an  for every
> > item for 50 or so on a page. Plus, I can't even do that because I'm
> > grabbing the images from a different server via http only ( > SRC="http://otherserver/path/number.jpg>)...
> >
> > How can I avoid displaying broken images?
> >
> >
> > Tony Schreiber, Senior Partner  Man and Machine, Limited
> > mailto:[EMAIL PROTECTED]   http://www.technocraft.com
> >
> > http://www.linktoss.com ___The Fastest Way to Send a Link to Anyone!
> > http://www.digitacamera.com __DigitA Camera Scripts and Tips
> > http://www.is300.net ___The Enthusiast's Home of the Lexus IS300
> > http://www.cfug-sfl.org ___South Florida Cold Fusion Users Group
> > http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion
> >
>
~~
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



example of navigation buttons

2001-03-13 Thread Mike

Anyone have links or examples of simple nav buttons,  like next, previous,
last , first,

Thanks



~~
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: Broken Images / Testing for file existence

2001-03-13 Thread Tony Schreiber

Doesn't help, since I said: "I can't see using an  for
every item for 50 or so on a page. Plus, I can't even do that because I'm
grabbing the images from a different server via http only" But thanks...

> use the FileExists() function in CF
> 
> -Original Message-
> From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2001 08:06
> To: CF-Talk
> Subject: Broken Images / Testing for file existence
> 
> 
> I have an application where I list several items on a page and display an
> image for that item based on a reference number (ie, productnum+.jpg). The
> database table does not tell me whether there is an image for that item
> and there are many that do have one.
> 
> I'd like to display an alternate image (or nothing at all) when there is
> no image present, but I can't see using an  for every
> item for 50 or so on a page. Plus, I can't even do that because I'm
> grabbing the images from a different server via http only ( SRC="http://otherserver/path/number.jpg>)...
> 
> How can I avoid displaying broken images?
> 
> 
> Tony Schreiber, Senior Partner  Man and Machine, Limited
> mailto:[EMAIL PROTECTED]   http://www.technocraft.com
> 
> http://www.linktoss.com ___The Fastest Way to Send a Link to Anyone!
> http://www.digitacamera.com __DigitA Camera Scripts and Tips
> http://www.is300.net ___The Enthusiast's Home of the Lexus IS300
> http://www.cfug-sfl.org ___South Florida Cold Fusion Users Group
> http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion
>
~~
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: Broken Images / Testing for file existence

2001-03-13 Thread Hayes, David

I don't know that you can.

I would store that info in the database; it could be a flag which simply
indicates the existence of the file or not.

You could write a CF page to update the db as often as necessary (once,
hourly, daily, etc.); that page would check to see if the file exists, then
update the db.  (Don't update the db for each record; loop through your
productnums, delete productnums that don't have graphic file, then do one db
update along the lines of "update  set hasGraphic = 1 where
productnum in ()"



-Original Message-
From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 2:06 AM
To: CF-Talk
Subject: Broken Images / Testing for file existence


I have an application where I list several items on a page and display an
image for that item based on a reference number (ie, productnum+.jpg). The
database table does not tell me whether there is an image for that item
and there are many that do have one.

I'd like to display an alternate image (or nothing at all) when there is
no image present, but I can't see using an  for every
item for 50 or so on a page. Plus, I can't even do that because I'm
grabbing the images from a different server via http only (http://otherserver/path/number.jpg>)...

How can I avoid displaying broken images?


Tony Schreiber, Senior Partner  Man and Machine, Limited
mailto:[EMAIL PROTECTED]   http://www.technocraft.com

http://www.linktoss.com ___The Fastest Way to Send a Link to Anyone!
http://www.digitacamera.com __DigitA Camera Scripts and Tips
http://www.is300.net ___The Enthusiast's Home of the Lexus IS300
http://www.cfug-sfl.org ___South Florida Cold Fusion Users Group
http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion
~~
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: Broken Images / Testing for file existence

2001-03-13 Thread Daniel Lancelot

use the FileExists() function in CF

-Original Message-
From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 08:06
To: CF-Talk
Subject: Broken Images / Testing for file existence


I have an application where I list several items on a page and display an
image for that item based on a reference number (ie, productnum+.jpg). The
database table does not tell me whether there is an image for that item
and there are many that do have one.

I'd like to display an alternate image (or nothing at all) when there is
no image present, but I can't see using an  for every
item for 50 or so on a page. Plus, I can't even do that because I'm
grabbing the images from a different server via http only (http://otherserver/path/number.jpg>)...

How can I avoid displaying broken images?


Tony Schreiber, Senior Partner  Man and Machine, Limited
mailto:[EMAIL PROTECTED]   http://www.technocraft.com

http://www.linktoss.com ___The Fastest Way to Send a Link to Anyone!
http://www.digitacamera.com __DigitA Camera Scripts and Tips
http://www.is300.net ___The Enthusiast's Home of the Lexus IS300
http://www.cfug-sfl.org ___South Florida Cold Fusion Users Group
http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion
~~
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 Problem

2001-03-13 Thread Bud

On 3/13/01, John McCosker penned:
>I'm experiencing exactly the same problem, I'm getting the same error
>message.
>
>If you solved this could you let me know how.
>
>Would be eternally gratefull.

Like Philip said, I thought this was something that was fixed in one 
of the service packs. Although I never had the problem with 4.0x. CF 
would think the page wasn't text if the header was malformed. The 
workaround was to use the "file" parameter in the cfhttp tag and 
write the cfhttp.filecontent to a file and read that.
-- 

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



RE: Form Fields cleared on Back PART 2

2001-03-13 Thread Phoeun Pha

here's another idea.  IF there is an error, do a CFABORT, AND  a CFinclude a
certain template.  This template will be designed like the first page that
had the forms, except, the input fields will be given values.  so whatever
values are present will be in those input fields (it might be painstaking
work with 110 form fields, unless they were created dynamically).now
ain't that clever.  its pretty cool i dont have to click the back button, it
just reappears on the next page if something goes wrong.  i love CFincludes!






-Original Message-
From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 1:47 PM
To: CF-Talk
Subject: Form Fields cleared on Back


Im going nuts trying to figure this one out, I have a form with about 110
fields (ya i know), there is lots of server side validation, if an input
error occurs I CFABORT and give the user a JavaScript back button to go back
an correct the input.  On some users PC the form gets cleared on other PC's
it does not.  I also use some of the CF built in validation (_required) so
the user has to use the browser back button, same thing happens on some of
these peoples browsers.  Of coarse it does not happen on mine.  I setup a
few test forms for the problems users and it things work ok.  These users
are all using IE 5.x, any one else have such problems, could it be the large
number of INPUT fields? any browser settings? registry settings? Voodoo
dances? anything?

Thanks,Adrian
~~
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: Form Fields cleared on Back

2001-03-13 Thread Bryan Love

I've come up with a very handy solution to this...

IF you use fusebox try this (I call it stacking):











the ACT_DELETEBUGS.CFM template only runs if the form fields from
DSP_BUGLIST.CFM are defined (if the form has been submitted).  

Inside the action fuse is where the form validation occurrs.  At the end of
this fuse I check to see if an error occurred - relocate to the next step if
no errors, otherwise drop right on through where the form will appear again
populated with it's own values.

In DSP_BUGLIST.CFM you'll need to put an if statement to default the form
values for the first time through.

Works like a charm! 


Bryan Love ACP
Internet Application Developer
[EMAIL PROTECTED]



-Original Message-
From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 11:47 AM
To: CF-Talk
Subject: Form Fields cleared on Back


Im going nuts trying to figure this one out, I have a form with about 110
fields (ya i know), there is lots of server side validation, if an input
error occurs I CFABORT and give the user a JavaScript back button to go back
an correct the input.  On some users PC the form gets cleared on other PC's
it does not.  I also use some of the CF built in validation (_required) so
the user has to use the browser back button, same thing happens on some of
these peoples browsers.  Of coarse it does not happen on mine.  I setup a
few test forms for the problems users and it things work ok.  These users
are all using IE 5.x, any one else have such problems, could it be the large
number of INPUT fields? any browser settings? registry settings? Voodoo
dances? anything?

Thanks,Adrian
~~
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



Broken Images / Testing for file existence

2001-03-13 Thread Tony Schreiber

I have an application where I list several items on a page and display an
image for that item based on a reference number (ie, productnum+.jpg). The
database table does not tell me whether there is an image for that item
and there are many that do have one.

I'd like to display an alternate image (or nothing at all) when there is
no image present, but I can't see using an  for every
item for 50 or so on a page. Plus, I can't even do that because I'm
grabbing the images from a different server via http only (http://otherserver/path/number.jpg>)...

How can I avoid displaying broken images?


Tony Schreiber, Senior Partner  Man and Machine, Limited
mailto:[EMAIL PROTECTED]   http://www.technocraft.com

http://www.linktoss.com ___The Fastest Way to Send a Link to Anyone!
http://www.digitacamera.com __DigitA Camera Scripts and Tips
http://www.is300.net ___The Enthusiast's Home of the Lexus IS300
http://www.cfug-sfl.org ___South Florida Cold Fusion Users Group
http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion


~~
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: Form Fields cleared on Back

2001-03-13 Thread Maia, Eric

The way I do it is to first create a structure with all of the form field
preloads (if editing a record) or all blank values (if a new record). I use
this struct to populate the form fields. 

Then, if there's an error detected upon submittal, I load the form data into
the struct (so it'll keep their new entries), and save the struct in a
session variable. I also save any error messages in a session variable.

That way, when I reload the form, I just check to see if the session
variables are defined, and if they are, display the error messages and grab
the struct from the session variable to re-populate the form fields.

(I also make sure to clear the session variable once the validation passes,
so they don't get any incorrect error messages if they go back to the form.)

Eric

-Original Message-
From: S R [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 11:51 AM
To: CF-Talk
Subject: Re: Form Fields cleared on Back


I've found that this is something that happens on IE5. Netscape doesn't do 
this. The only way I've gotten around is to painstakingly include a bunch of

'hidden' form fields that way when the user presses the back button it 
repopulates the form.


>From: "Adrian Cesana" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Form Fields cleared on Back
>Date: Tue, 13 Mar 2001 11:46:49 -0800
>
>Im going nuts trying to figure this one out, I have a form with about 110
>fields (ya i know), there is lots of server side validation, if an input
>error occurs I CFABORT and give the user a JavaScript back button to go 
>back
>an correct the input.  On some users PC the form gets cleared on other PC's
>it does not.  I also use some of the CF built in validation (_required) so
>the user has to use the browser back button, same thing happens on some of
>these peoples browsers.  Of coarse it does not happen on mine.  I setup a
>few test forms for the problems users and it things work ok.  These users
>are all using IE 5.x, any one else have such problems, could it be the 
>large
>number of INPUT fields? any browser settings? registry settings? Voodoo
>dances? anything?
>
>Thanks,Adrian
>
>
>
>
~~
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: Form Fields cleared on Back

2001-03-13 Thread Jason Aden

What type of inputs are they? I know that IE will clear password fields when
you hit the browser back button.

Jason


Jason Aden
Allaire Certified Developer
[EMAIL PROTECTED]
www.wwstudios.com

> -Original Message-
> From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 2:47 PM
> To: CF-Talk
> Subject: Form Fields cleared on Back
>
>
> Im going nuts trying to figure this one out, I have a form with about 110
> fields (ya i know), there is lots of server side validation, if an input
> error occurs I CFABORT and give the user a JavaScript back button
> to go back
> an correct the input.  On some users PC the form gets cleared on
> other PC's
> it does not.  I also use some of the CF built in validation (_required) so
> the user has to use the browser back button, same thing happens on some of
> these peoples browsers.  Of coarse it does not happen on mine.  I setup a
> few test forms for the problems users and it things work ok.  These users
> are all using IE 5.x, any one else have such problems, could it
> be the large
> number of INPUT fields? any browser settings? registry settings? Voodoo
> dances? anything?
>
> Thanks,Adrian
>
>
>
>
~~
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: Form Fields cleared on Back

2001-03-13 Thread Phoeun Pha

it is DEFINITLEY the large number of input fields.  i had a problem like
that once, where i allowed the admin to enter different events for different
artists as many times as they wanted.  anything about 20 times made the page
work wierd, so i limited to 10 times only.  hehe

-Original Message-
From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 1:47 PM
To: CF-Talk
Subject: Form Fields cleared on Back


Im going nuts trying to figure this one out, I have a form with about 110
fields (ya i know), there is lots of server side validation, if an input
error occurs I CFABORT and give the user a JavaScript back button to go back
an correct the input.  On some users PC the form gets cleared on other PC's
it does not.  I also use some of the CF built in validation (_required) so
the user has to use the browser back button, same thing happens on some of
these peoples browsers.  Of coarse it does not happen on mine.  I setup a
few test forms for the problems users and it things work ok.  These users
are all using IE 5.x, any one else have such problems, could it be the large
number of INPUT fields? any browser settings? registry settings? Voodoo
dances? anything?

Thanks,Adrian
~~
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: (Review) Conditional loops

2001-03-13 Thread Garza, Jeff

I forgot to mention that I'm running CF5.0.  So that may have influenced the
results.  I'll have to try again on a 4.5.2 machine.

Jeff Garza
Web Developer/Webmaster
Spectrum Astro, Inc.
480.892.8200

[EMAIL PROTECTED]
http://www.spectrumastro.com


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 13, 2001 1:51 PM
To: CF-Talk
Subject: RE: (Review) Conditional loops


1,000,000 on my machine... PIII 750MHz 512MB RAM
===
CF-64360
While - 34062
do-31563



-Original Message-
From: Garza, Jeff [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 12:49 PM
To: CF-Talk
Subject: RE: (Review) Conditional loops


Me thinks you are wrong...  Did you remember to change the loop count in the
CFLOOP to 1,000,000 as well?  Your results are awfully close to those of the
100,000 group.

1,000,000 on my machine... PIII 600MHz 782MB RAM
***
CF-44063
While - 28562
do-25297

These results are inline with all the others.  Twice as fast in CFSCRIPT.

***
Jeff Garza
Web Developer/Webmaster
Spectrum Astro, Inc.
480.892.8200

[EMAIL PROTECTED]
http://www.spectrumastro.com



-Original Message-
From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 11:37 AM
To: CF-Talk
Subject: RE: (Review) Conditional loops


What do make of this then???
CFLOOP is (fairly substantially) quicker when you have 1,000,000
repetitions...

1,000,000 repetitions:

CF-34781
While - 50079
do-50391

100,000 repetitions:
===
CF-3360
While - 1859
do-1813

10,000 repetitions:
==
CF-343
While - 172
do-188

1,000 repetitions:

CF-46
While - 16
do-16

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 18:26
To: CF-Talk
Subject: (Review) Conditional loops


I just did some more tests and I've got some more interesting results. The
test
was to compare conditional loops between the CFLOOP and the two conditional
loops in CFSCRIPT (while and do-while). My tests showed that the CFSCRIPT
statments were about twice as fast as the CFLOOP statment. This was my
expected
results. It looks like the only loop that is faster outside of CFSCRIPT is
the
for loop (from-to).
For those who want to test my code and see my results, I've pasted it below.
To
do a real test, try a loop count of 1000, 1 or even higher.












while (loopcount LTE 1000)
loopcount=loopcount+1;







do
loopcount=loopcount+1;
while (loopcount LTE 1000);





CF-#cf#
While - #wh#
do-#do#

~~
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



Another Note RE: CF Studio 4.5.2 Memory Leak?

2001-03-13 Thread Nathan Stanford

Not to keep this going but I have observed one other problem.

when you deploy a project and it scrolls through line by line the speed at
which it deploys changes if you drag the results window away from the bottom
of CF Studio  

An example I did was to minimize the window to one line of text and it took
10 sec  then I almost maxed out the window and it to 1min and 1 sec  Then I
minimized it to where you could not see the text and it took 9 sec?

What is up with this?

Nathan



> -Original Message-
> From: Daniel Lancelot [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 12:25 PM
> To:   CF-Talk
> Subject:  RE: CF Studio 4.5.2 Memory Leak?
> 
> >-Original Message-
> >> CFSTUIDO 4.5.2 is not the most stable app in the world, and is
> >> very easy to
> >> crash (try closing a window with JS in the internal browser - and watch
> >> those error messages!!!)
> 
> >I'm sorry, but "Well DUH!" - how are you meant to close a window that's
> >built in to the system?
> 
> Of course I'd not expect it to work - but I would expect it to gracefully
> inform you, instead of crashing quite so dramatically - I laughed reading
> the error messages you get...
> 
> I'd expect it to popup something like "You really are a thick T*** - do
> you
> really expect to be able to do that within studio"
> 
> Just a little bit more  basic exception handling would be nice..
> 
> >> Also - since upgrading to IE 5.5, memory usage seems to have gone
> through
> >> the roof... oten using over 50MB within a few hours of booting...
> 
> >We've had to dump IE5.5 from most of our machines as it's so hungry -
> >combine that with WindowsMe and you've got a REAL winner...
> 
> Arggg...
> I'm on NT4 with 128mb at work - and generally it takes about 1.5 days
> between reboots...
> I'm on 2000 at home with IE5 and 384Mb, and generally the only  time I
> need
> to reboot is when I install / uninstall some old S/W - my system is often
> up
> for weeks at a time...
> 
> I was going to upgrade to IE5.5 at home - but I think I might give it a
> miss
> now...
> 
> I really dont like win9x (ME inc) at all...
> Had to install single user CF Server and PWS on a 98 laptop for a client
> yesterday - should have taken max 1/2 hour - but due to win98 crashing at
> 99.9% of the way through installing CF, in total I installed it 4 times
> (and
> removed it 3 times).
> Add to that, as soon as the machine tried to restart, it fatally locked up
> -
> and no task manager to kill the problem tasks - had to powerdown and
> restart
> (scandisk found an error on the disk at least once on reboot...)
> 
> If I had my own way - all the machines would have 2k on them... although I
> might have a job on my laptop (cyrix 586 120 with 16Mb ram and a 750Mb
> HD!)
> 
> >*** Standard Joke time ***
> >The only way you could call Studio 4.5.2 stable is if you put a horse in
> it!
> 
> Not bad :)
> 
>
~~
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: (Review) Conditional loops

2001-03-13 Thread Top-Link Tech (John Ceci)

1,000,000 on my machine... PIII 750MHz 512MB RAM
===
CF-64360
While - 34062
do-31563



-Original Message-
From: Garza, Jeff [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 12:49 PM
To: CF-Talk
Subject: RE: (Review) Conditional loops


Me thinks you are wrong...  Did you remember to change the loop count in the
CFLOOP to 1,000,000 as well?  Your results are awfully close to those of the
100,000 group.

1,000,000 on my machine... PIII 600MHz 782MB RAM
***
CF-44063
While - 28562
do-25297

These results are inline with all the others.  Twice as fast in CFSCRIPT.

***
Jeff Garza
Web Developer/Webmaster
Spectrum Astro, Inc.
480.892.8200

[EMAIL PROTECTED]
http://www.spectrumastro.com



-Original Message-
From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 11:37 AM
To: CF-Talk
Subject: RE: (Review) Conditional loops


What do make of this then???
CFLOOP is (fairly substantially) quicker when you have 1,000,000
repetitions...

1,000,000 repetitions:

CF-34781
While - 50079
do-50391

100,000 repetitions:
===
CF-3360
While - 1859
do-1813

10,000 repetitions:
==
CF-343
While - 172
do-188

1,000 repetitions:

CF-46
While - 16
do-16

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 18:26
To: CF-Talk
Subject: (Review) Conditional loops


I just did some more tests and I've got some more interesting results. The
test
was to compare conditional loops between the CFLOOP and the two conditional
loops in CFSCRIPT (while and do-while). My tests showed that the CFSCRIPT
statments were about twice as fast as the CFLOOP statment. This was my
expected
results. It looks like the only loop that is faster outside of CFSCRIPT is
the
for loop (from-to).
For those who want to test my code and see my results, I've pasted it below.
To
do a real test, try a loop count of 1000, 1 or even higher.












while (loopcount LTE 1000)
loopcount=loopcount+1;







do
loopcount=loopcount+1;
while (loopcount LTE 1000);





CF-#cf#
While - #wh#
do-#do#

~~
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: Form Fields cleared on Back

2001-03-13 Thread S R

I've found that this is something that happens on IE5. Netscape doesn't do 
this. The only way I've gotten around is to painstakingly include a bunch of 
'hidden' form fields that way when the user presses the back button it 
repopulates the form.


>From: "Adrian Cesana" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Form Fields cleared on Back
>Date: Tue, 13 Mar 2001 11:46:49 -0800
>
>Im going nuts trying to figure this one out, I have a form with about 110
>fields (ya i know), there is lots of server side validation, if an input
>error occurs I CFABORT and give the user a JavaScript back button to go 
>back
>an correct the input.  On some users PC the form gets cleared on other PC's
>it does not.  I also use some of the CF built in validation (_required) so
>the user has to use the browser back button, same thing happens on some of
>these peoples browsers.  Of coarse it does not happen on mine.  I setup a
>few test forms for the problems users and it things work ok.  These users
>are all using IE 5.x, any one else have such problems, could it be the 
>large
>number of INPUT fields? any browser settings? registry settings? Voodoo
>dances? anything?
>
>Thanks,Adrian
>
>
>
>
~~
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: What Version of LDAP server to use for Win 2000

2001-03-13 Thread Douglas Knudsen



Isn't that thingy called Active Directory LDAP compliant?  Not
suggesting using it, just thinking outloud here.


-
Douglas Knudsen
Leveraged Technologies Group
678-351-6063
Got Linux? http://linuxmall.com




From: [EMAIL PROTECTED] AT INTERNET on 03/13/2001 02:34 PM

To:   [EMAIL PROTECTED] AT INTERNET@CCMAIL
cc:(bcc: Douglas Knudsen/ATL/ALLTELCORP)

Subject:  What Version of LDAP server to use for Win 2000


Question for those of you using the LDAP server and CF.  What version
are
you using for Win 2000?  I looked at the Netscape site, and version
4.12 and
4.13 of iPlanet Directory Server (the successor to the LDAP server) is
not
supported for Win 2000; and version 5, which does support Win 2000, is
still
beta.  I am looking to try it out and play with it and would like some
insight for what version people are running on Win 2000.

Thanks,
Vance Duke
~~
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



Form Fields cleared on Back

2001-03-13 Thread Adrian Cesana

Im going nuts trying to figure this one out, I have a form with about 110
fields (ya i know), there is lots of server side validation, if an input
error occurs I CFABORT and give the user a JavaScript back button to go back
an correct the input.  On some users PC the form gets cleared on other PC's
it does not.  I also use some of the CF built in validation (_required) so
the user has to use the browser back button, same thing happens on some of
these peoples browsers.  Of coarse it does not happen on mine.  I setup a
few test forms for the problems users and it things work ok.  These users
are all using IE 5.x, any one else have such problems, could it be the large
number of INPUT fields? any browser settings? registry settings? Voodoo
dances? anything?

Thanks,Adrian



~~
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: (Review) Conditional loops

2001-03-13 Thread Michael Dinowitz

I tried out your suggestion of using an evaluation vs. a variable rather than 
against a number and the results moved from CFSCRIPT being twice as fast to it 
only being about a third as fast. I only tested on 1,000 and 10,000. 
> 
> My understanding was that loops inside a CFSCRIPT slowed considerably when 
the 
> loop included the evaluation of a variable.
> 
> Like this:
> 
> 
> loopcount=0;
> loopend=1000 <---  New
> start=GetTickCount();
> 
> 
> do
>   loopcount=loopcount+1;
> while (loopcount LTE loopend);<--- Changed
> do=gettickcount()-start
> 
> 


~~
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: SNMP and CF

2001-03-13 Thread Jon Hall

I dont believe there will be until version 5 comes out. The current beta
does include the MIB scripts though.
I am not 100% on this, but the current CF 4.5 Enterprise does include a
cluster monitoring utitlity that might be able to be used to monitor CF
server. I saw it once, and it had a lot of information about the servers on
the screen.

I think the best way for now would be to monitor the cfserver processs
through Windows SNMP...

jon
- Original Message -
From: "Lewis Steven" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 9:30 AM
Subject: SNMP and CF


> Is there a way to monitor CF using SNMP right now?
>
>
~~
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



What Version of LDAP server to use for Win 2000

2001-03-13 Thread Vance Duke

Question for those of you using the LDAP server and CF.  What version are
you using for Win 2000?  I looked at the Netscape site, and version 4.12 and
4.13 of iPlanet Directory Server (the successor to the LDAP server) is not
supported for Win 2000; and version 5, which does support Win 2000, is still
beta.  I am looking to try it out and play with it and would like some
insight for what version people are running on Win 2000.

Thanks,
Vance Duke



~~
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: Linking to URLs with Ampersands

2001-03-13 Thread Al Musella, DPM

Just use urlencodedformat() around the URl.
in your case:

http://www.leg.s
tate.co.us/2001/inetcbill.nsf/fsbillcont/F0ACA8F6AE0D6AE7872569BC005A272F?Op
en&file=001_rn2.pdf)#" TARGET="_blank">


Another possibility, and the way I always use, is to hold all of the links 
in a database.  In your situation, just pass the link ID, and look it up on 
the redirect page.  I do this to keep track of how many times people click 
a link, as well as let people rate the links' importance.
see virtualtrials.com/links.cfm for it in action!


Al Musella, DPM
A1webs.com

At 01:06 PM 3/13/2001 -0600, you wrote:
>Hello,
>
>For our Web site, I use a ColdFusion redirect page to display a legal
>disclaimer when linking to external sites.  To have this redirect text
>appear in the template before the user leaves our site, I must use the
>following format for a link tag:
>
>HREF="#Session.TemplatePath#&Template=Redirect.cfm&Location=http://www.leg.s
>tate.co.us/2001/inetcbill.nsf/fsbillcont/F0ACA8F6AE0D6AE7872569BC005A272F?Op
>en&file=001_rn2.pdf" TARGET="_blank">
>
>Since ColdFusion uses the ampersand to define variables, I am running into
>trouble linking to Web sites that use ampersands in their URLs.  Because of
>the two variables previously defined in this tag, any of the URL after (and
>including) an ampersand is deleted.  So, the above URL would be truncated
>to:
>
>http://www.leg.state.co.us/2001/inetcbill.nsf/fsbillcont/F0ACA8F6AE0D6AE7872
>569BC005A272F?Open
>
>Thus, rendering my link useless.  I have tried using CFOUTPUT tags, using
>two ampersands, and using the HTML code for an ampersand to replace the
>ampersand in the URL.  None of these options have worked.  Since the
>redirect page isn't something I can just *not* use, I am wondering if any of
>you have found an alternative way to deal with this issue.
>
>Thanks in advance!
>
>Terra Durrant
>On-Line Specialist
>American Collectors Association
>(952) 928-8000, ext. 755
>www.collector.com
>
>
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Javascript IsDefined

2001-03-13 Thread Patricia Lee

Ah... I stand corrected.  I'll have to give that way a shot.  The person who
informed me of it used that syntax and it's worked for me but now I know
better.

|-Original Message-
|From: Caulfield, Michael [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 13, 2001 2:11 PM
|To: CF-Talk
|Subject: RE: Javascript IsDefined
|
|
|Actually typeof is an operator, not a function, so it is 
|generally used the
|way Dave described.
|
|-Original Message-
|From: Patricia Lee [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 13, 2001 11:51 AM
|To: CF-Talk
|Subject: RE: Javascript IsDefined
|
|
|The correct syntax is
|if (typeof(myvarname) == "undefined") {
|   [do your stuff]
|}
|
||-Original Message-
||From: Hayes, David [mailto:[EMAIL PROTECTED]]
||Sent: Tuesday, March 13, 2001 10:32 AM
||To: CF-Talk
||Subject: RE: Javascript IsDefined
||
||
||You can use the "typeof" operator.
||
||if (typeof myVarName == "undefined"){
||
||}
||
|
|
~~
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: First crack at commerce, sort of.

2001-03-13 Thread Billy Cravens

I'd recommend taking a look at MSDE, which is essentially the engine behind SQL 
Server, just without the pretty
front end, and it easily upgrades to full-blown SQL Server.  You can use Access as the 
front end, but under the
scenes, it's SQL Server.

I say that because it may or may not be cost-justifiable to go to SQL Server for those 
(potentially) rare
situations when the concurrency is too much for Access.  That's true for MySQL also, 
since you'd need to buy a
second box (if you use the recommended version, which is on Linux).

However, I agree that your primary focus should be on how your code is written: on a 
properly optimized site,
concurrency won't be much of a problem.  I'll take a well written site using Access 
over a poorly written site with
SQL Server any day of the week.  Not to mention configuration headaches (You mean I 
was supposed to put a password
on "sa"?  doh)

Whatever you do, don't fall prey to the typical IT argument of simply throwing more 
hardware/software at a problem,
as opposed to analyzing all of the variables and finding the proper solution for your 
specific situation.

--
Billy Cravens
HR Web Development, Sabre
[EMAIL PROTECTED]



Jay Patton wrote:

> I would use SQL or MySQL for this NOT! Access
>
> Jay Patton
> Web Design / Application Design
> Web Pro USA
> 406.549.3337 ext. 203
> 1.888.5WEBPRO
> www.webpro-usa.com
> - Original Message -
> From: "Kortland, Brian" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, March 13, 2001 9:19 AM
> Subject: First crack at commerce, sort of.
>
> > This message is in MIME format. Since your mail reader does not understand
> > this format, some or all of this message may not be legible.
> >
> > --_=_NextPart_001_01C0ABD9.673F79C0
> > Content-Type: text/plain;
> > charset="iso-8859-1"
> >
> > Hi All,
> >
> > I have a number of small clients who mostly have very basic Cold Fusion
> > driven sites. I have a potential new client (a Deli) who has corporate
> > customers that want to have access his menus and place orders online. He
> > does not yet want full blown e-commerce with CC transactions but does want
> > to allow about 1,000 users into the site to place orders on a daily basis.
> > For my smaller sites I have used Access 2000 and have not had problems.
> With
> > this new client I have concerns regarding concurrent hits to the DB to
> pull
> > menu items and to capture and archive orders. Most things I have read
> state
> > that Access 97 is not to be used for even moderate traffic sites, but I
> have
> > seen claims by MicroSoft that Access 2000 is more robust. Is this just
> hype?
> >
> > Should my menus, order info, and security all be kept in separate
> databases?
> >
> > If anyone has any other advice based on my scenario I'd love to hear it.
> >
> > Brian Kortland
> > Cyberplugs.com
> >
> > --_=_NextPart_001_01C0ABD9.673F79C0
> > Content-Type: text/html;
> > charset="iso-8859-1"
> >
> > 
> > 
> > 
> > 
> > 
> > First crack at commerce, sort of.
> > 
> > 
> >
> > Hi All,
> > 
> >
> > I have a number of small clients who mostly have very
> basic Cold Fusion
> > driven sites. I have a potential new client (a Deli) who
> has corporate
> > customers that want to have access his menus and place
> orders online. He
> > does not yet want full blown e-commerce with CC
> transactions but does want
> > to allow about 1,000 users into the site to place orders
> on a daily basis.
> > For my smaller sites I have used Access 2000 and have not
> had problems. With
> > this new client I have concerns regarding concurrent hits
> to the DB to pull
> > menu items and to capture and archive orders. Most things
> I have read state
> > that Access 97 is not to be used for even moderate
> traffic sites, but I have
> > seen claims by MicroSoft that Access 2000 is more robust.
> Is this just hype?
> > 
> >
> > Should my menus, order info, and security all be kept in
> separate databases?
> > 
> >
> > If anyone has any other advice based on my scenario I'd
> love to hear it.
> > 
> >
> > Brian Kortland
> > Cyberplugs.com
> > 
> >
> > 
> > 
> > --_=_NextPart_001_01C0ABD9.673F79C0--
> >
> > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> >
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: one more Paradox question...

2001-03-13 Thread Hoffman, Joe (CIT)

Try http://www.merant.com/

Joe Hoffman mailto:[EMAIL PROTECTED]
National Institutes of Health 
Center for Information Technology 
Division of Computer System Services

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 12:31 PM
To: CF-Talk
Subject: one more Paradox question...


Ok we are going to be connecting to a Paradox 4.5 systemyes i
knowoldbut besides that, i know that the M$ ODBC driver will lock
the tables and mess everything up... :oP   so has anyone worked with this
and found a better ODBC driver?   

TIA

Kevin

~
Kevin Mansel
Web Developer
Fox Communications
[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: Javascript IsDefined

2001-03-13 Thread Caulfield, Michael

Actually typeof is an operator, not a function, so it is generally used the
way Dave described.

-Original Message-
From: Patricia Lee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 11:51 AM
To: CF-Talk
Subject: RE: Javascript IsDefined


The correct syntax is
if (typeof(myvarname) == "undefined") {
[do your stuff]
}

|-Original Message-
|From: Hayes, David [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 13, 2001 10:32 AM
|To: CF-Talk
|Subject: RE: Javascript IsDefined
|
|
|You can use the "typeof" operator.
|
|if (typeof myVarName == "undefined"){
|
|}
|

~~
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



Linking to URLs with Ampersands

2001-03-13 Thread Terra Durrant

Hello,

For our Web site, I use a ColdFusion redirect page to display a legal
disclaimer when linking to external sites.  To have this redirect text
appear in the template before the user leaves our site, I must use the
following format for a link tag:

http://www.leg.s
tate.co.us/2001/inetcbill.nsf/fsbillcont/F0ACA8F6AE0D6AE7872569BC005A272F?Op
en&file=001_rn2.pdf" TARGET="_blank">

Since ColdFusion uses the ampersand to define variables, I am running into
trouble linking to Web sites that use ampersands in their URLs.  Because of
the two variables previously defined in this tag, any of the URL after (and
including) an ampersand is deleted.  So, the above URL would be truncated
to:

http://www.leg.state.co.us/2001/inetcbill.nsf/fsbillcont/F0ACA8F6AE0D6AE7872
569BC005A272F?Open

Thus, rendering my link useless.  I have tried using CFOUTPUT tags, using
two ampersands, and using the HTML code for an ampersand to replace the
ampersand in the URL.  None of these options have worked.  Since the
redirect page isn't something I can just *not* use, I am wondering if any of
you have found an alternative way to deal with this issue.

Thanks in advance!

Terra Durrant
On-Line Specialist
American Collectors Association
(952) 928-8000, ext. 755
www.collector.com


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: (Review) Conditional loops

2001-03-13 Thread Daniel Lancelot

Yeah - I checked that...

ran it again:

CF-33671
While - 27625
do-18782 

must have been some other factor...
-Original Message-
From: Garza, Jeff [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 18:49
To: CF-Talk
Subject: RE: (Review) Conditional loops


Me thinks you are wrong...  Did you remember to change the loop count in the
CFLOOP to 1,000,000 as well?  Your results are awfully close to those of the
100,000 group.

1,000,000 on my machine... PIII 600MHz 782MB RAM
***
CF-44063
While - 28562
do-25297 

These results are inline with all the others.  Twice as fast in CFSCRIPT.

***
Jeff Garza
Web Developer/Webmaster
Spectrum Astro, Inc.
480.892.8200

[EMAIL PROTECTED]
http://www.spectrumastro.com



-Original Message-
From: Daniel Lancelot [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 13, 2001 11:37 AM
To: CF-Talk
Subject: RE: (Review) Conditional loops


What do make of this then???
CFLOOP is (fairly substantially) quicker when you have 1,000,000
repetitions...

1,000,000 repetitions:

CF-34781
While - 50079
do-50391

100,000 repetitions:
===
CF-3360
While - 1859
do-1813 

10,000 repetitions:
==
CF-343
While - 172
do-188

1,000 repetitions:

CF-46
While - 16
do-16

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 18:26
To: CF-Talk
Subject: (Review) Conditional loops


I just did some more tests and I've got some more interesting results. The
test 
was to compare conditional loops between the CFLOOP and the two conditional 
loops in CFSCRIPT (while and do-while). My tests showed that the CFSCRIPT 
statments were about twice as fast as the CFLOOP statment. This was my
expected 
results. It looks like the only loop that is faster outside of CFSCRIPT is
the 
for loop (from-to). 
For those who want to test my code and see my results, I've pasted it below.
To 
do a real test, try a loop count of 1000, 1 or even higher. 












while (loopcount LTE 1000)
loopcount=loopcount+1;







do
loopcount=loopcount+1;
while (loopcount LTE 1000);





CF-#cf#
While - #wh#
do-#do#

~~
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: (Review) Conditional loops

2001-03-13 Thread Garza, Jeff

Me thinks you are wrong...  Did you remember to change the loop count in the
CFLOOP to 1,000,000 as well?  Your results are awfully close to those of the
100,000 group.

1,000,000 on my machine... PIII 600MHz 782MB RAM
***
CF-44063
While - 28562
do-25297 

These results are inline with all the others.  Twice as fast in CFSCRIPT.

***
Jeff Garza
Web Developer/Webmaster
Spectrum Astro, Inc.
480.892.8200

[EMAIL PROTECTED]
http://www.spectrumastro.com



-Original Message-
From: Daniel Lancelot [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 13, 2001 11:37 AM
To: CF-Talk
Subject: RE: (Review) Conditional loops


What do make of this then???
CFLOOP is (fairly substantially) quicker when you have 1,000,000
repetitions...

1,000,000 repetitions:

CF-34781
While - 50079
do-50391

100,000 repetitions:
===
CF-3360
While - 1859
do-1813 

10,000 repetitions:
==
CF-343
While - 172
do-188

1,000 repetitions:

CF-46
While - 16
do-16

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 18:26
To: CF-Talk
Subject: (Review) Conditional loops


I just did some more tests and I've got some more interesting results. The
test 
was to compare conditional loops between the CFLOOP and the two conditional 
loops in CFSCRIPT (while and do-while). My tests showed that the CFSCRIPT 
statments were about twice as fast as the CFLOOP statment. This was my
expected 
results. It looks like the only loop that is faster outside of CFSCRIPT is
the 
for loop (from-to). 
For those who want to test my code and see my results, I've pasted it below.
To 
do a real test, try a loop count of 1000, 1 or even higher. 












while (loopcount LTE 1000)
loopcount=loopcount+1;







do
loopcount=loopcount+1;
while (loopcount LTE 1000);





CF-#cf#
While - #wh#
do-#do#

~~
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: (Review) Conditional loops

2001-03-13 Thread Kevin Miller


My understanding was that loops inside a CFSCRIPT slowed considerably when the loop 
included the evaluation of a variable.  

Like this:


loopcount=0;
loopend=1000 <---  New
start=GetTickCount();


do
loopcount=loopcount+1;
while (loopcount LTE loopend);<--- Changed
do=gettickcount()-start



>>> [EMAIL PROTECTED] 03/13/01 10:25AM >>>
I just did some more tests and I've got some more interesting results. The test 
was to compare conditional loops between the CFLOOP and the two conditional 
loops in CFSCRIPT (while and do-while). My tests showed that the CFSCRIPT 
statments were about twice as fast as the CFLOOP statment. This was my expected 
results. It looks like the only loop that is faster outside of CFSCRIPT is the 
for loop (from-to). 
For those who want to test my code and see my results, I've pasted it below. To 
do a real test, try a loop count of 1000, 1 or even higher. 












while (loopcount LTE 1000)
loopcount=loopcount+1;







do
loopcount=loopcount+1;
while (loopcount LTE 1000);





CF-#cf#
While - #wh#
do-#do#

~~
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: (Review) Conditional loops

2001-03-13 Thread Daniel Lancelot

What do make of this then???
CFLOOP is (fairly substantially) quicker when you have 1,000,000
repetitions...

1,000,000 repetitions:

CF-34781
While - 50079
do-50391

100,000 repetitions:
===
CF-3360
While - 1859
do-1813 

10,000 repetitions:
==
CF-343
While - 172
do-188

1,000 repetitions:

CF-46
While - 16
do-16

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 18:26
To: CF-Talk
Subject: (Review) Conditional loops


I just did some more tests and I've got some more interesting results. The
test 
was to compare conditional loops between the CFLOOP and the two conditional 
loops in CFSCRIPT (while and do-while). My tests showed that the CFSCRIPT 
statments were about twice as fast as the CFLOOP statment. This was my
expected 
results. It looks like the only loop that is faster outside of CFSCRIPT is
the 
for loop (from-to). 
For those who want to test my code and see my results, I've pasted it below.
To 
do a real test, try a loop count of 1000, 1 or even higher. 












while (loopcount LTE 1000)
loopcount=loopcount+1;







do
loopcount=loopcount+1;
while (loopcount LTE 1000);





CF-#cf#
While - #wh#
do-#do#

~~
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



TID errorlist

2001-03-13 Thread Joseph Thompson

Well, the post I sent to Allaire looking for the list of "TID" errors (and I
was thinking, maybe the definitions/solutions) came and went without an
answer.

Any one here know if there is such an animal?

What prompted me to ask was a TID=4100 error on a linux server. (not mine)


~~
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



OLE DB vs. ODBC

2001-03-13 Thread S R

Hi,
 
I've been told in the past that when using CF server and SQL Server to use OLE DB 
instead of ODBC when connecting to databases. I've never been told why? Is it faster? 
Another thing is they use ODBC where I work to connect to SQL Server databases and are 
asking me to create a test so that they can see the differences between the two. Which 
kind of tests would you create and is there going to be that much of a difference to 
show them?
 
Thanks
 
SalGet your FREE download of MSN Explorer at http://explorer.msn.com">http://explorer.msn.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: CF Studio 4.5.2 Memory Leak?

2001-03-13 Thread Daniel Lancelot

>-Original Message-
>> CFSTUIDO 4.5.2 is not the most stable app in the world, and is
>> very easy to
>> crash (try closing a window with JS in the internal browser - and watch
>> those error messages!!!)

>I'm sorry, but "Well DUH!" - how are you meant to close a window that's
>built in to the system?

Of course I'd not expect it to work - but I would expect it to gracefully
inform you, instead of crashing quite so dramatically - I laughed reading
the error messages you get...

I'd expect it to popup something like "You really are a thick T*** - do you
really expect to be able to do that within studio"

Just a little bit more  basic exception handling would be nice..

>> Also - since upgrading to IE 5.5, memory usage seems to have gone through
>> the roof... oten using over 50MB within a few hours of booting...

>We've had to dump IE5.5 from most of our machines as it's so hungry -
>combine that with WindowsMe and you've got a REAL winner...

Arggg...
I'm on NT4 with 128mb at work - and generally it takes about 1.5 days
between reboots...
I'm on 2000 at home with IE5 and 384Mb, and generally the only  time I need
to reboot is when I install / uninstall some old S/W - my system is often up
for weeks at a time...

I was going to upgrade to IE5.5 at home - but I think I might give it a miss
now...

I really dont like win9x (ME inc) at all...
Had to install single user CF Server and PWS on a 98 laptop for a client
yesterday - should have taken max 1/2 hour - but due to win98 crashing at
99.9% of the way through installing CF, in total I installed it 4 times (and
removed it 3 times).
Add to that, as soon as the machine tried to restart, it fatally locked up -
and no task manager to kill the problem tasks - had to powerdown and restart
(scandisk found an error on the disk at least once on reboot...)

If I had my own way - all the machines would have 2k on them... although I
might have a job on my laptop (cyrix 586 120 with 16Mb ram and a 750Mb
HD!)

>*** Standard Joke time ***
>The only way you could call Studio 4.5.2 stable is if you put a horse in
it!

Not bad :)

~~
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: Access '97 repair log?

2001-03-13 Thread W Luke

Hi,

Just fixed a DB in Access 97 using the Repair function - is it possible to
see a log of what it fixed?

Thanks

Will

--
[EMAIL PROTECTED] -=- www.lukrative.com
Local-Advertising -=- www.localbounty.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



(Review) Conditional loops

2001-03-13 Thread Michael Dinowitz

I just did some more tests and I've got some more interesting results. The test 
was to compare conditional loops between the CFLOOP and the two conditional 
loops in CFSCRIPT (while and do-while). My tests showed that the CFSCRIPT 
statments were about twice as fast as the CFLOOP statment. This was my expected 
results. It looks like the only loop that is faster outside of CFSCRIPT is the 
for loop (from-to). 
For those who want to test my code and see my results, I've pasted it below. To 
do a real test, try a loop count of 1000, 1 or even higher. 












while (loopcount LTE 1000)
loopcount=loopcount+1;







do
loopcount=loopcount+1;
while (loopcount LTE 1000);





CF-#cf#
While - #wh#
do-#do#


~~
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 Studio 4.5.2 Memory Leak?

2001-03-13 Thread Mark W. Breneman

I have fought this problem for some time now. I could not get CFS to be
happy under windows 9x.  But, windows 2000 seems to handle the CFS MUCH
better.

I found a solution that works very well for me:

Windows 2000
196MB RAM
CF Studio 4.5.2

It is very stable.  And believe me I hammer CF studio and the entire system
very very hard.  I will very often have 14+ larger apps open at the same
time (i.e. outlook, pcanywhere, word, excel, multi sessions of SQL mangers,
Access, Query32, winamp and the list goes on.)

Rock solid... I reboot once a week.

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
  Vivid Media
  [EMAIL PROTECTED]
  www.vividmedia.com
  608.270.9770


-Original Message-
From: Richard Kuryk [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 11:46 AM
To: CF-Talk
Subject: RE: CF Studio 4.5.2 Memory Leak?


If it crashes and eats through memory don't use it and certainly don't
purchase it!  There are many good programmer editors out there.  UltraEdit,
MultiEdit, and the list goes on and on, give your money to something that is
stable and is not counterproductive.  Most of these editors have demos or
eval copies and can be customized to do whatever you like.  I have even read
that the new multiedit integrates into studio, not sure I would want that
but hey maybe it makes studio more stable.

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: CF Studio 4.5.2 Memory Leak?

2001-03-13 Thread Philip Arnold - ASP

> CFSTUIDO 4.5.2 is not the most stable app in the world, and is
> very easy to
> crash (try closing a window with JS in the internal browser - and watch
> those error messages!!!)

I'm sorry, but "Well DUH!" - how are you meant to close a window that's
built in to the system?

> Also - since upgrading to IE 5.5, memory usage seems to have gone through
> the roof... oten using over 50MB within a few hours of booting...

We've had to dump IE5.5 from most of our machines as it's so hungry -
combine that with WindowsMe and you've got a REAL winner...

*** Standard Joke time ***
The only way you could call Studio 4.5.2 stable is if you put a horse in it!

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: parsing form submission into an html file?

2001-03-13 Thread Daniel Lancelot

I have in the past used CFFILE to generate .htm files - what exactly are you
wanting to do???

-Original Message-
From: Jon Tillman [mailto:[EMAIL PROTECTED]]
Sent: 09 March 2001 01:48
To: CF-Talk
Subject: parsing form submission into an html file?


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

does anyone know of a way to create an html file from a form submission, or 
to insert the form fields into a template and save the result as an html
file?
I can't find anything on the net, and cffile seems to not be what I need.

- -- 
Jon Tillman
http://www.eruditum.org
finger [EMAIL PROTECTED] to annoy the MPAA

To be yourself, in a world that tries, night and day, to make you just like 
everybody else - is to fight the greatest battle there ever is to fight, and

never stop fighting. --e.e. cummings

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1i

iQA/AwUBOqg2Vtga7tZtnIOtEQJKDACgq6xlHux9uAaJd8mXljcgylUGMcAAn0xj
K/bfzq+xEIRNVqU+6203y4Xs
=RuM9
-END PGP SIGNATURE-
~~
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: Javascript IsDefined

2001-03-13 Thread Patricia Lee

The correct syntax is
if (typeof(myvarname) == "undefined") {
[do your stuff]
}

|-Original Message-
|From: Hayes, David [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 13, 2001 10:32 AM
|To: CF-Talk
|Subject: RE: Javascript IsDefined
|
|
|You can use the "typeof" operator.
|
|if (typeof myVarName == "undefined"){
|
|}
|
|-Original Message-
|From: Jeanne Sarfaty Glazer [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 13, 2001 9:27 AM
|To: CF-Talk
|Subject: Javascript IsDefined
|
|
|Hi Folks,
|
|What is the Javascript equivalent to the Cold Fusion IsDefined 
|function?  
|(or does one even exist?!)
|
|TIA,
|- - - Jeanne
|
~~
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



  1   2   >