Re: Stripping non-alpha characters...

2001-07-04 Thread Dick Applebaum

Try:

   cfset x = a1B,2c.3D4
   cfset y = ReReplace(x, [^A-Za-z], , All)
   cfoutput#y#/cfoutput

HTH
Dick

At 11:13 PM -0700 7/3/01, Lee Fuller wrote:
Anyone have a quick, down and dirty method of stripping non-alpha
characters, that they'd like to share?  Something that would be good to
check/strip potential login names for email (as an example).

TTAIA!


Lee Fuller
Chief Technical Officer
PrimeDNA Corporation / AAA Web Hosting Corporation
We ARE the 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: Stripping non-alpha characters...

2001-07-04 Thread Hamid Hossain

Lee,

This is the dirtiest way to do what you asked about:

cfset Result = REReplace(YourString, [[:punct:]]*[
]*, , ALL)

cfoutput#Result#/cfoutput


hope that make sense

Hamid Hossain
Certified ColdFusion Developer



--- Lee Fuller [EMAIL PROTECTED] wrote:
 
 
 Anyone have a quick, down and dirty method of
 stripping non-alpha
 characters, that they'd like to share?  Something
 that would be good to
 check/strip potential login names for email (as an
 example).
 
 TTAIA!
 
 
 Lee Fuller
 Chief Technical Officer
 PrimeDNA Corporation / AAA Web Hosting Corporation
 We ARE the net.
 http://www.aaawebhosting.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: ArraySort()

2001-07-04 Thread Aidan Whitehall

 ArraySort, like all of the array functions, can only be used on
 one-dimensional arrays. A two-dimensional array in CF is nothing more,
 really, than a one-dimensional array in which each element is itself a
 one-dimensional array. You're asking ArraySort to sort your outer array
 (PartnerArray) by the elements within it, which are themselves arrays.

Often you've got a 2D array like this (this might not be the best example ie
you might say use a structure instead  ;-), but it's just what comes to
mind):

[1] ProductID | Name | Price | Some other info..
[2] ProductID | Name | Price | Some other info..
[3] ProductID | Name | Price | Some other info..
[4] ProductID | Name | Price | Some other info..

and it *would* be nice to be able to sort the array by the first element in
each element. I struggled to get it to do that for ages before I realised it
just wasn't possible;-)


BTW, CFWACK's coverage of arrays and structures is a bit scant. Are there
any good web pages that have plenty of examples of what's possible?


-- 
Aidan Whitehall [EMAIL PROTECTED]
ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: ArraySort()

2001-07-04 Thread Aidan Whitehall

 I would imagine that you could build a structure
 rather than an array and then use StructSort()...?

Where can you find any reference to that function?

Don't get me wrong... like you, I also it existed...


-- 
Aidan Whitehall [EMAIL PROTECTED]
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: Fwd: Re: [tampaCFUG] Reg Ex Stuff

2001-07-04 Thread Dick Applebaum

Sure:

  cfset x = garbage
match T-0234-01
match P-1234-01
  nomatch d-1234-01
match p-1234-01
  nomatch p-123-01
match c-1094-03
  nomatch P-1234-a1
  garbage
   
  cfset y = ReReplaceNoCase(x,
([TPSC][-][^-]{4}[-][0-9]{2}), b\1/b, All)
  cfoutputx=.|#x#|/cfoutput
  brbr
  cfoutputy=.|#y#|/cfoutput


HTH

Dick


At 12:30 PM -0700 7/27/01, Ken Beard wrote:
This question was asked on another list and I thought someone here might
know.  Is this possible with rereplace()?



 Any Reg Ex people out there? I am doing a conversion that requires me
to find the certain format of a string, and add something before it.
Basically like this:

noticePage = REReplaceNoCase(noticePage, [TPSC][-][^-]{4}-[0-9]
{2}, pI'm a bid!, ALL);

Where it is finding numbers like C-1324-01. All I want is for it
right now is to put a page break before it. So it would replace the
string found with a br and the string found. Anyone have any
 thoughts out there?

Cory Foy
--
Webmaster
Hillsborough County Information Technology
Phone: (813) 276-8287
Email: [EMAIL PROTECTED]
Web: www.hillsboroughcounty.org
 



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

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



OT : project documentation

2001-07-04 Thread Mak Wing Lok

can anyone recommend where i can get sample documentation for a project,
like system specification, project proposal, user requirements, system
design, etc. best if for web application development.




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: CFFlush and GetTickCount

2001-07-04 Thread Craig Dudley

It's probably adding the tick counts together for each interval of the
cfflush

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2001 00:35
To: CF-Talk
Subject: CFFlush and GetTickCount


I'm seeing some strange timing reports when I use GetTickCount 
and CFFlush together... Is this a feature or a bug g?

I have this at the start of a page:
CFSET StartPageRequest=GetTickCount()

I have this at the end:
CFSET EndPageRequest=GetTickCount()

To calculate the time it takes to generate the page, I use this:
#Evaluate((EndPageRequest-StartPageRequest)/100)#

When I don't use CFFLUSH on the page, the page generation time 
is reported at between 5 and 6 seconds.

When I do use CFFLUSH, although there is a slight reduction in 
the delay before the page begins to appear, the page generation 
time reported by the GetTickCount calculation is much more than 
the actual time. For example, a page that is generated and fully 
received by the browser in 13 seconds shows a GetTickCount 
interval of 41 seconds!

Does this mean GetTickCount is never accurate when used within 
the same page request as CFFlush?

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

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



Test - pls ignore

2001-07-04 Thread Rudy Rustam

testing new acc

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: testing - is list working?

2001-07-04 Thread Will Swain

Seems to be, I have received nearly 400 mails from it today. Talk about from
the sublime to the ridiculous

-Original Message-
From: Stephen Hait [mailto:[EMAIL PROTECTED]]
Sent: 30 June 2001 15:40
To: CF-Talk
Subject: testing - is list working?


no mail from list in over a week - is it alive?
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: Purchasing a copy of ColdFusion Server in the UK

2001-07-04 Thread DeVoil, Nick

 Anyone know where I can purchase a copy of ColdFusion Server in the UK?

http://www.highlander.co.uk

Nick


**
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: Purchasing a copy of ColdFusion Server in the UK

2001-07-04 Thread Jerry Staple

We are Resellers of all Macromedia and Allaire products..

Regards
Jerry Staple

Web Applications Developer
BizNet Solutions
133 - 137 Lisburn Rd
Belfast
BT9 7AG

Tel: +44 (0)28 9022 3224
Fax: +44 (0)28 9022 3223
www.biznet-solutions.com





-Original Message-
From: DeVoil, Nick [mailto:[EMAIL PROTECTED]]
Sent: 04 July 2001 10:51
To: CF-Talk
Subject: RE: Purchasing a copy of ColdFusion Server in the UK


 Anyone know where I can purchase a copy of ColdFusion Server in the
UK?

http://www.highlander.co.uk

Nick


**
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: Re: CaNameingAdapter and ntConsoleJava.e

2001-07-04 Thread Will Swain

I have only just started re receiving mails from the last, and guess that
this is the end of a discussion.

I have a machine at home that I installed an eval version of CF5 server on.
It is running W2K professional.
ntConsoleJava.e uses 99% of my resources. Intersetingly, there are two
instances of it running, and the other is using 0% resources

I have a devel server at work with the full version of CF5 server installed
and w2k server, and there is only one instance of ntConsoleJava.e which is
not consuming resources at all.

Is this something to do with the eval version?

What are other peoples configs who are experiencing this?

Cheers

Will


-Original Message-
From: Mark Terrill [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2001 00:56
To: CF-Talk
Subject: Re: Re: CaNameingAdapter and ntConsoleJava.e


This is a multi-part message in MIME format.

--=_NextPart_000_0045_01C103A6.4F610F60
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Its a bit disconcerting how I emailed allaire directly and posted =
messages here in CF-Talk, re ntConsoleJava.e chugging 99% of system cpu =
resources, and there has been no reply. I too would like to know if the =
demi-gods of Macromedia (*cough* Allaire) have any input so that I can =
run more than two out of the five possible CF5 processes without =
ntconsolejava.e doing unspeakable things to my dev server.

Mark

Date: Sun, 01 Jul 2001 22:30:53 -0400
From: Neil H. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: CaNameingAdapter and ntConsoleJava.e
Message-ID: 0c9601c1029f$04738620$4500a8c0@p3600

SO what have we found?  No one from Allaire has any comments?!

Neil

- Original Message -
From: Dylan Bromby [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sunday, June 24, 2001 11:30 PM
Subject: RE: CaNameingAdapter and ntConsoleJava.e


 IIS5.0 for me.

 -Original Message-
 From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, June 24, 2001 7:09 PM
 To: CF-Talk
 Subject: Re: CaNameingAdapter and ntConsoleJava.e


 What webserver? There's a 'feature' in CF 5 that monitors the =
webserver so
 that it can be stopped/started/restarted. I'm using website, which is =
not
 supported so I got a lot of CPU and a ton of messages in the event log =
(3
 every 10 seconds). I had to turn it off in the registry to stop it.
 I'm still looking what each piece does and what I can 'kill'.


  I notice that these programs which are the CF management and =
something
 else
  use a lot of CPU.  It will last some amount of time and then stop.  =
Any
  ideas on why this would be occuring?  This oviously is CF 5.0
 
  Thanks,
 
  Neil
 


--=_NextPart_000_0045_01C103A6.4F610F60
Content-Type: text/html;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META content=3Dtext/html; charset=3Diso-8859-1 =
http-equiv=3DContent-Type
META content=3DMSHTML 5.00.2614.3500 name=3DGENERATOR
STYLE/STYLE
/HEAD
BODY bgColor=3D#ff
DIVFONT face=3DArial size=3D2Its a bit disconcerting how I emailed =
allaire=20
directly and posted messages here in CF-Talk, re ntConsoleJava.e =
chugging 99% of=20
system cpu resources, and there has been no reply. I too would like to =
know if=20
the demi-gods of Macromedia (*cough* Allaire) have any input so that I =
can run=20
more than two out of the five possible CF5 processes without =
ntconsolejava.e=20
doing unspeakable things to my dev server./FONT/DIV
DIVnbsp;/DIV
DIVFONT face=3DArial size=3D2Mark/FONT/DIV
DIVnbsp;/DIV
DIVFONT face=3DArial size=3D2Date: Sun, 01 Jul 2001 22:30:53 =
-0400BRFrom:=20
Neil H. lt;A=20
href=3Dmailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/Agt;=
BRTo:=20
A=20
href=3Dmailto:[EMAIL PROTECTED];cf-talk-list@houseoffusion=
..com/ABRSubject:=20
Re: CaNameingAdapter and ntConsoleJava.eBRMessage-ID:=20
lt;0c9601c1029f$04738620$4500a8c0@p3600gt;BRBRSO what have we =
found?nbsp;=20
No one from Allaire has any comments?!BRBRNeilBRBR- Original =
Message=20
-BRFrom: Dylan Bromby lt;A=20
href=3Dmailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/Agt;BRTo: =
CF-Talk lt;A=20
href=3Dmailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/Ag=
t;BRSent:=20
Sunday, June 24, 2001 11:30 PMBRSubject: RE: CaNameingAdapter and=20
ntConsoleJava.eBRBRBRgt; IIS5.0 for me.BRgt;BRgt; =
-Original=20
Message-BRgt; From: Michael Dinowitz [A=20
href=3Dmailto:[EMAIL PROTECTED];mailto:mdinowit@houseoffusion.=
com/A]BRgt;=20
Sent: Sunday, June 24, 2001 7:09 PMBRgt; To: CF-TalkBRgt; Subject: =
Re:=20
CaNameingAdapter and ntConsoleJava.eBRgt;BRgt;BRgt; What =
webserver?=20
There's a 'feature' in CF 5 that monitors the webserver soBRgt; that =
it can=20
be stopped/started/restarted. I'm using website, which is notBRgt; =
supported=20
so I got a lot of CPU and a ton of messages in the event log (3BRgt; =
every 10=20
seconds). I had to turn it off in the registry to stop it.BRgt; I'm =
still=20
looking what 

RE: Purchasing a copy of ColdFusion Server in the UK

2001-07-04 Thread Aidan Whitehall

  Anyone know where I can purchase a copy of ColdFusion Server in the UK?
 
 http://www.highlander.co.uk

Thanks.

However, their website says Cold Fusion News Update 30th April 2001. [snip]
Cold Fusion 5.0 will be available in June.

Whilst at my last place of work I asked them about a course they were
thinking of running (ColdFusion Administration). After a month and a phone
call, they still hadn't replied.

Perhaps the aren't the most responsive company with which to spend a few
thousand pounds.


-- 
Aidan Whitehall [EMAIL PROTECTED]
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: Purchasing a copy of ColdFusion Server in the UK

2001-07-04 Thread Alex Skinner

The CFADMIN course has not been officially released from Allaire yet so is
not available from any training center at this time.

Alex

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Aidan
Whitehall
Sent: 04 July 2001 12:38
To: CF-Talk
Subject: RE: Purchasing a copy of ColdFusion Server in the UK


  Anyone know where I can purchase a copy of ColdFusion Server in the UK?

 http://www.highlander.co.uk

Thanks.

However, their website says Cold Fusion News Update 30th April 2001. [snip]
Cold Fusion 5.0 will be available in June.

Whilst at my last place of work I asked them about a course they were
thinking of running (ColdFusion Administration). After a month and a phone
call, they still hadn't replied.

Perhaps the aren't the most responsive company with which to spend a few
thousand pounds.


--
Aidan Whitehall [EMAIL PROTECTED]
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: ArraySort()

2001-07-04 Thread Aidan Whitehall

 Where can you find any reference to that function?
 
 Don't get me wrong... like you, I also it existed...

Which is why it looks as though they introduced it in version 5 (I only
searched my v4 docs before posting).

Doh! Where was that rock I crawled from... ?



-- 
Aidan Whitehall [EMAIL PROTECTED]
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



Re: [Re: replication software for sql]

2001-07-04 Thread Alex

rsync

Don Vawter [EMAIL PROTECTED] wrote:
Hence the name DoubleTake. They take your money twice. Sorry, couldn't
resist.

Don

- Original Message -
From: Michael Lugassy [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 8:11 AM
Subject: Re: replication software for sql


 Bill,
 DoubleTake needs to be installed on both source and target.
 is there such program who do not need to be licenesed twice?

 Thanks,

 Michael
 - Original Message -
 From: Bill Grover [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, June 27, 2001 12:44 PM
 Subject: RE: replication software for sql


  We use a piece of software called DoubleTake.  It does real-time
mirroring
  between different computers.  In fact it will allow you to mirror
multiple
  servers into 1 server.  We use it to mirror 3 of our servers, one of
which
  is our SQL Server, into 1 warm standby server.  Our SQL server has about
a
  dozen databases in it with a total of just over 3Gb of data.
 
  You can configure the software to either automatically switch on
failure,
 or
  prompt for switching, we use the prompt option so we can control when it
  switches.  We have actually used the failover feature a couple of times
 and
  it worked very well.
 
  Bill Grover
  Supervisor, IS
  EU Services, Inc.
  649 N Horners Ln
  Rockville MD 20850
 
  Phone: 301-424-3300 x396
  FAX:301-424-3300 x1396#
  E-Mail: [EMAIL PROTECTED]
 
 
  -Original Message-
  Date: Wed, 27 Jun 2001 12:32:04 +0200
  From: Michael Lugassy [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: replication software for sql
  Message-ID: 014501c0fef4$69196080$[EMAIL PROTECTED]
 
  I'm trying to replicate 2 remote databases that holds about 2-3gb of
  information.
  most of the changed information daily is about 400-500 mb and weekly,
1gb.
 
  Is there a good replication software for sql that support resuming and
 might
  help me handel this scenarion better then the built-in mechanisem in sql
 7?
 
  Thanks,
 
  Michael Lugassy
 
 
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: testing - is list working?

2001-07-04 Thread Michael Dinowitz

Those were all the back logged emails that the list was holding during the
problem. Now that they are mostly done, the lists are at full power. The
next project is the HoF tech compilations.


 Seems to be, I have received nearly 400 mails from it today. Talk about
from
 the sublime to the ridiculous

 -Original Message-
 From: Stephen Hait [mailto:[EMAIL PROTECTED]]
 Sent: 30 June 2001 15:40
 To: CF-Talk
 Subject: testing - is list working?


 no mail from list in over a week - is it alive?

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: Encrypt/Decrypt Functions [NOT cfencrypt/cfdecrypt]

2001-07-04 Thread CFTalk

Steve

I wrote a custom tag called cf_cryp that I use in place of encrypt() 
and decrypt().  It builds on encrypt() and decrypt() by encoding all 
the characters produced by encrypt() with their ASCII values, shifts 
some bits to make it a little more unintelligible and adds a 
similarly encoded checksum to prevent someone from manipulating 
characters to change the value (helpful for url parameters, hidden 
form fields and cookies).

I also set up a test page with some more information on the drawbacks 
of encrypt()/decrypt() at

http://www.iology.com/products/downloads/cryptest.cfm

You can download the code their too; it's free for all commercial 
purposes and open source.

Jackson Moore
[EMAIL PROTECTED]


On Fri, 29 Jun 2001 15:01:22 -0400, Steve Reich wrote:
 Maybe it's just a wierd browser thing. What do you see if you View
SOurce?


No.. I checked that. It's very strange because there is no
consistency to
it. Some strings encrypt the same everytime, others don't.

If I run this in my browser

cfset encryptedPW = #Encrypt(password, k39dkjw*
kd@kfoe%kfps037)#

cfoutput#encryptedPW #-#Len(encryptedPW)#/cfoutput

and then hit refresh... it toggles between these two values...

(78XD6IF#J5(
and
(78XD6IF#J5'

. but it returns the Len of both strings as 14. Something with
ASCII,
either spaces or line feeds might be one of the chars that could be
messing
me up. In the database field (SQL7), visually you can see some box
characters that represents an ASCII character that can't be
displayed.
Help!!

Thanks,
Steve




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: Processor Spike

2001-07-04 Thread Erika L. Walker

This is likely not your issue at all, but something to look out for
nonetheless

We recently installed a new server as well with Win2k and CF4.5, a
configuration that had been working on the old server very well. The only
thing we didn't have running on the new server was an mail service
(Exchange), which we were to install after we checked everything else. (very
low volume web server - otherwise we wouldn't put it all on one. It only
gets MAYBE 50 different people hitting it every other day, and that's a
lot.)

AnywayAll of our apps utilize CFMAIL. We ran one which triggered an
email, and I thought nothing of it because it should just sit in the spool
folder and/or quit. HAHAHAHA

After several frustrating attempts (including several reboots) to figure out
why all of a sudden the CPU was pegged at 100% and the computer barely
working, I went into the mail spool folder, deleted that message waiting to
send...and VOILA! Server was back to normal. (I don't even know why it
occurred to me to check that.)

Why it grabbed onto the one little file and was so dedicated to getting it
sent is beyond me, but now, when I test apps that have CFMAIL tags that run,
and I'm not hooked up to send, I know I have to go delete that file.

SO..I was thinking maybe you have a CFMAIL tag working and they
aren't getting out? Anybody else ever have this happen?


Erika
(with a *K*)

Those who love deeply never grow old; they may die of old age, but they die
young. - Sir Arthur Wing Pinero


-Original Message-
From: Lee Moore [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 4:28 PM
To: CF-Talk
Subject: Processor Spike


Hello,

I recently changed enviroments for our coldfusion 4.5.1 sp2 application to a
new ISP with 2 new servers. Basically we had the SQL Server 7.0 and the
ColdFusion Server on the same NT 4 box. We split the DB and web/cf server
onto 2 new boxes both running Windows 2k Server sp2. I spent several days
configuring the new servers and we went live this morning. Now, the
processor on the new cf/web server is always at 100%. ColdFusion Server is
taking all the rescources. It's a single 1ghz processor with 512 ram,
Windows 2k Server and coldfusion 4.5.1 sp2. It didn't start until after we
went live. I have stopped and started the CF server and each time the
processor goes to 100% almost instantly. I have also rebooted several times
with no luck. Is there a patch I need. Both the old and the new servers have
the same coldfusion version and patch. What am I missing?

TIA

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

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



float datatypes

2001-07-04 Thread John McCosker

Hi there

Got a query here which I do not understand.

I'm doing two queries,
!--- query one ---
cfquery name=qry_getCustReporta
datasource=#application.dsn#
username=#application.gateway#
password=#application.key# maxrows=1
SELECT  min(flow1) as mflow1,
datepart(dd, dt) as day,
datepart(mm, dt) as month,
datepart(yy, dt) as year
FROMdbo.milford
WHERE   flow1  -0.01
AND
datediff(day, dt, getdate()) = 0
GROUP BYdatepart(dd, dt), datepart(mm, dt),
datepart(yy, dt)
/cfquery

!--- query two ---

cfquery name=qry_getCustReport
datasource=#application.dsn#
username=#application.gateway#
password=#application.key# maxrows=1
SELECT  dt, flow1
FROMdbo.milford
WHERE   flow1 = #qry_getCustReporta.mflow1#
AND
flow1  -0.01
AND
datediff(day, dt, getdate()) = 0
/cfquery

OK
The result from the first query is 
cfoutput#qry_getCustReporta.mflow1#/cfoutput which = 26.649746192893399

the result from the second query is (by the way I'm doing this to get the
time stamp) 
cfoutput#qry_getCustReport.dt#/cfoutput which = 2001-07-04 04:30:01 

this works on my development server

but when I run it on the live server

cfoutput#qry_getCustReporta.mflow1#/cfoutput becomes rounded
automatically to 26.65

so when I try to run the second query I obviously get a blank result for 

cfoutput#qry_getCustReport.dt#/cfoutput 

I'm using sql server 7.0 and flow1 has a datatype of (float 8)

Cheers for any help anyone is able to give on this one.

John.

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: project documentation

2001-07-04 Thread Joseph Thompson

This link is a study of website usability...
http://www.sims.berkeley.edu/courses/is213/s01/projects/P1/index.htm


- Original Message -
From: Mak Wing Lok [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, July 04, 2001 1:29 AM
Subject: OT : project documentation


 can anyone recommend where i can get sample documentation for a project,
 like system specification, project proposal, user requirements, system
 design, etc. best if for web application development.





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

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



List of internation countries and states

2001-07-04 Thread Kirk Boecker

Does anyone know where I may be able to download a list/database of
International Countries and their States (where applicable of course). I
have seen some tags on the allaire site but they have very little as far as
states in non US countries, maybe a little canada and maybe some mexico, but
none that have the states for the rest of the world.

Surely someone has compiled this at one time or another.

Thanks,

Kirk


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: List of internation countries and states

2001-07-04 Thread W Luke

I've looked into this too.  Depending on the country, you can get this sort
of information from the Government's site - it's usually in csv format, and
is rarely very new.

I have the UK's and USA's data (Town  County for UK and Town/City  State
for USA) which you're welcome to.

--
Will
new media discussion for Berkshire -=- http://bnm.lukrative.com
local classifieds -=- http://www.localbounty.com
e: [EMAIL PROTECTED]  icq: 31099745


- Original Message -
From: Kirk Boecker [EMAIL PROTECTED]
Newsgroups: cf-talk
Sent: Monday, July 02, 2001 10:58 PM
Subject: List of internation countries and states


 Does anyone know where I may be able to download a list/database of
 International Countries and their States (where applicable of course). I
 have seen some tags on the allaire site but they have very little as far
as
 states in non US countries, maybe a little canada and maybe some mexico,
but
 none that have the states for the rest of the world.

 Surely someone has compiled this at one time or another.

 Thanks,

 Kirk



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: Stripping non-alpha characters...

2001-07-04 Thread Lee Fuller

Excellent!

Now another question:

- Do you have a variation of this that YOU would use to check for the
existence of (and potentially return) non-alpha characters in the same
string, before replacing them?  I.e., to pop-up a java window and say
Sorry.. these characters (.#) are not allowed in the username.

Lee


 -Original Message-
 From: Dick Applebaum [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 03, 2001 11:40 PM
 To: CF-Talk
 Subject: Re: Stripping non-alpha characters...


 Try:

cfset x = a1B,2c.3D4
cfset y = ReReplace(x, [^A-Za-z], , All)
cfoutput#y#/cfoutput

 HTH
 Dick

 At 11:13 PM -0700 7/3/01, Lee Fuller wrote:
 Anyone have a quick, down and dirty method of stripping non-alpha
 characters, that they'd like to share?  Something that would be good to
 check/strip potential login names for email (as an example).
 
 TTAIA!
 
 
 Lee Fuller
 Chief Technical Officer
 PrimeDNA Corporation / AAA Web Hosting Corporation
 We ARE the 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: In Office Manual Reply: CF-talk (Michael Dinowitz)

2001-07-04 Thread Dave Hannum

I will be in my office July 2-3, and July 5-6.  I will be checking my email
and answering my phone.  If it's a real emergency, dial 911 like the lady in
the news last week who dialed 911 five times because her dog was having
puppies.  This message is just in case somebody thought that I would be out
and that my email would be sending Out Of Office AutoReplies like some of
these folks are doing.

Happy In-Office Days,
Dave



- Original Message -
From: Tilley, Christopher [EMAIL PROTECTED]
To: Dave Hannum [EMAIL PROTECTED]
Sent: Monday, July 02, 2001 1:40 PM
Subject: Out of Office AutoReply: CF-talk (Michael Dinowitz)


 I will be out of the office the week of July 2 - July 6 and returning to
 work on July 9th.



- Original Message -
From: Howie Hamlin [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, July 02, 2001 12:41 PM
Subject: Re: CF-talk (Michael Dinowitz)


 Looks like it's working now, though.

 Regards,

 Howie Hamlin - inFusion Project Manager
 On-Line Data Solutions, Inc.
 www.CoolFusion.com
 631-737-4668 x101
 inFusion Mail Server (iMS) - The Intelligent Mail Server
 Join the DevCon community at www.coolfusion.com/devcon

 - Original Message -
 From: Kelly Matthews [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Monday, July 02, 2001 12:01 PM
 Subject: RE: CF-talk (Michael Dinowitz)


  No one has gotten any since mid last week!
 



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: Purchasing a copy of ColdFusion Server in the UK

2001-07-04 Thread Howie Hamlin

www.gb.buy.com

HTH,

Howie

- Original Message - 
From: DeVoil, Nick [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, July 04, 2001 5:51 AM
Subject: RE: Purchasing a copy of ColdFusion Server in the UK


  Anyone know where I can purchase a copy of ColdFusion Server in the UK?
 
 http://www.highlander.co.uk
 
 Nick
 
 
 **
 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: URL Hacks

2001-07-04 Thread Daniel Kemp

 -Original Message-
 From: Don Vawter [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 13, 2001 7:10 PM
 To: CF-Talk
 Subject: URL Hacks

 If anyone has any interest it is at:
http://www.vawter.com/urlhack.cfm

Quick question, the dropping of tables seems very destructive, and of
little point other than trashing a site.

Is it possible to construct more useful queries to run piggy back,
i.e. the SQL to display all the tables in a database, the fields in a
table, or the data in a field(s)? I'm not asking for examples, just if
it's theoretically possible.

Having the data deleted is easy to recover from (if not careless),
having someone view your data, or database construction would seem to
be a lot worse.

Cheers,
Dan.



This message is intended only for the use of the person(s) (the intended 
recipient(s)) to whom it is addressed.

It may contain information which is privileged and confidential within the meaning of 
the applicable law. 
If you are not the intended recipient, please contact the sender as soon as possible.
The views expressed in this communication may not necessarily be the views held by 
Live Information Systems Limited.



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: URL Hacks

2001-07-04 Thread Andy Ewings

not sure what the earlier messages were in this thread but

Quick question, the dropping of tables seems very destructive, and of
little point other than trashing a site.

Absolutely - that's why you should tie this downin your code so hackers
can't exploit it.

Is it possible to construct more useful queries to run piggy back,
i.e. the SQL to display all the tables in a database, the fields in a
table, or the data in a field(s)? I'm not asking for examples, just if
it's theoretically possible.

You can run any valid SQL statement against the DB.  Whether it will execute
correctly is down to the permissions that the user has that the DSN is
using.  You won't however be able to display the results of your query
unless the CF code does so.


-Original Message-
From: Daniel Kemp [mailto:[EMAIL PROTECTED]]
Sent: 04 July 2001 17:44
To: CF-Talk
Subject: RE: URL Hacks


 -Original Message-
 From: Don Vawter [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 13, 2001 7:10 PM
 To: CF-Talk
 Subject: URL Hacks

 If anyone has any interest it is at:
http://www.vawter.com/urlhack.cfm

Quick question, the dropping of tables seems very destructive, and of
little point other than trashing a site.

Is it possible to construct more useful queries to run piggy back,
i.e. the SQL to display all the tables in a database, the fields in a
table, or the data in a field(s)? I'm not asking for examples, just if
it's theoretically possible.

Having the data deleted is easy to recover from (if not careless),
having someone view your data, or database construction would seem to
be a lot worse.

Cheers,
Dan.



This message is intended only for the use of the person(s) (the intended
recipient(s)) to whom it is addressed.

It may contain information which is privileged and confidential within the
meaning of the applicable law. 
If you are not the intended recipient, please contact the sender as soon as
possible.
The views expressed in this communication may not necessarily be the views
held by Live Information Systems Limited.
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: Stripping non-alpha characters...

2001-07-04 Thread Dick Applebaum

Lee

In order to cause a window to popup, you need to perform the test 
with JavaScript on the client side.

For version 4+ browsers (which use JavaScript 1.2) the code would 
look something like this:

   script language=JavaScript1.2

   function checkAlpha(alphaField) {
 if( alphaField.value.match(/[^A-Za-z]/g) != null ) {
   alert('The ' + alphaField.name +
' may contain alphabetic chartacters only!');
   return false;
 }else{
   alert('The ' + alphaField.name + ' passes!');
   return true;
 }
   }

   /script

   form name=myForm onSubmit=alert('The Form is being Submitted!')
 input type=text   name=Password value=Enter Password size=20 
 input type=submit name=SubmitPW value=Submit
   onClick=return checkAlpha(document.myForm.Password);
   /form


HTH

Dick


At 8:31 AM -0700 7/4/01, Lee Fuller wrote:
Excellent!

Now another question:

- Do you have a variation of this that YOU would use to check for the
existence of (and potentially return) non-alpha characters in the same
string, before replacing them?  I.e., to pop-up a java window and say
Sorry.. these characters (.#) are not allowed in the username.

   Lee


  -Original Message-
  From: Dick Applebaum [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, July 03, 2001 11:40 PM
  To: CF-Talk
  Subject: Re: Stripping non-alpha characters...


  Try:

 cfset x = a1B,2c.3D4
  cfset y = ReReplace(x, [^A-Za-z], , All)
 cfoutput#y#/cfoutput

  HTH
  Dick

  At 11:13 PM -0700 7/3/01, Lee Fuller wrote:
  Anyone have a quick, down and dirty method of stripping non-alpha
  characters, that they'd like to share?  Something that would be good to
  check/strip potential login names for email (as an example).
  
  TTAIA!
  
  
  Lee Fuller
  Chief Technical Officer
  PrimeDNA Corporation / AAA Web Hosting Corporation
  We ARE the 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



Random images from directory

2001-07-04 Thread Carlo van Wyk

I need to display random images from a directory. (Almost like a Ad
rotator.) There will probably be about 100 .jpeg files in the directory ata
a time, and they will be in the format 1.jpg to 100.jpg

How can one display the images randomly?

Regards
Carlo

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



Re: Random images from directory

2001-07-04 Thread Howie Hamlin

cfoutputimg src=#randrange(1,100)#.jpg/cfoutput

HTH,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - The Intelligent Mail Server
Join the DevCon community at www.coolfusion.com/devcon

- Original Message - 
From: Carlo van Wyk [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, July 04, 2001 1:12 PM
Subject: Random images from directory


 I need to display random images from a directory. (Almost like a Ad
 rotator.) There will probably be about 100 .jpeg files in the directory ata
 a time, and they will be in the format 1.jpg to 100.jpg
 
 How can one display the images randomly?
 
 Regards
 Carlo
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


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

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



RE: Random images from directory

2001-07-04 Thread C. Hatton Humphrey

Look into the randomize() and randrange() functions to get the number...

As long as the images are in their own directories, you can use the
CFDIRECTORY tag to get the file, generate a random number and access the
directory list as an array.

 then again, some hosts disable the CFDirectory.  If that's the case, you
can still generate the random number and use it in your img tag.

The difference between the two?   With the cfdirectory option you don't
restrict yourself to naming the files 1.jpg through 100.jpg.  You can have
100 images in the directory with 100 different names, it just grabs the
filename and uses it.

HTH
Hatton Humphrey

-Original Message-
From: Carlo van Wyk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 04, 2001 1:13 PM
To: CF-Talk
Subject: Random images from directory


I need to display random images from a directory. (Almost like a Ad
rotator.) There will probably be about 100 .jpeg files in the directory ata
a time, and they will be in the format 1.jpg to 100.jpg

How can one display the images randomly?

Regards
Carlo

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


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

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



eMail SMTP Authentication

2001-07-04 Thread Paul Mone

One of the SMTP servers for my mail accounts requires authentication.  I'd
like to use this server with CFMAIL (or some similar tag), is this possible?

---
Paul Mone
Ninthlink Consulting Group
[EMAIL PROTECTED]
http://www.ninthlink.com
619.222.7082


-Original Message-
From: Evan Lavidor [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 9:21 AM
To: CF-Talk
Subject: RE: is this list dead?


Ditto to everyone.  Though I'm glad to see at least a few messages come
through...

Evan

 -Original Message-
 From: Jason Lees (National Express)
 [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 02, 2001 11:56 AM
 To: CF-Talk
 Subject: RE: is this list dead?


 This is the first one i've had in over a week!!!

 I thought the list was Dead!!

 Jason Lees
 National Express
 Email : [EMAIL PROTECTED]


 -Original Message-
 From: Erika L. Walker [mailto:[EMAIL PROTECTED]]
 Sent: 02 July 2001 16:53
 To: CF-Talk
 Subject: RE: is this list dead?


 I'm getting posts, but not as many as we used to get.

 :(

 Erika
 (with a *K*)

 Those who love deeply never grow old; they may die of old age,
 but they die
 young. - Sir Arthur Wing Pinero
 -
 Macromedia ColdFusion 5.0 Certified Developer -  Just passed!!
 WooHoo
 -

 -Original Message-
 From: Mike Sullivan [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 02, 2001 10:57 AM
 To: CF-Talk
 Subject: is this list dead?


 I haven't seen a post in quite some time now.
 Mike

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

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



Re: CFMAIL practical limits

2001-07-04 Thread Chris Norloff

Allaire just told us that CFMAIL (at least on Solaris) has a bug that leaves zero-byte 
files in the undelivered directory.  This blocks further mail delivery and causes the 
CPU usage to skyrocket.  Ours went to 80% when idle and 99+% with two cfserver 
threads running.

Chris Norloff



-- Original Message --
From: Marc Edwards [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Thu, 28 Jun 2001 00:45:35 +0800

Can anyone give me some information on the real world limitations of CFMAIL? I'm 
looking at doing a system that needs to send at least 10,000 emails per hour. Can 
CFMAIL RELIABLY deal with this type of load if running on say a dual Pentium 1 Ghz 
NT/2000 system? I'd appreciate any numbers you can provide to me from experience.

Thanks,

Marc



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

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



Messages???

2001-07-04 Thread Garza, Jeff

Test for Post...

Jeff Garza
Lead Developer/Webmaster
Spectrum Astro, Inc.
480.892.8200
[EMAIL PROTECTED]
http://www.spectrumastro.com http://www.spectrumastro.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: Re: CaNameingAdapter and ntConsoleJava.e

2001-07-04 Thread Mark Terrill

Dave,

The dev server is W2K, the latest SP (sp2 from memory), with IIS. It has a
tidy 512 ram.

In re to when the ntConsoleJava.e starts going off the rails, its a funky
incremental effect that starts when you first boot up. You can sit there
with task manager and watch the ntconsolejava.e process and it starts on 1%
cpu usage, but grows to 99% within 5 minutes, and the ram usage
incrementally grows by about 4 mg memory every 5 mins. Truth be told, I
haven't sat there long enough watching it to see it go past 30mg.

After a fair bit of experimentation, I have found that if you kill CF
management, graphing, and repository then ntjavaconsole.e ceases and
desists. Its just one rainy day I may find myself wanting to implement
graphing so I'm looking into how I can resolve this issue.

If you, or anyone can be of help, it would be greatly appreciated.

Regards,

Mark Terrill
Web Development Manager
Net Plus+ Internet Marketing
--
Phone:  07 5577 8835  |  Fax: 07 5577 8836
Email: [EMAIL PROTECTED]
Website: http://www.netplus.net.au
--

- Original Message -
From: Dave Watts [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: 'Mark Terrill' [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 10:22 AM
Subject: RE: Re: CaNameingAdapter and ntConsoleJava.e


  Its a bit disconcerting how I emailed allaire directly and
  posted messages here in CF-Talk, re ntConsoleJava.e chugging
  99% of system cpu resources, and there has been no reply. I
  too would like to know if the demi-gods of Macromedia (*cough*
  Allaire) have any input so that I can run more than two out
  of the five possible CF5 processes without ntconsolejava.e
  doing unspeakable things to my dev server.

 I'm coming in at the end of this thread, so I may be asking questions
 already answered; if so, I apologize.

 What operating system (including service pack) and web server are you
using?
 I've installed CF 5 on several Win2K/IIS 5 machines and haven't seen this
 problem.

 Does this occur when you start the services, or when the machine is under
 load?

 How much physical memory does your machine have?

 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: Re: CaNameingAdapter and ntConsoleJava.e

2001-07-04 Thread Dave Watts

 Its a bit disconcerting how I emailed allaire directly and 
 posted messages here in CF-Talk, re ntConsoleJava.e chugging 
 99% of system cpu resources, and there has been no reply. I 
 too would like to know if the demi-gods of Macromedia (*cough* 
 Allaire) have any input so that I can run more than two out 
 of the five possible CF5 processes without ntconsolejava.e 
 doing unspeakable things to my dev server.

I'm coming in at the end of this thread, so I may be asking questions
already answered; if so, I apologize.

What operating system (including service pack) and web server are you using?
I've installed CF 5 on several Win2K/IIS 5 machines and haven't seen this
problem.

Does this occur when you start the services, or when the machine is under
load?

How much physical memory does your machine have?

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: Random images from directory

2001-07-04 Thread Jim McAtee

The most flexible way is to get a directory listing, then select one of
the files randomly.  One additional advantage is that you don't have to
use a special file naming convention unless you've mixed the photos in
the same directory with others that you _don't_ want in the rotation.
You also needn't know ahead of time how many files there will be.

cfdirectory action=list
 directory=d:\web\graphics\photos\
 name=photos
 filter=*.jpg

cfif photos.recordcount
  cfset dummy = Randomize(GetTickCount())
  cfset myphoto = photos.name[RandRange(1, photos.recordcount)]
/cfif


Jim


-Original Message-
From: Carlo van Wyk [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Date: Wednesday, July 04, 2001 11:13 AM
Subject: Random images from directory


I need to display random images from a directory. (Almost like a Ad
rotator.) There will probably be about 100 .jpeg files in the directory
ata
a time, and they will be in the format 1.jpg to 100.jpg

How can one display the images randomly?

Regards
Carlo

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


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

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



RE: Query of a Query

2001-07-04 Thread Matthew Fusfield

cfquery name=QoQ dbtype=Query
Select * from OrigQueryName
/cfquery

Obviously need to be running CF5 for this to work.


Matt

-Original Message-
From: Jordan Saardchit [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 1:24 PM
To: CF-Talk
Subject: Query of a Query


Can someone please send me the syntax on using QoQ.  I can't remember
the CFQUERY sytnax to reference a result set already in memory.
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: Allaire Spectra for Content Management.

2001-07-04 Thread Tobe Goldfinger

If your needs are not all that complex, Ektron's eMPower product has lots 
of easy-to-use features, and is a very good value. For really lightweight 
projects, their 'Express' product is a tremendous value.


hth,
Tobe Goldfinger
jdt technologies, ltd.
921 Peninsula Blvd
Woodmere, NY 11598
516-569-5606
800-252-5519

* Allaire/Macromedia Alliance Consulting Partner
* Certified ColdFusion Developer (Advanced!)
* Co-Manager NY ColdFusion User's Group





At 12:11 PM 7/3/2001 , you wrote:
Hi there..

I'm looking for a program which would allow us to provide Content 
Management solutions for a number of clients from a single
server. I.e. Clients would be able to update news, events, calendars etc. 
remotely on their websites which we host.

Is this what Allaire Spectra is supposed to do, and does it make sense 
given themerger and the future of the product with
Macromedia to even consider using it for this purpose?

If not Spectra..then what other CF integrated product is used for Content 
Management?

-Gel



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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 5 with multiple IP's

2001-07-04 Thread C. Hatton Humphrey

I'm helping a friend get a server set up and we're running into a problem.

We installed NT4, CF5 and then realized that the server needed to be set up
to handle multiple IP's.  I can get the administrator to come up, but when
we get a message:

The specified module could not be found.

Does anyone have any advice?  Is there a setting in CF that needs to be
changed for using multiple IP's?

TIA
Hatton Humphrey


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: eMail SMTP Authentication

2001-07-04 Thread Brook Davies

It would be easiest to set the CFserver as a trusted IP within your 
mailserver settings.

At 11:47 AM 02/07/01 -0700, you wrote:
One of the SMTP servers for my mail accounts requires authentication.  I'd
like to use this server with CFMAIL (or some similar tag), is this possible?

---
Paul Mone
Ninthlink Consulting Group
[EMAIL PROTECTED]
http://www.ninthlink.com
619.222.7082


-Original Message-
From: Evan Lavidor [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 9:21 AM
To: CF-Talk
Subject: RE: is this list dead?


Ditto to everyone.  Though I'm glad to see at least a few messages come
through...

Evan

  -Original Message-
  From: Jason Lees (National Express)
  [mailto:[EMAIL PROTECTED]]
  Sent: Monday, July 02, 2001 11:56 AM
  To: CF-Talk
  Subject: RE: is this list dead?
 
 
  This is the first one i've had in over a week!!!
 
  I thought the list was Dead!!
 
  Jason Lees
  National Express
  Email : [EMAIL PROTECTED]
 
 
  -Original Message-
  From: Erika L. Walker [mailto:[EMAIL PROTECTED]]
  Sent: 02 July 2001 16:53
  To: CF-Talk
  Subject: RE: is this list dead?
 
 
  I'm getting posts, but not as many as we used to get.
 
  :(
 
  Erika
  (with a *K*)
 
  Those who love deeply never grow old; they may die of old age,
  but they die
  young. - Sir Arthur Wing Pinero
  -
  Macromedia ColdFusion 5.0 Certified Developer -  Just passed!!
  WooHoo
  -
 
  -Original Message-
  From: Mike Sullivan [mailto:[EMAIL PROTECTED]]
  Sent: Monday, July 02, 2001 10:57 AM
  To: CF-Talk
  Subject: is this list dead?
 
 
  I haven't seen a post in quite some time now.
  Mike
 

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

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



Re: Redirect form section

2001-07-04 Thread phumes1



Hi,
I have the following code below which creates an input box. How do I get 
the text being entered in the input box passed
to the ACTION attribute within the CFFORM?

CFFORM ACTION=documents.cfm?dir=#URLDecode(URLEncodedFormat(dir))# 
METHOD=POST ENABLECAB=Yes NAME=form2
table width=168 cellpadding=0 cellspacing=0 border=0
tr
td
nbsp;nbsp;
INPUT TYPE=text NAME=acronym VALUE= SIZE=10 MAXLENGTH=10 
CLASS=dirlinksnbsp;
/td
td align=right
INPUT TYPE=submit NAME=acronym ID=acronym VALUE=Go! CLASS=dirlinks
/td
/tr
/table
/CFFORM


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: ArraySort()

2001-07-04 Thread Evan Lavidor

Aidan,

I believe that StructSort() was introduced with 4.51sp2 (if you take a look
at the function list on HOF, that's what it says), though documentation on
it was particularly lacking, if I remember correctly.  I'm guessing that
MACR has included documentation on it in the 5.0 doc set, as you stated.  In
terms of compatibility, though, it should work on 4.5.1 sp2.

Thanks,

Evan

 -Original Message-
 From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 04, 2001 9:20 AM
 To: CF-Talk
 Subject: RE: ArraySort()


  Where can you find any reference to that function?
 
  Don't get me wrong... like you, I also it existed...

 Which is why it looks as though they introduced it in version 5 (I only
 searched my v4 docs before posting).

 Doh! Where was that rock I crawled from... ?



 --
 Aidan Whitehall [EMAIL PROTECTED]
 Macromedia ColdFusion Developer
 Fairbanks Environmental +44 (0)1695 51775

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

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



Session Hijacking - The Final Chapter :)

2001-07-04 Thread Scott Weikert

Well I found out what the deal was, sort of. Maybe some of you can shed a
bit more light. Regardless, the thing is functioning now.

I was having major troubles with many users getting ahold of the same
CFID/CFTOKEN pair. It wasn't an issue if only one person was in the app at a
time - but when two or more were in it at once, at some point, sessions
became confused, Joe thought he was Bob, that sorta thing.

After many various attempts to intercept this bad id/token pair and force a
refresh... I found the culprit. I'd mentioned before that this issue only
seemed to hit within the client's LAN - that those of us coming in from
outside their firewall had no troubles. This wasn't entirely the whole
picture. It turns out the company has an intranet -
'intranet.companyname.com' - and that had a link to the application in
question. So I was trying to test the app from within their network, by
using PCAnywhere to control the actual app/web server, fire up a browser, go
to the app, yadda yadda, and couldn't get the error to hit. It was the fact
they were accessing the app VIA THEIR INTRANET WEB PAGE that was the key.

The way the rest of us accessed the app, we'd hit a 'splash' page, with a
link that would pop up a new window, containing the login form. In the
company intranet, however, they linked DIRECTLY to the login form. So I'm
guessing that the cookie assignment was the issue - that my attempts to
flush the ID/Token with

CFCOOKIE NAME=CFID VALUE=0 EXPIRES=NOW

was failing because I wasn't using the domain option.

Having the folks who handle the intranet change the link from pointing at
the login form to the splash page - i.e. reintroducing the pop-up window -
fixed the problem.

I'd just like to understand the issue a bit more from a cookie/CF
standpoint... any thoughts? Would putting in 'DOMAIN=.companyname.com' in
the CFCOOKIE tags do the trick? And why, in the first place, would all the
intranet users be getting sent over to the app with the same CFID/CFTOKEN
values in the first place?

--Scott


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

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



Capture URL as Variable

2001-07-04 Thread Andrew Peterson

Hi,

This is probably a dumb question. Let's say a user is visiting a page on my
site called
 www.mysite.com/homepage.cfm?memberid=123 and I want to capture the template
name and corresponding name/value pairs (in this case,
homepage.cfm?memberid=123) into a variable? Is there a function that does
this? I can use GetFileFromPath(GetTemplatePath()) to get homepage.cfm, but
that leaves out everything after cfm. Basically, I want to create an
application which will allow users to bookmark their favorites on my site,
so I need everything captured after the .com.

Thanks for any help.

Andrew


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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 on Linux

2001-07-04 Thread Corey Dakin

I have recently had the need to install CF 4.5.1 on Linux Mandrake 8.0. The
installation went just fine but when I go to the admin through the browser
all I get is garbage. I was wondering if anyone has experience with
Mandrake 8.0 and CF, I am running Apache Advanced Extranet server that
shipped with Mandrake 8.0.

Any Help
Corey



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

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



Passing Query Result Set

2001-07-04 Thread Christian Abad

Folks :

Is it possible to pass the entire results of a query from one template to
another?  How is this accomplished?

Thanks,

Christian N. Abad

ColdFusion Developer
Bank of America - eCommerce Technology


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

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



OT: What a hustle to install 400-500 subdomains

2001-07-04 Thread cf-talk


Hi,
a customer wants 400-500 subdomains of one domain to access via http.
Each heading to a different base-web-root. We run virtual domains (HTTP 1.1)
on one IP-adress. We have IIS 4 and NT 4.

Is there a tool, to automize the installation of one sub-domain ?
Anybody who knows how the customer could possibly could do it by himself ?
Thanks.

Uwe




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

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



cannot include memo when select unique values

2001-07-04 Thread Richard Colman

Has anyone come across this problem:

[Microsoft][ODBC Microsoft Access Driver] Cannot include Memo, OLE, or
Hyperlink Object when you select unique values (servicelog.disposition).

This code used to work prior to being transferred to Win 2K.

Could it be an MDAC problem (does not work on 3.52 on Win @K, but worked on
3.51 NT 4).

Any comments appreciated.

Rick Colman


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: CFOBJECT Java

2001-07-04 Thread Laszlo Nadai

Hi Jordan,

Create a class (SingeltonCreator), with a method (getMySingleton), which returns a 
reference to the Singleton.
Then you can use the returned refernce to invoke the methods of your singleton class.

CFOBJECT TYPE = Java
NAME = MyClass
CLASS = SingeltonCreator
ACTION = Create


!--- get a reference to singleton
cfset result1 = MyClass.getMySingleton()

!--- use it -
cfset result2 = result1.anyMethod(.)

laszlo


Jordan Saardchit wrote:

 Does anyone know how to call a static method as opposed to calling the
 constructor to instantiate an object using CFOBJECT?  I've got a
 Singleton object that I am trying to implement, but when you use
 CFOBJECT with the CREATE action, it attempts to instantiate the object,
 and throws an exception due to a private constructor.  Any help would be
 great.  Thanks.

 Jordon


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: Multiple file upload / activeX?

2001-07-04 Thread Dylan Bromby

you might get more responses if you post on an active X list or newsgroup.

-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 8:40 AM
To: CF-Talk
Subject: Multiple file upload / activeX?


Anyone know a good activex com' that will be installed on the user computer
(as with
the Install and Always Trust software from... window) and will allow
multiple files
upload to server w/ the client's directories tree, selection etc.?

Thanks,

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

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



Re: Can't restart IIS server

2001-07-04 Thread Tom Davison

you want to do a net stop iis admin in dos
- Original Message -
From: Dave Watts [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 10:22 AM
Subject: RE: Can't restart IIS server


  I stopped IIS via the IIS administrator. I right clicked on
  Default Web Site and then clicked Stop. Now, when I go in
  and manually try to restart it, an alert box pops up that
  says: Internet Services Manager Address Already In Use.
  I've tried everthing I know to do to restart is, but nothing.
  Anybody have a clue what I can do

 I've seen things like this when a virtual web server has been created,
then
 deleted, then recreated. The IIS metabase may still have some information
 from the original server in it. If you cycle the IIS admin and W3SVC
 services, it should then show you the correct information in the MMC.

 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: ArraySort()

2001-07-04 Thread Aidan Whitehall

 Don't get me wrong... like you, I also it existed...

Don't get me wrong... even when I write things that don't make sense   ;-)

like you, I also wish it existed.



-- 
Aidan Whitehall [EMAIL PROTECTED]
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



CFStudio and REGEXP.. Replacing strings that have diferent chars - a CFStudio tip

2001-07-04 Thread Charles Wilson

(this tip may help you)

After struggling for a bit,  found regular expressions could do what I wanted to do.

My problem:

Various files had varying strings in them, such as:

This file's name is:P1000104
This file's name is:P1000109
This file's name is:P1000167
etc.

I wanted to get rid of the whole line.. but I couldn't do a normal search and replace 
because part
of the line was different in every file.

So, I used an extremly simple Regular Expression with the advanced replace option:
Search  Extended Replace  (make sure regular expression is chosen)

top box:
This file's name is:P1000...

bottom box:
this is a file.

It worked, replaced all the files.

The period (.) matches anything in a string.

Hope this helps someone.. I thought it would be more difficult than it was..

-chrls
(charles wilson)
me (at) charlesw.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: Cookies vs. Session Variables

2001-07-04 Thread Ken Beard

switch to session vars, and pass the urltoken on every request and set the 
setclientcookies attributes to no in the cfapplication tag.  this last 
bit is to prevent cf from correlating requests into a session via a cookie 
on the user's machine.
cflocation will pass the urltoken automatically if you don't say 
addtoken=no, but on your forms and links you will need to add #urltoken# 
to the end.

At 12:54 PM 7/2/01 -0700, you wrote:
We have an application that uses cookies to track the identity of a user
after logging in.  In a beta test performed at a university lab, this
model failed because the browsers were set up to share the same
cookies.  In this case, all users had access to the information of the
last user to log in.  Is this a common configuration in networks?  Would
switching to session variables eliminate this problem in such an
environment or could there still be issues with this, depending on their
configuration?

-Pete

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


-
Ken Beard
Manager, Application Development
StoneGround

5100 West Kennedy Blvd, Suite 430
Tampa, FL 33609
813-387-1235 (phone)
813-387-1237 (fax)
http://www.stoneground.com/

CONFIDENTIALITY NOTICE: This message is intended only for the use of the 
individual or entity to which it is addressed, and may contain information 
that is privileged, confidential and exempt from under applicable law. All 
code Copyright © 2001 StoneGround. All rights reserved.


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

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



Re: CF-Talk-list V1 #16

2001-07-04 Thread I-Lin Kuo

In my experience I've found two reasons for this, but somehow I'm sure there 
are more ...

1. CF is attempting to send mail messages but does not succeed and continues 
to attempt to resend them. check in the folders related to mail. If you 
select these mails and try to delete them but fail, that means they are in 
use by CF. You'll have to stop CF and delete them manually, and then restart 
CF.
2... There is another way I know to spike the processor, but it depends on 
bad user form input which isn't validated, so that's unlikely to be your 
problem

Original Message Follows
Date: Mon, 02 Jul 2001 16:28:28 -0400
From: Lee Moore [EMAIL PROTECTED]
Subject: Processor Spike

Hello,

I recently changed enviroments for our coldfusion 4.5.1 sp2 application to a 
new ISP with 2 new servers. Basically we had the SQL Server 7.0 and the 
ColdFusion Server on the same NT 4 box. We split the DB and web/cf server 
onto 2 new boxes both running Windows 2k Server sp2. I spent several days 
configuring the new servers and we went live this morning. Now, the 
processor on the new cf/web server is always at 100%. ColdFusion Server is 
taking all the rescources. It's a single 1ghz processor with 512 ram, 
Windows 2k Server and coldfusion 4.5.1 sp2. It didn't start until after we 
went live. I have stopped and started the CF server and each time the 
processor goes to 100% almost instantly. I have also rebooted several times 
with no luck. Is there a patch I need. Both the old and the new servers have 
the same coldfusion version and patch. What am I missing?

TIA

Lee Moore
_
Get your FREE download of MSN Explorer at http://explorer.msn.com


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



checkboxes

2001-07-04 Thread Jones, Becky

i have a form that has a list of articles. and next to each article there is
a checkbox. and it displays that it is checked like so:
input type=Checkbox name=Status cfif #status# eq 1checked/cfif
value=1
if the article is live
does anyone know how i would write the update statement?  ive tried
everything, and i cant get it to work.
thanks,
bec.


*
This e-mail, including any attachments, is intended for the 
receipt and use by the intended addressee(s), and may contain 
confidential and privileged information.  If you are not an intended 
recipient of this e-mail, you are hereby notified that any unauthorized 
use or distribution of this e-mail is strictly prohibited. 



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

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



RE: Cookies vs. Session Variables

2001-07-04 Thread Costas Piliotis

Nope.  As a matter of fact, the way CF recognizes the session is through
cookies.  

Run this code to confirm:

cfloop collection=#cookie# item=myVar
cfoutputCOOKIE.#myVar#/tdtd style=font: 12pt Courier
New#evaluate(COOKIE.   #myvar#)#/cfoutput
/cfloop

You'll notice a CFID and a CFTOKEN cookie variable.  These values is what CF
uses to assert who the session is.

You're best bet may be to use client variables, or to create a log off
button that clears sessions/cookies.  I don't recommend using client
variables because they sit in the url, and can be easily hijacked, posing an
even bigger security threat.


-Original Message-
From: Pete Miller [mailto:[EMAIL PROTECTED]] 
Sent: Monday, July 02, 2001 12:55 PM
To: CF-Talk
Subject: Cookies vs. Session Variables


We have an application that uses cookies to track the identity of a user
after logging in.  In a beta test performed at a university lab, this model
failed because the browsers were set up to share the same cookies.  In this
case, all users had access to the information of the last user to log in.
Is this a common configuration in networks?  Would switching to session
variables eliminate this problem in such an environment or could there still
be issues with this, depending on their configuration?

-Pete

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


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

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



RE: Window Size to fit desktop area

2001-07-04 Thread John Wilker

This is what I'm using on a app I'm writing.

//open the actual test window
function StartTest()
{
var h = screen.availHeight - 30;
var w = screen.availWidth;
window.open(test_window.cfm?begin=1, exam,
toolbar=0,location=0,directories=0,status=1,menubar=0,resizable=0,width=+
w + ,height= + h);
}

the -30 is for the Windows bar at the bottom of the screen, since it stays
in front I didn't want the browser behind it.

Hope it helps.

J.

John Wilker
Web Applications Consultant
Macromedia Certified ColdFusion Developer

www.red-omega.com http://www.red-omega.com

What does Snoop Dogg use to do his laundry?  Blee-otch!


-Original Message-
From: James Taavon [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 9:58 AM
To: CF-Talk
Subject: OT: Window Size to fit desktop area


I believe this will get posted since the list seems to be working again.
Still waiting for the dump of old messages.


I wanted to know when opening a new window using javascript, is there a
way for the window to be the size of the desktop area with out defining
numeric values for width and height? I tried using * instead of
numeric values, but the result I got was a smaller window than I
originally had.

Thanks in advance,
James
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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-POST - error when trying to connect to excel

2001-07-04 Thread David Baskin

I never saw this come across so i'm trying again. thanks for any help.

--

I'm using code from CFComet to generate an excel spread sheet from a sql
query but i'm having trouble getting the ado connection to open. I think
perhaps the problem is that i'm replacing MyDSN (CFSET Datasource =
MyDSN) with the wrong value. I'm using the name of the datasource that i
specified in the CF administrator, but when i talked to some microsoft guys
here, they told me that they didn't think CF would translate that to the
proper values for an ADO connection. Has anyone used this code before and if
so, can you tell me what it is i'm doing wrong. Thanks for any help.

d

 the line below generates the error
CFSET oConn.Open(Datasource, UserName, Password, -1)

 the error:
Error Diagnostic Information
Arguments expected by object does not match arguments specified in the tag.

Error building an argument list for: OPEN



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: Ahh .. it is good to be back!

2001-07-04 Thread Michael Dinowitz

My pleasure. The lists will be sporadic for the next day as the rest of the
backlogged email is sent out. We're down to between 60,000 and 120,000
messages left to be delivered. As we started with between 200,000 and
300,000, I'd say we're going well.

 It appears the DNS entries have finally progated to AOL.

 I didn't know how much I miss these list. Thanks again Michael for all the
 work you do.

 Cheers,
 Bill



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: [Oracle Full text search]

2001-07-04 Thread Alex

yes. intermedia it's on the oracle CD

[EMAIL PROTECTED] wrote:
Does Oracle have any full text search facility? I can't find any mention of
it anywhere. 


**

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: is this list dead?

2001-07-04 Thread Paul Hastings

 I found a small article on post.office and win2k that was removed from the
 software.com site. We followed its suggestions and at least 2 people who

and that article might contain what interesting bits of advice??



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

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



losing CGI Variables??

2001-07-04 Thread Joseph Thompson

Any Sambar Server nuts out here?

I just recieved an inexpicable bug where PHP can proccess the
#cgi.http_user_agent# variable but CF cannot ?

I haven't used Sambar for quite some time but never experinced this
problem... Any help would be appreciated.

Details:
O/S: Win2k
Server: Sambar
CF-Version: 4.5.1 professional SP2

Yes, all the other CGI variables work and this individual has tried three
different browsers with no effect?

Virtual muffins for *any reply :)


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: IIF vs if,else

2001-07-04 Thread Dave Watts

 Ok, after a bit of testing... can anyone tell me what the 
 advantage of IIF over if (cfif or if () {}), else (cfelse 
 or else {}).
 
 I tested a simple block of code using IIF and 
 cfifcfelse/cfif  IIF ran twice as slow...
 
 I can't see any major advantage by using it... yeah, it is 
 kinda similar to i = (true?1 : 2); in javascript but it's 
 really slow case of the implicit evaluate() on each part. 
 Would be better if it was implicit  made explicit, IF NEEDED.
 
 Can anyone give me a decent reason why IIF is better that cfif?

It's not a matter of better, but rather different.

IIF doesn't do exactly what CFIF does. IIF evaluates strings; CFIF doesn't.
If you need to evaluate strings to build the executable contents of your
decision structure, then IIF is better. If you don't, then CFIF is better.
In addition, as Bud noted, you can use IIF whereever you can use any
function, such as inside a CF tag.

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: Purchasing a copy of ColdFusion Server in the UK

2001-07-04 Thread Howie Hamlin

www.gb.buy.com

HTH,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - The Intelligent Mail Server
Join the DevCon community at www.coolfusion.com/devcon

- Original Message - 
From: Aidan Whitehall [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 11:33 AM
Subject: Purchasing a copy of ColdFusion Server in the UK


 Anyone know where I can purchase a copy of ColdFusion Server in the UK?
 
 I just tried Unipalm but was told that they don't sell to end users...
 
 
 
 Thanks
 
 -- 
 Aidan Whitehall [EMAIL PROTECTED]
 ColdFusion Developer
 Fairbanks Environmental +44 (0)1695 51775

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: Capture URL as Variable

2001-07-04 Thread Howie Hamlin

cfset somevar=cgi.script_name?cgi.query_string

HTH,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - The Intelligent Mail Server
Join the DevCon community at www.coolfusion.com/devcon

- Original Message - 
From: Andrew Peterson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 4:13 PM
Subject: Capture URL as Variable


 Hi,
 
 This is probably a dumb question. Let's say a user is visiting a page on my
 site called
  www.mysite.com/homepage.cfm?memberid=123 and I want to capture the template
 name and corresponding name/value pairs (in this case,
 homepage.cfm?memberid=123) into a variable? Is there a function that does
 this? I can use GetFileFromPath(GetTemplatePath()) to get homepage.cfm, but
 that leaves out everything after cfm. Basically, I want to create an
 application which will allow users to bookmark their favorites on my site,
 so I need everything captured after the .com.
 
 Thanks for any help.
 
 Andrew
 
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: checkboxes

2001-07-04 Thread Howie Hamlin

Something like:

update blah where something set (
cfif isdefined(form.status)
   Status,
/cfif

values (
cfif isdefined(form.status)
  1
cfelse
  0
/cfif


Basically, if the form field exists then the user has checked the box.

HTH,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - The Intelligent Mail Server
Join the DevCon community at www.coolfusion.com/devcon

- Original Message - 
From: Jones, Becky [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 4:19 PM
Subject: checkboxes


 i have a form that has a list of articles. and next to each article there is
 a checkbox. and it displays that it is checked like so:
 input type=Checkbox name=Status cfif #status# eq 1checked/cfif
 value=1
 if the article is live
 does anyone know how i would write the update statement?  ive tried
 everything, and i cant get it to work.
 thanks,
 bec.
 
 
 *
 This e-mail, including any attachments, is intended for the 
 receipt and use by the intended addressee(s), and may contain 
 confidential and privileged information.  If you are not an intended 
 recipient of this e-mail, you are hereby notified that any unauthorized 
 use or distribution of this e-mail is strictly prohibited. 
 
 
 

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

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



Re: is this list dead?

2001-07-04 Thread Michael Dinowitz

It basically says that some older programs are looking in the registry for a
DNS server address and on Win2k this setting has changed. I've had one
person with tell me they had the same problem and needed the fix as well.
Another piece of MS BS.

Modifying DNS server definition.
-Microsoft has changed the location of the registry Name Server definition
on Windows 2000. Modifications need to be done to the registry to compensate
for this DNS server address change.
-Please make the following changes to the registry.
-Run regedt32
-Go to the following registry location.
-HKEY_LOCAL_MACHINE - System - CurrentControlSet - Services - Tcpip -
Parameters
-Launch the Multi-String editor by double clicking on NameServer:REG_SZ:
-Add your DNS servers IP addresses. Example: NameServer:REG_SZ: 10.2.5.21
10.2.5.23



  I found a small article on post.office and win2k that was removed from
the
  software.com site. We followed its suggestions and at least 2 people who

 and that article might contain what interesting bits of advice??




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

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



Lost Session variables

2001-07-04 Thread Rob McLennan

I have a an end  user using IE5 on Windows ME who is unable to maintaing her
session variables.
We have checked that cookies are enabled etc but still now success.
This is the only person who is reporting the problem - we know everthing
works properly on IE5 Win95/98/NT.

Any ideas?


Rob Mclennan
Web Application Developer
BRD (Business Resource Development)
[EMAIL PROTECTED]




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



Verity Problem

2001-07-04 Thread kraybill

This is a repost -- can someone help?

I have an application that uses three Verity collections. I can 
successfully create the first collection and retrieve info from it, and 
can then do the same with the second collection. However, when I 
go back and do an update on the first collection, 2 error 
messages like the following are generated in file/sysinfo.log for each page I attempt 
to add:

Start of error --
Error   E3-0422 (VDK 2): Could not find file Page_338.htm

Error   E3-0032 (VDK): No valid documents found in 
C:\WINNT\CFI70CB.tmp for collection 
E:\Web\worldwideguide\guides\verity\Guide_2_Pages\file
End of Error --

The contents of this update also do not show up in searches.

This is my CFINDEX:

CFINDEX collection=#ThisCollection#
action=Update
type=File
key=Page_#ThisPageID#.htm
CUSTOM1=#ThisPageURL#
CUSTOM2=#ThisPageID#
extensions=.htm
language=English 

Once this error occurs with a collection, I discovered that the only 
way I can correct it is to run the following code, taken in 
desperation from some sample CF code:

CFINDEX 
collection=#ThisCollection#
action=Refresh
type=PATH
key=#IndexDirectory#\
extensions=#IndexExtensions#
recurse=#IndexRecurse#
language=#IndexLanguage#  
urlPath=#URLPath#\verity\Guide#Dev#_#GuideID#_PageLinks

Once I run the sample code, which does a PATH indexing 
operation rather than a FILE operation, I can then re-run the first 
CFINDEX and repopulate my collection (via a loop, file by file). The 
first CFINDEX does NOT have the same corrective effect, even if I 
change it to a Refresh rather than an Update.

I've tried deleting, purging, repairing and optimizing, all to no avail. 
The only thing that seems to work is running the PATH-based 
refresh, then going back to my initial FILE-based indexing within a 
loop. The problem with that, of course, is that each time I must 
complete rebuild the collection, which will NOT be practical in the 
application I'm building.

This code is for a little spider-type search engine, which retrieves 
external Web pages via CFHTTP, saves each page temporarily for 
indexing, then replaces the contents of the file with a single line 
META redirect. Seems to work great for the files that actually get 
indexed, but whenever I move to another collection to index pages 
and then return to the first, the new additions to the first collection 
simply don't show up in searches and the errors shown above are 
recorded in the logs. 

I wondered if somehow Verity was balking because the original 
contents are replaced with the redirect, but I see the same problem 
even if I retain the original contents in the file that is indexed. I'm 
obviously doing something wrong...

One other thing: Doing a Purge always deletes ALL the data from 
the collection. Isn't that supposed to only remove data that has 
been marked for deletion? 

Any ideas greatly appreciated...

Gene Kraybill
LPW  Associates LLC
Mansfield, PA

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: Capture URL as Variable

2001-07-04 Thread Patricia Lee

cgi.query_string will return everything after the ? in a url.  combine that
with getfilefrompath (or other cgi variables that can return pretty much the
same info) and you should be able to do what you want.

|-Original Message-
|From: Andrew Peterson [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, July 03, 2001 4:14 PM
|To: CF-Talk
|Subject: Capture URL as Variable
|
|
|Hi,
|
|This is probably a dumb question. Let's say a user is visiting 
|a page on my
|site called
| www.mysite.com/homepage.cfm?memberid=123 and I want to 
|capture the template
|name and corresponding name/value pairs (in this case,
|homepage.cfm?memberid=123) into a variable? Is there a 
|function that does
|this? I can use GetFileFromPath(GetTemplatePath()) to get 
|homepage.cfm, but
|that leaves out everything after cfm. Basically, I want to create an
|application which will allow users to bookmark their favorites 
|on my site,
|so I need everything captured after the .com.
|
|Thanks for any help.
|
|Andrew
|
|
|
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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