RE: Cool CF site - webos.org

2000-12-19 Thread Nick Betts

Sorry for my ignorance, what is this +.htr bug and how do I remove the
extension from my global web properties?
Nick

-Original Message-
From: Gena [mailto:[EMAIL PROTECTED]]
Sent: 10 November 2000 00:50
To: CF-Talk
Subject: Re: Cool CF site - webos.org


  Tee hee, the old +.htr bug :)

 Yep. And just so nobody takes it lightly, it even affects IISv5 on Win2K
 Advance Server SP1 with CF4.5.1 and all the patches. Everybody: DELETE
YOUR
 ..HTR EXTENSION MAPPING FROM YOUR GLOBAL WEB PROPERTIES NOW!

It looks like everybody don't care about this. I sent a lot of messages to
all sites have this security hole but... didn't get any answer. Also noone
has changed their IIS setup.

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

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



RE: Cool CF site - webos.org

2000-12-19 Thread Allan Pichler

if you add +.htr to a url ... f.ex. http://beta.allaire.com/index.cfm+.htr
you can view the CFML source code instead of the HTML that you normally get.

You remove it by starting your IIS console, right click the name of your
computer, then click properties and find the MIME types. Select the .htr
extension and delete!

Hope it works for you (i'm actually not in front a server, so i'm not really
sure if i remember the IIS console correctly, but you should be able to
figure it out)

Allan Pichler
Machine Dreams Inc

-Original Message-
From: Nick Betts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 2:07 AM
To: CF-Talk
Subject: RE: Cool CF site - webos.org



Sorry for my ignorance, what is this +.htr bug and how do I remove the
extension from my global web properties?
Nick

-Original Message-
From: Gena [mailto:[EMAIL PROTECTED]]
Sent: 10 November 2000 00:50
To: CF-Talk
Subject: Re: Cool CF site - webos.org


  Tee hee, the old +.htr bug :)

 Yep. And just so nobody takes it lightly, it even affects IISv5 on Win2K
 Advance Server SP1 with CF4.5.1 and all the patches. Everybody: DELETE
YOUR
 ..HTR EXTENSION MAPPING FROM YOUR GLOBAL WEB PROPERTIES NOW!

It looks like everybody don't care about this. I sent a lot of messages to
all sites have this security hole but... didn't get any answer. Also noone
has changed their IIS setup.

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

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



Problem with IE and session management

2000-12-19 Thread Johan Coens

Hello all,

I've got a serious problem with IE and my applications. I've build a
maintenance system running on my server at a subdirectory located in the
wwwroot. The application which uses the content from the maintenancesystem
is located in another subdirectory in the wwwroot. Both applications use
sessionmanagement.

The situation is: I run the website in browser window 1, the maintenance
system in browser window 2. The problem is that as soon as I do something in
the website (I click on a link) my session disappears in my maintenance
system. This causes me to login.

This situation also happens when I am in the CFAdmin. When performing an
action in the CFAdmin (just click one of the links in the left) my session
disappears in my maintenance system.

This problem only occurs with Internet Explorer, Netscape is doing fine. I
don't want to pass the CFID and CFTOKEN all around my app. in the URL. I
know that solves the problem, but for that I have to rewrite all my code...

I passed the test with full lock checkings in the CFAdmin, so all my locking
is OK.

My question(s):
1. Has anyone experienced this behaviour of IE (and overcame the problem)
2. Why does my CFID and CFTOKEN get overwritten/replaced in IE and not in
Netscape
3. Why do my CFID and CFTOKEN only get overwritten in my maintenance system
and not in the CFAdmin (that's what I think because I don't have to login
again in the CFAdmin)
4. Does it have someting to do with including the application.cfm in
subdirectories of my application. example
/root/application.cfm (the root of my app)
/root/subdir/application.cfm (includes the root application.cfm)
etc.

Any help would be appreciated!

Kind regards,
Johan Coens

=
Ing. Johan Coens
theFactor.e
Friesestraatweg 215a
P.o. Box 2010 9704 CA Groningen
The Netherlands
Tel: +31 (0)50 57 57 888
Fax: +31 (0)50 57 57 889
http://www.thefactore.com

Premium Partner for Allaire Cold Fusion
Multimedia development with Macromedia Director, Authorware, Flash.

"Imagination is more important than knowledge. Knowledge is limited.
Imagination encircles the world."
Albert Einstein
=


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

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



LDAP testing

2000-12-19 Thread Marc Schipperheyn

Hi all,

I need to test CF with LDAP. Is there a proper free developer edition of the
software that I can use to write a cross-platform safe integration with? We
use Windows NT as our developer platform.

Kind regards,

Marc Schipperheyn

__theFactor.e__

_  .e  ___
mr M.Schipperheyn MBA
Technical Director___[EMAIL PROTECTED]
_  .e  ___
Friesestraatweg 215a
P.o. Box 2010__ tel: +31 (0)50 5757888
9704 CA Groningen__fax: +31 (0)50 5757889
The Netherlands http://www.thefactore.com
_  .e  ___

 Premium Partner for Allaire. Multimedia development
_   with Macromedia Director, Authorware  Flash.

 The future is technological, but it will not be a world of gray steel.






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

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



Locking session variables in CF 4.0

2000-12-19 Thread Barney Stevenson

I am confused by the knotty subject of locking session variables.

I know that it is recommended to lock all session variables in CF 4.5,
but should I be locking if I am developing for CF 4.0.  What will
happen if I don't implement locks?

Regards

Barney

=

Barney Stevenson 
77 Church Street 
Heaton Norris 
Stockport 
Cheshire
SK4 1JH 
United Kingdom 
+44(0)161 429 6675 
Pager: +44(0)7654 248701 
Fax: +44(0)870 831 0837 

"We work to become, not to acquire".  Elbert Hubbard
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: Locking session variables in CF 4.0

2000-12-19 Thread Nick Betts

Barney,
Session,application  server variables are not protected from simultaneous
read/write access.  Therefore you should always use CFLOCK tag when
readin/writing to thyese variable scopes.  If you don't, its possible that
several requests could occur at same time.  This could corrupt data or hang
CF server.

Nick Betts
Software Engineer
www.poulternet.com
Leeds,UK

-Original Message-
From: Barney Stevenson [mailto:[EMAIL PROTECTED]]
Sent: 19 December 2000 11:53
To: CF-Talk
Subject: Locking session variables in CF 4.0


I am confused by the knotty subject of locking session variables.

I know that it is recommended to lock all session variables in CF 4.5,
but should I be locking if I am developing for CF 4.0.  What will
happen if I don't implement locks?

Regards

Barney

=

Barney Stevenson 
77 Church Street 
Heaton Norris 
Stockport 
Cheshire
SK4 1JH 
United Kingdom 
+44(0)161 429 6675 
Pager: +44(0)7654 248701 
Fax: +44(0)870 831 0837 

"We work to become, not to acquire".  Elbert Hubbard
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: Locking session variables in CF 4.0

2000-12-19 Thread James Maltby

Depending on your use of variables within the site - it may cause "hanging"
of sessions variables, when people from the same network access the site.
For example, when we created a site in eleven different languages (using
session variables set via a log-in) people from the same company where
logging in and getting the site in Arabic or Chinese!  Use CFLock for this
reason alone - there are other reasons too though (which I am sure others
will bring up)

James

"You're a big man, but you're out of shape.  With me it's a full time job.
Now behave yourself."
 "Get Carter" 1964


-Original Message-
From: Barney Stevenson [mailto:[EMAIL PROTECTED]]
Sent: 19 December 2000 11:53
To: CF-Talk
Subject: Locking session variables in CF 4.0


I am confused by the knotty subject of locking session variables.

I know that it is recommended to lock all session variables in CF 4.5,
but should I be locking if I am developing for CF 4.0.  What will
happen if I don't implement locks?

Regards

Barney

=

Barney Stevenson 
77 Church Street 
Heaton Norris 
Stockport 
Cheshire
SK4 1JH 
United Kingdom 
+44(0)161 429 6675 
Pager: +44(0)7654 248701 
Fax: +44(0)870 831 0837 

"We work to become, not to acquire".  Elbert Hubbard
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: Locking session variables in CF 4.0

2000-12-19 Thread Johan Coens

Don't locking your application, session and server vars means crashing your
cfserver, overwriting session and application information from other running
applications. You are messing up your shared memory. This is why locking is
that important.

-Original Message-
From: Barney Stevenson [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 19 december 2000 12:53
To: CF-Talk
Subject: Locking session variables in CF 4.0


I am confused by the knotty subject of locking session variables.

I know that it is recommended to lock all session variables in CF 4.5,
but should I be locking if I am developing for CF 4.0.  What will
happen if I don't implement locks?

Regards

Barney

=

Barney Stevenson
77 Church Street
Heaton Norris
Stockport
Cheshire
SK4 1JH
United Kingdom
+44(0)161 429 6675
Pager: +44(0)7654 248701
Fax: +44(0)870 831 0837

"We work to become, not to acquire".  Elbert Hubbard
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: Problem with IE and session management

2000-12-19 Thread Philip Arnold - ASP

IE 5.5 has serious problems with temporary cookies

I'm currently trying to find a setting to get them to work properly, but
having no luck at the moment - maybe someone else has solved it here

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

"Websites for the real world"

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


 -Original Message-
 From: Johan Coens [mailto:[EMAIL PROTECTED]]
 Sent: 19 December 2000 11:09
 To: CF-Talk
 Subject: Problem with IE and session management


 Hello all,

 I've got a serious problem with IE and my applications. I've build a
 maintenance system running on my server at a subdirectory located in the
 wwwroot. The application which uses the content from the maintenancesystem
 is located in another subdirectory in the wwwroot. Both applications use
 sessionmanagement.

 The situation is: I run the website in browser window 1, the maintenance
 system in browser window 2. The problem is that as soon as I do
 something in
 the website (I click on a link) my session disappears in my maintenance
 system. This causes me to login.

 This situation also happens when I am in the CFAdmin. When performing an
 action in the CFAdmin (just click one of the links in the left) my session
 disappears in my maintenance system.

 This problem only occurs with Internet Explorer, Netscape is doing fine. I
 don't want to pass the CFID and CFTOKEN all around my app. in the URL. I
 know that solves the problem, but for that I have to rewrite all
 my code...

 I passed the test with full lock checkings in the CFAdmin, so all
 my locking
 is OK.

 My question(s):
 1. Has anyone experienced this behaviour of IE (and overcame the problem)
 2. Why does my CFID and CFTOKEN get overwritten/replaced in IE and not in
 Netscape
 3. Why do my CFID and CFTOKEN only get overwritten in my
 maintenance system
 and not in the CFAdmin (that's what I think because I don't have to login
 again in the CFAdmin)
 4. Does it have someting to do with including the application.cfm in
 subdirectories of my application. example
 /root/application.cfm (the root of my app)
 /root/subdir/application.cfm (includes the root application.cfm)
 etc.

 Any help would be appreciated!

 Kind regards,
 Johan Coens

 =
 Ing. Johan Coens
 theFactor.e
 Friesestraatweg 215a
 P.o. Box 2010 9704 CA Groningen
 The Netherlands
 Tel: +31 (0)50 57 57 888
 Fax: +31 (0)50 57 57 889
 http://www.thefactore.com

 Premium Partner for Allaire Cold Fusion
 Multimedia development with Macromedia Director, Authorware, Flash.

 "Imagination is more important than knowledge. Knowledge is limited.
 Imagination encircles the world."
 Albert Einstein
 =



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

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



RE: looping over structures

2000-12-19 Thread Dan G. Switzer, II

Jon,

This method does work, but there's a more efficient and faster way to
process this. Instead of using the Evaluate() function, use either of the
following two methods:

cfloop collection="#parentStructure#" item="key"
cfloop collection="#parentStructure[key]#" item="key2"
cfoutput#key2# #parentStructure[key][key2]#/cfoutputbr
/cfloop
/cfloop

or

cfloop collection="#parentStructure#" item="key"
cfloop collection="#parentStructure[key]#" item="key2"
cfoutput#key2# #StructFind(parentStructure[key],
key2)#/cfoutputbr
/cfloop
/cfloop

The Evaluate() function is very CPU expensive, and it's best to try and
avoid using it when possible.

-Dan
++---+
|   name | Dan G. Switzer, II|
|company | PengoWorks.com|
|www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED]   |
++---+


-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 6:38 PM
To: CF-Talk
Subject: looping over structures

Well I had a problem, but as I was typing the below I figured it out.
Instead of deleting my email though, I thought I would send it anyway in
case this helps anyone else with nested structures...

I have a set of nested structures that I dynamically create from a query, so
I only know the top level structure name.
I need to know the values of the nasted structure keys are with out knowing
the structures name. I'll do a quick example.

cfset parentStructure = StructNew()
cfloop...
cfset temp = StructNew()
cfset temp[keyval1] = 1
cfset temp[keyval2] = 2
...and so on
cfset parentStructure[keyval1] = temp
/cfloop

So I have nested the structures now and I can refer to the key values if I
know what the value of 'keyval1' is.
I can also get a list of all of the keys in 'parentStructure' with
StructKeyList().

My problem was that when I looped over the StructKeyList and then using that
value in my second loop over the collection, the variable was not evaluating
correctly.

cfloop list="StructKeyList(parentStructure)" index="struct"
cfloop collection="#parentStructure[struct]#" item="key"

This is where I had my problem. Dot Notation does not work in the second
collection loop, and looping over the StructKeyList was unnecessary.

Here is what works very well.

cfloop collection="#parentStructure#" item="key"
cfloop collection="#parentStructure[key]#" item="key2"
cfoutput#key2# #evaluate("parentStructure"  "."  "#key#"  "." 
"#key2#")#/cfoutputbr
/cfloop
/cfloop

Anyway, my problem is solved. If anyone has a better way to do this, I'm all
ears

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

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



RE: was cookies

2000-12-19 Thread Lonny Eckert

-Original Message-
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 7:29 AM
To: CF-Talk
Subject: RE: Problem with IE and session management


IE 5.5 has serious problems with temporary cookies

I'm currently trying to find a setting to get them to work properly, but
having no luck at the moment - maybe someone else has solved it here

Not sure what exactly what your difficulty is but I also had some
difficulties using them in a site we just finished using the fusebox
methodology.

Not sure if this is pertinant, but I had done a search in the Allaire
support section and noted that:
1) cookies are not set till the end of interpreting a cfm file
2) because of that CFLOCATION impacts whether or not a cookie is set


Lonny Eckert
Hesta Corporation
[EMAIL PROTECTED]
Hesta 610-230-2500 x147


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

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



CFAS Scheduler

2000-12-19 Thread paul smith

Until now, I've never had problems with CFAS Scheduler.

Now I do.  The template executes when I do it manually.  But not when CFAS 
Scheduler is supposed to execute it.  But the CFAS Scheduler log indicates 
it was executed.  How is this possible?

best,  paul


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

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



RE: LDAP testing

2000-12-19 Thread mherbene

There is a free open-source-ish ldap server available from www.openldap.org.
It currently runs on various unices; I have gotten it to work in the past
via CF but am not currently using it (or any other ldap server).  

Here is what looks like a port of the previous to NT by Qualcomm:

http://www.eudora.com/free/ldap.html



-Original Message-
From: Marc Schipperheyn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 6:36 AM
To: CF-Talk
Subject: LDAP testing


Hi all,

I need to test CF with LDAP. Is there a proper free developer edition of the
software that I can use to write a cross-platform safe integration with? We
use Windows NT as our developer platform.

Kind regards,

Marc Schipperheyn

__theFactor.e__

_  .e  ___
mr M.Schipperheyn MBA
Technical Director___[EMAIL PROTECTED]
_  .e  ___
Friesestraatweg 215a
P.o. Box 2010__ tel: +31 (0)50 5757888
9704 CA Groningen__fax: +31 (0)50 5757889
The Netherlands http://www.thefactore.com
_  .e  ___

 Premium Partner for Allaire. Multimedia development
_   with Macromedia Director, Authorware  Flash.

 The future is technological, but it will not be a world of gray steel.

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

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



RE: CFAS Scheduler

2000-12-19 Thread Adkins, Randy

By chance is it behind an odd port? 
CFSchedule runs on Port 80.

We had it at one time running the templates
on Port 8088 and it would indicate in the
log file as it ran but nothing happens.

If I ran it locally it was fine.

Check the port to make sure.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 8:50 AM
To: CF-Talk
Subject: CFAS Scheduler


Until now, I've never had problems with CFAS Scheduler.

Now I do.  The template executes when I do it manually.  But not when CFAS 
Scheduler is supposed to execute it.  But the CFAS Scheduler log indicates 
it was executed.  How is this possible?

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

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



Avg AS/400 Query time

2000-12-19 Thread Robert Everland

I am doing a lot of AS/400 integration with CF and was wondering
what some other people on the list usually get for avg query time. My query
time is rather high and was wondering if anyone has found some tricks, got
the ole db to work right, or any other enhancements that could help speed
things up.

Robert Everland III
Web Developer
Dixon Ticonderoga

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

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



RE: Anyone else had this problem before?

2000-12-19 Thread bflynn

Do you mean in the source or the displayed HTML?  I'm not sure of the
question.

If you mean the source, look at your cfoutput statement as being a loop.
Every time your code goes through the loop, it executes the code as if there
were multiple lines.  The line that contains the CFOUTPUT doesn't count.
So, when you read 100 lines from the query, you get 100 carriage returns in
your HTML source.  There are ways to correct this, but they usually result
in less readable CFML.  Personally, I'm not all that worried about what the
source code looks like.  I'd rather have readable CFML than readable HTML.
If you'll post some code, it should be apparent if this is the case.

Brian

-Original Message-
From: t nelson [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 7:48 PM
To: CF-Talk
Subject: Anyone else had this problem before?


hi all,

i was just wondering if anyone had run into this problem before and what you

did they do to solve it? I have a table which i populated using cfoutput 
basically the user can go through a given number of records, 25 at a time 
(in reality they can select more this is just an example). then they can 
cycle through each record until they have gone through all 500 records.

here is the problem, every time the user brings up the next 25 records my 
td gets pushed down on the page. by the time you get to record 200 out of 
500, the td is about half way down the page with a huge space in between 
my td border and the actual data. I checked my html to see if i was adding

in an extra td tag or maybe an extra br but the html is clean. i have 
also debugged the hell out of my cfml and it's clean as well. we did utilize

a css but i took that out but i am still getting the same results.

i'm stumped are there any ideas out there?

thanks in advance.

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

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



Re: Cool CF site - webos.org

2000-12-19 Thread Jamie Keane

The fact that they don't have the +.htr bug patched.  Very interesting.

Cheers,
Jamie

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-Original Message-
From: Gena [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Date: Monday, December 18, 2000 5:41 PM
Subject: Re: Cool CF site - webos.org


Pardon,

do you mean this web site or my message???

Regards


- Original Message -
From: "Jamie Keane" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 9:20 AM
Subject: Re: Cool CF site - webos.org


 *ROFL*

 That's the funniest thing I've seen this month!

 --
 Jamie Keane
 Programmer
 SolutionMasters, Inc.
 9111 Monroe Rd., Suite 100
 Charlotte, NC  28270
 www.solutionmasters.com
 704.563.5559 x 228  Voice
 704.849.9291  Fax
 -Original Message-
 From: Gena [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Date: Monday, December 18, 2000 4:54 PM
 Subject: Re: Cool CF site - webos.org


 And what is cool on this site? I found only one thing - it is possible
to
 get all source code from this URL. It is not cool.
 
 - Original Message -
 From: "Eric Fickes" [EMAIL PROTECTED]
 To: "CF-Talk" [EMAIL PROTECTED]
 Sent: Tuesday, December 19, 2000 8:00 AM
 Subject: Cool CF site - webos.org
 
 
  Hello all,
 
  I was wondering if any of you have seen/used www.webos.org yet?  I
 noticed
  that it's using CF, so I was hoping that some of you may have an
answer
 to
  my question.  WebOs emulates a desktop, and pops up windows within one
 large
  parent window.  I would love to do this on my inhouse site for
navigation
  and was wondering if any of you knew how to do this.
 
  E
 
 
 
 


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

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



RE: Bulk Insert?

2000-12-19 Thread bflynn

I believe the answer is nomainly because there is no way in SQL to
insert multiple rows at once.  Even the batch loaders such as SQL*Loader
only do it one row at a time.

Beyond that, there is also no way to access all the data inside an array
without looping over each row.

Brian

-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 9:23 PM
To: CF-Talk
Subject: Bulk Insert?


I am wondering if anyone knows of any way to dump the entire contents of an
array into a table without having to loop over an insert query?

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

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



RE: LDAP testing

2000-12-19 Thread mherbene

Got curious - it looks like netscape/iplanet have a "eval" LDAP server that
runs on NT available for download:

http://www.iplanet.com/downloads/download/0103.html



-Original Message-
From: Marc Schipperheyn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 6:36 AM
To: CF-Talk
Subject: LDAP testing


Hi all,

I need to test CF with LDAP. Is there a proper free developer edition of the
software that I can use to write a cross-platform safe integration with? We
use Windows NT as our developer platform.

Kind regards,

Marc Schipperheyn

__theFactor.e__

_  .e  ___
mr M.Schipperheyn MBA
Technical Director___[EMAIL PROTECTED]
_  .e  ___
Friesestraatweg 215a
P.o. Box 2010__ tel: +31 (0)50 5757888
9704 CA Groningen__fax: +31 (0)50 5757889
The Netherlands http://www.thefactore.com
_  .e  ___

 Premium Partner for Allaire. Multimedia development
_   with Macromedia Director, Authorware  Flash.

 The future is technological, but it will not be a world of gray steel.

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

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



RE: StartRow / MaxRow with Grouping

2000-12-19 Thread bflynn

In your CFOutput, use an if statement to detect when the query record num is
odd.  When it is, print a /td/trtrtd to move to the next row of the
table.

Rather than
cfoutput
tr
  td#print data#/td
  td#print data#/td
/tr
/cfoutput

Use:

trtd
cfoutput
  #print data#/tdtd
  cfif query record num mod 2 = 1/td/trtrtd/cfif
/cfoutput
/td/tr

A few extra table cells in there, but I'm sure its not that difficult to
clean up if you really need to.

Brian


-Original Message-
From: David Hannum [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 9:44 PM
To: CF-Talk
Subject: StartRow / MaxRow with Grouping


Hello,

I have a calendar of events that I am separating into two columns.  I am
grouping by the month.  I want to place  half of the months that have events
(not every month has events scheduled) into the left column and the rest
into the right.  How can I group the output by month, then control the
MAXROWS.  Problem is, STARTROW/MAXROWS count the actual events (those are
the rows) and I do not get the distribution I want.

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

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



RE: Cool CF site - webos.org

2000-12-19 Thread Milks, Jim

Not to beat this to death, but what was "So Cool" in the original post? I
just see a plain old vanilla site...

Jim

-Original Message-
From: Allan Pichler [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 5:25 AM
To: CF-Talk
Subject: RE: Cool CF site - webos.org


if you add +.htr to a url ... f.ex. http://beta.allaire.com/index.cfm+.htr
you can view the CFML source code instead of the HTML that you normally get.

You remove it by starting your IIS console, right click the name of your
computer, then click properties and find the MIME types. Select the .htr
extension and delete!

Hope it works for you (i'm actually not in front a server, so i'm not really
sure if i remember the IIS console correctly, but you should be able to
figure it out)

Allan Pichler
Machine Dreams Inc

-Original Message-
From: Nick Betts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 2:07 AM
To: CF-Talk
Subject: RE: Cool CF site - webos.org



Sorry for my ignorance, what is this +.htr bug and how do I remove the
extension from my global web properties?
Nick

-Original Message-
From: Gena [mailto:[EMAIL PROTECTED]]
Sent: 10 November 2000 00:50
To: CF-Talk
Subject: Re: Cool CF site - webos.org


  Tee hee, the old +.htr bug :)

 Yep. And just so nobody takes it lightly, it even affects IISv5 on Win2K
 Advance Server SP1 with CF4.5.1 and all the patches. Everybody: DELETE
YOUR
 ..HTR EXTENSION MAPPING FROM YOUR GLOBAL WEB PROPERTIES NOW!

It looks like everybody don't care about this. I sent a lot of messages to
all sites have this security hole but... didn't get any answer. Also noone
has changed their IIS setup.

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

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



RE: Avg AS/400 Query time

2000-12-19 Thread Simon Horwith

I haven't worked much at all with AS400 and ColdFusion together, but I do
have a strong AS400 background, and would certainly appreciate hearing a
little about what you're doing and/or what fixes/tips/tricks you encounter
in dealing with AS400 databases from CF.  You can e-mail me offline if you
prefer.

~Simon

 Simon Horwith
 Certified ColdFusion Instructor
 Certified ColdFusion Developer
 Fig Leaf Software
 1400 16th St NW, # 220
 Washington DC 20036
 202.797.6570 (direct line)
 www.figleaf.com
 


-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 9:01 AM
To: CF-Talk
Subject: Avg AS/400 Query time


I am doing a lot of AS/400 integration with CF and was wondering
what some other people on the list usually get for avg query time. My query
time is rather high and was wondering if anyone has found some tricks, got
the ole db to work right, or any other enhancements that could help speed
things up.

Robert Everland III
Web Developer
Dixon Ticonderoga
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



emailto?

2000-12-19 Thread Robert Orlini

I have an application.cfm file that generates an alternate page when it
detects an error with an OBDC connection. The application file contains the
following:

!--- Error template ---
CFERROR TYPE="REQUEST" TEMPLATE="/_emergency/defaultx.htm"
mailto="[EMAIL PROTECTED]"

Everything works OKthat is I get the alternate error page template that
I have requested above, but I don't receive an email. When this error page
appears when do I get this email that I specify in the "emailto=" above? Is
there something else in CF I have to setup. I know the web serve sends out
emails because when I use CF in forms, CF emails the customer replies w/no
problem.

Any suggestions please? 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: Multiple Application.cfm files

2000-12-19 Thread W Luke

Thanks Seamus...ya learn something new every day :)


Will

- Original Message -
From: "Seamus Campbell" [EMAIL PROTECTED]
Newsgroups: dotcom.lists.cftalk
Sent: Tuesday, December 19, 2000 12:41 AM
Subject: RE: Multiple Application.cfm files


 I had similar errors a while ago - they happened if I had 2 different
 Cfapplication
 name=...'s in my cfapplication.cfm
 Don't know if this helps
 Seamus


 At 11:21 AM 19/12/00 , you wrote:

 CF looks in the current folder for a application.cfm file, if it doesn't
 find one it'll step back one (IE: cd ..) and look for it ... etc etc etc
 
 So yes ... it's very possible to have multiple application.cfm files
 
 As far as the error goes  i have no clue ... SORRY!
 
 -Allan
 
 -Original Message-
 From: W Luke [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 18, 2000 3:40 PM
 To: CF-Talk
 Subject: Multiple Application.cfm files
 
 
 Hello,
 
 I'm going to be coding "sub-sites" of my current website in the form of
 "newsite.mydomain.com."  Beforehand and in development I'm just using
 directories off my root in htdocs.  I did a test by including a new
 application.cfm file in my new directory, renaming the Cfapplication
 name=... attribute, but came across an error, pasted below.  Is it
 possible - and if not, what do I do - to have more than one
Application.cfm?
 
 Error:
 
 Server busy or unable to fulfill request. The server is unable to fulfill
 your request due to extremely high traffic or an unexpected internal
error.
 Please attempt your request again (if you are repeatedly unsuccessful you
 should notify the site administrator). (Location Code: 25)
 
 
 
 Thanks
 
 
 
 Will
 

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

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



RE: CFAS Scheduler

2000-12-19 Thread paul smith

No, I wouldn't think port number is the problem.
I have another task that CFAS Scheduler has run
every hour for many months.

Is there any thought that CFAS 4.5.1 fixed the
Scheduler?

best,  paul

At 08:56 AM 12/19/00 -0500, you wrote:
By chance is it behind an odd port?
CFSchedule runs on Port 80.

We had it at one time running the templates
on Port 8088 and it would indicate in the
log file as it ran but nothing happens.

If I ran it locally it was fine.

Check the port to make sure.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 8:50 AM
To: CF-Talk
Subject: CFAS Scheduler


Until now, I've never had problems with CFAS Scheduler.

Now I do.  The template executes when I do it manually.  But not when CFAS
Scheduler is supposed to execute it.  But the CFAS Scheduler log indicates
it was executed.  How is this possible?


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

2000-12-19 Thread Edward Chanter

Greetings CF Gurus,

Has anyone tried any of the SMS service providers to send SMS messages from
Cold Fusion apps I'm mainly interested in any experiences or
recommendations any of you may have... We're currently evaluating the Quios
service as one of our options

Any assistance would be most appreciated.

-= Edward

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

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



Multiple submits

2000-12-19 Thread Jon Gage

Does anybody have any suggestions for preventing users from hitting a submit
button multiple times?

Thanks,
Jon


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

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



RE: emailto?

2000-12-19 Thread cftalk


The MailTo parameter of CFERROR  does not send an email when an error
occurs, all it does is provide an Email Link that the user can click to send
and email.

To Access and display this email address use #Error.MailTo# in the Error
template

HTH

Mike

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 15:34
To: CF-Talk
Subject: emailto?


I have an application.cfm file that generates an alternate page when it
detects an error with an OBDC connection. The application file contains the
following:

!--- Error template ---
CFERROR TYPE="REQUEST" TEMPLATE="/_emergency/defaultx.htm"
mailto="[EMAIL PROTECTED]"

Everything works OKthat is I get the alternate error page template that
I have requested above, but I don't receive an email. When this error page
appears when do I get this email that I specify in the "emailto=" above? Is
there something else in CF I have to setup. I know the web serve sends out
emails because when I use CF in forms, CF emails the customer replies w/no
problem.

Any suggestions please? 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: Avg AS/400 Query time

2000-12-19 Thread Robert Everland

Well what I have been using so far is Client Access 4 to communicate
with the AS/400 but what I have been messing around lately is trying to mess
with existing queries to speed them up because going to cold fusion the
average query time is around 2000ms which is pretty long. Though with
rewriting the queries I have gotten the cache time down to around 300ms it
is still kind of long. I was able to add the oledb to CF but it didn't have
the translating turned on so that didn't work out so good. With the
rewriting of queries I have been trying to write the joins at the end
instead of the beginning because they are such huge databases, that has
helped a little but not enough with that I am happy with the speed. So if
anyone out there has gotten the oledb to work or anything I would appreciate
hearing it, though I may mess with some ADO to see if I can get that to
work, but at the same time I didn't see an option to translate.

Robert Everland III
Web Developer
Dixon Ticonderoga


-Original Message-
From: Simon Horwith [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 9:43 AM
To: CF-Talk
Subject: RE: Avg AS/400 Query time


I haven't worked much at all with AS400 and ColdFusion together, but I do
have a strong AS400 background, and would certainly appreciate hearing a
little about what you're doing and/or what fixes/tips/tricks you encounter
in dealing with AS400 databases from CF.  You can e-mail me offline if you
prefer.

~Simon

 Simon Horwith
 Certified ColdFusion Instructor
 Certified ColdFusion Developer
 Fig Leaf Software
 1400 16th St NW, # 220
 Washington DC 20036
 202.797.6570 (direct line)
 www.figleaf.com
 


-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 9:01 AM
To: CF-Talk
Subject: Avg AS/400 Query time


I am doing a lot of AS/400 integration with CF and was wondering
what some other people on the list usually get for avg query time. My query
time is rather high and was wondering if anyone has found some tricks, got
the ole db to work right, or any other enhancements that could help speed
things up.

Robert Everland III
Web Developer
Dixon Ticonderoga
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.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?? AND X-Mailer: field

2000-12-19 Thread Andrea Wasik(CancerSource)

Ok Aaron thanks - now the next obvious question is what is the best thing to
put in that mailerid attribute so that the majority of mailservers will
accept it?

Andrea

-Original Message-
From: Aaron Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 1:57 PM
To: [EMAIL PROTECTED]
Cc: Andrea Wasik(CancerSource)
Subject: RE: cfmail?? AND X-Mailer: field


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Andrea,

In CF 4.0  4.5, in your cfmails, you can use the following:

cfmail
to="..."
from="..."
mailerid="whatever_you_want_here"

Aaron Johnson, MCSE, MCP+I
Allaire Certified ColdFusion Developer
MINDSEYE, Inc.
phn617.350.0339
fax617.350.8884
icq66172567
[EMAIL PROTECTED]

___
"Never forget that only dead fish swim with 
the stream." -- Malcolm Muggeridge
___


- -Original Message-
From: Andrea Wasik(CancerSource) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 1:51 PM
To: CF-Talk
Subject: RE: cfmail?? AND X-Mailer: field


I remember something about one of the header fields generated by CF
is
unacceptable to some mail servers. I am running 4.0, and I will be
upgrading
to 4.5.x in the sort of near future, (although maybe that does not
affect
this particular mail concern). I believe the header field/value I am
talking
about it:

X-Mailer: Allaire ColdFusion Application Server

Is there any way to change that or somehow make it acceptable to
those mail
servers who don't like it?

Thanks,

Andrea Wasik
Sr. Web Developer
CancerSource.com
978-579-8155



- -Original Message-
From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 05, 2000 4:15 PM
To: CF-Talk
Subject: Re: cfmail??


Do you have a valid from address.  The from address has to be valid
in order
for it to work.
- - Original Message -
From: "ibtoad" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, December 05, 2000 10:15 AM
Subject: cfmail??


 If my smtp is set up ok and verified in my local Cf administrator,
 why is 
my
 email being placed in the undeliverable folder when I run a
 cfmail tag? 

 Thanks,
 Rich



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

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



Re: Cool CF site - webos.org

2000-12-19 Thread Todd Ashworth

The cool part is how they use javascript/java/dhtml/whatever to emulate a
desktop environment.  You have to go to their products and sign up for a
demo.  It looks sort-of like a cross between a KDE, Mac and BeOS.  It is
pretty slick, though It's a little too slow for mainstream use, IMO.

Todd Ashworth

- Original Message -
From: "Milks, Jim" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 9:41 AM
Subject: RE: Cool CF site - webos.org


| Not to beat this to death, but what was "So Cool" in the original post? I
| just see a plain old vanilla site...
|
| Jim
|
| -Original Message-
| From: Allan Pichler [mailto:[EMAIL PROTECTED]]
| Sent: Tuesday, December 19, 2000 5:25 AM
| To: CF-Talk
| Subject: RE: Cool CF site - webos.org
|
|
| if you add +.htr to a url ... f.ex. http://beta.allaire.com/index.cfm+.htr
| you can view the CFML source code instead of the HTML that you normally
get.
|
| You remove it by starting your IIS console, right click the name of your
| computer, then click properties and find the MIME types. Select the .htr
| extension and delete!
|
| Hope it works for you (i'm actually not in front a server, so i'm not
really
| sure if i remember the IIS console correctly, but you should be able to
| figure it out)
|
| Allan Pichler
| Machine Dreams Inc
|
| -Original Message-
| From: Nick Betts [mailto:[EMAIL PROTECTED]]
| Sent: Tuesday, December 19, 2000 2:07 AM
| To: CF-Talk
| Subject: RE: Cool CF site - webos.org
|
|
|
| Sorry for my ignorance, what is this +.htr bug and how do I remove the
| extension from my global web properties?
| Nick
|
| -Original Message-
| From: Gena [mailto:[EMAIL PROTECTED]]
| Sent: 10 November 2000 00:50
| To: CF-Talk
| Subject: Re: Cool CF site - webos.org
|
|
|   Tee hee, the old +.htr bug :)
| 
|  Yep. And just so nobody takes it lightly, it even affects IISv5 on Win2K
|  Advance Server SP1 with CF4.5.1 and all the patches. Everybody: DELETE
| YOUR
|  ..HTR EXTENSION MAPPING FROM YOUR GLOBAL WEB PROPERTIES NOW!
|
| It looks like everybody don't care about this. I sent a lot of messages to
| all sites have this security hole but... didn't get any answer. Also noone
| has changed their IIS setup.
|
| Regards
|
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: [Compress HTML output]

2000-12-19 Thread Orlando Correa \(ITSC\)

Hey Zach...

After some testing... I implemented your code to test compression of a
particularly large html file with some encouraging results... The
uncompressed page was 165K and took 391 milliseconds to excute.  The
compressed page is 20K with an added server overhead of around 375K
milliseconds... The savings in download time for the html, in this case,
warrent further explortion of compressing certain "heavy" pages (87.8%
compression on level 7).  Thanks dude!  Pretty slick.

I've hacked on your code a bit to test it in our development enviornment...

cfif ThisTag.ExecutionMode EQ "Start"
  cfset start_time=gettickcount()
/cfif

cfif ThisTag.ExecutionMode EQ "END"
  !--- Sane defaults: ---
  cfparam name="Attributes.Level" default="9"
  cfparam name="Attributes.Unique" default="#RandRange(1,1000)#"
  cfparam name="Attributes.Directory" default="c:\temp"

  !--- set temp dir ---
  cfset dir_compress = Attributes.Directory

  cfif not IsDefined("application.IsDir")
!--- check if the directory exists ---
cfdirectory name="qry_checkdir" directory="#dir_compress#"
action="LIST"

!--- if it doesn't exist, create new directory #dir_compress# ---
cfif not qry_checkdir.recordcount
 cfdirectory action="CREATE" directory="#dir_compress#"
/cfif

!--- set IsDir flag for by-passing directory check ---
cflock scope="application" timeout="10"
  cfset application.IsDir = 1
/cflock
  /cfif


  !--- Setup path  filename for tempfiles: ---
  cfset RawHTMLFile =
"#dir_compress##listlast(cgi.script_name,"/")#_#Attributes.Unique#_#RandRang
e(1,100)#.out"
  cfset GZippedFile =
"#dir_compress##listlast(cgi.script_name,"/")#_#Attributes.Unique#_#RandRang
e(1,100)#.in"

  !--- Grab the generated content and write it out to a tempfile.---
  cfset end_time=gettickcount()
  cfset time = end_time-start_time  "Milliseconds"
  cfset Content = Trim(ThisTag.GeneratedContent)  time
  cffile action="WRITE" file="#RawHTMLFile#" output="#Content#"

  !--- Compress the tempfile to another tempfile ---
  cfx_GZip action="GZIP" InFile="#RawHTMLFile#" OutFile="#GZippedFile#"
level="#Attributes.Level#"
  cffile action="delete" file="#RawHTMLFile#"

  !--- Setup the headers and write the mess back out to the client
w/CFCONTENT ---
  cfset ThisTag.GeneratedContent = ""
  cfheader name="Content-Encoding" value="gzip"
  cfcontent file="#GZippedFile#" deletefile="Yes" type="text/html"
/cfif

-Original Message-
From: Zachary Bedell [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 2:20 PM
To: CF-Talk
Subject: RE: [Compress HTML output]


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 compression is a web server issue NOT CF.

That's true, but it doesn't mean you can't do it in CF...

Below is a custom tag that will do just that, provided you have
CFX_GZip installed (freely downloadable from the tag gallery).

I'm not sure whether the savings in bandwidth is worth the additional
processor power (anyone wanna run tests?), but it's still nifty...

One place this would really be a savings:  If you already use
CFCACHE, you should be able to modify the CFCache tag to also do
compression before it saves a file.  That way you only need to
compress the file once, and you get the processor savings of CFCache
AND the bandwidth savings of compression.

I'll probably post this tag to the tag gallery once I beat on it for
a little longer.  In the meantime, enjoy...

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com
Comment: Please use PGP!

iQA/AwUBOj5/Z6vhLS1aWPxeEQKSRwCg+iRBf/fA8Y72IbopUMF0kM6NEkkAnj+k
wwQDQrb5RkIfgaFn1TRaW8Ub
=4/Jb
-END PGP SIGNATURE-

!--- CF_GZipPage
Make sure this tag surrounds the ENTIRE page.  It will GZIP the
GeneratedContent using
CFX_GZip and modify the browser headers so that the browser can
decode it.

Anything that falls outside of the start and end tag for this
tag
will be ignored and never
seen by the client.

Parameters (All are optional):
Level:  The GZip Compression Level, 0 is lowest
compression
(biggest size, least processor usage),
9 is highest compression (smallest size,
greatest
processor usage)
Unique: If you'd prefer something more unique than a
second
random number for tempfiles, specify it here
Make sure the contents of the variable are all
valid
in a filename.

CopyLeft 2000 Zachary Bedell [EMAIL PROTECTED]

You may use this code as you wish provided I retain credit in
the
comments or elsewhere.

No Warrenty.  If it breaks, you get to keep both pieces
 -ZSB 18-Dec-2000
---
cfif ThisTag.ExecutionMode EQ "END"
!--- Sane defaults: ---
cfparam name="Attributes.Level" default="9"
cfparam name="Attributes.Unique"
default="#RandRange(1,1000)#"

!--- Setup path  filename for tempfiles: ---
cfset RawHTMLFile =

Re: emailto?

2000-12-19 Thread Keith C. Ivey

Robert Orlini [EMAIL PROTECTED] wrote:

 CFERROR TYPE="REQUEST" TEMPLATE="/_emergency/defaultx.htm"
 mailto="[EMAIL PROTECTED]"
 
 Everything works OKthat is I get the alternate error page
 template that I have requested above, but I don't receive an
 email. When this error page appears when do I get this email
 that I specify in the "emailto=" above?

You're misunderstanding the MAILTO (note: not EMAILTO) 
attribute for CFERROR.  The documentation doesn't say that it 
causes any e-mail notification.  All it does is set the 
Error.Mailto variable, which you can use in your custom error 
page.

Keith C. Ivey [EMAIL PROTECTED]
Webmaster, EEI Communications
66 Canal Center Plaza, Suite 200
Alexandria, VA  22314
Telephone:  703-683-0683
Fax:  703-683-4915
Web Site:  http://www.eeicommunications.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: Multiple submits

2000-12-19 Thread bflynn

A few:

 - On your form page, you should be able to use Javascript to do this too.
When onSubmit fires, disable the button, then use onChange on every field to
enable the button.
 - On your action page, do a lookup first to see if the data has already
been submitted.
 - You may be able to prevent the page from caching, or use Javascript to
remove it from the history.
 - Cut off both of the user's hands?

Brian

-Original Message-
From: Jon Gage [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 9:57 AM
To: CF-Talk
Subject: Multiple submits


Does anybody have any suggestions for preventing users from hitting a submit
button multiple times?

Thanks,
Jon
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.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?? AND X-Mailer: field

2000-12-19 Thread Aaron Johnson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrea,

Just use what your Exchange Server is sending:

Internet Mail Service (5.5.2650.21)

AJ


Aaron Johnson, MCSE, MCP+I
Allaire Certified ColdFusion Developer
MINDSEYE, Inc.
phn617.350.0339
fax617.350.8884
icq66172567
[EMAIL PROTECTED]

___
"Never forget that only dead fish swim with 
the stream." -- Malcolm Muggeridge
___


- -Original Message-
From: Andrea Wasik(CancerSource) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 9:57 AM
To: Aaron Johnson; [EMAIL PROTECTED]
Subject: RE: cfmail?? AND X-Mailer: field


Ok Aaron thanks - now the next obvious question is what is the best
thing to
put in that mailerid attribute so that the majority of mailservers
will
accept it?

Andrea

- -Original Message-
From: Aaron Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 1:57 PM
To: [EMAIL PROTECTED]
Cc: Andrea Wasik(CancerSource)
Subject: RE: cfmail?? AND X-Mailer: field


- -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Andrea,

In CF 4.0  4.5, in your cfmails, you can use the following:

cfmail
to="..."
from="..."
mailerid="whatever_you_want_here"

Aaron Johnson, MCSE, MCP+I
Allaire Certified ColdFusion Developer
MINDSEYE, Inc.
phn617.350.0339
fax617.350.8884
icq66172567
[EMAIL PROTECTED]

___
"Never forget that only dead fish swim with 
the stream." -- Malcolm Muggeridge
___


- - -Original Message-
From: Andrea Wasik(CancerSource) [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 1:51 PM
To: CF-Talk
Subject: RE: cfmail?? AND X-Mailer: field


I remember something about one of the header fields generated by CF
is
unacceptable to some mail servers. I am running 4.0, and I will be
upgrading
to 4.5.x in the sort of near future, (although maybe that does not
affect
this particular mail concern). I believe the header field/value I am
talking
about it:

X-Mailer: Allaire ColdFusion Application Server

Is there any way to change that or somehow make it acceptable to
those mail
servers who don't like it?

Thanks,

Andrea Wasik
Sr. Web Developer
CancerSource.com
978-579-8155



- - -Original Message-
From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 05, 2000 4:15 PM
To: CF-Talk
Subject: Re: cfmail??


Do you have a valid from address.  The from address has to be valid
in order
for it to work.
- - - Original Message -
From: "ibtoad" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, December 05, 2000 10:15 AM
Subject: cfmail??


 If my smtp is set up ok and verified in my local Cf administrator,
 why is 
my
 email being placed in the undeliverable folder when I run a
 cfmail tag? 

 Thanks,
 Rich



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

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



RE: Multiple submits

2000-12-19 Thread Cornillon, Matthieu

Add this to the input tag:

onclick="return confirm('You better not dare click that button a second
time, OK?')"

;-)

I'm interested in an answer to this question as well.

Matthieu

 -Original Message-
 From: Jon Gage [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 19, 2000 9:57 AM
 To: CF-Talk
 Subject: Multiple submits
 
 
 Does anybody have any suggestions for preventing users from 
 hitting a submit
 button multiple times?
 
 Thanks,
 Jon
 
 

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

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



RE: Cool CF site - webos.org

2000-12-19 Thread bflynn

 It looks sort-of like a cross between a KDE, Mac and
 BeOS.  It is pretty slick, though It's a little too 
 slow for mainstream use, IMO.

So you're saying its a bit like Windows too, huh?

};-

Brian


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

2000-12-19 Thread Kuehn, Matthew

 Does anybody have any suggestions for preventing users from hitting
 a submit button multiple times?

Try the following JavaScript, and add 'onclick="checkFields()"' to the
Submit button's tag:

var submitcount=0;
function checkFields()
{
if (submitcount == 0)
{
submitcount++;
return true;
}
else {
alert("Please wait...this form has already been submitted
and is being processed.");
return false;
}
}


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

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



RE: Refresh Page

2000-12-19 Thread Gieseman, Athelene

Thanks.  I tried this but get errors.  Tells me that it can't find the page.
Am I misunderstanding how it should be used?  I used a CFSET to create the
#SomeRandomValue#.  Then, in the CFSET that creates the URL I added
re=#SomeRandomValue#.  I tried with and without quotes.  Is there some way
in particular that I should be appending it?  FYI, I'm using CFLOCATION to
set the URL for that page.  Thanks in advance.


Athelene

-Original Message-
From: Gena [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 10:10 PM
To: CF-Talk
Subject: Re: Refresh Page


add to the end of URL re=#SomeRandomValue# and generate new SomeRandomValue
every time.

Regards


- Original Message -
From: "Gieseman, Athelene" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 2:51 PM
Subject: OT: Refresh Page


 I'm having a problem with getting a page to refresh.  I have a frame with
 two windows.  The left window is a form with a cfselect.  When the user
 selects an option, a word document is displayed in the right-hand frame.
 This works fine the first time.  However when the user then selects
another
 option from the left frame and submits the form, the right-hand frame does
 not load the new document unless you hit the refresh button on the
browser.
 Can anyone help me with either 1) why the window won't bring up the new
file
 without a refresh? or 2) what would be the javascript to refresh the whole
 frame page?  I've tried several variations on document.refresh and other
 scripts to no avail.  Any help would be appreciated.

 Athelene Gieseman
 [EMAIL PROTECTED]



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

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



OT: Internet Usage per country

2000-12-19 Thread W Luke

Hi,

I need to find out some statistics of various countries' Internet Usage per
county/state/population density (particuarly for Australia).  Is there a
site that caters for this?

Thanks

Will
www.localbounty.com
Find your Bounty


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

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



Multiple CF Studios and Login _only_ from a certain machine.

2000-12-19 Thread Todd Ashworth

I have 2 questions.

1.  I did the little registry trick to enable 2 copies of CF Studio to run
at the same time, so I could run CF Studio and JRun Studio at the same time.
Now, every time I click on a cfml page to open it, it opens a new copy of CF
Studio.  Is there a way to make it load up into an already running copy?

2.  I have an application where I want users to log into a portion of it
only from a certain machine.  That machine has a dynamic IP address.  The
application is hosted on our servers.  Can anyone think of a way where I can
make sure that the users only log in from the desired machine?

Thanks,

Todd Ashworth



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

2000-12-19 Thread Daniel Lancelot

Another method I have used in the past is to set a hidden form field to =
session.loadid
and change session.loadid on the end of each page load to a random value (I
used createuuid() ).
if on subission, form.loadid NEQ sessin.loadid then relocate - invalid
submission, otherwise process normally.
you also have to make sure the page does not load from cache each time...

problem with this is that it means a lot of session locking - most apps I
have tried to write so that it does not matter if you submit a page multiple
times as an alternative...

-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: 19 December 2000 15:02
To: CF-Talk
Subject: RE: Multiple submits


Add this to the input tag:

onclick="return confirm('You better not dare click that button a second
time, OK?')"

;-)

I'm interested in an answer to this question as well.

Matthieu

 -Original Message-
 From: Jon Gage [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 19, 2000 9:57 AM
 To: CF-Talk
 Subject: Multiple submits
 
 
 Does anybody have any suggestions for preventing users from 
 hitting a submit
 button multiple times?
 
 Thanks,
 Jon
 
 

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

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



RE: Cool CF site - webos.org

2000-12-19 Thread Neil Clark

erm tried using a real C O M P U T E R lately?

grin

N

! ---
Neil Clark
Senior Web Applications Engineer
ColdFusion / Spectra / XML
mcb digital [Allaire Premium Partner]
Tel. +44 (0)20 8941 3232
Tel. +44 (0)20 8408 8131 [Direct]
http://www.mcbdigital.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: Refresh Page

2000-12-19 Thread Todd Ashworth

Silly question, but are you putting your variable in cfouputs?

Todd Ashworth


- Original Message -
From: "Gieseman, Athelene" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 10:00 AM
Subject: RE: Refresh Page


| Thanks.  I tried this but get errors.  Tells me that it can't find the
page.
| Am I misunderstanding how it should be used?  I used a CFSET to create the
| #SomeRandomValue#.  Then, in the CFSET that creates the URL I added
| re=#SomeRandomValue#.  I tried with and without quotes.  Is there some
way
| in particular that I should be appending it?  FYI, I'm using CFLOCATION to
| set the URL for that page.  Thanks in advance.
|
|
| Athelene
|
| -Original Message-
| From: Gena [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, November 09, 2000 10:10 PM
| To: CF-Talk
| Subject: Re: Refresh Page
|
|
| add to the end of URL re=#SomeRandomValue# and generate new
SomeRandomValue
| every time.
|
| Regards
|
|
| - Original Message -
| From: "Gieseman, Athelene" [EMAIL PROTECTED]
| To: "CF-Talk" [EMAIL PROTECTED]
| Sent: Tuesday, December 19, 2000 2:51 PM
| Subject: OT: Refresh Page
|
|
|  I'm having a problem with getting a page to refresh.  I have a frame
with
|  two windows.  The left window is a form with a cfselect.  When the user
|  selects an option, a word document is displayed in the right-hand frame.
|  This works fine the first time.  However when the user then selects
| another
|  option from the left frame and submits the form, the right-hand frame
does
|  not load the new document unless you hit the refresh button on the
| browser.
|  Can anyone help me with either 1) why the window won't bring up the new
| file
|  without a refresh? or 2) what would be the javascript to refresh the
whole
|  frame page?  I've tried several variations on document.refresh and other
|  scripts to no avail.  Any help would be appreciated.
| 
|  Athelene Gieseman
|  [EMAIL PROTECTED]
| 
| 
| 
|
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: Internet Usage per country

2000-12-19 Thread Andres

http://www.nua.ie/surveys/

-Original Message-
From: W Luke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 10:12 AM
To: CF-Talk
Subject: OT: Internet Usage per country


Hi,

I need to find out some statistics of various countries' Internet Usage per
county/state/population density (particuarly for Australia).  Is there a
site that caters for this?

Thanks

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

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



RE: Internet Usage per country

2000-12-19 Thread JustinMacCarthy

www.nua.com

Justin


-Original Message-
From: W Luke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 3:12 PM
To: CF-Talk
Subject: OT: Internet Usage per country


Hi,

I need to find out some statistics of various countries' Internet Usage per
county/state/population density (particuarly for Australia).  Is there a
site that caters for this?

Thanks

Will
www.localbounty.com
Find your Bounty



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

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



interface widgets

2000-12-19 Thread stas

Hello,

I am creating an intranet, in a pretty controlled environment. I decided to use DHTML 
(under IE 5) for interface presentation. I'm trying to create a more or less Windows 
looking interface, so tags like CF_ActiveTable are quite helpful. I would appreciate 
any pointers to similar DHTML wrappers. 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: Multiple CF Studios and Login _only_ from a certain machine.

2000-12-19 Thread Dave Watts

 1.  I did the little registry trick to enable 2 copies of 
 CF Studio to run at the same time, so I could run CF Studio 
 and JRun Studio at the same time. Now, every time I click on 
 a cfml page to open it, it opens a new copy of CF Studio.  
 Is there a way to make it load up into an already running 
 copy?

Yes, there is - change the registry back! I don't know of another way.

You might consider merging registry changes, if you want to keep changing
things back and forth. You can export the old and new registry key values to
separate text files, save them with a .reg extension, and double-click on
them to merge the changes into the registry.

 2.  I have an application where I want users to log into a 
 portion of it only from a certain machine. That machine has 
 a dynamic IP address. The application is hosted on our servers.
 Can anyone think of a way where I can make sure that the users 
 only log in from the desired machine? 

This is a good use for client certificates. You can set up the virtual
server with an SSL certificate, and configure that virtual server to require
client certificates. You could then check the info within the client
certificate in your code to make sure that it's from the right machine.

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: Multiple submits

2000-12-19 Thread Joe Sheble aka Wizaerd

there are a couple of tags in Allaire's tag gallery that handle this, but 
it relies all on java script.  On the onclick or onsubmit events, I set a 
variable and then if the user clicks the button a second time, I evaluate 
that variable, and if it's set I return false from the javascript function 
that the onsubmit calls...

form name="frm" action="index.cfm" onSubmit="return SomeFunc()"

/form

script language="JavaScript"
 var lSet = false;

 function SomeFunc() {
 if( !lSet ) {
 lSet = true;
 return true;
 } else {
 return false;
 }
 }
/script

At 10:01 AM 12/19/00 -0500, you wrote:
Add this to the input tag:

onclick="return confirm('You better not dare click that button a second
time, OK?')"

;-)

I'm interested in an answer to this question as well.

Matthieu

  -Original Message-
  From: Jon Gage [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, December 19, 2000 9:57 AM
  To: CF-Talk
  Subject: Multiple submits
 
 
  Does anybody have any suggestions for preventing users from
  hitting a submit
  button multiple times?
 
  Thanks,
  Jon
 
 
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.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 CF Studios and Login _only_ from a certain machine.

2000-12-19 Thread JustinMacCarthy



-Original Message-
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 3:19 PM
1.  I did the little registry trick to enable 2 copies of CF Studio to run
at the same time, so I could run CF Studio and JRun Studio at the 
same time.

Did that work ???

Now, every time I click on a cfml page to open it, it opens a new 
copy of CF
Studio.  Is there a way to make it load up into an already running copy?

I presume you have something like  "%1" in the action


2.  I have an application where I want users to log into a portion of it
only from a certain machine.  That machine has a dynamic IP address.  The
application is hosted on our servers.  Can anyone think of a way 
where I can
make sure that the users only log in from the desired machine?

Client Certificates

JUstin 

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

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



RE: Refresh Page

2000-12-19 Thread Gieseman, Athelene

Not silly.  I'm a newbie for sure!  My original code for the page that was
being called from the form was:  (Selectdoc is the name of the form field
that the user selects by.)

cfset comparedate=#Dateformat(SelectDoc, "MM/DD/")#
cfquery datasource="Erisa" name="GetDocDate"
Select * from Minutes_Tbl where DOCDATE = '#comparedate#'
/cfquery
html
cfset NewFile=#DateFormat(GetDocDate.docdate, "MMDD")#  ".rtf"
cfset ViewDoc="\PG_ERISA\MINUTES\DOCS\"  #NewFile#
head
titleDisplay Document from iManage/title
/head
cflocation url="#ViewDoc#" addtoken="No"
body
script language="JavaScript" type="text/javascript"
!-- Hide from old browsers
parent.document.refresh
//End hiding script from old browsers--
/script
/body
/html
__
This works fine except that you have to click on the Refresh button on the
browser to make the text of the document appear.  When the page comes up,
you can see the Word ruler bar look in the frame, but not the text.

Thanks in advance for any input.

Athelene


-Original Message-
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 9:41 AM
To: CF-Talk
Subject: Re: Refresh Page


Silly question, but are you putting your variable in cfouputs?

Todd Ashworth


- Original Message -
From: "Gieseman, Athelene" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 10:00 AM
Subject: RE: Refresh Page


| Thanks.  I tried this but get errors.  Tells me that it can't find the
page.
| Am I misunderstanding how it should be used?  I used a CFSET to create the
| #SomeRandomValue#.  Then, in the CFSET that creates the URL I added
| re=#SomeRandomValue#.  I tried with and without quotes.  Is there some
way
| in particular that I should be appending it?  FYI, I'm using CFLOCATION to
| set the URL for that page.  Thanks in advance.
|
|
| Athelene
|
| -Original Message-
| From: Gena [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, November 09, 2000 10:10 PM
| To: CF-Talk
| Subject: Re: Refresh Page
|
|
| add to the end of URL re=#SomeRandomValue# and generate new
SomeRandomValue
| every time.
|
| Regards
|
|
| - Original Message -
| From: "Gieseman, Athelene" [EMAIL PROTECTED]
| To: "CF-Talk" [EMAIL PROTECTED]
| Sent: Tuesday, December 19, 2000 2:51 PM
| Subject: OT: Refresh Page
|
|
|  I'm having a problem with getting a page to refresh.  I have a frame
with
|  two windows.  The left window is a form with a cfselect.  When the user
|  selects an option, a word document is displayed in the right-hand frame.
|  This works fine the first time.  However when the user then selects
| another
|  option from the left frame and submits the form, the right-hand frame
does
|  not load the new document unless you hit the refresh button on the
| browser.
|  Can anyone help me with either 1) why the window won't bring up the new
| file
|  without a refresh? or 2) what would be the javascript to refresh the
whole
|  frame page?  I've tried several variations on document.refresh and other
|  scripts to no avail.  Any help would be appreciated.
| 
|  Athelene Gieseman
|  [EMAIL PROTECTED]
| 
| 
| 
|
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



Re: Multiple submits

2000-12-19 Thread Larry C. Lyons

Jon,

I use a bit of very simple JavaScript to change the button name. Here's
an example:

 INPUT TYPE="Button" NAME="Submit" VALUE="Submit"
onClick="if(this.value == 'Submit') this.form.submit(); this.value =
'Please Wait.';"

If the user clicks on the submit button, the script tests to make sure
that the button is labelled Submit, if so it changes the button's label
to Please Wait, and then continues with the submit, otherwise it does
nothing. In other words if the button is labeled "Please Wait" it
doesn't submit the form.

hth,

larry

-- 
Larry C. Lyons
ColdFusion/Web Developer
EBStor.com
8870 Rixlew Lane, Suite 201
Manassas, Virginia 20109-3795
tel: (703) 393-7930 x253
fax: (703) 393-2659
http://www.ebstor.com
http://www.pacel.com
email: [EMAIL PROTECTED]

Chaos, panic, and disorder - my work here is done.
--


Jon Gage wrote:
 
 Does anybody have any suggestions for preventing users from hitting a submit
 button multiple times?
 
 Thanks,
 Jon

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

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



Re: Internet Usage per country

2000-12-19 Thread W Luke

Super, cheers.

Will
- Original Message -
From: "Andres" [EMAIL PROTECTED]
Newsgroups: dotcom.lists.cftalk
Sent: Tuesday, December 19, 2000 3:46 PM
Subject: RE: Internet Usage per country


 http://www.nua.ie/surveys/

 -Original Message-
 From: W Luke [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 19, 2000 10:12 AM
 To: CF-Talk
 Subject: OT: Internet Usage per country


 Hi,

 I need to find out some statistics of various countries' Internet Usage
per
 county/state/population density (particuarly for Australia).  Is there a
 site that caters for this?

 Thanks

 Will
 www.localbounty.com
 Find your Bounty

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

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



JavaScript: sending a varible to new popped up browser?

2000-12-19 Thread Robert Sarno

I got some charts and they have discrete values to each histogram in the 
chart.  Once a person clicks on a particular histogram they should get a 
popped up menu that get data from a query in that new popped up window.  
What I need is for the parent window to send a variable to the child window.

Can anyone help my brain impediment?

Thanks in advance.

Rob

script language="JavaScript"
!-- Hide

function openWin(){

var myBars = 'directories=no, location=yes, menubar=no, status=no, 
titlebar=no, toolbar=no';
var myOptions = 'scrollbars=no, width=600, height=200, resizeable=yes';
var myFeatures = myBars + ',' + myOptions;
var suits_id = 'rs7011';

var newWin = open('test2.htm?var=' + suits_id, 'myDoc', myFeatures);



newWin.document.close();
newWin.focus();
}



// End hide ---
/script

BODY BGCOLOR="#FF"
form
bClick the following button to open a new window:/b
input type=button value="open" onClick='openWin()'
/form

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

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



Re: Multiple CF Studios and Login _only_ from a certain machine.

2000-12-19 Thread Todd Ashworth


| -Original Message-
| From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
| Sent: Tuesday, December 19, 2000 3:19 PM
| 1.  I did the little registry trick to enable 2 copies of CF Studio to
run
| at the same time, so I could run CF Studio and JRun Studio at the
| same time.
|
| Did that work ???

Sure did.

| Now, every time I click on a cfml page to open it, it opens a new
| copy of CF
| Studio.  Is there a way to make it load up into an already running copy?
|
| I presume you have something like  "%1" in the action

in the action?

Todd



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

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



Re: Danger of the +.htr bug

2000-12-19 Thread Eric Dawson

Is there any danger to the +.htr beyond being able to view the source code 
of the site?

ie if you want my source code ... 1.) Why? I don't want it, but am forced to 
code it, and 2.) It might be easier to ask me for it, cause I'll zip up all 
the files and email it to you.

Eric


From: "Jamie Keane" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: Re: Cool CF site - webos.org
Date: Tue, 19 Dec 2000 08:57:29 -0500

The fact that they don't have the +.htr bug patched.  Very interesting.

Cheers,
Jamie

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-Original Message-
From: Gena [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Date: Monday, December 18, 2000 5:41 PM
Subject: Re: Cool CF site - webos.org


 Pardon,
 
 do you mean this web site or my message???
 
 Regards
 
 
 - Original Message -
 From: "Jamie Keane" [EMAIL PROTECTED]
 To: "CF-Talk" [EMAIL PROTECTED]
 Sent: Tuesday, December 19, 2000 9:20 AM
 Subject: Re: Cool CF site - webos.org
 
 
  *ROFL*
 
  That's the funniest thing I've seen this month!
 
  --
  Jamie Keane
  Programmer
  SolutionMasters, Inc.
  9111 Monroe Rd., Suite 100
  Charlotte, NC  28270
  www.solutionmasters.com
  704.563.5559 x 228  Voice
  704.849.9291  Fax
  -Original Message-
  From: Gena [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Date: Monday, December 18, 2000 4:54 PM
  Subject: Re: Cool CF site - webos.org
 
 
  And what is cool on this site? I found only one thing - it is possible
to
  get all source code from this URL. It is not cool.
  
  - Original Message -
  From: "Eric Fickes" [EMAIL PROTECTED]
  To: "CF-Talk" [EMAIL PROTECTED]
  Sent: Tuesday, December 19, 2000 8:00 AM
  Subject: Cool CF site - webos.org
  
  
   Hello all,
  
   I was wondering if any of you have seen/used www.webos.org yet?  I
  noticed
   that it's using CF, so I was hoping that some of you may have an
answer
  to
   my question.  WebOs emulates a desktop, and pops up windows within 
one
  large
   parent window.  I would love to do this on my inhouse site for
 navigation
   and was wondering if any of you knew how to do this.
  
   E
  
  
  
  
 
 
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://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: Halting an auto-refresh

2000-12-19 Thread Jason Lees (National Express)


Hi All,

I have a page that auto-refreshes, question is is there anyway to stop the
form from refreshing by use of Javascript.

The reason for this that if users start entering data on the form, I dont
want it to Refresh.

Anyone have Any Ideas

Thanks in advance.


Jason Lees 
National Express
Email : [EMAIL PROTECTED]

###
This document is intended for, and should only be read by, those persons to
whom it is addressed. Its contents are confidential and if you have received
this message in error, please notify us immediately by telephone on 0121 609 6301
and delete all records of the message from your computer. Any form of reproduction,
dissemination, copying, disclosure, modification, distribution and / or
publication of this message without our prior written consent is strictly
prohibited. Neither the author of this message nor their employers accept
legal responsibility for the contents of the message. Any views or opinions
presented are solely those of the author.
If you have any queries please contact [EMAIL PROTECTED]

##


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

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



RE: Avg AS/400 Query time

2000-12-19 Thread Eric Barr

I did a project a while back with an AS/400 backend ...it was with ASP, but
I found that the connection manager being used played a large part in the
speed of queries.  I forget the actual product we used, but moving to a 3rd
party connection setup made all the difference in the world.

-eric

We live, not as we wish to, but as we can.
 -- Menander, 292 BC

Eric Barr
Zeff Design
(p)  212.714.6390
(f)   212.580.7181

-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 9:01 AM
To: CF-Talk
Subject: Avg AS/400 Query time


I am doing a lot of AS/400 integration with CF and was wondering
what some other people on the list usually get for avg query time. My query
time is rather high and was wondering if anyone has found some tricks, got
the ole db to work right, or any other enhancements that could help speed
things up.

Robert Everland III
Web Developer
Dixon Ticonderoga
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: Danger of the +.htr bug

2000-12-19 Thread Jeremy Allen

That is a pretty narrow point of view :)

Think of it this way.

You are a company which has invested great amounts
of time to create a really awesome site that generates
millions of dollars every month.

The code is the companies intellectual property and its
kind of suicidal for a business to just hand out their
intellectual property and say "here you go why dont
you set up a competative site using our code!!"

The code can represent a culmination of hundreds if
not thousands of man hours which can just be taken by
appending +.htr to a URL. Not Cool.

Jeremy Allen
elliptIQ Inc.


-Original Message-
From: Eric Dawson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 11:15 AM
To: CF-Talk
Subject: Re: Danger of the +.htr bug


Is there any danger to the +.htr beyond being able to view the source code
of the site?

ie if you want my source code ... 1.) Why? I don't want it, but am
forced to
code it, and 2.) It might be easier to ask me for it, cause I'll
zip up all
the files and email it to you.

Eric


From: "Jamie Keane" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: Re: Cool CF site - webos.org
Date: Tue, 19 Dec 2000 08:57:29 -0500

The fact that they don't have the +.htr bug patched.  Very interesting.

Cheers,
Jamie

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-Original Message-
From: Gena [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Date: Monday, December 18, 2000 5:41 PM
Subject: Re: Cool CF site - webos.org


 Pardon,
 
 do you mean this web site or my message???
 
 Regards
 
 
 - Original Message -
 From: "Jamie Keane" [EMAIL PROTECTED]
 To: "CF-Talk" [EMAIL PROTECTED]
 Sent: Tuesday, December 19, 2000 9:20 AM
 Subject: Re: Cool CF site - webos.org
 
 
  *ROFL*
 
  That's the funniest thing I've seen this month!
 
  --
  Jamie Keane
  Programmer
  SolutionMasters, Inc.
  9111 Monroe Rd., Suite 100
  Charlotte, NC  28270
  www.solutionmasters.com
  704.563.5559 x 228  Voice
  704.849.9291  Fax
  -Original Message-
  From: Gena [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Date: Monday, December 18, 2000 4:54 PM
  Subject: Re: Cool CF site - webos.org
 
 
  And what is cool on this site? I found only one thing - it is possible
to
  get all source code from this URL. It is not cool.
  
  - Original Message -
  From: "Eric Fickes" [EMAIL PROTECTED]
  To: "CF-Talk" [EMAIL PROTECTED]
  Sent: Tuesday, December 19, 2000 8:00 AM
  Subject: Cool CF site - webos.org
  
  
   Hello all,
  
   I was wondering if any of you have seen/used www.webos.org yet?  I
  noticed
   that it's using CF, so I was hoping that some of you may have an
answer
  to
   my question.  WebOs emulates a desktop, and pops up windows within
one
  large
   parent window.  I would love to do this on my inhouse site for
 navigation
   and was wondering if any of you knew how to do this.
  
   E
  
  
  
  
 
 

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

2000-12-19 Thread Jon Gage

Thanks to everyone for their suggestions!

Larry,

Do I need to put anything else besides the code below into my page?

I'm a total javascript novice

 -Original Message-
 From: Larry C. Lyons [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 19, 2000 11:00 AM
 To: CF-Talk
 Subject: Re: Multiple submits
 
 
 Jon,
 
 I use a bit of very simple JavaScript to change the button name. Here's
 an example:
 
  INPUT TYPE="Button" NAME="Submit" VALUE="Submit"
 onClick="if(this.value == 'Submit') this.form.submit(); this.value =
 'Please Wait.';"
 
 If the user clicks on the submit button, the script tests to make sure
 that the button is labelled Submit, if so it changes the button's label
 to Please Wait, and then continues with the submit, otherwise it does
 nothing. In other words if the button is labeled "Please Wait" it
 doesn't submit the form.
 
 hth,
 
 larry
 
 -- 
 Larry C. Lyons
 ColdFusion/Web Developer
 EBStor.com
 8870 Rixlew Lane, Suite 201
 Manassas, Virginia 20109-3795
 tel: (703) 393-7930 x253
 fax: (703) 393-2659
 http://www.ebstor.com
 http://www.pacel.com
 email: [EMAIL PROTECTED]
 
 Chaos, panic, and disorder - my work here is done.
 --
 
 
 Jon Gage wrote:
  
  Does anybody have any suggestions for preventing users from 
 hitting a submit
  button multiple times?
  
  Thanks,
  Jon
 

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

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



RE: Halting an auto-refresh

2000-12-19 Thread Simon Horwith

Try putting the refresh action on a javascript timer, and put a form button
on the page that triggers a "stop timer" javascript function.

~Simon

 Simon Horwith
 Certified ColdFusion Instructor
 Certified ColdFusion Developer
 Fig Leaf Software
 1400 16th St NW, # 220
 Washington DC 20036
 202.797.6570 (direct line)
 www.figleaf.com
 


-Original Message-
From: Jason Lees (National Express)
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 11:17 AM
To: CF-Talk
Subject: OT: Halting an auto-refresh



Hi All,

I have a page that auto-refreshes, question is is there anyway to stop the
form from refreshing by use of Javascript.

The reason for this that if users start entering data on the form, I dont
want it to Refresh.

Anyone have Any Ideas

Thanks in advance.


Jason Lees 
National Express
Email : [EMAIL PROTECTED]

###
This document is intended for, and should only be read by, those persons to
whom it is addressed. Its contents are confidential and if you have received
this message in error, please notify us immediately by telephone on 0121 609
6301
and delete all records of the message from your computer. Any form of
reproduction,
dissemination, copying, disclosure, modification, distribution and / or
publication of this message without our prior written consent is strictly
prohibited. Neither the author of this message nor their employers accept
legal responsibility for the contents of the message. Any views or opinions
presented are solely those of the author.
If you have any queries please contact [EMAIL PROTECTED]

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

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



RE: Anyone else had this problem before?

2000-12-19 Thread Dan Haley

Yes, we have had that problem.  Look for content that is being output
OUTSIDE of the tds, but inside the trs.  All that content, like
non-breaking spaces, will appear in front of the table, effectively pusshing
it down.  It won't show up in 'view source' as in front of the table, but
that is how the browser (at least IE) will handle it.

Dan

-Original Message-
From: t nelson [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 4:48 PM
To: CF-Talk
Subject: Anyone else had this problem before?


hi all,

i was just wondering if anyone had run into this problem before and what you

did they do to solve it? I have a table which i populated using cfoutput 
basically the user can go through a given number of records, 25 at a time 
(in reality they can select more this is just an example). then they can 
cycle through each record until they have gone through all 500 records.

here is the problem, every time the user brings up the next 25 records my 
td gets pushed down on the page. by the time you get to record 200 out of 
500, the td is about half way down the page with a huge space in between 
my td border and the actual data. I checked my html to see if i was adding

in an extra td tag or maybe an extra br but the html is clean. i have 
also debugged the hell out of my cfml and it's clean as well. we did utilize

a css but i took that out but i am still getting the same results.

i'm stumped are there any ideas out there?

thanks in advance.

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

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



RE: Danger of the +.htr bug

2000-12-19 Thread Nick Betts

As the database name and table names are exposed, in essence a hacker could
delete data from the databasewhich is not good

Nick Betts
www.poulternet.com


-Original Message-
From: Eric Dawson [mailto:[EMAIL PROTECTED]]
Sent: 19 December 2000 16:15
To: CF-Talk
Subject: Re: Danger of the +.htr bug


Is there any danger to the +.htr beyond being able to view the source code 
of the site?

ie if you want my source code ... 1.) Why? I don't want it, but am forced to

code it, and 2.) It might be easier to ask me for it, cause I'll zip up all 
the files and email it to you.

Eric


From: "Jamie Keane" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: Re: Cool CF site - webos.org
Date: Tue, 19 Dec 2000 08:57:29 -0500

The fact that they don't have the +.htr bug patched.  Very interesting.

Cheers,
Jamie

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-Original Message-
From: Gena [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Date: Monday, December 18, 2000 5:41 PM
Subject: Re: Cool CF site - webos.org


 Pardon,
 
 do you mean this web site or my message???
 
 Regards
 
 
 - Original Message -
 From: "Jamie Keane" [EMAIL PROTECTED]
 To: "CF-Talk" [EMAIL PROTECTED]
 Sent: Tuesday, December 19, 2000 9:20 AM
 Subject: Re: Cool CF site - webos.org
 
 
  *ROFL*
 
  That's the funniest thing I've seen this month!
 
  --
  Jamie Keane
  Programmer
  SolutionMasters, Inc.
  9111 Monroe Rd., Suite 100
  Charlotte, NC  28270
  www.solutionmasters.com
  704.563.5559 x 228  Voice
  704.849.9291  Fax
  -Original Message-
  From: Gena [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Date: Monday, December 18, 2000 4:54 PM
  Subject: Re: Cool CF site - webos.org
 
 
  And what is cool on this site? I found only one thing - it is possible
to
  get all source code from this URL. It is not cool.
  
  - Original Message -
  From: "Eric Fickes" [EMAIL PROTECTED]
  To: "CF-Talk" [EMAIL PROTECTED]
  Sent: Tuesday, December 19, 2000 8:00 AM
  Subject: Cool CF site - webos.org
  
  
   Hello all,
  
   I was wondering if any of you have seen/used www.webos.org yet?  I
  noticed
   that it's using CF, so I was hoping that some of you may have an
answer
  to
   my question.  WebOs emulates a desktop, and pops up windows within 
one
  large
   parent window.  I would love to do this on my inhouse site for
 navigation
   and was wondering if any of you knew how to do this.
  
   E
  
  
  
  
 
 
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



Re: Danger of the +.htr bug

2000-12-19 Thread Todd Ashworth

Well .. the main danger is that someone can find a way to compromise your
site's security.  Someone could get the user/pass for your database, find
your directory structure, view all the intricate details of your forms and
use that information to write their own forms to exploit your action pages
somehow .. just bad stuff in general .. Think about it.

Todd Ashworth

- Original Message -
From: "Eric Dawson" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 11:14 AM
Subject: Re: Danger of the +.htr bug


| Is there any danger to the +.htr beyond being able to view the source code
| of the site?
|
| ie if you want my source code ... 1.) Why? I don't want it, but am forced
to
| code it, and 2.) It might be easier to ask me for it, cause I'll zip up
all
| the files and email it to you.
|
| Eric



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

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



Re: interface widgets

2000-12-19 Thread Joseph Thompson

Here is a cool WYSYWIG text editor you can use under IE 5.  Users will be
able to interact with "text" boxes on your site just as if they were using
Wordpad. (fonts/colors etc).
http://www.siteobjects.com/index.cfm?fuseAction=showProducts

 I am creating an intranet, in a pretty controlled environment. I decided
to use DHTML (under IE 5) for interface presentation. I'm trying to create a
more or less Windows looking interface, so tags like CF_ActiveTable are
quite helpful. I would appreciate any pointers to similar DHTML wrappers.
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



web programming training

2000-12-19 Thread Gavin Myers

was wondering what you guys think. I'm going to try and teach some
interested people how to script (not just cold fusion, but other languages
too). But i'm trying to write out a syllabus to go over. What do you guys
think of this setup: I'm trying to relate projects I had for other language
projects and make them more web based. The information would just be
scripting in general then get more towards wichever language they want to
learn.

Scripting Basics 
Variables
Forms
If Then Statements
Case of Statements
Loops
Includes
Functions (overview)

Variables In Depth (Overview)
The Many Types of Variables (String, Session, Client, Cookie, URL,
Forms)

Database
SQL Server lingo
Outputting SQL Commands in ASP
Updating SQL Tables in ASP
Deleting SQL Tables in ASP

Scripting in Depth
Arrays
File Management (Upload, Download, Delete, Move)
Sessions
Functions
All Commands


Scripting Basic Projects:

#1 Calculator
Make a calculator from a form, use two text input feilds, radio buttons, and
a submit button. 
The 2 input feilds is where the person puts in the numbers
The Radio button displays a list of commands (multiply, divide, add,
subtract)
The submit button takes the person to a new page wich does the math and
outputs it.

What you will need to know: Forms, Variables, Form Variables


#2 Multiples of a number
Make a page that will display a number multiplied by itself by a given
number of times. You will use 2 text input feilds, and a submit button.
The first input feild is the number you want to multiply
The second is the number of times you want it to be multiplied
It should output like this
2
4 
8
16
32
64
etc.

What you will need to know: Forms, Variables, Form Variables, Loops


#3 Constant Nav Bar
Create a nav bar that has three links: Home.asp, About.asp, Contact.asp.
Since the nav-bar will be exactily the same no matter which page you are on
it will have to be included into the page.
So you create one page like this:
a href = "home.asp"Home/a a href = "about.asp"About/a a href =
"contact.asp"
save it as navbar.asp
create the home.asp, about.asp, contact.asp and include the navbar.asp on
each.

What you will need to know: Includes


#4 Time of minute Color
Create a page that changes color depending on what time of minute it is. 
If it is 0 - 15 minutes past the hour the page color is black.
If it is 16 - 30 minutes past the hour the page color is navy. 
If it is 31 - 45 minutes past the hour, the page color is orange.
If it is 46 - 60 minutes past the hour, the page color is yellow.

Do this twice, one using if then statements, the other using case of
statements

What you will need to know: If then statements, case of statements,
functions.

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

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



RE: Danger of the +.htr bug

2000-12-19 Thread ron

 Is there any danger to the +.htr beyond being able to view the
 source code
 of the site?

 ie if you want my source code ... 1.) Why? I don't want it, but
 am forced to
 code it, and 2.) It might be easier to ask me for it, cause I'll
 zip up all
 the files and email it to you.

I guess it depends on what you have in your code. Most people would consider
file mappings, db usernames and passwords, and db table and field names
rather *sensitive* information, very useful to a determined hacker.

-ron



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

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



Re: Danger of the +.htr bug

2000-12-19 Thread Jennifer

At 10:14 AM 12/19/00 -0600, you wrote:
Is there any danger to the +.htr beyond being able to view the source code
of the site?

ie if you want my source code ... 1.) Why? I don't want it, but am forced to
code it, and 2.) It might be easier to ask me for it, cause I'll zip up all
the files and email it to you.

Being able to view the source code on the site can be very dangerous, 
especially if it includes any usernames and passwords. Even if it doesn't 
contain usernames and passwords, it can betray other vulnerabilities in the 
site, but if it does have usernames and passwords to the database, all the 
data is compromised. Or in other words, I hope you aren't storing credit 
card numbers. Even encrypted credit card numbers can be vulnerable if your 
source is vulnerable-- cause that's where the encryption scheme is.

If *we* want to see your source, we'll ask, but more malicious types will 
look for common problems like the +.htr bug.

I actually had a nightmare about a similar hack last night. 

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

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



RE: emailto?

2000-12-19 Thread Robert Orlini

Thanks for the info!. I've another work around.

RO

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 8:54 AM
To: CF-Talk
Subject: RE: emailto?



The MailTo parameter of CFERROR  does not send an email when an error
occurs, all it does is provide an Email Link that the user can
click to send
and email.

To Access and display this email address use #Error.MailTo# in the Error
template

HTH

Mike

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 15:34
To: CF-Talk
Subject: emailto?


I have an application.cfm file that generates an alternate page when it
detects an error with an OBDC connection. The application file contains the
following:

!--- Error template ---
CFERROR TYPE="REQUEST" TEMPLATE="/_emergency/defaultx.htm"
mailto="[EMAIL PROTECTED]"

Everything works OKthat is I get the alternate error page template that
I have requested above, but I don't receive an email. When this error page
appears when do I get this email that I specify in the "emailto=" above? Is
there something else in CF I have to setup. I know the web serve sends out
emails because when I use CF in forms, CF emails the customer replies w/no
problem.

Any suggestions please? 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: Danger of the +.htr bug

2000-12-19 Thread Gary McNeel, Jr.

Absolutely there is a danger. Just off the top of my head I can think of a
few. These may not be best practice but:

1. If you put the username and password in a CFQUERY they can see that (and
anything else).
2. If you just hard code a password or IP range to be blocked, or other
information that should not be seen.
3. If you have a client you do work for THEY have copyright to the code.
They paid for it, it is theirs.
4. Any CF comments become visible. You may be explaining a business process
and it gets read by someone who does not need to know about it.

Because you may have a bunch of people coding, you cannot anticipate what
may or may not be put in the code.

-Gary

 -Original Message-
 From: Eric Dawson [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 19, 2000 10:15 AM
 To: CF-Talk
 Subject: Re: Danger of the +.htr bug


 Is there any danger to the +.htr beyond being able to view the
 source code
 of the site?

 ie if you want my source code ... 1.) Why? I don't want it, but
 am forced to
 code it, and 2.) It might be easier to ask me for it, cause I'll
 zip up all
 the files and email it to you.

 Eric


 From: "Jamie Keane" [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Subject: Re: Cool CF site - webos.org
 Date: Tue, 19 Dec 2000 08:57:29 -0500

 The fact that they don't have the +.htr bug patched.  Very
 interesting.

 Cheers,
 Jamie

 --
 Jamie Keane
 Programmer
 SolutionMasters, Inc.
 9111 Monroe Rd., Suite 100
 Charlotte, NC  28270
 www.solutionmasters.com
 704.563.5559 x 228  Voice
 704.849.9291  Fax
 -Original Message-
 From: Gena [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Date: Monday, December 18, 2000 5:41 PM
 Subject: Re: Cool CF site - webos.org


  Pardon,
  
  do you mean this web site or my message???
  
  Regards
  
  
  - Original Message -
  From: "Jamie Keane" [EMAIL PROTECTED]
  To: "CF-Talk" [EMAIL PROTECTED]
  Sent: Tuesday, December 19, 2000 9:20 AM
  Subject: Re: Cool CF site - webos.org
  
  
   *ROFL*
  
   That's the funniest thing I've seen this month!
  
   --
   Jamie Keane
   Programmer
   SolutionMasters, Inc.
   9111 Monroe Rd., Suite 100
   Charlotte, NC  28270
   www.solutionmasters.com
   704.563.5559 x 228  Voice
   704.849.9291  Fax
   -Original Message-
   From: Gena [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Date: Monday, December 18, 2000 4:54 PM
   Subject: Re: Cool CF site - webos.org
  
  
   And what is cool on this site? I found only one thing - it
 is possible
 to
   get all source code from this URL. It is not cool.
   
   - Original Message -
   From: "Eric Fickes" [EMAIL PROTECTED]
   To: "CF-Talk" [EMAIL PROTECTED]
   Sent: Tuesday, December 19, 2000 8:00 AM
   Subject: Cool CF site - webos.org
   
   
Hello all,
   
I was wondering if any of you have seen/used www.webos.org yet?  I
   noticed
that it's using CF, so I was hoping that some of you may have an
 answer
   to
my question.  WebOs emulates a desktop, and pops up windows within
 one
   large
parent window.  I would love to do this on my inhouse site for
  navigation
and was wondering if any of you knew how to do this.
   
E
   
   
   
   
  
  

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

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



CFMAILPARAM

2000-12-19 Thread Kevin Schmidt

I want to loop over a list that is passed as a form variable.  This list
contains name of files to attache to an email.  Any problems with this .
Just using CFLOOP to dynamically generate the CFMAILPARAM tags.??
Kevin Schmidt, Web Technology Manager
Allaire Certified Cold Fusion Developer
pwb inc.
integrated marketing communications
350 S. Main St., Suite 350
Ann Arbor, MI 48104
734.995.5000 (tel)
734.995.5002 (fax)
www.pwb.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: Websphere

2000-12-19 Thread Stephen Moretti

Kind of on the topic of websphere

Does anyone know of a application server that will run on AIX, rather than
being stuck with websphere???

Regards

Stephen

 -Original Message-
 From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
 Sent: Monday, 18 December 2000 21:28
 To: CF-Talk
 Subject: Re: Websphere


 So one would use jsp as the main language??
 - Original Message -
 From: "Hal Helms" [EMAIL PROTECTED]
 To: "CF-Talk" [EMAIL PROTECTED]
 Sent: Monday, December 18, 2000 2:03 PM
 Subject: RE: Websphere


  It's an IBM product that uses Java. It's integrated with IBM's
 Visual Age
  for Java IDE.
 
  Hal Helms
  == See www.ColdFusionTraining.com for info on "Best Practices with
  ColdFusion  Fusebox" training, Jan 22-25 ==
 
 
  -Original Message-
  From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
  Sent: Monday, December 18, 2000 4:06 PM
  To: CF-Talk
  Subject: Websphere
 
 
  We have a client using websphere that we are doing some work
 for.  I have
  never touched it. Anybody know what type of engine it is
 running.  Is it a
  proprietary scripting language?  ANy help would be great.
 
  Kevin Schmidt, Web Technology Manager
  Allaire Certified Cold Fusion Developer
  pwb inc.
  integrated marketing communications
  350 S. Main St., Suite 350
  Ann Arbor, MI 48104
  734.995.5000 (tel)
  734.995.5002 (fax)
  www.pwb.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: [web programming training]

2000-12-19 Thread Alex

its a good thought but there are a ton of scripting/programming tutorials
already on the web. how is this going to be different.

Gavin Myers [EMAIL PROTECTED] wrote:
was wondering what you guys think. I'm going to try and teach some
interested people how to script (not just cold fusion, but other languages
too). But i'm trying to write out a syllabus to go over. What do you guys
think of this setup: I'm trying to relate projects I had for other language
projects and make them more web based. The information would just be
scripting in general then get more towards wichever language they want to
learn.

Scripting Basics 
Variables
Forms
If Then Statements
Case of Statements
Loops
Includes
Functions (overview)

Variables In Depth (Overview)
The Many Types of Variables (String, Session, Client, Cookie, URL,
Forms)

Database
SQL Server lingo
Outputting SQL Commands in ASP
Updating SQL Tables in ASP
Deleting SQL Tables in ASP

Scripting in Depth
Arrays
File Management (Upload, Download, Delete, Move)
Sessions
Functions
All Commands


Scripting Basic Projects:

#1 Calculator
Make a calculator from a form, use two text input feilds, radio buttons, and
a submit button. 
The 2 input feilds is where the person puts in the numbers
The Radio button displays a list of commands (multiply, divide, add,
subtract)
The submit button takes the person to a new page wich does the math and
outputs it.

What you will need to know: Forms, Variables, Form Variables


#2 Multiples of a number
Make a page that will display a number multiplied by itself by a given
number of times. You will use 2 text input feilds, and a submit button.
The first input feild is the number you want to multiply
The second is the number of times you want it to be multiplied
It should output like this
2
4 
8
16
32
64
etc.

What you will need to know: Forms, Variables, Form Variables, Loops


#3 Constant Nav Bar
Create a nav bar that has three links: Home.asp, About.asp, Contact.asp.
Since the nav-bar will be exactily the same no matter which page you are on
it will have to be included into the page.
So you create one page like this:
a href = "home.asp"Home/a a href = "about.asp"About/a a href "contact.asp"
save it as navbar.asp
create the home.asp, about.asp, contact.asp and include the navbar.asp on
each.

What you will need to know: Includes


#4 Time of minute Color
Create a page that changes color depending on what time of minute it is. 
If it is 0 - 15 minutes past the hour the page color is black.
If it is 16 - 30 minutes past the hour the page color is navy. 
If it is 31 - 45 minutes past the hour, the page color is orange.
If it is 46 - 60 minutes past the hour, the page color is yellow.

Do this twice, one using if then statements, the other using case of
statements

What you will need to know: If then statements, case of statements,
functions.
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



Ignore

2000-12-19 Thread Duane Boudreau

Just checking to see if the new email address is working.

Duane Boudreau
Senior Software Engineer
e-Dialog
131 Hartwell Ave.
Lexington, MA 02421



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

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



Re: CFAS Scheduler

2000-12-19 Thread Jon Hall

 Paul, one of the things I do when setting up a scheduled program, until I
am sure it is working is have it email me a notice of completion whenever it
is executed as the last thing on the template.
Then you know if it is running or not.

jon
- Original Message -
From: "paul smith" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Monday, December 18, 2000 8:49 AM
Subject: CFAS Scheduler


 Until now, I've never had problems with CFAS Scheduler.

 Now I do.  The template executes when I do it manually.  But not when CFAS
 Scheduler is supposed to execute it.  But the CFAS Scheduler log indicates
 it was executed.  How is this possible?

 best,  paul



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

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



Securing Word Documents etc

2000-12-19 Thread Nick Betts

Can anyone tell me, how do I securely store Word Docs on the server. I want
to prevent people simply entering a url (eg. www.blah.com/docs/word.doc) and
viewing secure documents.  Is there anyway to let CF take advantage of NT
security ?  eg. someone logs on via NT security on server, depending upon
their logon, they then have certain user privileges within the CF site..

help appreciated.
Nick Betts.

-Original Message-
From: Jason Lees (National Express)
[mailto:[EMAIL PROTECTED]]
Sent: 19 December 2000 16:17
To: CF-Talk
Subject: OT: Halting an auto-refresh



Hi All,

I have a page that auto-refreshes, question is is there anyway to stop the
form from refreshing by use of Javascript.

The reason for this that if users start entering data on the form, I dont
want it to Refresh.

Anyone have Any Ideas

Thanks in advance.


Jason Lees 
National Express
Email : [EMAIL PROTECTED]

###
This document is intended for, and should only be read by, those persons to
whom it is addressed. Its contents are confidential and if you have received
this message in error, please notify us immediately by telephone on 0121 609
6301
and delete all records of the message from your computer. Any form of
reproduction,
dissemination, copying, disclosure, modification, distribution and / or
publication of this message without our prior written consent is strictly
prohibited. Neither the author of this message nor their employers accept
legal responsibility for the contents of the message. Any views or opinions
presented are solely those of the author.
If you have any queries please contact [EMAIL PROTECTED]

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

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



RE: Danger of the +.htr bug

2000-12-19 Thread Jeremy Allen

While site security is an important issue with the +.htr
bugs or anything that expose your source code I want to
point out a few things.

NEVER put the username and password in your templates!

Always write your queries so that a new query cant be passed
via a URL and do what they want, that should NOT be possible.

A proper encryption scheme for credit cards will render
encrypted CC data totally useless. Encrypt with your
public key, key the private key is completely offline or
at least internal network only. As many people have
suggested to me, just plain dont store the CC, but if
its a must it can be done with a good degree of security.

In my mind as I have previously expressed the largest
danger is the exposure of your intellectual property
and everything that goes with that.

Assuming you are properly coding your CF data modification
via Raw queries should not be possible. If someone just
happens to find one little omission and they wreak havoc on
your DB and render your site useless, backups can cure that
situation quite easily. What you cant fix is the fact that
someone now has their own copies of your code. You cant just
undo that from someones memory. All of these other issues
are peripherial to good programming practice and good business
practice.

Jeremy Allen
elliptIQ Inc.



-Original Message-
From: Gary McNeel, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 11:55 AM
To: CF-Talk
Subject: RE: Danger of the +.htr bug


Absolutely there is a danger. Just off the top of my head I can think of a
few. These may not be best practice but:

1. If you put the username and password in a CFQUERY they can see that (and
anything else).
2. If you just hard code a password or IP range to be blocked, or other
information that should not be seen.
3. If you have a client you do work for THEY have copyright to the code.
They paid for it, it is theirs.
4. Any CF comments become visible. You may be explaining a business process
and it gets read by someone who does not need to know about it.

Because you may have a bunch of people coding, you cannot anticipate what
may or may not be put in the code.

-Gary

 -Original Message-
 From: Eric Dawson [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 19, 2000 10:15 AM
 To: CF-Talk
 Subject: Re: Danger of the +.htr bug


 Is there any danger to the +.htr beyond being able to view the
 source code
 of the site?

 ie if you want my source code ... 1.) Why? I don't want it, but
 am forced to
 code it, and 2.) It might be easier to ask me for it, cause I'll
 zip up all
 the files and email it to you.

 Eric


 From: "Jamie Keane" [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Subject: Re: Cool CF site - webos.org
 Date: Tue, 19 Dec 2000 08:57:29 -0500

 The fact that they don't have the +.htr bug patched.  Very
 interesting.

 Cheers,
 Jamie

 --
 Jamie Keane
 Programmer
 SolutionMasters, Inc.
 9111 Monroe Rd., Suite 100
 Charlotte, NC  28270
 www.solutionmasters.com
 704.563.5559 x 228  Voice
 704.849.9291  Fax
 -Original Message-
 From: Gena [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Date: Monday, December 18, 2000 5:41 PM
 Subject: Re: Cool CF site - webos.org


  Pardon,
  
  do you mean this web site or my message???
  
  Regards
  
  
  - Original Message -
  From: "Jamie Keane" [EMAIL PROTECTED]
  To: "CF-Talk" [EMAIL PROTECTED]
  Sent: Tuesday, December 19, 2000 9:20 AM
  Subject: Re: Cool CF site - webos.org
  
  
   *ROFL*
  
   That's the funniest thing I've seen this month!
  
   --
   Jamie Keane
   Programmer
   SolutionMasters, Inc.
   9111 Monroe Rd., Suite 100
   Charlotte, NC  28270
   www.solutionmasters.com
   704.563.5559 x 228  Voice
   704.849.9291  Fax
   -Original Message-
   From: Gena [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Date: Monday, December 18, 2000 4:54 PM
   Subject: Re: Cool CF site - webos.org
  
  
   And what is cool on this site? I found only one thing - it
 is possible
 to
   get all source code from this URL. It is not cool.
   
   - Original Message -
   From: "Eric Fickes" [EMAIL PROTECTED]
   To: "CF-Talk" [EMAIL PROTECTED]
   Sent: Tuesday, December 19, 2000 8:00 AM
   Subject: Cool CF site - webos.org
   
   
Hello all,
   
I was wondering if any of you have seen/used www.webos.org yet?  I
   noticed
that it's using CF, so I was hoping that some of you may have an
 answer
   to
my question.  WebOs emulates a desktop, and pops up windows within
 one
   large
parent window.  I would love to do this on my inhouse site for
  navigation
and was wondering if any of you knew how to do this.
   
E
   
   
   
   
  
  


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

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: 

Shopping Cart

2000-12-19 Thread Eric Homa

Can anyone recommend a shopping cart that is written in CF that can be integrated into 
our own code?  Any shopping cart experiences, good and bad, would be welcome 
information.

Thanks,

Eric Homa
compudigital.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: web programming training

2000-12-19 Thread Kevin Schmidt

I teach a class on CF at the local community college and have one piece of
advice for you. Stick to one language.  Don't try to teach them everything
at once.  The main point you should try to get across is the logic to
program the pages.  Whether you use ASP or CF the logic is the same.  The
only difference is syntax.  Letting them learn on one language will make it
much easier and much less confusing.

Kevin Schmidt, Web Technology Manager
Allaire Certified Cold Fusion Developer
pwb inc.
integrated marketing communications
350 S. Main St., Suite 350
Ann Arbor, MI 48104
734.995.5000 (tel)
734.995.5002 (fax)
www.pwb.com

- Original Message -
From: "Gavin Myers" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 10:58 AM
Subject: web programming training


 was wondering what you guys think. I'm going to try and teach some
 interested people how to script (not just cold fusion, but other languages
 too). But i'm trying to write out a syllabus to go over. What do you guys
 think of this setup: I'm trying to relate projects I had for other
language
 projects and make them more web based. The information would just be
 scripting in general then get more towards wichever language they want to
 learn.

 Scripting Basics
 Variables
 Forms
 If Then Statements
 Case of Statements
 Loops
 Includes
 Functions (overview)

 Variables In Depth (Overview)
 The Many Types of Variables (String, Session, Client, Cookie, URL,
 Forms)

 Database
 SQL Server lingo
 Outputting SQL Commands in ASP
 Updating SQL Tables in ASP
 Deleting SQL Tables in ASP

 Scripting in Depth
 Arrays
 File Management (Upload, Download, Delete, Move)
 Sessions
 Functions
 All Commands


 Scripting Basic Projects:

 #1 Calculator
 Make a calculator from a form, use two text input feilds, radio buttons,
and
 a submit button.
 The 2 input feilds is where the person puts in the numbers
 The Radio button displays a list of commands (multiply, divide, add,
 subtract)
 The submit button takes the person to a new page wich does the math and
 outputs it.

 What you will need to know: Forms, Variables, Form Variables


 #2 Multiples of a number
 Make a page that will display a number multiplied by itself by a given
 number of times. You will use 2 text input feilds, and a submit button.
 The first input feild is the number you want to multiply
 The second is the number of times you want it to be multiplied
 It should output like this
 2
 4
 8
 16
 32
 64
 etc.

 What you will need to know: Forms, Variables, Form Variables, Loops


 #3 Constant Nav Bar
 Create a nav bar that has three links: Home.asp, About.asp, Contact.asp.
 Since the nav-bar will be exactily the same no matter which page you are
on
 it will have to be included into the page.
 So you create one page like this:
 a href = "home.asp"Home/a a href = "about.asp"About/a a href =
 "contact.asp"
 save it as navbar.asp
 create the home.asp, about.asp, contact.asp and include the navbar.asp on
 each.

 What you will need to know: Includes


 #4 Time of minute Color
 Create a page that changes color depending on what time of minute it is.
 If it is 0 - 15 minutes past the hour the page color is black.
 If it is 16 - 30 minutes past the hour the page color is navy.
 If it is 31 - 45 minutes past the hour, the page color is orange.
 If it is 46 - 60 minutes past the hour, the page color is yellow.

 Do this twice, one using if then statements, the other using case of
 statements

 What you will need to know: If then statements, case of statements,
 functions.


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

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



RE: Danger of the +.htr bug

2000-12-19 Thread Larry Juncker

I was unaware of this particular bug until today.  How can one prevent this
bug from being used on their own code?

Thanks in Advance

Larry Juncker
Senior Cold Fusion Developer
Heartland Communications Group, Inc.


-Original Message-
From: Gary McNeel, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 10:55 AM
To: CF-Talk
Subject: RE: Danger of the +.htr bug


Absolutely there is a danger. Just off the top of my head I can think of a
few. These may not be best practice but:

1. If you put the username and password in a CFQUERY they can see that (and
anything else).
2. If you just hard code a password or IP range to be blocked, or other
information that should not be seen.
3. If you have a client you do work for THEY have copyright to the code.
They paid for it, it is theirs.
4. Any CF comments become visible. You may be explaining a business process
and it gets read by someone who does not need to know about it.

Because you may have a bunch of people coding, you cannot anticipate what
may or may not be put in the code.

-Gary

 -Original Message-
 From: Eric Dawson [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 19, 2000 10:15 AM
 To: CF-Talk
 Subject: Re: Danger of the +.htr bug


 Is there any danger to the +.htr beyond being able to view the
 source code
 of the site?

 ie if you want my source code ... 1.) Why? I don't want it, but
 am forced to
 code it, and 2.) It might be easier to ask me for it, cause I'll
 zip up all
 the files and email it to you.

 Eric


 From: "Jamie Keane" [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Subject: Re: Cool CF site - webos.org
 Date: Tue, 19 Dec 2000 08:57:29 -0500

 The fact that they don't have the +.htr bug patched.  Very
 interesting.

 Cheers,
 Jamie

 --
 Jamie Keane
 Programmer
 SolutionMasters, Inc.
 9111 Monroe Rd., Suite 100
 Charlotte, NC  28270
 www.solutionmasters.com
 704.563.5559 x 228  Voice
 704.849.9291  Fax
 -Original Message-
 From: Gena [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Date: Monday, December 18, 2000 5:41 PM
 Subject: Re: Cool CF site - webos.org


  Pardon,
  
  do you mean this web site or my message???
  
  Regards
  
  
  - Original Message -
  From: "Jamie Keane" [EMAIL PROTECTED]
  To: "CF-Talk" [EMAIL PROTECTED]
  Sent: Tuesday, December 19, 2000 9:20 AM
  Subject: Re: Cool CF site - webos.org
  
  
   *ROFL*
  
   That's the funniest thing I've seen this month!
  
   --
   Jamie Keane
   Programmer
   SolutionMasters, Inc.
   9111 Monroe Rd., Suite 100
   Charlotte, NC  28270
   www.solutionmasters.com
   704.563.5559 x 228  Voice
   704.849.9291  Fax
   -Original Message-
   From: Gena [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Date: Monday, December 18, 2000 4:54 PM
   Subject: Re: Cool CF site - webos.org
  
  
   And what is cool on this site? I found only one thing - it
 is possible
 to
   get all source code from this URL. It is not cool.
   
   - Original Message -
   From: "Eric Fickes" [EMAIL PROTECTED]
   To: "CF-Talk" [EMAIL PROTECTED]
   Sent: Tuesday, December 19, 2000 8:00 AM
   Subject: Cool CF site - webos.org
   
   
Hello all,
   
I was wondering if any of you have seen/used www.webos.org yet?  I
   noticed
that it's using CF, so I was hoping that some of you may have an
 answer
   to
my question.  WebOs emulates a desktop, and pops up windows within
 one
   large
parent window.  I would love to do this on my inhouse site for
  navigation
and was wondering if any of you knew how to do this.
   
E
   
   
   
   
  
  

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

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



colors...

2000-12-19 Thread Jon Hall

Since there isn't a lot of activity on the list today, and I just finished a
project (thanks to a lot of help from here), it must be the weather...
I thought I would post some neato code I was playing with this weekend. It's
a cool rollover effect, maybe for menus or whatnot, I really cant figure out
a good use though ;-)

cfset twocolor = "blue,##99"
cfset redlist =
"##33,##66,##99,##cc,Blue,##3300ff,##0066ff,##0099ff,##00ccf
f,Aqua,##99,##cc,White,White"
cfset colorlist2 =
"Black,##121212,##242424,##363636,##484848,##5a5a5a,##6c6c6c,##7e7e7e,##9090
90,##a2a2a2,##b4b4b4,##c6c6c6,##d8d8d8,##eaeaea"
cfset colorlist =
"##020202,##030303,##040404,##050505,##060606,##070707,##090909,##0a0a0a,##0
b0b0b,##0c0c0c,##0d0d0d,##0e0e0e,##0f0f0f,##101010,##11,##121212,##13131
3,##141414,##151515,##161616,##171717,##181818,##191919,##1a1a1a,##1b1b1b,##
1c1c1c"
cfset reversecolorlist =
"##eaeaea,##d8d8d8,##c6c6c6,##b4b4b4,##a3a3a3,##909090,##7e7e7e,##6c6c6c,##5
a5a5a,##484848,##363636,##242424,##121212,Black"
cfoutput
cfset looptracker = 14
cfset looptracker2 = 1

table bgcolor="black"
cfloop from="1" to="1" index="x"
cfloop list="#colorlist2#" index="color"
tr style="background:#listgetat(colorlist2,looptracker)#;"
onMouseOver="this.style.background='#listgetat(colorlist2,looptracker)#'"
onMouseOut="this.style.background='#color#'"
onclick="this.style.background='red'"
td width="200"font color="blue"|/font/td
/tr
cfif looptracker2 is 1
cfset looptracker2 = 2
cfelse
cfset looptracker2 = 1
/cfif
cfset looptracker = looptracker - 1
/cfloop
/cfloop
/table
/cfoutput

I've got a couple of extra colorlists, that can be changed in the code for
different color schemes, and changing between looptracker and looptracker2
changes the effect...
oh yeah...dont forget to click on the rollovers

jon


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

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



RE: Bulk Insert?

2000-12-19 Thread bflynn

Ok, you have me intrigued.  Are you talking about a PL/SQL procedure that
takes the entire array and then parses it?  Won't you be looping through the
array anyway?

Brian

-Original Message-
From: Eric Barr [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 11:31 AM
To: CF-Talk
Subject: RE: Bulk Insert?


Jon,

You can get away with this in some situations through some clever gymnastics
in your sql.

What it will come down to is passing a string into a stored procedure that
you then do some string parsing and looping and use EXEC()  (assuming your
using SQL server).  Althouhg procedding in this manor does impose some
constraints: a lot of string manipulation in SQL is generally a bad idea,
limit to the length of the string that can be passed in, etc..  But, I
would try it out both ways and run some informal performance tests to figure
out which way fits your specific situation.


-eric

If to please people we offer what we ourselves disapprove, how can we
afterwards defend our work.
-George Washington

Eric Barr
Zeff Design
(p)  212.714.6390
(f)   212.580.7181


-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 9:23 PM
To: CF-Talk
Subject: Bulk Insert?


I am wondering if anyone knows of any way to dump the entire contents of an
array into a table without having to loop over an insert query?

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

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



RE: Websphere

2000-12-19 Thread mherbene

Perhaps a java servlet engine such as Tomcat
(http://jakarta.apache.org/tomcat/)?  Unless that's what websphere actually
is, which Hal is rather suggesting.

Or ASP via ChiliSoft
(http://www.chiliasp.com/about/pressrel/caspaix111500.htm).



-Original Message-
From: Stephen Moretti [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 12:02 PM
To: CF-Talk
Subject: RE: Websphere


Kind of on the topic of websphere

Does anyone know of a application server that will run on AIX, rather than
being stuck with websphere???

Regards

Stephen

 -Original Message-
 From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
 Sent: Monday, 18 December 2000 21:28
 To: CF-Talk
 Subject: Re: Websphere


 So one would use jsp as the main language??
 - Original Message -
 From: "Hal Helms" [EMAIL PROTECTED]
 To: "CF-Talk" [EMAIL PROTECTED]
 Sent: Monday, December 18, 2000 2:03 PM
 Subject: RE: Websphere


  It's an IBM product that uses Java. It's integrated with IBM's
 Visual Age
  for Java IDE.
 
  Hal Helms
  == See www.ColdFusionTraining.com for info on "Best Practices with
  ColdFusion  Fusebox" training, Jan 22-25 ==
 
 
  -Original Message-
  From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
  Sent: Monday, December 18, 2000 4:06 PM
  To: CF-Talk
  Subject: Websphere
 
 
  We have a client using websphere that we are doing some work
 for.  I have
  never touched it. Anybody know what type of engine it is
 running.  Is it a
  proprietary scripting language?  ANy help would be great.
 
  Kevin Schmidt, Web Technology Manager
  Allaire Certified Cold Fusion Developer
  pwb inc.
  integrated marketing communications
  350 S. Main St., Suite 350
  Ann Arbor, MI 48104
  734.995.5000 (tel)
  734.995.5002 (fax)
  www.pwb.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: Websphere

2000-12-19 Thread Dave Watts

 Does anyone know of a application server that will run on 
 AIX, rather than being stuck with websphere???

JRun runs on AIX - it runs on almost anything! WebLogic also runs on AIX.

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: Shopping Cart

2000-12-19 Thread Phoeun Pha

might as well start your own code.  hard to re-code someone else's code to
make it work with your site structure.  The only reason I'd buy the shopping
cart would be to look at the source code and get some inspiration









-Original Message-
From: Eric Homa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 11:44 AM
To: CF-Talk
Subject: Shopping Cart


Can anyone recommend a shopping cart that is written in CF that can be
integrated into our own code?  Any shopping cart experiences, good and bad,
would be welcome information.

Thanks,

Eric Homa
compudigital.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: (OT) PWS for Win2000

2000-12-19 Thread Owens, Howard

Thanks to all who chipped in with an answer ... I got the IS department to
install IIS.

H.


=
Howard Owens
Web Producer
InsideVC.com
mailto:[EMAIL PROTECTED]
=



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

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



Re: Danger of the +.htr bug

2000-12-19 Thread Larry C. Lyons

Larry,

Here's the URL for the patch:
http://www.microsoft.com/technet/Security/Bulletin/ms00-044.asp 

However M$ does say the following about this patch:

The patch should only be installed by customers who have a
business-critical need for the .HTR functionality. Microsoft recommends
that all other customers disable the .HTR functionality altogether, as
discussed in the FAQ. 

hth,
larry

-- 
Larry C. Lyons
ColdFusion/Web Developer
EBStor.com
8870 Rixlew Lane, Suite 201
Manassas, Virginia 20109-3795
tel: (703) 393-7930 x253
fax: (703) 393-2659
http://www.ebstor.com
http://www.pacel.com
email: [EMAIL PROTECTED]

Chaos, panic, and disorder - my work here is done.
--

Larry Juncker wrote:
 
 I was unaware of this particular bug until today.  How can one prevent this
 bug from being used on their own code?
 
 Thanks in Advance
 
 Larry Juncker
 Senior Cold Fusion Developer
 Heartland Communications Group, Inc.

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

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



RE: Cool CF site - webos.org

2000-12-19 Thread Eric Fickes

Thank you Todd.  You are the ONLY one in this thread who even came close to
understanding what I was talking about.  What is "cool" about this site is
what Todd said, a desktop in a web page.  Icons, draggable, windows within a
main window, blah blah blah.  If you actually use the site you, you MAY,
possibly, understand what I was talking about.

The reason I posted this question is because I noticed CF was used for
portions of this page.  What I was hoping, was that someone on this list
either a) worked on this site, b) knew someone who does/did work on this
site, or even c) know's how they did this.

Since the original post, I have done much research on MSDN and it appears to
be IFRAMES, HTCs, DHTML, and some JavaScript.  I'm still pretty much in the
dark, but I'm getting closer to the end of the tunnel, no thanks to this
list.

Don't get me wrong, this list is my only real source for help on CF, but
this time my help was MSDN, not the list.  If you guys want to continue to
talk about something that is not related to this post, start a new thread
because I'd like to close this thread.

I'm going to go take a breather.

E

-Original Message-
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]

The cool part is how they use javascript/java/dhtml/whatever to emulate a
desktop environment.  You have to go to their products and sign up for a
demo.  It looks sort-of like a cross between a KDE, Mac and BeOS.  It is
pretty slick, though It's a little too slow for mainstream use, IMO.

Todd Ashworth


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

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



RE: Does JavaScript have a Trim function?

2000-12-19 Thread Correa, Orlando (ITSC)

function trim( str ) {
// Immediately return if no trimming is needed
if( (str.charAt(0) != ' ')  (str.charAt(str.length-1) != ' ') ) {
return str; }
// Trim leading spaces
while( str.charAt(0)  == ' ' ) {
str = '' + str.substring(1,str.length);
}
// Trim trailing spaces
while( str.charAt(str.length-1)  == ' ' ) {
str = '' + str.substring(0,str.length-1);
}

return str;
}

-Original Message-
From: Milks, Jim [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 11:05 AM
To: CF-Talk
Subject: OT: Does JavaScript have a Trim function?


Hi All,
Just wondering if there is an easy way to trim leading and trailing spaces
with JavaScript?

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

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



RE: Securing Word Documents etc

2000-12-19 Thread JustinMacCarthy

Use cfcontent and store your doc outs of the web root.

eg

cfcontent file="c:\mysecuredir\myworddoc.doc" enctype="application/msword"

Justin

-Original Message-
From: Nick Betts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 5:27 PM
To: CF-Talk
Subject: Securing Word Documents etc


Can anyone tell me, how do I securely store Word Docs on the server. I want
to prevent people simply entering a url (eg.
www.blah.com/docs/word.doc) and
viewing secure documents.  Is there anyway to let CF take advantage of NT
security ?  eg. someone logs on via NT security on server, depending upon
their logon, they then have certain user privileges within the CF site..

help appreciated.
Nick Betts.

-Original Message-
From: Jason Lees (National Express)
[mailto:[EMAIL PROTECTED]]
Sent: 19 December 2000 16:17
To: CF-Talk
Subject: OT: Halting an auto-refresh



Hi All,

I have a page that auto-refreshes, question is is there anyway to stop the
form from refreshing by use of Javascript.

The reason for this that if users start entering data on the form, I dont
want it to Refresh.

Anyone have Any Ideas

Thanks in advance.


Jason Lees
National Express
Email : [EMAIL PROTECTED]

###
This document is intended for, and should only be read by, those persons to
whom it is addressed. Its contents are confidential and if you
have received
this message in error, please notify us immediately by telephone
on 0121 609
6301
and delete all records of the message from your computer. Any form of
reproduction,
dissemination, copying, disclosure, modification, distribution and / or
publication of this message without our prior written consent is strictly
prohibited. Neither the author of this message nor their employers accept
legal responsibility for the contents of the message. Any views or opinions
presented are solely those of the author.
If you have any queries please contact [EMAIL PROTECTED]

##

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

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



Re: Shopping Cart

2000-12-19 Thread Adrian Cooper


- Original Message -
From: "Howie Hamlin" [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 6:53 PM


 I'm in the middle of redoing our site with CFWebStore.  So far, so good.

 Comes with source code and is reasonably priced ($150 per store).
 www.cfwebstore.com is the site.

Does CFWebStore provide online customer order tracking (customer login) like
e.g. Amazon? Also - does it support PlanetPayment (international version of
Authorize.net), and ESD?

Thanks.

Adrian Cooper.



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

2000-12-19 Thread Jim Gurfein

At what point is memory usage excessive:
When memory usage exceeds physical memory?
When memory is x% of swap?

Still trying to get a handle on what the memory plateau is for CF


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

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



Re: Cool CF site - webos.org

2000-12-19 Thread Todd Ashworth

Well, actually, if you read my post from 4:48 PM Eastern Time, yesterday ...

--- snip ---
I would imagine all the cool effects are done using a boat load of
JS/Java/DHTML more than CF, since CF really isn't made for that sort of
thing.
--- snip ---

;)

Todd Ashworth

- Original Message -
From: "Eric Fickes" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 1:44 PM
Subject: RE: Cool CF site - webos.org


| Thank you Todd.  You are the ONLY one in this thread who even came close
to
| understanding what I was talking about.  What is "cool" about this site is
| what Todd said, a desktop in a web page.  Icons, draggable, windows within
a
| main window, blah blah blah.  If you actually use the site you, you MAY,
| possibly, understand what I was talking about.
|
| The reason I posted this question is because I noticed CF was used for
| portions of this page.  What I was hoping, was that someone on this list
| either a) worked on this site, b) knew someone who does/did work on this
| site, or even c) know's how they did this.
|
| Since the original post, I have done much research on MSDN and it appears
to
| be IFRAMES, HTCs, DHTML, and some JavaScript.  I'm still pretty much in
the
| dark, but I'm getting closer to the end of the tunnel, no thanks to this
| list.
|
| Don't get me wrong, this list is my only real source for help on CF, but
| this time my help was MSDN, not the list.  If you guys want to continue to
| talk about something that is not related to this post, start a new thread
| because I'd like to close this thread.
|
| I'm going to go take a breather.
|
| E



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

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



RE: Danger of the +.htr bug

2000-12-19 Thread Jennifer

At 12:04 PM 12/19/00 -0600, you wrote:
I was unaware of this particular bug until today.  How can one prevent this
bug from being used on their own code?

This is an IIS bug, if I remember correctly. The bug is in the server, not 
your code. Check to see if your servers have the bug and if they do, get on 
the network administrator's case about it.


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

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



RE: colors...

2000-12-19 Thread Gary McNeel, Jr.

Cool.

 -Original Message-
 From: Jon Hall [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 19, 2000 12:13 PM
 To: CF-Talk
 Subject: colors...


 Since there isn't a lot of activity on the list today, and I just
 finished a
 project (thanks to a lot of help from here), it must be the weather...
 I thought I would post some neato code I was playing with this
 weekend. It's
 a cool rollover effect, maybe for menus or whatnot, I really cant
 figure out
 a good use though ;-)

 cfset twocolor = "blue,##99"
 cfset redlist =
 "##33,##66,##99,##cc,Blue,##3300ff,##0066ff,##0099
 ff,##00ccf
 f,Aqua,##99,##cc,White,White"
 cfset colorlist2 =
 "Black,##121212,##242424,##363636,##484848,##5a5a5a,##6c6c6c,##7e7
 e7e,##9090
 90,##a2a2a2,##b4b4b4,##c6c6c6,##d8d8d8,##eaeaea"
 cfset colorlist =
 "##020202,##030303,##040404,##050505,##060606,##070707,##090909,##
 0a0a0a,##0
 b0b0b,##0c0c0c,##0d0d0d,##0e0e0e,##0f0f0f,##101010,##11,##1212
 12,##13131
 3,##141414,##151515,##161616,##171717,##181818,##191919,##1a1a1a,#
 #1b1b1b,##
 1c1c1c"
 cfset reversecolorlist =
 "##eaeaea,##d8d8d8,##c6c6c6,##b4b4b4,##a3a3a3,##909090,##7e7e7e,##
 6c6c6c,##5
 a5a5a,##484848,##363636,##242424,##121212,Black"
 cfoutput
 cfset looptracker = 14
 cfset looptracker2 = 1

 table bgcolor="black"
 cfloop from="1" to="1" index="x"
 cfloop list="#colorlist2#" index="color"
 tr style="background:#listgetat(colorlist2,looptracker)#;"
 onMouseOver="this.style.background='#listgetat(colorlist2,looptracker)#'"
 onMouseOut="this.style.background='#color#'"
 onclick="this.style.background='red'"
 td width="200"font color="blue"|/font/td
 /tr
 cfif looptracker2 is 1
 cfset looptracker2 = 2
 cfelse
 cfset looptracker2 = 1
 /cfif
 cfset looptracker = looptracker - 1
 /cfloop
 /cfloop
 /table
 /cfoutput

 I've got a couple of extra colorlists, that can be changed in the code for
 different color schemes, and changing between looptracker and looptracker2
 changes the effect...
 oh yeah...dont forget to click on the rollovers

 jon



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

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



ThisTag.GeneratedContent

2000-12-19 Thread Zachary Bedell

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This seems like a really dumb question, but I can't seem to find a
definitive answer anywhere...

Is there an equivalent to a custom tag's "ThisTag.GeneratedContent"
variable for the base executing page?  I know CF buffers all HTML
output until the end of the page execution, and part of this buffer
is made available to custom tags through ThisTag.GenerateContent.  I
need that same functionality in the base template so that I can
access the generated HTML in OnRequestEnd.cfm completely
independently of any custom tags.

Anybody have any ideas?  I'll probably kick myself when I see the
answer...

Thanks in advance,
Zac Bedell

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com
Comment: Please use PGP!

iQA/AwUBOj+1t6vhLS1aWPxeEQK0kACfajVDcrDPoDbCpu0oZ68ZcYYpKAgAn2yp
aDA+KcgSVIGDq8eU/vcyIUSJ
=YWBA
-END PGP SIGNATURE-

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

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



RE: CFAS Scheduler

2000-12-19 Thread Adkins, Randy

also place one at the beginning:

cfmail to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]" subject="Template Name
started"/cfmail
...blah
...blah
cfmail to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]" subject="Template Name
ended"/cfmail

That way you know it started and ends succesfully

-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 12:23 PM
To: CF-Talk
Subject: Re: CFAS Scheduler


 Paul, one of the things I do when setting up a scheduled program, until I
am sure it is working is have it email me a notice of completion whenever it
is executed as the last thing on the template.
Then you know if it is running or not.

jon
- Original Message -
From: "paul smith" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Monday, December 18, 2000 8:49 AM
Subject: CFAS Scheduler


 Until now, I've never had problems with CFAS Scheduler.

 Now I do.  The template executes when I do it manually.  But not when CFAS
 Scheduler is supposed to execute it.  But the CFAS Scheduler log indicates
 it was executed.  How is this possible?

 best,  paul



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

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



RE: Securing Word Documents etc

2000-12-19 Thread David Livingston

You can store them on a non-public directory (i.e. not under inetpub)and use
cfcontent to push them to authorized users.
Dave Livingston

-Original Message-
From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 12:52 PM
To: CF-Talk
Subject: Re: Securing Word Documents etc


iAuth for IIS allows you to do this.

http://www.coolfusion.com/iAuth_for_iis.htm

Regards,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - the World's most configurable mail server

- Original Message -
From: "Nick Betts" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 12:27 PM
Subject: Securing Word Documents etc


 Can anyone tell me, how do I securely store Word Docs on the server. I
want
 to prevent people simply entering a url (eg. www.blah.com/docs/word.doc)
and
 viewing secure documents.  Is there anyway to let CF take advantage of NT
 security ?  eg. someone logs on via NT security on server, depending upon
 their logon, they then have certain user privileges within the CF site..

 help appreciated.
 Nick Betts.

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

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



RE: ASP: MP3 Database search. Simple SQL problem.

2000-12-19 Thread Dan Haley

Your analysis is probably correct.  I believe what it is doing on the
searches that work is "like ''" which returns zero records and doesn't
affect the search you really want to perform.  On the ones that aren't
working it is doing "like '%%'" which is going to match every record.

Dan

-Original Message-
From: Angél Stewart [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 11:16 AM
To: CF-Talk
Subject: FW: ASP: MP3 Database search. Simple SQL problem.


Someone asked me this question, and my response apparently didn't help them.
So I'm asking you gurus out there :)

The person is using ASP.
They want to search an .mp3 ACCESS database with a wildcard search on Artist
and Song depending on what is entered.

Their statement is as follows:

(MP3.Genre = '::Genre::' OR MP3.Artist LIKE '%::Artist::%' OR MP3.Song LIKE
'::Song::')"
that works for artist searches

(MP3.Genre = '::Genre::' OR MP3.Artist LIKE '::Artist::' OR MP3.Song LIKE
'%::Song::%')"
works for song searches

but if I have this...
(MP3.Genre = '::Genre::' OR MP3.Artist LIKE '%::Artist::%' OR MP3.Song LIKE
'%::Song::%')"

inputing data in either artist or song field..just returns the entire
database

I can't understand why taken seperately without the %..% wildcards, this
would work.
But when combined..it doesn't.

Without testing it myself, I believe it is picking up null or space or
whatever in the fields as being present in all the Song fields/ Artist
fields and thus returning all records.

What's the workaround for this??

I'm thinking he is gonna have to use ASP code to check IF one of the fields
is Null or something and build a more complex on the fly SQL statement.

:-\

-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



Re: Securing Word Documents etc

2000-12-19 Thread Dave Hannum

Try .htaccess

Dave


=
"What we need is a list of specific unknown problems we will encounter"

David Hannum
Web Analyst/Programmer
Ohio University
[EMAIL PROTECTED]
(740) 597-2524



- Original Message -
From: "Nick Betts" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, December 19, 2000 12:27 PM
Subject: Securing Word Documents etc


Can anyone tell me, how do I securely store Word Docs on the server. I want
to prevent people simply entering a url (eg. www.blah.com/docs/word.doc) and
viewing secure documents.  Is there anyway to let CF take advantage of NT
security ?  eg. someone logs on via NT security on server, depending upon
their logon, they then have certain user privileges within the CF site..

help appreciated.
Nick Betts.

-Original Message-
From: Jason Lees (National Express)
[mailto:[EMAIL PROTECTED]]
Sent: 19 December 2000 16:17
To: CF-Talk
Subject: OT: Halting an auto-refresh



Hi All,

I have a page that auto-refreshes, question is is there anyway to stop the
form from refreshing by use of Javascript.

The reason for this that if users start entering data on the form, I dont
want it to Refresh.

Anyone have Any Ideas

Thanks in advance.


Jason Lees
National Express
Email : [EMAIL PROTECTED]

###
This document is intended for, and should only be read by, those persons to
whom it is addressed. Its contents are confidential and if you have received
this message in error, please notify us immediately by telephone on 0121 609
6301
and delete all records of the message from your computer. Any form of
reproduction,
dissemination, copying, disclosure, modification, distribution and / or
publication of this message without our prior written consent is strictly
prohibited. Neither the author of this message nor their employers accept
legal responsibility for the contents of the message. Any views or opinions
presented are solely those of the author.
If you have any queries please contact [EMAIL PROTECTED]

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

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



  1   2   >