OT: FTP Server

2001-05-24 Thread Duane Boudreau

All,

Can anyone suggest a decent and moderatly priced (~ $250) FTP server that
will run as a service unter Win2k?

TIA
Duane Boudreau,
Chief Techical Officer
CFExperts, LLC
Nashua, NH
603.620.8797


~~
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: FTP Server

2001-05-24 Thread Dan Blickensderfer

Serv-U FTP  http://www.cat-soft.com


- Original Message -
From: Duane Boudreau [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 2:16 PM
Subject: OT: FTP Server


 All,

 Can anyone suggest a decent and moderatly priced (~ $250) FTP server that
 will run as a service unter Win2k?

 TIA
 Duane Boudreau,
 Chief Techical Officer
 CFExperts, LLC
 Nashua, NH
 603.620.8797



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

2001-05-24 Thread Duane Boudreau

Hi All,

Has anyone here used the service DNS2Go from deerfield? Its supposed to be
free dns hosting.

If so how was/is reliability?

TIA,
Duane Boudreau,
Chief Techical Officer
CFExperts, LLC
Nashua, NH
603.620.8797


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

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



Re: OT: FTP Server

2001-05-24 Thread Paul Smith

The BEST FTP server is much less than $250.  Only $40!  SERV-U ver 3 Now 
runs as a service.
I just bought ver 3 the other day for a new server and it sure is 
slick.  I'll have to upgrade the older version I have on another server.

http://www.serv-u.com/frame.asp?dest=dn.htm

best,  paul

At 02:16 PM 5/24/01 -0400, you wrote:
All,

Can anyone suggest a decent and moderatly priced (~ $250) FTP server that
will run as a service unter Win2k?

TIA
Duane Boudreau,
Chief Techical Officer
CFExperts, LLC
Nashua, NH
603.620.8797



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



Strange Boolean Error

2001-05-24 Thread Paul Smith

Is it expected behavior that the error below DOES NOT occur when
REQUEST.GetClientData.UserID=1 but DOES occur when
REQUEST.GetClientData.UserID=3 ? CFAS 4.5.1

I cannot reproduce the error from my workstation.  UserID=3 at his 
workstation can repeat the error at will.

Would it be better to use the YesNoFormat() function on the first boolean?

best, paul

An error occurred while evaluating the expression:
REQUEST.GetClientData.UserID AND
BitAnd(REQUEST.GetClientData.Permissions,VARIABLES.NeededPermission)
Error near line 31, column 35.
The short-circuit AND operator requires Boolean operands. Cannot convert
the left operand to a Boolean value.


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

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



RE: OT: FTP Server

2001-05-24 Thread Duane Boudreau

Dan and Paul,

That does the trick. Perfect solution for what I want to do (great price
too)

Thanks a bunch,
Duane



-Original Message-
From: Paul Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 2:43 AM
To: CF-Talk
Subject: Re: OT: FTP Server


The BEST FTP server is much less than $250.  Only $40!  SERV-U ver 3 Now
runs as a service.
I just bought ver 3 the other day for a new server and it sure is
slick.  I'll have to upgrade the older version I have on another server.

http://www.serv-u.com/frame.asp?dest=dn.htm

best,  paul

At 02:16 PM 5/24/01 -0400, you wrote:
All,

Can anyone suggest a decent and moderatly priced (~ $250) FTP server that
will run as a service unter Win2k?

TIA
Duane Boudreau,
Chief Techical Officer
CFExperts, LLC
Nashua, NH
603.620.8797



~~
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: Generator was Harpoon Release is Final Available

2001-05-24 Thread Massimo Foti

Good point :-)

I am not personally involved with similar projects, but I saw two good
friends of mine (die.hard Flash geeks) dealing with Generator, Swift
Generator, Flash Turbine and Ming, all of them doesn't appear that much bugs
free at the moment...

Well, at least Generator seems more features rich (it's also has an
interesting API, see the additional stuff available on the Exchange). Maybe,
having more features means it also have proportionally more bugs too... But,
again, I am not personally involved right now, do you have any experience
with Generator? Would love to hear from people that use it from the
trenches.

Massimo


Paul Mone [EMAIL PROTECTED] wrote in message
001a01c0e3e3$0b4b75f0$[EMAIL PROTECTED]">news:001a01c0e3e3$0b4b75f0$[EMAIL PROTECTED]...
 Unless, of course, the cheaper (free) alternatives don't have as many
bugs.

 -Original Message-
 From: Massimo Foti [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 23, 2001 2:10 PM
 To: CF-Talk
 Subject: Re: Generator was Harpoon Release is Final  Available


 Giving the new prices for Generator (4000 bucks for the Enterpriise
 version), I feel like it doesn't make that much sense anymore to look at
 cheaper alternatives...

 Massimo




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

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



RE: DNS2go

2001-05-24 Thread Peter Tilbrook

It's quite good and very reliable. Its even better if you have a fast or
permanent connection to the 'net. It can even update your system clock so
that it is very accurate.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Duane
Boudreau
Sent: Friday, 25 May, 2001 4:31 AM
To: CF-Talk
Subject: OT:DNS2go


Hi All,

Has anyone here used the service DNS2Go from deerfield? Its supposed to be
free dns hosting.

If so how was/is reliability?

TIA,
Duane Boudreau,
Chief Techical Officer
CFExperts, LLC
Nashua, NH
603.620.8797
~~
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



FW: installation problems

2001-05-24 Thread borg

I got this one too. Got on to tech support and they were scriatching their 
heads - sent it back to Allaire to look at as a new issue. 

But the first thing they said was to install SP2 on Win2K.

 Hi
 
 I've encountered 2 really annoying problems lately.
 
 First one:
 trying to install CF Server 4.5.1 sp1 evaluation on a Win2k Pro sp2 dell
 4100.
 
 The installation seems to go well until it start updated the registry
 settings. It stalls at this step. I reformatted my hard drive  and
 reinstalled a fresh copy of Window. I've just tried install Cold Fusion
 again but it stalled at the same place. I went into my registry to see if it
 had added anything. The install process had in fact updated the registry
 settings.
 
 I'm trying to learn Cold Fusion for my job and having it at home to practice
 would make that a lot easier.
 
 Ok, so I posted this to a Cold Fusion newsgroup. Someone replied saying they
 had fixed this issue by installing sp2.
 So I uninstalled sp2 (maybe the first install didn't go well) o now, I am
 trying to reinstall sp2 and it is hanging at where it says Finishing
 Installation
 
 Last night I format my hard drive and reinstalled Windows. When I tried to
 install Cold Fusion, It stopped at the same place. Erch!
 
 What is going on with my machine? .
 
 Any help would be really appreciated.
 
   PC details: Dimension 4100 800 mhz, 128 ram, 20.4gb + 8.4 gb had, windows
 2000 pro
 
   Luc

~~
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: Strange Boolean Error

2001-05-24 Thread David Shadovitz

Sure.  O and 1 are boolean values, but 3 ain't.
What is it you want to check?  Whether a UserID is provided?
-David

On Wednesday, May 23, 2001 11:56 PM, Paul Smith [SMTP:[EMAIL PROTECTED]] 
wrote:
 Is it expected behavior that the error below DOES NOT occur when
 REQUEST.GetClientData.UserID=1 but DOES occur when
 REQUEST.GetClientData.UserID=3 ? CFAS 4.5.1

 I cannot reproduce the error from my workstation.  UserID=3 at his
 workstation can repeat the error at will.

 Would it be better to use the YesNoFormat() function on the first boolean?

 best, paul

 An error occurred while evaluating the expression:
 REQUEST.GetClientData.UserID AND
 BitAnd(REQUEST.GetClientData.Permissions,VARIABLES.NeededPermission)
 Error near line 31, column 35.
 The short-circuit AND operator requires Boolean operands. Cannot convert
 the left operand to a Boolean value.

~~
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: problem looping around form fields and values

2001-05-24 Thread Ben Koshy

Hi Mark,

Here you go:

You have to first construct the exact the fully scoped variable name.  You
can see I added the
CFSET Fname = Form.  fname Line
and then you use the evaluate function to return the actual value of the
passed variable name.

Corrected Code Attached:



cfset
fieldlist=mailone,mail2,mail3,mail4,mail5,mail6,mail7,mail8,mail9,mail10

CFLOOP LIST=#fieldlist# INDEX=fname
CFSET Fname = Form.  fname
CFIF #fname# IS NOT 
cfsetting enablecfoutputonly=yes
cfparam name=ReturnCode default=0
cfset sEmailRE =
^([a-zA-Z0-9\.]+)\@([a-zA-Z0-9\.\-]+)\.([a-zA-Z]{2,3})$
cfif ReFindNoCase(sEmailRE,#evaluate(fname)#)
cfset ReturnCode = 1
/cfif
cfsetting enablecfoutputonly=no

CFIF returncode IS 0
Error message

CFELSE

Continue
/CFIF
/CFIF
/CFLOOP



~~
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: Storing Complex Variables in memory

2001-05-24 Thread alistair . davidson

Yes, WDDX is a good way round this problem, something like -

Cfwddx action=CFML2WDDX input=#yourquery# output=CLIENT.query

to serialize the query into a client variable, then on subsequent pages -

cfwddx action=WDDX2CFML input=#CLIENT.query# output=yourquey

to deserialize it back into a CF query object, which can be used like any
normal query.

Hope this helps

Alistair Davidson
Senior Web Developer 
Rocom New Media
www.rocomx.net


-Original Message-
From: Nathan Nelson [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2001 23:09
To: CF-Talk
Subject: Storing Complex Variables in memory


Hello everybody,

I am working on a shopping cart application and I am creating the shopping
cart using a query.  Right now I am storing the query as a session variable
which works great.  I wanted to use client variables, but it is too complex.
The problem with using session variables is that this application will be on
a clustered environment.  Has anybody experienced this?  I was thinking
maybe using WDDX to put it into a client variable if that would work.  I
would appreciate ANY ideas on how I should handle this.

Thanks in advance,

Nathan Nelson
ColdFusion Developer
...::[CFDynamics]::.
www.cfdynamics.com
[EMAIL PROTECTED]
(801)621-8511
~~
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



HTTP Headers, firwalls and malicious users

2001-05-24 Thread Massimo Foti

Hi all,

I know that you can't rely 100% on HTTP headers since most of them are not
required by the HTTP specs, malicious users could alter the headers and I
saw corporate firewalls configured in a way that strip most of the data out
of the HTTP request from the browsers like removing the http-referer and
similar stuff. Also, some old or exotic browser could cause troubles too.

Still, checking cgi.http_referer could be handy sometimes and
cgi.content_length is great on a file upload scenario. The question is
actually, what does it happens if, by any reasons, good or bad, the specific
HTTTP header is not there? Does CF Server throw me an error? Is the variable
totally missing or an empty string?

I guess a code like this should catch any problem, isn't it?

cfif isdefined(cgi.http_referer) AND cgi.http_referer NEQ 
It's not there or is empty
/cfif

Thanks in advance

Massimo



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

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



RE: problem looping around form fields and values

2001-05-24 Thread Mark

Hi Ben,

Thanks for the explanation!! The code works great 
on the first field (mailone), but then doesn't check
any of the remaining fields. It loops through them,
but seems any form variable after the first is not 
being checked by the REFindNoCase function because it 
lets any combination of text go through. I've never 
used this email checking function on more than one
form field at a time, but the loop function seems to
be ok. Hmmm .. strange. Any thoughts on this?

Thanks again!

Mark

--- Ben Koshy [EMAIL PROTECTED] wrote:
 Hi Mark,
 
 Here you go:
 
 You have to first construct the exact the fully
 scoped variable name.  You
 can see I added the
 CFSET Fname = Form.  fname Line
 and then you use the evaluate function to return the
 actual value of the
 passed variable name.
 
 Corrected Code Attached:
 
 
 
 cfset

fieldlist=mailone,mail2,mail3,mail4,mail5,mail6,mail7,mail8,mail9,mail10
 
 CFLOOP LIST=#fieldlist# INDEX=fname
 CFSET Fname = Form.  fname
 CFIF #fname# IS NOT 
 cfsetting enablecfoutputonly=yes
 cfparam name=ReturnCode default=0
 cfset sEmailRE =

^([a-zA-Z0-9\.]+)\@([a-zA-Z0-9\.\-]+)\.([a-zA-Z]{2,3})$
 cfif ReFindNoCase(sEmailRE,#evaluate(fname)#)
   cfset ReturnCode = 1
 /cfif
 cfsetting enablecfoutputonly=no
 
 CFIF returncode IS 0
 Error message
 
 CFELSE
 
 Continue
 /CFIF
 /CFIF
 /CFLOOP
 
 
 

~~
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: HTTP Headers, firwalls and malicious users

2001-05-24 Thread Bud

On 5/24/01, Massimo Foti penned:
I guess a code like this should catch any problem, isn't it?

cfif isdefined(cgi.http_referer) AND cgi.http_referer NEQ 
It's not there or is empty
/cfif

I'm pretty sure that cgi variables are always present, just empty if 
not contained in the request or not supported by the web server, so 
you don't have to check if they are defined.
-- 

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: OT: FTP Server

2001-05-24 Thread Bud

On 5/24/01, Duane Boudreau penned:
Can anyone suggest a decent and moderatly priced (~ $250) FTP server that
will run as a service unter Win2k?

Serv-U Professional is 249.95. Best in the business as far as I know.

http://www.serv-u.com/
-- 

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



Lock me up!

2001-05-24 Thread Michael Lugassy

3 quick Qs about Locking:

1. how do you set the right timeout value? i.e - what are the rules and opinions on 
that? (longer
time or shorter and efficient?

2. throwonerror? yes or no? what is recommened? assuming the program may not use the 
current
variable?

3. please look at this:

1. #application.cats[url.catid].catNAME#
2. MORE PURE HTML
3. MORE PURE HTML
4. MORE PURE HTML
5. cfloop index=i from=1 to=#Arraylen(application.subcats)#

6. MORE PURE HTML
8. MORE PURE HTML
9. /cfloop

what is better? to provide 2 quick locks around line#1 and around line#5-9
or to provide a bigger lock around lines1-9?
in general, when the content inside the lock is pure html, with no use of CF/Other 
Process
and ofcourse, no other shared variable, is it necessary to close and re-open another 
lock?


Thanks,

-=Michael


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

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



RE: Good resource on CF/XML integration?

2001-05-24 Thread tom dyson

Hi

 Is there any good resources on CF/XML integration?  Any good web sites??

I'm giving a free seminar on CF/XML integration sometime in June, in London,
UK. You can sign up for it at

http://torchbox.com/xml

If you can't come, sign up anyway and I'll send you the support pack
(documentation, code samples, links to resources on the web).

 Yea, but how do you grab a .xml page and parse it out into your HTML?  I
 have a company that wants to feed us info, and they have given me a url to a
 ..xml page.  I want to group the info and format the output.  Can CF_SOXML do
 this?

I've written a custom tag which mimics CFQUERY, but uses an XML packet:

cf_xmlquery   name = myquery
xmldata = http://torchbox.com/myxml.xml;
xpath = //people

cfoutput query = myquery
#person_id# #person_name# br /
/cfoutput

The 'xmldata' field - here shown coming from a URL - can also be a file on
the server or a local variable. You need to know a bit of XPATH to make the
most of it, but it's pretty easy (it's a bit like the XML equivalent of
SQL). 

If you're interested in this tag (I've also written XML versions of CFINSERT
and CFUPDATE) let me know and I'll send you a beta version.

Tom

-+
tom dyson
t: 01608 811870
m: 07958 752657
[EMAIL PROTECTED]
http://torchbox.com


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



RE: Lock me up!

2001-05-24 Thread alistair . davidson

1. Depends on what you're locking! If you're locking application variables,
you're probably best to go for 1 or two seconds. If you're locking access to
a file, which might be locked for a lengthy writing process, go for
something longer. In general, I go for one or two second timeouts with
throwonerror=yes, then I can catch the error and display something
meaningful to the client, rather than have them wait for ages thinking the
server is down.

2. See 1. above !

3. In this situation, I'd go for this -

cfset Variables = StructNew()

cftry
cflock scope=APPLICATION timeout=2 throwonerror=YES
cfset VARIABLES.CatName =
APPLICATION.cats[url.catid].catNAME
cfset VARIABLES.SubCats = APPLICATION.SubCats
/cflock

cfcatch type=ANY
!--- Display a message ---
cfexit method=EXITTEMPLATE
/cfcatch
/cftry

cfoutput
#VARIABLES.CatName#

!--- Your PURE HTML ---
cfloop index=i from=1 to=#ArrayLen(VARIABLES.subcats)#
!--- More pure HTML ---
/cfloop

/cfoutput


That way you only lock for the minimum amount of time/code, which is always
good practice. If you cache your APPLICATION variables into a local struct,
you only need to lock the bit that copies the values, and you're free to
read and write to the local struct as much as you like.


Hope that helps

Cheers,

Alistair Davidson
Senior Web Developer
Rocom New Media
www.rocomX.net

-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 11:49
To: CF-Talk
Subject: Lock me up!


3 quick Qs about Locking:

1. how do you set the right timeout value? i.e - what are the rules and
opinions on that? (longer
time or shorter and efficient?

2. throwonerror? yes or no? what is recommened? assuming the program may not
use the current
variable?

3. please look at this:

1. #application.cats[url.catid].catNAME#
2. MORE PURE HTML
3. MORE PURE HTML
4. MORE PURE HTML
5. cfloop index=i from=1 to=#Arraylen(application.subcats)#

6. MORE PURE HTML
8. MORE PURE HTML
9. /cfloop

what is better? to provide 2 quick locks around line#1 and around line#5-9
or to provide a bigger lock around lines1-9?
in general, when the content inside the lock is pure html, with no use of
CF/Other Process
and ofcourse, no other shared variable, is it necessary to close and re-open
another lock?


Thanks,

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

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



Re: Lock me up!

2001-05-24 Thread Michael Lugassy

Great, but aren't structers considers a COMPLEX varialbe that you cannot
easily copy,
you forgot to add Duplicate()

Thanks again!

Michael Lugassy


- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 12:04 PM
Subject: RE: Lock me up!


 1. Depends on what you're locking! If you're locking application
variables,
 you're probably best to go for 1 or two seconds. If you're locking access
to
 a file, which might be locked for a lengthy writing process, go for
 something longer. In general, I go for one or two second timeouts with
 throwonerror=yes, then I can catch the error and display something
 meaningful to the client, rather than have them wait for ages thinking the
 server is down.

 2. See 1. above !

 3. In this situation, I'd go for this -

 cfset Variables = StructNew()

 cftry
 cflock scope=APPLICATION timeout=2 throwonerror=YES
 cfset VARIABLES.CatName =
 APPLICATION.cats[url.catid].catNAME
 cfset VARIABLES.SubCats = APPLICATION.SubCats
 /cflock

 cfcatch type=ANY
 !--- Display a message ---
 cfexit method=EXITTEMPLATE
 /cfcatch
 /cftry

 cfoutput
 #VARIABLES.CatName#

 !--- Your PURE HTML ---
 cfloop index=i from=1 to=#ArrayLen(VARIABLES.subcats)#
 !--- More pure HTML ---
 /cfloop

 /cfoutput


 That way you only lock for the minimum amount of time/code, which is
always
 good practice. If you cache your APPLICATION variables into a local
struct,
 you only need to lock the bit that copies the values, and you're free to
 read and write to the local struct as much as you like.


 Hope that helps

 Cheers,

 Alistair Davidson
 Senior Web Developer
 Rocom New Media
 www.rocomX.net

 -Original Message-
 From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
 Sent: 24 May 2001 11:49
 To: CF-Talk
 Subject: Lock me up!


 3 quick Qs about Locking:

 1. how do you set the right timeout value? i.e - what are the rules and
 opinions on that? (longer
 time or shorter and efficient?

 2. throwonerror? yes or no? what is recommened? assuming the program may
not
 use the current
 variable?

 3. please look at this:

 1. #application.cats[url.catid].catNAME#
 2. MORE PURE HTML
 3. MORE PURE HTML
 4. MORE PURE HTML
 5. cfloop index=i from=1 to=#Arraylen(application.subcats)#

 6. MORE PURE HTML
 8. MORE PURE HTML
 9. /cfloop

 what is better? to provide 2 quick locks around line#1 and around
line#5-9
 or to provide a bigger lock around lines1-9?
 in general, when the content inside the lock is pure html, with no use of
 CF/Other Process
 and ofcourse, no other shared variable, is it necessary to close and
re-open
 another lock?


 Thanks,

 -=Michael

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

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



Re: NT User authentication

2001-05-24 Thread Neil H.

You sure you can compare a set of credentials with the SAM by using advanced
security?  I have heard of COM objects but nothing natively in CF.

Thanks,

Neil

- Original Message -
From: Bryan LaPlante [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 1:38 AM
Subject: Re: NT User authentication


 CF has this ability through advanced security. There is a bit of a
learning
 curve but  once you figure it out it makes sense why it works the way it
 does. Start reading the docs and when you get stuck email the group and
I'll
 keep an ear out for you.

 Bryan LaPlante
 816-347-8220
 [EMAIL PROTECTED]
 http://www.netwebapps.com
 Web Development

 - Original Message -
 From: Neil H. [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, May 23, 2001 9:02 PM
 Subject: Re: NT User authentication


  Yes,
  But I want to check the password too.
 
  Thanks
 
  Neil
 
  - Original Message -
  From: John Wilker [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Wednesday, May 23, 2001 9:47 PM
  Subject: RE: NT User authentication
 
 
   Assuming this will be running on an intranet where users will have to
  login
   to NT, you can access their NT login name with #REMOTE_USER# it should
   return domain/username
  
   you'll need to turn anonymous access off in IIS in order to make the
   variable record.
  
   J.
  
   John Wilker
   Web Applications Consultant
   Macromedia Certified ColdFusion Developer
  
   www.red-omega.com http://www.red-omega.com
  
   Pepsi's Come Alive With the Pepsi Generation translated into Pepsi
  Brings
   Your Ancestors Back From the Grave in Chinese.
  
  
   -Original Message-
   From: Neil H. [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, May 23, 2001 6:36 PM
   To: CF-Talk
   Subject: Re: NT User authentication
  
  
   No no, I want to have a login page that compares the username and
 password
   to the NT user database :)
  
   Thanks,
  
   Neil
  
   - Original Message -
   From: Garza, Jeff [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Wednesday, May 23, 2001 7:29 PM
   Subject: RE: NT User authentication
  
  
Turn off anonymous access, use NT/Challenge Response and or Plain
Text(netscape).  Remove the IUSR_Machinename from the dirctory ACL.
 And
   make
sure to allow system access to the directories othwise your default
   install
of CF can't access the scripts to run.
   
HTH
   
Jeff Garza
Web Developer/Webmaster
Spectrum Astro, Inc.
480.892.8200
   
[EMAIL PROTECTED]
http://www.spectrumastro.com
   
   
   
-Original Message-
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 2:37 PM
To: CF-Talk
Subject: NT User authentication
   
   
I am looking for a method where the website can authenticate against
 the
   NT
user database.
   
Thanks,
   
Neil
   
  
 

~~
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: HTTP Headers, firwalls and malicious users

2001-05-24 Thread Massimo Foti

Bud [EMAIL PROTECTED] wrote in message
news:p04320405b7327f745737@[
 I'm pretty sure that cgi variables are always present, just empty if
 not contained in the request or not supported by the web server, so
 you don't have to check if they are defined.

Doing some tests, I've got a similar feeling too.

Thanks

Massimo



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

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



RE: Stuck on SQL Query

2001-05-24 Thread Kevan . Windle

I wouldn't have built it like that. Would have had a third table
user products
ProdID | UserID  | StepNo  |
1  |2|3|   
2  |3|2|  

Then from here you could easily select any combination of product, user and
step. And it would be more flexible because you could add steps without
having to add fields.
 

If your stuck with that structure
you could do:

select * from product,user
where
(user.userid=Step1Id or
user.userid=Step2Id or
user.userid=Step3Id )
and user.userid=#var#


-Original Message-
From: Richard Ramos [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2001 19:54
To: CF-Talk
Subject: Stuck on SQL Query


BlankHello,

I have dug myself into a bit of a rut.  I have two tables that are organized
as so.

Production
ProdID | Step1ID | Step2ID | Step3ID

 AUTO  |2|3|4
   |3|2|1

User
UserID | UserName
-
   1   |   Tom
   2   |   Bob
   3   |   Mary

How can I set up my query to find information based off of the user?  I
understand I can have a many-to-one relation but isn't that based off of
rows?  This is just a sample of the Production table.  I also will have
dates for each step and need to contain the information based off of a time
period selected.  Any insight on how to do a query like this would be great.

Thanks in advance.


Richard Ramos
Network Administrator
Softitler Net, Inc.
www.softitler.com
[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: DNS2go

2001-05-24 Thread Duane Boudreau

Thanks Peter,

I read the FAQ on the site and it looks like they don't support multiple url
pointing at the same IP address, such as

http://www.cfexperts.com
http://yyy.cfexperts.com
http://zzz.cfexperts.com

Its not very clear, do you know if this is this true?

Are there other Free (or close to Free) DNS hosting services that anyone
knows of that supports urls?

Duane


-Original Message-
From: Peter Tilbrook [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 3:10 AM
To: CF-Talk
Subject: RE: DNS2go


It's quite good and very reliable. Its even better if you have a fast or
permanent connection to the 'net. It can even update your system clock so
that it is very accurate.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Duane
Boudreau
Sent: Friday, 25 May, 2001 4:31 AM
To: CF-Talk
Subject: OT:DNS2go


Hi All,

Has anyone here used the service DNS2Go from deerfield? Its supposed to be
free dns hosting.

If so how was/is reliability?

TIA,
Duane Boudreau,
Chief Techical Officer
CFExperts, LLC
Nashua, NH
603.620.8797
~~
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: Stuck on SQL Query

2001-05-24 Thread Kevan . Windle

I wouldn't have built it like that. Would have had a third table
user products
ProdID | UserID  | StepNo  |
1  |2|3|   
2  |3|2|  

Then from here you could easily select any combination of product, user and
step. And it would be more flexible because you could add steps without
having to add fields.
 

If your stuck with that structure
you could do:

select * from product,user
where
(user.userid=Step1Id or
user.userid=Step2Id or
user.userid=Step3Id )
and user.userid=#var#

-Original Message-
From: Richard Ramos [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2001 19:54
To: CF-Talk
Subject: Stuck on SQL Query


BlankHello,

I have dug myself into a bit of a rut.  I have two tables that are organized
as so.

Production
ProdID | Step1ID | Step2ID | Step3ID

 AUTO  |2|3|4
   |3|2|1

User
UserID | UserName
-
   1   |   Tom
   2   |   Bob
   3   |   Mary

How can I set up my query to find information based off of the user?  I
understand I can have a many-to-one relation but isn't that based off of
rows?  This is just a sample of the Production table.  I also will have
dates for each step and need to contain the information based off of a time
period selected.  Any insight on how to do a query like this would be great.

Thanks in advance.


Richard Ramos
Network Administrator
Softitler Net, Inc.
www.softitler.com
[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



OT Javascript question

2001-05-24 Thread Andy Ewings

I'm having a mind blankarghhh.  I'm trying to incremtnet the value of a
control in a form by one where part of the controls name is poassed in as a
variable.  Probably best I explain with the code snippet:

function test(controlnum) {
 document.forms[0].interest + interest + .value =
eval(document.forms[0].interest + interest + .value) + 1;
}

I have tested using alert and the The RHS of the equation is computed
correctly.  I need to let javasript know that the LHS of the equation is an
object in the page rather than just a string but I can't remeber
how!anyone help

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

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



RE: Lock me up!

2001-05-24 Thread alistair . davidson

cfparam name=coffee type=black

Very true, I was assuming that your Application structure would be large and
very complex, therefore you'd only want to copy the keys that you would
actually need for that request. And you're right, if the Struct key is
itself a complex variable, you should use Duplicate.

Suffering from too much dodgy curry and too little sleep last night.

Alistair

-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 12:24
To: CF-Talk
Subject: Re: Lock me up!


Great, but aren't structers considers a COMPLEX varialbe that you cannot
easily copy,
you forgot to add Duplicate()

Thanks again!

Michael Lugassy


- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 12:04 PM
Subject: RE: Lock me up!


 1. Depends on what you're locking! If you're locking application
variables,
 you're probably best to go for 1 or two seconds. If you're locking access
to
 a file, which might be locked for a lengthy writing process, go for
 something longer. In general, I go for one or two second timeouts with
 throwonerror=yes, then I can catch the error and display something
 meaningful to the client, rather than have them wait for ages thinking the
 server is down.

 2. See 1. above !

 3. In this situation, I'd go for this -

 cfset Variables = StructNew()

 cftry
 cflock scope=APPLICATION timeout=2 throwonerror=YES
 cfset VARIABLES.CatName =
 APPLICATION.cats[url.catid].catNAME
 cfset VARIABLES.SubCats = APPLICATION.SubCats
 /cflock

 cfcatch type=ANY
 !--- Display a message ---
 cfexit method=EXITTEMPLATE
 /cfcatch
 /cftry

 cfoutput
 #VARIABLES.CatName#

 !--- Your PURE HTML ---
 cfloop index=i from=1 to=#ArrayLen(VARIABLES.subcats)#
 !--- More pure HTML ---
 /cfloop

 /cfoutput


 That way you only lock for the minimum amount of time/code, which is
always
 good practice. If you cache your APPLICATION variables into a local
struct,
 you only need to lock the bit that copies the values, and you're free to
 read and write to the local struct as much as you like.


 Hope that helps

 Cheers,

 Alistair Davidson
 Senior Web Developer
 Rocom New Media
 www.rocomX.net

 -Original Message-
 From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
 Sent: 24 May 2001 11:49
 To: CF-Talk
 Subject: Lock me up!


 3 quick Qs about Locking:

 1. how do you set the right timeout value? i.e - what are the rules and
 opinions on that? (longer
 time or shorter and efficient?

 2. throwonerror? yes or no? what is recommened? assuming the program may
not
 use the current
 variable?

 3. please look at this:

 1. #application.cats[url.catid].catNAME#
 2. MORE PURE HTML
 3. MORE PURE HTML
 4. MORE PURE HTML
 5. cfloop index=i from=1 to=#Arraylen(application.subcats)#

 6. MORE PURE HTML
 8. MORE PURE HTML
 9. /cfloop

 what is better? to provide 2 quick locks around line#1 and around
line#5-9
 or to provide a bigger lock around lines1-9?
 in general, when the content inside the lock is pure html, with no use of
 CF/Other Process
 and ofcourse, no other shared variable, is it necessary to close and
re-open
 another lock?


 Thanks,

 -=Michael

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

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



RE: OT Javascript question

2001-05-24 Thread alistair . davidson

Try

function test(controlnum) {

var theObject = eval( document.forms[0].interest + interest );
theObject.value = theObject.value + 1;

}

If it's a text input that you're using, you might have to convert the values
between string and integer, something like

theObject.value = (theObject.value.parseInt() + 1).toString();

Haven't tested the above code, it's just off the top of my head, but it's
something like that, anyway.

Hope that helps

Alistair Davidson
Senior Web Developer
Rocom New Media
www.rocomx.net


-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 12:18
To: CF-Talk
Subject: OT Javascript question


I'm having a mind blankarghhh.  I'm trying to incremtnet the value of a
control in a form by one where part of the controls name is poassed in as a
variable.  Probably best I explain with the code snippet:

function test(controlnum) {
 document.forms[0].interest + interest + .value =
eval(document.forms[0].interest + interest + .value) + 1;
}

I have tested using alert and the The RHS of the equation is computed
correctly.  I need to let javasript know that the LHS of the equation is an
object in the page rather than just a string but I can't remeber
how!anyone help
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



more locking questions

2001-05-24 Thread sebastian palmigiani


1. In a shared hosting environment if you do proper locking of session
variables in your application and another application does not how does that
affect you?

2. If the answer to number 1 is that it destabalizes your application would
it then be better to have variables stored in cookies rather than session
variables?

Sebastian



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



Calling variables from within a custom tag

2001-05-24 Thread Steve Vosloo

I need to load a massive array into memory - I was going to do this in the
application.cfm, but I need the data in a custom tag. Is there any way of
accessing this info from within a CT?

My other option would be to put all this info into an include, which I call
from the CT. Can I cache an include file?

Thanks,
Steve





Development Manager
Vardus Internet Solutions (SA)

Tel: (+27) 21 670 9880
Fax: (+27) 21 674 4549

Email: [EMAIL PROTECTED]
Website: www.vardus.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: Good resource on CF/XML integration?

2001-05-24 Thread Dave Hannum

Paul,

I had this up and running last evening on a 4.0 server.  I loaded it up this
morning on a 4.5.0.0 server and get the following message when I run the
soxml tag: (running xml2cf)

DOM Error

Interface not registered | Line:0

The error occurred while processing an element with a general identifier of
(CFTHROW), occupying document position (242:7) to (242:115).


Any clues?




- Original Message -
From: Paul Mone [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, May 23, 2001 5:45 PM
Subject: RE: Good resource on CF/XML integration?


Using CF_SOXML, you have a few ways to retreive and parse the XML using the
use the XML2CF action.  All of this is pretty much taken from cf_soxml's
entry in the Tag Gallery (http://devex.allaire.com) and from siteobjects
(http://www.siteobjects.com/examples/soxml/)

cf_SOXML

Action=XML2CF|XML2DOM|XML2HTML|CF2XML|CF2XMLD
OM|Transform
  Input=URL|FilePath|Variable
  Output=Variable


You can use CFHTTP to get the XML (see the CF Help Docs for usage) and pass
the results to cf_soxml in the Input paramter.

You can pass the file path of the XML document to the Input parameter (if
it is sitting on your server, or is accessible via a network mapping to you
server).

You can pass the url of the XML document to the Input parameter (if it is
sitting on your server, or is accessible via a network mapping to you
server).

Be sure to download cf_ObjectDump from the tag gallery. That tag will dump
the object created by XML2CF to HTML allowing you to find the data you need
to grab.


-Original Message-
From: Dave Hannum [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 10:53 AM
To: CF-Talk
Subject: Re: Good resource on CF/XML integration?


Yea, but how do you grab a .xml page and parse it out into your HTML?  I
have a company that wants to feed us info, and they have given me a url to a
..xml page.  I want to group the info and format the output.  Can
CF_SOXML
do
this?

Dave

- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, May 23, 2001 11:44 AM
Subject: RE: Good resource on CF/XML integration?


Yeah, CF_SOXML is an absolutely fantastic tag, I use it all the time for all
sorts of things. Well worth downloading and getting into.

You should also read up on WDDX - start by looking in the CF Studio help for
CFWDDX.

Good luck!

Alistair Davidson
Senior Web Developer
Rocom New Media
www.rocomx.net

-Original Message-
From: Dan Phillips [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2001 15:53
To: CF-Talk
Subject: RE: Good resource on CF/XML integration?


I did a quick search on Yahoo and found this.
http://www.siteobjects.com/index.cfm?fuseAction=showProducts

cf_SOXML version 1.5[r. 01/09/2001]
SOXML provides ColdFusion programmers with an easy to use interface for
integration of XML with CF. This custom tag is open-source (of course),
free, and action based.
These actions include:

XML2CF (Converts a XML document into a complex CF structure)
XML2DOM (Loads the XML document into a valid XML DOM object accessed via CF)
XML2HTML (Displays the XML document as IE does but INLINE! very cool for
debugging)
CF2XML (Transforms any CF variable into a valid XML document)
CF2XMLDOM (Transforms any CF variable into a valid XML DOM object accessible
with CFML)
Transform (Transforms any XML document based on a specified XSL document)

I'm sure forta.com and CFDJ would have some info too.

Hope that helps!

Dan Phillips
www.cfxhosting.com

-Original Message-
From: river [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 10:22 AM
To: CF-Talk
Subject: Good resource on CF/XML integration?


Is there any good resources on CF/XML integration?  Any good web sites??
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: Calling variables from within a custom tag

2001-05-24 Thread Adkins, Randy

If you need it in other pages for the GIVEN user
you can make is a SESSION variable.

If the same data is used for all users and does not
change often, you can make is an APPLICATION
variable or place the array into a DB and call it.


-Original Message-
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 8:14 AM
To: CF-Talk
Subject: Calling variables from within a custom tag


I need to load a massive array into memory - I was going to do this in the
application.cfm, but I need the data in a custom tag. Is there any way of
accessing this info from within a CT?

My other option would be to put all this info into an include, which I call
from the CT. Can I cache an include file?

Thanks,
Steve





Development Manager
Vardus Internet Solutions (SA)

Tel: (+27) 21 670 9880
Fax: (+27) 21 674 4549

Email: [EMAIL PROTECTED]
Website: www.vardus.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: HTTP Headers, firwalls and malicious users

2001-05-24 Thread Daniel Lancelot

It says as much in the CF documentation - cgi variables will always be
defined - just empty if non-existant...

-Original Message-
From: Massimo Foti [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 11:45
To: CF-Talk
Subject: Re: HTTP Headers, firwalls and malicious users


Bud [EMAIL PROTECTED] wrote in message
news:p04320405b7327f745737@[
 I'm pretty sure that cgi variables are always present, just empty if
 not contained in the request or not supported by the web server, so
 you don't have to check if they are defined.

Doing some tests, I've got a similar feeling too.

Thanks

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

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



RE: Calling variables from within a custom tag

2001-05-24 Thread Steve Vosloo

If I make it an application variable, I will need locks around every read
(and there will be many reads) - will this not slow down my pages
considerably?



 -Original Message-
 From: Adkins, Randy [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 2:29 PM
 To: CF-Talk
 Subject: RE: Calling variables from within a custom tag


 If you need it in other pages for the GIVEN user
 you can make is a SESSION variable.

 If the same data is used for all users and does not
 change often, you can make is an APPLICATION
 variable or place the array into a DB and call it.


 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 8:14 AM
 To: CF-Talk
 Subject: Calling variables from within a custom tag


 I need to load a massive array into memory - I was going to do this in the
 application.cfm, but I need the data in a custom tag. Is there any way of
 accessing this info from within a CT?

 My other option would be to put all this info into an include,
 which I call
 from the CT. Can I cache an include file?

 Thanks,
 Steve





 Development Manager
 Vardus Internet Solutions (SA)

 Tel: (+27) 21 670 9880
 Fax: (+27) 21 674 4549

 Email: [EMAIL PROTECTED]
 Website: www.vardus.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



ImageMagick COM Object or CFX tag

2001-05-24 Thread Jay Brushett


Hi all,

I was wondering if anyone knows of or could give me advice on how to create 
either a COM object (best case, may be used for ASP too) or a CFX tag which 
implements the Imagick Magick graphics library.

Thanks,

Jay
 Strategy ~ Creativity ~ Technology   

Jay Brushett
[EMAIL PROTECTED]

Developer

 ZeddComm Inc. 
2nd Floor, The Tower | 100 Signal Hill Road
St. John's, Newfoundland | Canada A1A 1B3
Main: 709.570.5669 | Fax: 709.739.9003
Web: www.zeddcomm.com
   St. John's ~ Toronto ~ Newport Beach ~ Ottawa   



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



CFINPUT onvalidate problem

2001-05-24 Thread Malcolm Taylor

I've written a JavaScript validation routine which seems to work
correctly, returning true or false as appropriate.  However, when I call
it with onvalidate from within a CFINPUT statement, I always get a
'function expected' JavaScript error after it returns.  Am I doing
something wrong?

Here's my code:
cfinput type=text name=memberPrice_#mycounter# size=15
onvalidate=validatePrice(document.forms[0].memberPrice_1.value,'a','b',
'c')

Any advice greatly appreciated.

Malcolm



~~
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: Strange Boolean Error

2001-05-24 Thread Paul Smith

UserID will always be provided, 0 if the user has not logged in, greater 
than 0 if they have logged in.

The question is why I cannot replicate the failure from my workstation, 
Internet Exploder or NetScrape, but it always fails for my client?

best, paul


At 12:15 AM 5/24/01 -0700, you wrote:
Sure.  O and 1 are boolean values, but 3 ain't.
What is it you want to check?  Whether a UserID is provided?
-David

On Wednesday, May 23, 2001 11:56 PM, Paul Smith [SMTP:[EMAIL PROTECTED]]
wrote:
  Is it expected behavior that the error below DOES NOT occur when
  REQUEST.GetClientData.UserID=1 but DOES occur when
  REQUEST.GetClientData.UserID=3 ? CFAS 4.5.1
 
  I cannot reproduce the error from my workstation.  UserID=3 at his
  workstation can repeat the error at will.
 
  Would it be better to use the YesNoFormat() function on the first boolean?
 
  best, paul
 
  An error occurred while evaluating the expression:
  REQUEST.GetClientData.UserID AND
  BitAnd(REQUEST.GetClientData.Permissions,VARIABLES.NeededPermission)
  Error near line 31, column 35.
  The short-circuit AND operator requires Boolean operands. Cannot convert
  the left operand to a Boolean value.


~~
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: Lock me up!

2001-05-24 Thread Erika L. Walker

That was one of the best rundowns on CFLOCK I've been privy to!
Thank you for the great insight! I've always been a bit mystified when it
come to setting the proper timeouts.


Erika
(with a *K*)

One of the greatest pains to human nature is the pain of a new idea. -
Walter Bagehot
-

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 6:04 AM
To: CF-Talk
Subject: RE: Lock me up!


1. Depends on what you're locking! If you're locking application variables,
you're probably best to go for 1 or two seconds. If you're locking access to
a file, which might be locked for a lengthy writing process, go for
something longer. In general, I go for one or two second timeouts with
throwonerror=yes, then I can catch the error and display something
meaningful to the client, rather than have them wait for ages thinking the
server is down.

2. See 1. above !

3. In this situation, I'd go for this -

cfset Variables = StructNew()

cftry
cflock scope=APPLICATION timeout=2 throwonerror=YES
cfset VARIABLES.CatName =
APPLICATION.cats[url.catid].catNAME
cfset VARIABLES.SubCats = APPLICATION.SubCats
/cflock

cfcatch type=ANY
!--- Display a message ---
cfexit method=EXITTEMPLATE
/cfcatch
/cftry

cfoutput
#VARIABLES.CatName#

!--- Your PURE HTML ---
cfloop index=i from=1 to=#ArrayLen(VARIABLES.subcats)#
!--- More pure HTML ---
/cfloop

/cfoutput


That way you only lock for the minimum amount of time/code, which is always
good practice. If you cache your APPLICATION variables into a local struct,
you only need to lock the bit that copies the values, and you're free to
read and write to the local struct as much as you like.


Hope that helps

Cheers,

Alistair Davidson
Senior Web Developer
Rocom New Media
www.rocomX.net

-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 11:49
To: CF-Talk
Subject: Lock me up!


3 quick Qs about Locking:

1. how do you set the right timeout value? i.e - what are the rules and
opinions on that? (longer
time or shorter and efficient?

2. throwonerror? yes or no? what is recommened? assuming the program may not
use the current
variable?

3. please look at this:

1. #application.cats[url.catid].catNAME#
2. MORE PURE HTML
3. MORE PURE HTML
4. MORE PURE HTML
5. cfloop index=i from=1 to=#Arraylen(application.subcats)#

6. MORE PURE HTML
8. MORE PURE HTML
9. /cfloop

what is better? to provide 2 quick locks around line#1 and around line#5-9
or to provide a bigger lock around lines1-9?
in general, when the content inside the lock is pure html, with no use of
CF/Other Process
and ofcourse, no other shared variable, is it necessary to close and re-open
another lock?


Thanks,

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

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



RE: OT Javascript question

2001-05-24 Thread DeVoil, Nick

Andy

Does this work?

function test(controlnum) {
  elt = document.forms[0][interest + interest];
  elt.value = parseInt(elt.value) + 1;
}

Nick

-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 12:18 PM
To: CF-Talk
Subject: OT Javascript question


I'm having a mind blankarghhh.  I'm trying to incremtnet the value of a
control in a form by one where part of the controls name is poassed in as a
variable.  Probably best I explain with the code snippet:

function test(controlnum) {
 document.forms[0].interest + interest + .value =
eval(document.forms[0].interest + interest + .value) + 1;
}

I have tested using alert and the The RHS of the equation is computed
correctly.  I need to let javasript know that the LHS of the equation is an
object in the page rather than just a string but I can't remeber
how!anyone help
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: CFINPUT onvalidate problem

2001-05-24 Thread Dan G. Switzer, II

Malcolm,

Take a look at qForms:
http://www.pengoworks.com/

It'll replace the need to use CFFORM and is much more powerful and flexible.

-Dan

 -Original Message-
 From: Malcolm Taylor [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 8:42 AM
 To: CF-Talk
 Subject: CFINPUT onvalidate problem


 I've written a JavaScript validation routine which seems to work
 correctly, returning true or false as appropriate.  However, when I call
 it with onvalidate from within a CFINPUT statement, I always get a
 'function expected' JavaScript error after it returns.  Am I doing
 something wrong?

 Here's my code:
 cfinput type=text name=memberPrice_#mycounter# size=15
 onvalidate=validatePrice(document.forms[0].memberPrice_1.value,'a','b',
 'c')

 Any advice greatly appreciated.

   Malcolm




~~
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: HTTP Headers, firwalls and malicious users

2001-05-24 Thread Massimo Foti

Great, thanks, I clearly missed this

Massîmo


Daniel Lancelot [EMAIL PROTECTED] wrote in message
 It says as much in the CF documentation - cgi variables will always be
 defined - just empty if non-existant...




~~
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: Calling variables from within a custom tag

2001-05-24 Thread Bob Silverberg

Read lock are _not supposed to_ slow your application down.  I've never seen
any actual numbers on this, but that has been my understanding.  Allaire has
stated that there is very little overhead to read-only locks.

Bob

-Original Message-
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: May 24, 2001 8:42 AM
To: CF-Talk
Subject: RE: Calling variables from within a custom tag


If I make it an application variable, I will need locks around every read
(and there will be many reads) - will this not slow down my pages
considerably?



 -Original Message-
 From: Adkins, Randy [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 2:29 PM
 To: CF-Talk
 Subject: RE: Calling variables from within a custom tag


 If you need it in other pages for the GIVEN user
 you can make is a SESSION variable.

 If the same data is used for all users and does not
 change often, you can make is an APPLICATION
 variable or place the array into a DB and call it.


 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 8:14 AM
 To: CF-Talk
 Subject: Calling variables from within a custom tag


 I need to load a massive array into memory - I was going to do this in the
 application.cfm, but I need the data in a custom tag. Is there any way of
 accessing this info from within a CT?

 My other option would be to put all this info into an include,
 which I call
 from the CT. Can I cache an include file?

 Thanks,
 Steve





 Development Manager
 Vardus Internet Solutions (SA)

 Tel: (+27) 21 670 9880
 Fax: (+27) 21 674 4549

 Email: [EMAIL PROTECTED]
 Website: www.vardus.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: Good resource on CF/XML integration?

2001-05-24 Thread tom dyson

Make sure you have a reasonably current version of the MSXML parser on your
4.5 server: MSXML 3.0 will definitely handle all the SOXML stuff and is
freely available from

http://msdn.microsoft.com/xml/default.asp

-+
tom dyson
t: 01608 811870
m: 07958 752657
w: http://torchbox.com
cf/xml resource pack: http://torchbox.com/xml

 From: Dave Hannum [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Thu, 24 May 2001 08:12:05 -0400
 To: CF-Talk [EMAIL PROTECTED]
 Subject: Re: Good resource on CF/XML integration?
 
 Paul,
 
 I had this up and running last evening on a 4.0 server.  I loaded it up this
 morning on a 4.5.0.0 server and get the following message when I run the
 soxml tag: (running xml2cf)
 
 DOM Error
 
 Interface not registered | Line:0
 
 The error occurred while processing an element with a general identifier of
 (CFTHROW), occupying document position (242:7) to (242:115).
 
 
 Any clues?


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

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



RE: OT Javascript question

2001-05-24 Thread Andy Ewings

MopeI tried this Nick but it kept complaining at the ParseInt line
saying object required.  I can't see why it shouldn't work as the object
definitely exists.  I'm sure I've made a blindingly silly mistake so I'll
persue with it after lunch :) 

-Original Message-
From: DeVoil, Nick [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 12:32
To: CF-Talk
Subject: RE: OT Javascript question


Andy

Does this work?

function test(controlnum) {
  elt = document.forms[0][interest + interest];
  elt.value = parseInt(elt.value) + 1;
}

Nick

-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 12:18 PM
To: CF-Talk
Subject: OT Javascript question


I'm having a mind blankarghhh.  I'm trying to incremtnet the value of a
control in a form by one where part of the controls name is poassed in as a
variable.  Probably best I explain with the code snippet:

function test(controlnum) {
 document.forms[0].interest + interest + .value =
eval(document.forms[0].interest + interest + .value) + 1;
}

I have tested using alert and the The RHS of the equation is computed
correctly.  I need to let javasript know that the LHS of the equation is an
object in the page rather than just a string but I can't remeber
how!anyone help
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



Re: ImageMagick COM Object or CFX tag

2001-05-24 Thread Rey Bango

Jay,

Take a look at ImageFolio.com. I'm not sure what you're trying to build but
perhaps this product, which intergrates w/ ImageMagick, could help.

Rey...
Team Allaire..
- Original Message -
From: Jay Brushett [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 6:16 AM
Subject: ImageMagick COM Object or CFX tag



 Hi all,

 I was wondering if anyone knows of or could give me advice on how to
create
 either a COM object (best case, may be used for ASP too) or a CFX tag
which
 implements the Imagick Magick graphics library.

 Thanks,

 Jay
  Strategy ~ Creativity ~ Technology   

 Jay Brushett
 [EMAIL PROTECTED]

 Developer

  ZeddComm Inc. 
 2nd Floor, The Tower | 100 Signal Hill Road
 St. John's, Newfoundland | Canada A1A 1B3
 Main: 709.570.5669 | Fax: 709.739.9003
 Web: www.zeddcomm.com
St. John's ~ Toronto ~ Newport Beach ~ Ottawa   




~~
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: problem looping around form fields and values

2001-05-24 Thread David Shadovitz

Change cfparam name=ReturnCode default=0
to cfset ReturnCode=0
-David


On Thursday, May 24, 2001 1:09 AM, Mark [SMTP:[EMAIL PROTECTED]] wrote:
 Hi Ben,
 
 Thanks for the explanation!! The code works great 
 on the first field (mailone), but then doesn't check
 any of the remaining fields. It loops through them,
 but seems any form variable after the first is not 
 being checked by the REFindNoCase function because it 
 lets any combination of text go through. I've never 
 used this email checking function on more than one
 form field at a time, but the loop function seems to
 be ok. Hmmm .. strange. Any thoughts on this?
 
 Thanks again!
 
 Mark
 
 --- Ben Koshy [EMAIL PROTECTED] wrote:
  Hi Mark,
  
  Here you go:
  
  You have to first construct the exact the fully
  scoped variable name.  You
  can see I added the
  CFSET Fname = Form.  fname Line
  and then you use the evaluate function to return the
  actual value of the
  passed variable name.
  
  Corrected Code Attached:
  
  
  
  cfset
 
 fieldlist=mailone,mail2,mail3,mail4,mail5,mail6,mail7,mail8,mail9,mail10
  
  CFLOOP LIST=#fieldlist# INDEX=fname
  CFSET Fname = Form.  fname
  CFIF #fname# IS NOT 
  cfsetting enablecfoutputonly=yes
  cfparam name=ReturnCode default=0
  cfset sEmailRE =
 
 ^([a-zA-Z0-9\.]+)\@([a-zA-Z0-9\.\-]+)\.([a-zA-Z]{2,3})$
  cfif ReFindNoCase(sEmailRE,#evaluate(fname)#)
  cfset ReturnCode = 1
  /cfif
  cfsetting enablecfoutputonly=no
  
  CFIF returncode IS 0
  Error message
  
  CFELSE
  
  Continue
  /CFIF
  /CFIF
  /CFLOOP
  
  
  
 

~~
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: Calling variables from within a custom tag

2001-05-24 Thread Adkins, Randy

Does it need to be applied to everyone that
enters the application or just to the user?

-Original Message-
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 8:42 AM
To: CF-Talk
Subject: RE: Calling variables from within a custom tag


If I make it an application variable, I will need locks around every read
(and there will be many reads) - will this not slow down my pages
considerably?



 -Original Message-
 From: Adkins, Randy [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 2:29 PM
 To: CF-Talk
 Subject: RE: Calling variables from within a custom tag


 If you need it in other pages for the GIVEN user
 you can make is a SESSION variable.

 If the same data is used for all users and does not
 change often, you can make is an APPLICATION
 variable or place the array into a DB and call it.


 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 8:14 AM
 To: CF-Talk
 Subject: Calling variables from within a custom tag


 I need to load a massive array into memory - I was going to do this in the
 application.cfm, but I need the data in a custom tag. Is there any way of
 accessing this info from within a CT?

 My other option would be to put all this info into an include,
 which I call
 from the CT. Can I cache an include file?

 Thanks,
 Steve





 Development Manager
 Vardus Internet Solutions (SA)

 Tel: (+27) 21 670 9880
 Fax: (+27) 21 674 4549

 Email: [EMAIL PROTECTED]
 Website: www.vardus.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: Lock me up!

2001-05-24 Thread alistair . davidson

Glad to help - I only properly got my mind round it about a year ago (i.e.
when we got a project in that was big enough to require it)

Alistair
Senior Web Developer
Rocom New Media
www.rocomx.net

PS. You think Erika spelt with a c is bad? You wouldn't believe how many
variations I've had on Alistair.!

-Original Message-
From: Erika L. Walker [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 13:51
To: CF-Talk
Subject: RE: Lock me up!


That was one of the best rundowns on CFLOCK I've been privy to!
Thank you for the great insight! I've always been a bit mystified when it
come to setting the proper timeouts.


Erika
(with a *K*)

One of the greatest pains to human nature is the pain of a new idea. -
Walter Bagehot
-

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 6:04 AM
To: CF-Talk
Subject: RE: Lock me up!


1. Depends on what you're locking! If you're locking application variables,
you're probably best to go for 1 or two seconds. If you're locking access to
a file, which might be locked for a lengthy writing process, go for
something longer. In general, I go for one or two second timeouts with
throwonerror=yes, then I can catch the error and display something
meaningful to the client, rather than have them wait for ages thinking the
server is down.

2. See 1. above !

3. In this situation, I'd go for this -

cfset Variables = StructNew()

cftry
cflock scope=APPLICATION timeout=2 throwonerror=YES
cfset VARIABLES.CatName =
APPLICATION.cats[url.catid].catNAME
cfset VARIABLES.SubCats = APPLICATION.SubCats
/cflock

cfcatch type=ANY
!--- Display a message ---
cfexit method=EXITTEMPLATE
/cfcatch
/cftry

cfoutput
#VARIABLES.CatName#

!--- Your PURE HTML ---
cfloop index=i from=1 to=#ArrayLen(VARIABLES.subcats)#
!--- More pure HTML ---
/cfloop

/cfoutput


That way you only lock for the minimum amount of time/code, which is always
good practice. If you cache your APPLICATION variables into a local struct,
you only need to lock the bit that copies the values, and you're free to
read and write to the local struct as much as you like.


Hope that helps

Cheers,

Alistair Davidson
Senior Web Developer
Rocom New Media
www.rocomX.net

-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 11:49
To: CF-Talk
Subject: Lock me up!


3 quick Qs about Locking:

1. how do you set the right timeout value? i.e - what are the rules and
opinions on that? (longer
time or shorter and efficient?

2. throwonerror? yes or no? what is recommened? assuming the program may not
use the current
variable?

3. please look at this:

1. #application.cats[url.catid].catNAME#
2. MORE PURE HTML
3. MORE PURE HTML
4. MORE PURE HTML
5. cfloop index=i from=1 to=#Arraylen(application.subcats)#

6. MORE PURE HTML
8. MORE PURE HTML
9. /cfloop

what is better? to provide 2 quick locks around line#1 and around line#5-9
or to provide a bigger lock around lines1-9?
in general, when the content inside the lock is pure html, with no use of
CF/Other Process
and ofcourse, no other shared variable, is it necessary to close and re-open
another lock?


Thanks,

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

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



Quick Question

2001-05-24 Thread Darren Adams

How do you set your profile for this list as on vacation ?

Thanks,

Darren Adams
Web Developer
Marketing Department
Systems Union

Office: 01252 55 6220
Mobile: 07714 817 038
Email: [EMAIL PROTECTED]

Data + Structure = INFORMATION


~~
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: Lock me up!

2001-05-24 Thread Raymond Camden


The CFLOCK tag beelow should use TYPE=ReadOnly since you are only copying,
not writing to the App scope. By default CFLOCK is Exclusive.

Ray Camden

 cftry
   cflock scope=APPLICATION timeout=2 throwonerror=YES
   cfset VARIABLES.CatName =
 APPLICATION.cats[url.catid].catNAME
   cfset VARIABLES.SubCats = APPLICATION.SubCats
   /cflock

   cfcatch type=ANY
   !--- Display a message ---
   cfexit method=EXITTEMPLATE
   /cfcatch
 /cftry

 cfoutput
   #VARIABLES.CatName#

   !--- Your PURE HTML ---
   cfloop index=i from=1 to=#ArrayLen(VARIABLES.subcats)#
   !--- More pure HTML ---
   /cfloop

 /cfoutput




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

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



RE: OT Javascript question

2001-05-24 Thread alistair . davidson

parseInt() is a method of the String object, so try

elt.value = elt.value.parseInt() + 1;

-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 13:58
To: CF-Talk
Subject: RE: OT Javascript question


MopeI tried this Nick but it kept complaining at the ParseInt line
saying object required.  I can't see why it shouldn't work as the object
definitely exists.  I'm sure I've made a blindingly silly mistake so I'll
persue with it after lunch :) 

-Original Message-
From: DeVoil, Nick [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 12:32
To: CF-Talk
Subject: RE: OT Javascript question


Andy

Does this work?

function test(controlnum) {
  elt = document.forms[0][interest + interest];
  elt.value = parseInt(elt.value) + 1;
}

Nick

-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 12:18 PM
To: CF-Talk
Subject: OT Javascript question


I'm having a mind blankarghhh.  I'm trying to incremtnet the value of a
control in a form by one where part of the controls name is poassed in as a
variable.  Probably best I explain with the code snippet:

function test(controlnum) {
 document.forms[0].interest + interest + .value =
eval(document.forms[0].interest + interest + .value) + 1;
}

I have tested using alert and the The RHS of the equation is computed
correctly.  I need to let javasript know that the LHS of the equation is an
object in the page rather than just a string but I can't remeber
how!anyone help
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: FTP Server

2001-05-24 Thread Dylan Bromby

i've used serv-u for 5 years. it's excellent. and DIRT cheap.

-Original Message-
From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 11:17 AM
To: CF-Talk
Subject: OT: FTP Server


All,

Can anyone suggest a decent and moderatly priced (~ $250) FTP server that
will run as a service unter Win2k?

TIA
Duane Boudreau,
Chief Techical Officer
CFExperts, LLC
Nashua, NH
603.620.8797
~~
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



security considerations

2001-05-24 Thread susan matthews

Morning List-



I have just started with a relatively new department.  We are in the process of 
switching to CF.



I'm looking for any suggestions regarding security issues that should be included in 
our development policies.



I've been reading up on sandboxes and cfauthentication.  I'm more curious about 
session variable considerations and other things to consider at the development level.



Thanks for any help. :)



-Susan





Sign up for your FREE Richmond.com email at http://www.richmond.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: Calling variables from within a custom tag

2001-05-24 Thread Steve Vosloo

Thanks.

Any idea on how I turn an array into an application variable?

Here is my array:

cfset MM = ArrayNew(2)

cfset MM[1][1] = 1
cfset MM[1][2] = Home
cfset MM[1][3] = home.gif   
cfset MM[1][4] = index.cfm  




 -Original Message-
 From: Bob Silverberg [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 2:57 PM
 To: CF-Talk
 Subject: RE: Calling variables from within a custom tag
 
 
 Read lock are _not supposed to_ slow your application down.  I've 
 never seen
 any actual numbers on this, but that has been my understanding.  
 Allaire has
 stated that there is very little overhead to read-only locks.
 
 Bob
 
 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: May 24, 2001 8:42 AM
 To: CF-Talk
 Subject: RE: Calling variables from within a custom tag
 
 
 If I make it an application variable, I will need locks around every read
 (and there will be many reads) - will this not slow down my pages
 considerably?
 
 
 
  -Original Message-
  From: Adkins, Randy [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 24, 2001 2:29 PM
  To: CF-Talk
  Subject: RE: Calling variables from within a custom tag
 
 
  If you need it in other pages for the GIVEN user
  you can make is a SESSION variable.
 
  If the same data is used for all users and does not
  change often, you can make is an APPLICATION
  variable or place the array into a DB and call it.
 
 
  -Original Message-
  From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 24, 2001 8:14 AM
  To: CF-Talk
  Subject: Calling variables from within a custom tag
 
 
  I need to load a massive array into memory - I was going to do 
 this in the
  application.cfm, but I need the data in a custom tag. Is there 
 any way of
  accessing this info from within a CT?
 
  My other option would be to put all this info into an include,
  which I call
  from the CT. Can I cache an include file?
 
  Thanks,
  Steve
 
 
 
 
 
  Development Manager
  Vardus Internet Solutions (SA)
 
  Tel: (+27) 21 670 9880
  Fax: (+27) 21 674 4549
 
  Email: [EMAIL PROTECTED]
  Website: www.vardus.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: NT User authentication

2001-05-24 Thread Thomas Chiverton

 You sure you can compare a set of credentials with the SAM by 
 using advanced
 security?  I have heard of COM objects but nothing natively in CF.

There are quite a few custom tags to do that.

~~
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: Lock me up!

2001-05-24 Thread alistair . davidson

True. My apologies, I'm having a BAAD day

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 14:14
To: CF-Talk
Subject: RE: Lock me up!



The CFLOCK tag beelow should use TYPE=ReadOnly since you are only copying,
not writing to the App scope. By default CFLOCK is Exclusive.

Ray Camden

 cftry
   cflock scope=APPLICATION timeout=2 throwonerror=YES
   cfset VARIABLES.CatName =
 APPLICATION.cats[url.catid].catNAME
   cfset VARIABLES.SubCats = APPLICATION.SubCats
   /cflock

   cfcatch type=ANY
   !--- Display a message ---
   cfexit method=EXITTEMPLATE
   /cfcatch
 /cftry

 cfoutput
   #VARIABLES.CatName#

   !--- Your PURE HTML ---
   cfloop index=i from=1 to=#ArrayLen(VARIABLES.subcats)#
   !--- More pure HTML ---
   /cfloop

 /cfoutput


~~
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: Calling variables from within a custom tag

2001-05-24 Thread Steve Vosloo

To everyone, I'm using it to build the various menu systems (up to 7 levels
deep!) - thus every page on the site will be calling this custom tag.




 -Original Message-
 From: Adkins, Randy [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 3:06 PM
 To: CF-Talk
 Subject: RE: Calling variables from within a custom tag


 Does it need to be applied to everyone that
 enters the application or just to the user?

 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 8:42 AM
 To: CF-Talk
 Subject: RE: Calling variables from within a custom tag


 If I make it an application variable, I will need locks around every read
 (and there will be many reads) - will this not slow down my pages
 considerably?



  -Original Message-
  From: Adkins, Randy [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 24, 2001 2:29 PM
  To: CF-Talk
  Subject: RE: Calling variables from within a custom tag
 
 
  If you need it in other pages for the GIVEN user
  you can make is a SESSION variable.
 
  If the same data is used for all users and does not
  change often, you can make is an APPLICATION
  variable or place the array into a DB and call it.
 
 
  -Original Message-
  From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 24, 2001 8:14 AM
  To: CF-Talk
  Subject: Calling variables from within a custom tag
 
 
  I need to load a massive array into memory - I was going to do
 this in the
  application.cfm, but I need the data in a custom tag. Is there
 any way of
  accessing this info from within a CT?
 
  My other option would be to put all this info into an include,
  which I call
  from the CT. Can I cache an include file?
 
  Thanks,
  Steve
 
 
 
 
 
  Development Manager
  Vardus Internet Solutions (SA)
 
  Tel: (+27) 21 670 9880
  Fax: (+27) 21 674 4549
 
  Email: [EMAIL PROTECTED]
  Website: www.vardus.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: Quick Question

2001-05-24 Thread Adkins, Randy

actually it is best to unsubscribe then resubscribe
therefore no one will get your vacation message 
when they POST to the list.

This would be for the consideration of all members
on the list.

To find out what is missed while you were unsubscribed,
simply look at the archives.



-Original Message-
From: Darren Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 9:10 AM
To: CF-Talk
Subject: Quick Question


How do you set your profile for this list as on vacation ?

Thanks,

Darren Adams
Web Developer
Marketing Department
Systems Union

Office: 01252 55 6220
Mobile: 07714 817 038
Email: [EMAIL PROTECTED]

Data + Structure = INFORMATION
~~
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: ImageMagick COM Object or CFX tag

2001-05-24 Thread Malcolm Taylor

We've implemented a number of applications which call ImageMagick
processes through CFEXECUTE and they seem to work very reliably.  If you
need some sample code, let me know.

-Original Message-
From: Jay Brushett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 6:17 AM
To: CF-Talk
Subject: ImageMagick COM Object or CFX tag



Hi all,

I was wondering if anyone knows of or could give me advice on how to
create
either a COM object (best case, may be used for ASP too) or a CFX tag
which
implements the Imagick Magick graphics library.

Thanks,

Jay
 Strategy ~ Creativity ~ Technology  


Jay Brushett
[EMAIL PROTECTED]

Developer

 ZeddComm Inc. 
2nd Floor, The Tower | 100 Signal Hill Road
St. John's, Newfoundland | Canada A1A 1B3
Main: 709.570.5669 | Fax: 709.739.9003
Web: www.zeddcomm.com
   St. John's ~ Toronto ~ Newport Beach ~ Ottawa  

~~
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: Calling variables from within a custom tag

2001-05-24 Thread Raymond Camden

Nothing 'magical' is needed to turn an array into app var, you just set it.

 cfset MM = ArrayNew(2)
 
 cfset MM[1][1] = 1
 cfset MM[1][2] = Home
 cfset MM[1][3] = home.gif 
 cfset MM[1][4] = index.cfm

CFLOCK SCOPE=Application TYPE=Exclusive TIMEOUT=30
CFSET Application.SuperChicken = MM
/CFLOCK

===
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 9:26 AM
 To: CF-Talk
 Subject: RE: Calling variables from within a custom tag
 
 
 Thanks.
 
 Any idea on how I turn an array into an application variable?
 
 Here is my array:
 
 


~~
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: Recommendations for Forums

2001-05-24 Thread W Luke

Hi,

There are a number of PHP forums that I like (such as
http://www.vbulletin.com/), but unfortunately my hosters don't support PHP.
Can anyone recommend a fully-featured forum for installation (not
encrypted), in CF?

Thanks

Will


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



Attributes Scoped Structure?

2001-05-24 Thread Brad Roberts

Can you set a structure in the attributes scope?

I'm wondering why this isn't working:

cfset attributes.temp=structnew()

I get the following error:
Cannot assign result to symbol attributes.temp

Thanks in advance,

Brad

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

2001-05-24 Thread Mike Amburn

http://www.no-ip.com

 -Original Message-
 From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 7:07 PM
 To: CF-Talk
 Subject: RE: DNS2go
 
 
 Thanks Peter,
 
 I read the FAQ on the site and it looks like they don't 
 support multiple url
 pointing at the same IP address, such as
 
 http://www.cfexperts.com
 http://yyy.cfexperts.com
 http://zzz.cfexperts.com
 
 Its not very clear, do you know if this is this true?
 
 Are there other Free (or close to Free) DNS hosting services 
 that anyone
 knows of that supports urls?
 
 Duane
 
 
 -Original Message-
 From: Peter Tilbrook [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 3:10 AM
 To: CF-Talk
 Subject: RE: DNS2go
 
 
 It's quite good and very reliable. Its even better if you 
 have a fast or
 permanent connection to the 'net. It can even update your 
 system clock so
 that it is very accurate.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Duane
 Boudreau
 Sent: Friday, 25 May, 2001 4:31 AM
 To: CF-Talk
 Subject: OT:DNS2go
 
 
 Hi All,
 
 Has anyone here used the service DNS2Go from deerfield? Its 
 supposed to be
 free dns hosting.
 
 If so how was/is reliability?
 
 TIA,
 Duane Boudreau,
 Chief Techical Officer
 CFExperts, LLC
 Nashua, NH
 603.620.8797

~~
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: All cfm pages give error on new Windows 2000 server

2001-05-24 Thread Earl, George

Thanks to all who answered my plea for help. The situation is still not
resolved, but I have more detailed and better information about the problem.

The 'problem' server is in another building in our complex and sits in a
different domain from the one I am in. The administrator for the web server
is able to access .cfm files just fine from the web server itself and from
his own personal workstation that is in the same domain as the server. The
access problem is occurring with those of us who are in a domain different
from the one the server is in and who also don't have admin rights to the
server. We are unable to access any .cfm file including the CF Administrator
or application files. Instead we get the IE popup authentication box asking
for username, password, domain. After three tries at this box we get the
401.3 ACL IIS error page.

We had Allaire/Macromedia support on the phone for a couple of hours
yesterday and they walked us through countless checks, processes and MS
Knowledgebase procedures and still we cannot solve this one.

Does this ring any bells for anyone?

Thanks!

George
[EMAIL PROTECTED]

Our server people are setting up a new box with Windows 2000 Advanced
server
and CF 4.5.1 SP2 Enterprise edition. We keep getting the error page shown
below whenever we try to access any .cfm file. They tell me they have made
executable all the folders they think might be causing this problem. What
could be causing this? Thanks!

George
[EMAIL PROTECTED]

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

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



RE: OT Javascript question

2001-05-24 Thread Andy Ewings

Nick et all.

Thanks for all your help.  After a huge lunch and a MacDonalds Ice cream I
saw clearly again and realised that Nick's solution worked.just my
typing was pretty bad.  :)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 14:15
To: CF-Talk
Subject: RE: OT Javascript question


parseInt() is a method of the String object, so try

elt.value = elt.value.parseInt() + 1;

-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 13:58
To: CF-Talk
Subject: RE: OT Javascript question


MopeI tried this Nick but it kept complaining at the ParseInt line
saying object required.  I can't see why it shouldn't work as the object
definitely exists.  I'm sure I've made a blindingly silly mistake so I'll
persue with it after lunch :) 

-Original Message-
From: DeVoil, Nick [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 12:32
To: CF-Talk
Subject: RE: OT Javascript question


Andy

Does this work?

function test(controlnum) {
  elt = document.forms[0][interest + interest];
  elt.value = parseInt(elt.value) + 1;
}

Nick

-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 12:18 PM
To: CF-Talk
Subject: OT Javascript question


I'm having a mind blankarghhh.  I'm trying to incremtnet the value of a
control in a form by one where part of the controls name is poassed in as a
variable.  Probably best I explain with the code snippet:

function test(controlnum) {
 document.forms[0].interest + interest + .value =
eval(document.forms[0].interest + interest + .value) + 1;
}

I have tested using alert and the The RHS of the equation is computed
correctly.  I need to let javasript know that the LHS of the equation is an
object in the page rather than just a string but I can't remeber
how!anyone help
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: more locking questions

2001-05-24 Thread Dave Watts

 1. In a shared hosting environment if you do proper locking 
 of session variables in your application and another application 
 does not how does that affect you?

Negatively. That is, you can be as vigilant as possible with locking, but if
another application isn't, that application may cause server instability,
and if sharing the same scope such as the Server scope, will ignore the
locks you've placed on the scope when your app uses it.

 2. If the answer to number 1 is that it destabalizes your 
 application would it then be better to have variables stored 
 in cookies rather than session variables?

Perhaps, in the sense that you'd be less likely to have concurrency
problems, all other things being equal. However, if the other app causes the
server to crash all by itself, your app won't run very well.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

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

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



RE: NT User authentication

2001-05-24 Thread Dave Watts

 You sure you can compare a set of credentials with the SAM by 
 using advanced security? I have heard of COM objects but nothing 
 natively in CF.

Yes, you can authenticate against NT using advanced security.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

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

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



Re: Good resource on CF/XML integration?

2001-05-24 Thread Dave Hannum

Well, I'm running Win2K and IE 5.5, so I should not need that.  But I
installed it anyway and I still get the same error:  Now, I am running
4.5.0.0 CFServer.  Could it be a problem with that?  I'll go out and upgrade
to 4.5.1 if you think that would help.

Thanks,
Dave


Error Diagnostic Information

DOM Error
Interface not registered | Line:0

The error occurred while processing an element with a general identifier of
(CFTHROW), occupying document position (242:7) to (242:115).




- Original Message -
From: tom dyson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 8:58 AM
Subject: Re: Good resource on CF/XML integration?


Make sure you have a reasonably current version of the MSXML parser on your
4.5 server: MSXML 3.0 will definitely handle all the SOXML stuff and is
freely available from

http://msdn.microsoft.com/xml/default.asp

-+
tom dyson
t: 01608 811870
m: 07958 752657
w: http://torchbox.com
cf/xml resource pack: http://torchbox.com/xml

 From: Dave Hannum [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Thu, 24 May 2001 08:12:05 -0400
 To: CF-Talk [EMAIL PROTECTED]
 Subject: Re: Good resource on CF/XML integration?

 Paul,

 I had this up and running last evening on a 4.0 server.  I loaded it up
this
 morning on a 4.5.0.0 server and get the following message when I run the
 soxml tag: (running xml2cf)

 DOM Error

 Interface not registered | Line:0

 The error occurred while processing an element with a general identifier
of
 (CFTHROW), occupying document position (242:7) to (242:115).


 Any clues?
~~
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



Weird CF error that is only on Mac machines?

2001-05-24 Thread Marc J. Mataya

Anyone know of any form issues with Macs?

I have a data editing form page that keeps breaking on Mac machines only
when they submit the form to save.  It happens on the server with my saving
code that does CFUPDATE.  For some reason, my CFIF that looks for
saveForm=Edit is coming back as something other than Edit, so that my code
tries to Add that record instead.

Stumped!


~~
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: Lock me up!

2001-05-24 Thread Michael Lugassy

That's wasn't even my question (If to use EXCLUSIVE or READONLY).
I know that alreday.
my problem was wheter to use a bigger CFLOCK around multiple lines
or to use 2 small CFLOCKs, assuming that the multiple line contains
only html and is not holding back the lock in a special way (is it?)


Thanks,

Michael Lugassy
IT/WEB Specialist
Interactive Music Ltd.
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



Re: OT Javascript question

2001-05-24 Thread Stuart Duncan


I had to do a lot of form mathematics with javascript, and in order to 
force the fields to recognize the fields as numerics instead of strings, I 
had to parsefloat() around the value.

So my form fields looked like this.

parseFloat(document.form.field.value) + 1;

In your case, you may have to set your field value into a variable first, 
and then parsefloat() around it.


fieldvalue = eval(document.forms[0].interest + interest + .value);
document.forms[0].interest + interest + .value =
parsefloat(fieldvalue) + 1;

I haven't tested that... but parsefloat has always worked for me.

Stuart Duncan
MaracasMedia Inc.


At 12:17 PM 24/05/2001 +0100, you wrote:
I'm having a mind blankarghhh.  I'm trying to incremtnet the value of a
control in a form by one where part of the controls name is poassed in as a
variable.  Probably best I explain with the code snippet:

function test(controlnum) {
  document.forms[0].interest + interest + .value =
eval(document.forms[0].interest + interest + .value) + 1;
}

I have tested using alert and the The RHS of the equation is computed
correctly.  I need to let javasript know that the LHS of the equation is an
object in the page rather than just a string but I can't remeber
how!anyone help


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

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



RE: Quick Question

2001-05-24 Thread Darren Adams

Cheers !

cf_holiday work=No relax=lots Hope you have a good week whilst I am
away relaxing and drinking beer ! /cf_holiday

-Daz

-Original Message-
From: Adkins, Randy [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 14:46
To: CF-Talk
Subject: RE: Quick Question


actually it is best to unsubscribe then resubscribe
therefore no one will get your vacation message 
when they POST to the list.

This would be for the consideration of all members
on the list.

To find out what is missed while you were unsubscribed,
simply look at the archives.



-Original Message-
From: Darren Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 9:10 AM
To: CF-Talk
Subject: Quick Question


How do you set your profile for this list as on vacation ?

Thanks,

Darren Adams
Web Developer
Marketing Department
Systems Union

Office: 01252 55 6220
Mobile: 07714 817 038
Email: [EMAIL PROTECTED]

Data + Structure = INFORMATION
~~
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: ImageMagick COM Object or CFX tag

2001-05-24 Thread Arden Weiss

Where can imagemagick be found -- tried http://www.imagemagick.com/ -- no go.

 ^
/ \__
   (@\___
  /  O
 /(_/
/_/
Whoof...
410-757-3487

-Original Message-
From:   Malcolm Taylor [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, May 24, 2001 9:52 AM
To: CF-Talk
Subject:RE: ImageMagick COM Object or CFX tag

We've implemented a number of applications which call ImageMagick
processes through CFEXECUTE and they seem to work very reliably.  If you
need some sample code, let me know.

-Original Message-
From: Jay Brushett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 6:17 AM
To: CF-Talk
Subject: ImageMagick COM Object or CFX tag



Hi all,

I was wondering if anyone knows of or could give me advice on how to
create
either a COM object (best case, may be used for ASP too) or a CFX tag
which
implements the Imagick Magick graphics library.

Thanks,

Jay
 Strategy ~ Creativity ~ Technology  


Jay Brushett
[EMAIL PROTECTED]

Developer

 ZeddComm Inc. 
2nd Floor, The Tower | 100 Signal Hill Road
St. John's, Newfoundland | Canada A1A 1B3
Main: 709.570.5669 | Fax: 709.739.9003
Web: www.zeddcomm.com
   St. John's ~ Toronto ~ Newport Beach ~ Ottawa  

~~
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: ImageMagick COM Object or CFX tag

2001-05-24 Thread Jay Brushett

Yeah, that's how I have it working now. I was just hoping to use the 
Magick++ api or such. Seems like it shouldn't be too hard to construct a 
COM or CFX container around the C++ functions but my C++ skills are a bit 
rusty.

Thanks for the reply though,

Jay


At 09:51 AM 5/24/2001 -0400, you wrote:
We've implemented a number of applications which call ImageMagick
processes through CFEXECUTE and they seem to work very reliably.  If you
need some sample code, let me know.

-Original Message-
From: Jay Brushett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 6:17 AM
To: CF-Talk
Subject: ImageMagick COM Object or CFX tag



Hi all,

I was wondering if anyone knows of or could give me advice on how to
create
either a COM object (best case, may be used for ASP too) or a CFX tag
which
implements the Imagick Magick graphics library.

Thanks,

Jay
 Strategy ~ Creativity ~ Technology  
 

Jay Brushett
[EMAIL PROTECTED]

Developer

 ZeddComm Inc. 
2nd Floor, The Tower | 100 Signal Hill Road
St. John's, Newfoundland | Canada A1A 1B3
Main: 709.570.5669 | Fax: 709.739.9003
Web: www.zeddcomm.com
   St. John's ~ Toronto ~ Newport Beach ~ Ottawa  
 

~~
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: Calling variables from within a custom tag

2001-05-24 Thread Adkins, Randy

If it is based on the USER
then make is SESSION:

CFSET Session.MM = ArrayNew()

Else if used exactly the same for ALL users:

cfset appliction.MM= ArrayNew()




-Original Message-
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 9:43 AM
To: CF-Talk
Subject: RE: Calling variables from within a custom tag


To everyone, I'm using it to build the various menu systems (up to 7 levels
deep!) - thus every page on the site will be calling this custom tag.




 -Original Message-
 From: Adkins, Randy [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 3:06 PM
 To: CF-Talk
 Subject: RE: Calling variables from within a custom tag


 Does it need to be applied to everyone that
 enters the application or just to the user?

 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 8:42 AM
 To: CF-Talk
 Subject: RE: Calling variables from within a custom tag


 If I make it an application variable, I will need locks around every read
 (and there will be many reads) - will this not slow down my pages
 considerably?



  -Original Message-
  From: Adkins, Randy [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 24, 2001 2:29 PM
  To: CF-Talk
  Subject: RE: Calling variables from within a custom tag
 
 
  If you need it in other pages for the GIVEN user
  you can make is a SESSION variable.
 
  If the same data is used for all users and does not
  change often, you can make is an APPLICATION
  variable or place the array into a DB and call it.
 
 
  -Original Message-
  From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 24, 2001 8:14 AM
  To: CF-Talk
  Subject: Calling variables from within a custom tag
 
 
  I need to load a massive array into memory - I was going to do
 this in the
  application.cfm, but I need the data in a custom tag. Is there
 any way of
  accessing this info from within a CT?
 
  My other option would be to put all this info into an include,
  which I call
  from the CT. Can I cache an include file?
 
  Thanks,
  Steve
 
 
 
 
 
  Development Manager
  Vardus Internet Solutions (SA)
 
  Tel: (+27) 21 670 9880
  Fax: (+27) 21 674 4549
 
  Email: [EMAIL PROTECTED]
  Website: www.vardus.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: Attributes Scoped Structure?

2001-05-24 Thread Howarth, Craig (IBK-NY)

Brad,

The attributes scope can only be used within a custom tag.  This is the error message 
that you get when you attempt to assign a value to the attributes scope in a normal 
template.

Craig

 -Original Message-
 From: Brad Roberts [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 9:55 AM
 To:   CF-Talk
 Subject:  Attributes Scoped Structure?
 
 Can you set a structure in the attributes scope?
 
 I'm wondering why this isn't working:
 
 cfset attributes.temp=structnew()
 
 I get the following error:
 Cannot assign result to symbol attributes.temp
 
 Thanks in advance,
 
 Brad
 

~~
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: Calling variables from within a custom tag

2001-05-24 Thread Steve Vosloo

Excellent. Then how do I access MM[1][2] please?



 -Original Message-
 From: Raymond Camden [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 3:54 PM
 To: CF-Talk
 Subject: RE: Calling variables from within a custom tag
 
 
 Nothing 'magical' is needed to turn an array into app var, you 
 just set it.
 
  cfset MM = ArrayNew(2)
  
  cfset MM[1][1] = 1
  cfset MM[1][2] = Home
  cfset MM[1][3] = home.gif   
  cfset MM[1][4] = index.cfm  
 
 CFLOCK SCOPE=Application TYPE=Exclusive TIMEOUT=30
   CFSET Application.SuperChicken = MM
 /CFLOCK
 
 ===
 Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
 
 Email   : [EMAIL PROTECTED]
 ICQ UIN : 3679482
 
 My ally is the Force, and a powerful ally it is. - Yoda 
 
  -Original Message-
  From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 24, 2001 9:26 AM
  To: CF-Talk
  Subject: RE: Calling variables from within a custom tag
  
  
  Thanks.
  
  Any idea on how I turn an array into an application variable?
  
  Here is my array:
  
  
 
 

~~
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: Recommendations for Forums

2001-05-24 Thread Semrau, Steven L Mr SRA

Try the ForumSpot @  http://www.forumspot.org/index.cfm

Steven Semrau
SRA International, Inc.
Senior Member, Professional Staff
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Com:  (703) 805-1095
DSN:  (703) 655-1095


-Original Message-
From: W Luke [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 9:53 AM
To: CF-Talk
Subject: OT: Recommendations for Forums


Hi,

There are a number of PHP forums that I like (such as
http://www.vbulletin.com/), but unfortunately my hosters don't support PHP.
Can anyone recommend a fully-featured forum for installation (not
encrypted), in CF?

Thanks

Will
~~
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: All cfm pages give error on new Windows 2000 server

2001-05-24 Thread Dave Watts

 The 'problem' server is in another building in our complex 
 and sits in a different domain from the one I am in. The 
 administrator for the web server is able to access .cfm files 
 just fine from the web server itself and from his own personal 
 workstation that is in the same domain as the server. The
 access problem is occurring with those of us who are in a 
 domain different from the one the server is in and who also 
 don't have admin rights to the server. We are unable to access 
 any .cfm file including the CF Administrator or application 
 files. Instead we get the IE popup authentication box asking
 for username, password, domain. After three tries at this box 
 we get the 401.3 ACL IIS error page.

OK. The problem is that the IIS anonymous user either doesn't have
read/execute rights to the cfm pages and/or the ISCF.DLL file, or that the
IIS anonymous user account is disabled or locked out.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

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

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



Re: Good resource on CF/XML integration?

2001-05-24 Thread Dave Hannum

Well, well, well.  It's a CF4.0.0 problem.  I upgraded to CF4.5.1 SP2 and it
works fine.  FYI for any interested . . .

Dave


- Original Message -
From: tom dyson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 8:58 AM
Subject: Re: Good resource on CF/XML integration?


Make sure you have a reasonably current version of the MSXML parser on your
4.5 server: MSXML 3.0 will definitely handle all the SOXML stuff and is
freely available from

http://msdn.microsoft.com/xml/default.asp

-+
tom dyson
t: 01608 811870
m: 07958 752657
w: http://torchbox.com
cf/xml resource pack: http://torchbox.com/xml

 From: Dave Hannum [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Thu, 24 May 2001 08:12:05 -0400
 To: CF-Talk [EMAIL PROTECTED]
 Subject: Re: Good resource on CF/XML integration?

 Paul,

 I had this up and running last evening on a 4.0 server.  I loaded it up
this
 morning on a 4.5.0.0 server and get the following message when I run the
 soxml tag: (running xml2cf)

 DOM Error

 Interface not registered | Line:0

 The error occurred while processing an element with a general identifier
of
 (CFTHROW), occupying document position (242:7) to (242:115).


 Any clues?
~~
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: Attributes Scoped Structure?

2001-05-24 Thread Craig Dudley

Not sure Brad, but if you're trying to have the struct accessible in a
custom tag, you could maybe use,

cfset request.temp=structnew()

Regards, Craig.

-Original Message-
From: Brad Roberts [mailto:[EMAIL PROTECTED]]
Sent: 24 May 2001 14:55
To: CF-Talk
Subject: Attributes Scoped Structure?


Can you set a structure in the attributes scope?

I'm wondering why this isn't working:

cfset attributes.temp=structnew()

I get the following error:
Cannot assign result to symbol attributes.temp

Thanks in advance,

Brad
~~
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: All cfm pages give error on new Windows 2000 server

2001-05-24 Thread Michael Ross

Have you check to make sure the .cfm mimi type has been registered?
Sometimes in W2K it gives you that problem.

Thanks

 [EMAIL PROTECTED] 05/23/01 11:29AM 
Our server people are setting up a new box with Windows 2000 Advanced server
and CF 4.5.1 SP2 Enterprise edition. We keep getting the error page shown
below whenever we try to access any .cfm file. They tell me they have made
executable all the folders they think might be causing this problem. What
could be causing this? Thanks!

George
[EMAIL PROTECTED]



The page cannot be displayed 
There is a problem with a program on the page you are trying to reach, and
the page cannot be displayed. 




Please try the following:

Open the mi.ba.ssa.gov home page, and then look for links to the information
you want. 
Click the Refresh button, or try again later.

HTTP 403.1 Forbidden: Execute Access Forbidden
Internet Information Services




Technical Information (for support personnel)


Background:
You have attempted to execute a CGI, ISAPI, or other executable program from
a directory that does not allow programs to be executed.


More information:
Microsoft Support 


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

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



Dynamic variable names

2001-05-24 Thread Andy Ewings

Can you have dynamic variable names in CF?e.g in an action page could
you have something like - 

cfset thelist = 
cfloop from=1 to=3 index=id
cfset thevalue = Evaluate(form.fieldnum  #id#)
cfset thelist = ListAppend(thelist, thevalue)
/cfloop

where there are form fileds fieldnum1, fieldnum2, and fieldnum3.

I have tried this but it doesn't work.I thought you might be able to use
the Evaluate function in this way as this works (from the Forta book):

cfset x = Array
cfset EVALUATE(p =   x  New(1))

This creates a new array stored in the variable p

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

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



Can anyone recommend a good UltraDev Mailing List?

2001-05-24 Thread John McKown

We are just starting to adopt MM UltraDev here in the office to use
alongside CF Studio, and I was wondering if anyone knew of a good
Ultradev mailing list somewhere.  Preferably with a slant towards
CF coders.

John McKown
Delaware.Net, Inc.
30 Old Rudnick Lane, Suite 200
Dover, DE 19901
Local: 302-736-5515
Toll Free: 888-432-7965
Fax: 302-736-5945
Cellular: 302-423-0605
E-mail: [EMAIL PROTECTED]
Web Site: http://www.delaware.net



~~
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: ImageMagick COM Object or CFX tag

2001-05-24 Thread Jay Brushett

http://www.imagemagick.org/

Jay
At 10:29 AM 5/24/2001 -0400, you wrote:
Where can imagemagick be found -- tried http://www.imagemagick.com/ -- no go.

  ^
 / \__
(@\___
   /  O
  /(_/
/_/
Whoof...
410-757-3487

-Original Message-
From:   Malcolm Taylor [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, May 24, 2001 9:52 AM
To: CF-Talk
Subject:RE: ImageMagick COM Object or CFX tag

We've implemented a number of applications which call ImageMagick
processes through CFEXECUTE and they seem to work very reliably.  If you
need some sample code, let me know.

-Original Message-
From: Jay Brushett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 6:17 AM
To: CF-Talk
Subject: ImageMagick COM Object or CFX tag



Hi all,

I was wondering if anyone knows of or could give me advice on how to
create
either a COM object (best case, may be used for ASP too) or a CFX tag
which
implements the Imagick Magick graphics library.

Thanks,

Jay
 Strategy ~ Creativity ~ Technology  
 

Jay Brushett
[EMAIL PROTECTED]

Developer

 ZeddComm Inc. 
2nd Floor, The Tower | 100 Signal Hill Road
St. John's, Newfoundland | Canada A1A 1B3
Main: 709.570.5669 | Fax: 709.739.9003
Web: www.zeddcomm.com
   St. John's ~ Toronto ~ Newport Beach ~ Ottawa  
 

~~
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: Good resource on CF/XML integration?

2001-05-24 Thread Greg Jordan

Dave

use CF_ObjectDump to see what results you are getting.  Also, if you are
using cfhttp/get to grab some xml data or file, and there is a querystring
involved, make sure you use URLEncodedFormat with the string.

Greg

-Original Message-
From: Dave Hannum [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 9:10 AM
To: CF-Talk
Subject: Re: Good resource on CF/XML integration?


Well, I'm running Win2K and IE 5.5, so I should not need that.  But I
installed it anyway and I still get the same error:  Now, I am running
4.5.0.0 CFServer.  Could it be a problem with that?  I'll go out and upgrade
to 4.5.1 if you think that would help.

Thanks,
Dave


Error Diagnostic Information

DOM Error
Interface not registered | Line:0

The error occurred while processing an element with a general identifier of
(CFTHROW), occupying document position (242:7) to (242:115).




- Original Message -
From: tom dyson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 8:58 AM
Subject: Re: Good resource on CF/XML integration?


Make sure you have a reasonably current version of the MSXML parser on your
4.5 server: MSXML 3.0 will definitely handle all the SOXML stuff and is
freely available from

http://msdn.microsoft.com/xml/default.asp

-+
tom dyson
t: 01608 811870
m: 07958 752657
w: http://torchbox.com
cf/xml resource pack: http://torchbox.com/xml

 From: Dave Hannum [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Thu, 24 May 2001 08:12:05 -0400
 To: CF-Talk [EMAIL PROTECTED]
 Subject: Re: Good resource on CF/XML integration?

 Paul,

 I had this up and running last evening on a 4.0 server.  I loaded it up
this
 morning on a 4.5.0.0 server and get the following message when I run the
 soxml tag: (running xml2cf)

 DOM Error

 Interface not registered | Line:0

 The error occurred while processing an element with a general identifier
of
 (CFTHROW), occupying document position (242:7) to (242:115).


 Any clues?
~~
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: Calling variables from within a custom tag

2001-05-24 Thread Raymond Camden

You mean display it? just CFOUTPUT mm[1][2]. Or if you want to copy the
value,
CFSET Temp = MM[1][2]


===
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

My ally is the Force, and a powerful ally it is. - Yoda

 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 10:37 AM
 To: CF-Talk
 Subject: RE: Calling variables from within a custom tag


 Excellent. Then how do I access MM[1][2] please?



  -Original Message-
  From: Raymond Camden [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 24, 2001 3:54 PM
  To: CF-Talk
  Subject: RE: Calling variables from within a custom tag
 
 


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



Need a bad word list

2001-05-24 Thread Art Broussard

I was wondering if anyone knows of a place I can get a list of bad words. I want to 
replace bad words with good words before anything is posted to my site. When I have a 
good list put together I can let every one know so they can have a copy if they want.

Thanks

Art 


~~
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: winzip and cfexecute

2001-05-24 Thread Kevan . Windle

I must be missing something. Do I have to do any setup on winzip. If I call
it from cfexecute it, I can see winzip from task manager but it just hangs
and then cf times out, and if I use it from the command line it just opens
winzip and does nothing?

-Original Message-
From: dave fauth [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2001 17:42
To: CF-Talk
Subject: RE: winzip and cfexecute


cfexecute name=d:\winzip6\winzip32.exe arguments=-min -e -o
d:\temp\test1.zip d:\zipout timeout=20/cfexecute

At 03:57 PM 5/23/2001 +0100, you wrote:
So you can call 6.3 from the command line? How do you do that?

-Original Message-
From: David Fauth [mailto:[EMAIL PROTECTED]]
Sent: 22 May 2001 15:51
To: CF-Talk
Subject: Re: winzip and cfexecute


I had to use winzip 6.3 to make it work.  Newer versions of Winzip and the
batch file would spawn a process but never complete.

dave




-- Original Message --
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Tue, 22 May 2001 14:48:19 +0100

Anyone successfully used the add-on command line utility for winzip from
cfexecute? It starts ok but whatever I do it seems to terminate half way
through and just leave the temp zip file and an open cmd process.
Using CF 4.51 and Win NT.


**
*
***

The opinions expressed in this E-mail are those  of  the individual  and
not  necessarily  the  company.  This E-mail and  any files transmitted 
with it are confidential and solely for the use of the intended recipients

**
*
***



~~
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: Calling variables from within a custom tag

2001-05-24 Thread Semrau, Steven L Mr SRA

One way is:


cfloop index=x from=1 to=#somenumber#
cfloop index=y from=1 to=#someothernumber#
#MM[x][y]#
/cfloop
/cfloop

Steven Semrau
SRA International, Inc.
Senior Member, Professional Staff
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Com:  (703) 805-1095
DSN:  (703) 655-1095


-Original Message-
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 10:37 AM
To: CF-Talk
Subject: RE: Calling variables from within a custom tag


Excellent. Then how do I access MM[1][2] please?



 -Original Message-
 From: Raymond Camden [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 3:54 PM
 To: CF-Talk
 Subject: RE: Calling variables from within a custom tag
 
 
 Nothing 'magical' is needed to turn an array into app var, you 
 just set it.
 
  cfset MM = ArrayNew(2)
  
  cfset MM[1][1] = 1
  cfset MM[1][2] = Home
  cfset MM[1][3] = home.gif   
  cfset MM[1][4] = index.cfm  
 
 CFLOCK SCOPE=Application TYPE=Exclusive TIMEOUT=30
   CFSET Application.SuperChicken = MM
 /CFLOCK
 
 ===
 Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
 
 Email   : [EMAIL PROTECTED]
 ICQ UIN : 3679482
 
 My ally is the Force, and a powerful ally it is. - Yoda 
 
  -Original Message-
  From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 24, 2001 9:26 AM
  To: CF-Talk
  Subject: RE: Calling variables from within a custom tag
  
  
  Thanks.
  
  Any idea on how I turn an array into an application variable?
  
  Here is my array:
  
  
 
 

~~
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: ImageMagick COM Object or CFX tag

2001-05-24 Thread Malcolm Taylor

http://www.imagemagick.org

-Original Message-
From: Arden Weiss [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 10:30 AM
To: CF-Talk
Subject: RE: ImageMagick COM Object or CFX tag


Where can imagemagick be found -- tried http://www.imagemagick.com/ --
no go.

 ^
/ \__
   (@\___
  /  O
 /(_/
/_/
Whoof...
410-757-3487

-Original Message-
From:   Malcolm Taylor [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, May 24, 2001 9:52 AM
To: CF-Talk
Subject:RE: ImageMagick COM Object or CFX tag

We've implemented a number of applications which call ImageMagick
processes through CFEXECUTE and they seem to work very reliably.  If you
need some sample code, let me know.

-Original Message-
From: Jay Brushett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 6:17 AM
To: CF-Talk
Subject: ImageMagick COM Object or CFX tag



Hi all,

I was wondering if anyone knows of or could give me advice on how to
create either a COM object (best case, may be used for ASP too) or a CFX
tag which implements the Imagick Magick graphics library.

Thanks,

Jay
 Strategy ~ Creativity ~ Technology  


Jay Brushett
[EMAIL PROTECTED]

Developer

 ZeddComm Inc. 
2nd Floor, The Tower | 100 Signal Hill Road
St. John's, Newfoundland | Canada A1A 1B3
Main: 709.570.5669 | Fax: 709.739.9003
Web: www.zeddcomm.com
   St. John's ~ Toronto ~ Newport Beach ~ Ottawa  

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

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



CF Wireless web

2001-05-24 Thread Michael S. Kimmett

Howdy,

Does anyone know of some good sources for learning wireless web protocol?  Also in the 
past, I think on CF message boards is where I saw it, was a listing of all the 
websites where you could download wireless emulators for testing your wireless app.  
Does anyone remember this links or know of them off the top of their head?

Thanks a million.

--michael


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

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



RE: problem looping around form fields and values

2001-05-24 Thread Mark

David -- Thanks, forgot about the cfparam
resetting the variable. It works fine now!

Mark

--- David Shadovitz [EMAIL PROTECTED] wrote:
 Change cfparam name=ReturnCode default=0
 to cfset ReturnCode=0
 -David
 
 
 On Thursday, May 24, 2001 1:09 AM, Mark
 [SMTP:[EMAIL PROTECTED]] wrote:
  Hi Ben,
  
  Thanks for the explanation!! The code works great 
  on the first field (mailone), but then doesn't
 check
  any of the remaining fields. It loops through
 them,
  but seems any form variable after the first is not
 
  being checked by the REFindNoCase function because
 it 
  lets any combination of text go through. I've
 never 
  used this email checking function on more than one
  form field at a time, but the loop function seems
 to
  be ok. Hmmm .. strange. Any thoughts on this?
  
  Thanks again!
  
  Mark
  
  --- Ben Koshy [EMAIL PROTECTED] wrote:
   Hi Mark,
   
   Here you go:
   
   You have to first construct the exact the fully
   scoped variable name.  You
   can see I added the
   CFSET Fname = Form.  fname Line
   and then you use the evaluate function to return
 the
   actual value of the
   passed variable name.
   
   Corrected Code Attached:
   
   
   
   cfset
  
 

fieldlist=mailone,mail2,mail3,mail4,mail5,mail6,mail7,mail8,mail9,mail10
   
   CFLOOP LIST=#fieldlist# INDEX=fname
   CFSET Fname = Form.  fname
   CFIF #fname# IS NOT 
   cfsetting enablecfoutputonly=yes
   cfparam name=ReturnCode default=0
   cfset sEmailRE =
  
 

^([a-zA-Z0-9\.]+)\@([a-zA-Z0-9\.\-]+)\.([a-zA-Z]{2,3})$
   cfif ReFindNoCase(sEmailRE,#evaluate(fname)#)
 cfset ReturnCode = 1
   /cfif
   cfsetting enablecfoutputonly=no
   
   CFIF returncode IS 0
   Error message
   
   CFELSE
   
   Continue
   /CFIF
   /CFIF
   /CFLOOP
~~
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: All cfm pages give error on new Windows 2000 server

2001-05-24 Thread Tracy Bost

I don't know if this has been suggested, but it could have something to do
under the service that coldfusion server is running under... is it running
under the system account  or under a specified account. You may want to
check that out.
 I say this because I ran into something similiar before accessing asp pages
with same type of domain issue.
- Original Message -
From: Earl, George [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 9:06 AM
Subject: RE: All cfm pages give error on new Windows 2000 server


 Thanks to all who answered my plea for help. The situation is still not
 resolved, but I have more detailed and better information about the
problem.

 The 'problem' server is in another building in our complex and sits in a
 different domain from the one I am in. The administrator for the web
server
 is able to access .cfm files just fine from the web server itself and from
 his own personal workstation that is in the same domain as the server. The
 access problem is occurring with those of us who are in a domain different
 from the one the server is in and who also don't have admin rights to the
 server. We are unable to access any .cfm file including the CF
Administrator
 or application files. Instead we get the IE popup authentication box
asking
 for username, password, domain. After three tries at this box we get the
 401.3 ACL IIS error page.

 We had Allaire/Macromedia support on the phone for a couple of hours
 yesterday and they walked us through countless checks, processes and MS
 Knowledgebase procedures and still we cannot solve this one.

 Does this ring any bells for anyone?

 Thanks!

 George
 [EMAIL PROTECTED]

 Our server people are setting up a new box with Windows 2000 Advanced
 server
 and CF 4.5.1 SP2 Enterprise edition. We keep getting the error page shown
 below whenever we try to access any .cfm file. They tell me they have
made
 executable all the folders they think might be causing this problem. What
 could be causing this? Thanks!
 
 George
 [EMAIL PROTECTED]


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

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



CFX resources

2001-05-24 Thread Jay Brushett


Hi all,

No matter how much I look I cannot seem to locate a good reference for 
creating CFX tags. I've been through the Allaire doc's but I want to know 
what other languages you can use to create CFX tags.

TIA,

Jay
 Strategy ~ Creativity ~ Technology   

Jay Brushett
[EMAIL PROTECTED]

Developer

 ZeddComm Inc. 
2nd Floor, The Tower | 100 Signal Hill Road
St. John's, Newfoundland | Canada A1A 1B3
Main: 709.570.5669 | Fax: 709.739.9003
Web: www.zeddcomm.com
   St. John's ~ Toronto ~ Newport Beach ~ Ottawa   



~~
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: Attributes Scoped Structure?

2001-05-24 Thread Jason Lotz

That's not true.  Fusebox uses nothing but Attributes scoped variables.  You
can set Attributes variables anywhere.

- Original Message -
From: Howarth, Craig (IBK-NY) [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 7:36 AM
Subject: RE: Attributes Scoped Structure?


Brad,

The attributes scope can only be used within a custom tag.  This is the
error message that you get when you attempt to assign a value to the
attributes scope in a normal template.

Craig

 -Original Message-
 From: Brad Roberts [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 9:55 AM
 To: CF-Talk
 Subject: Attributes Scoped Structure?

 Can you set a structure in the attributes scope?

 I'm wondering why this isn't working:

 cfset attributes.temp=structnew()

 I get the following error:
 Cannot assign result to symbol attributes.temp

 Thanks in advance,

 Brad


~~
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: Problem with cf_uicalender (WORKAROUND) and undocumented func tions

2001-05-24 Thread Thomas Chiverton

 Nope. No reply on the Allaire forums either.
 Which is an arse as I want to use it !

WARNING: this is not the Right Way - but if you really want to use the
calender in non-popup mode and cant wait for the offical fix:
1) Get the 30 day Flash 5 trial from macromedia.com
2) Load the uicalender.fla file into it, and delete the ok and cancal
buttons.
2a) Export as a .swf file, over the original .swf
3) on pages that use the calender you need to add:
onLoad=refreshIt() to the body tag, and
script!--
function refreshIt(){
document.all.calendarpopup1.style.display='';
setTimeout('refreshIt()',50);
}
//--/script
to the head
4) Tell users to double click days to select (as a single click can be used
to move betwen months).

You may wish to make a change to the custom tag, so it calls a different
..swf depending on a parameter - but IMHO this is far too much work when
Macroaire are working on a fix.

Also, while looking at the tag's, I found that there are some undocumented
parameters to the uicalender tag (possably others). Thay allow you to alter
the colors of the days, for the current month, other months days if shown,
and the selected day:
currFillColor=##99ccff
currTxtColor=##00
otherFillColor=##ff
otherTxtColor=##00
selFillColor=##33ff99
selTxtColor=##00
dayTxtFont=Ariel

~~
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: Hosting????

2001-05-24 Thread Claremont, Timothy S

I am having very good luck with CrystalTech.




Tim Claremont
Webmaster




-Original Message-
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 9:08 PM
To: CF-Talk
Subject: Re: Hosting


Not that I am biased but you can check out our info at www.hostmysite.com

Thanks,

Neil

- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, May 18, 2001 11:36 AM
Subject: Hosting



 Does any have a suggestion on a Good cold fusion hosting company
 (NT/Win2k)? I have

 already tried Host Pro (interland).


 kurtknazek
 interactive developer | neulogic media
 614.324.7866 | 800.442.6505
 www.neulogic.com

 | information | innovation | application |





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

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



RE: Dynamic variable names

2001-05-24 Thread DeVoil, Nick

How about

cfset thelist = 
cfloop from=1 to=3 index=id
cfset thelist = ListAppend(thelist, Evaluate(form.fieldnum#id#))
/cfloop

Nick

-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 4:23 PM
To: CF-Talk
Subject: Dynamic variable names


Can you have dynamic variable names in CF?e.g in an action page could
you have something like - 

cfset thelist = 
cfloop from=1 to=3 index=id
cfset thevalue = Evaluate(form.fieldnum  #id#)
cfset thelist = ListAppend(thelist, thevalue)
/cfloop

where there are form fileds fieldnum1, fieldnum2, and fieldnum3.

I have tried this but it doesn't work.I thought you might be able to use
the Evaluate function in this way as this works (from the Forta book):

cfset x = Array
cfset EVALUATE(p =   x  New(1))

This creates a new array stored in the variable p


**
Information in this email is confidential and may be privileged. 
It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system. 
You should not otherwise copy it, retransmit it or use or disclose its
contents to anyone. 
Thank you for your co-operation.
**

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

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



RE: Dynamic variable names

2001-05-24 Thread Dylan Bromby

yes you can do it. i use Evaluate() with dynamic values all the time.

try removing the  from #id#. if that doesn't work (it should), try
something like:

cfset thelist = 
cfloop from=1 to=3 index=id
cfset tempvalue = form.fieldnum#id#
cfset thevalue = Evaluate(tempvalue)
cfset thelist = ListAppend(thelist, thevalue)
/cfloop

-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 8:23 AM
To: CF-Talk
Subject: Dynamic variable names


Can you have dynamic variable names in CF?e.g in an action page could
you have something like -

cfset thelist = 
cfloop from=1 to=3 index=id
cfset thevalue = Evaluate(form.fieldnum  #id#)
cfset thelist = ListAppend(thelist, thevalue)
/cfloop

where there are form fileds fieldnum1, fieldnum2, and fieldnum3.

I have tried this but it doesn't work.I thought you might be able to use
the Evaluate function in this way as this works (from the Forta book):

cfset x = Array
cfset EVALUATE(p =   x  New(1))

This creates a new array stored in the variable p
~~
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   >