Bug in CFFILE

2000-12-12 Thread Benjamin Fitts

I believe I've read on this list that there is a bug in CFFILE on CF
4.5.1?  Is this correct?

What is the nature of the bug?

What specific versions including patch numbers are affected?

Thanks in advance for you help.

Benjamin Fitts
Web Developer
uclick, LLC
www.uclick.com
[EMAIL PROTECTED]

Get your favorite comics emailed daily for FREE!
Visit uComics.com - The best comics site in the universe!
http://uComics.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: Big companies using CF

2000-12-07 Thread Benjamin Fitts

I've been following this thread on big companies using CF for awhile. Sure a
lot of big companies use CF.  But please think of the type of application
they use CF for.

Internal sites and extranets don't get a lot of traffic.

Other questions you might want to ask instead of "Which Big Companies use
CF" are:

What do they use CF for?

How much traffic does their site receive? daily, weekly, monthly.

How much of that traffic is hitting dynamic CF generated pages?

This is a much better benchmark for you to judge Cold Fusion on.

A typical example is BMWUSA web site that was mentioned here earlier. I can
guarantee you this site isn't getting hit nearly as much as VW's new film
web site. Just because BMW is a big name doesn't mean it gets a lot of hits
to it's web site.  What is a lot of hits? 500,000 unique users a month? 5
million unique users a month? 5 million unique users a day?

Benjamin Fitts
Web Developer
uclick
[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: Application.cfm

2000-12-04 Thread Benjamin Fitts

Regarding Application variables.

When  my code wasn't properly written I thought custom tags couldn't read
application variables but I figured out I was doing something wrong.

Custom tags can read application variables; just scope the variable as
application.variablename.  You need to scope the variable BOTH in the
application.cfm and the custom tag.

In your application
cfset application.variablename = "variable"

In your custom tag
#application.variablename#

Scoping it as request.variablename is BAD! The request scope is set for each
PAGE request and is not the same thing as application scope. Before I
figured out my application scoping problem I set everything to request scope
only to have to go back and change it later.  This is a big performance
issue if you run a big site.

If your variables aren't available to your custom_tag I think you have
another problem with your code that should be examined.

Also remember to always try and scope your variables. Local variables are
variables.scope application are application.scope session variables are
session.scope etc.


Benjamin Fitts
Web Developer
uClick
[EMAIL PROTECTED]


-Original Message-
From: Jason Egan [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 04, 2000 3:19 PM
To: CF-Talk
Subject: RE: Application.cfm


No, I don't believe so - custom tags - called by cf_ or cfmodule are run on
a separate thread, so they aren't aware of application variables (like #dsn#
for your datasource).

The datasource is usually what I ran into trouble with, so I passed it as an
attribute:

cfmodule template="test.cfm" userid="10" dsn="#dsn#"

Then attributes.userid and attributes.dsn would be available to me in my tag
test.cfm.

hope this helps.

je

-Original Message-
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 04, 2000 11:19 AM
To: CF-Talk
Subject: Application.cfm


Would application variables be available to a module (i.e. a template called
by CFModule) ?  And if they are how far up the tree will CF look for the
application.cfm file?

My problem is I set a variable called datasource equal to my DSN name.  I
attempt to reference #datasource# and even #application.datasource# in my
module and it isn't available.

Any help or suggestions would be appreciated.

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

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



RE: Cookie and Javascript detect

2000-11-29 Thread Benjamin Fitts

http://www.browserhawk.com

I believe they even have a cfx tag listed in the allaire developers
exchange.

Regards,
Benjamin Fitts
Web Developer
uClick
[EMAIL PROTECTED]


-Original Message-
From: Park, Simon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 28, 2000 6:19 PM
To: CF-Talk
Subject: Cookie and Javascript detect


Does anyone know of an elegant way to detect if the client browser's
javascript and cookies are enabled? Preferably in one file...

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Simon Park  Computer Systems Management, Inc.
Ph: 703-823-4300 x119   205 South Whiting Street #201
fax: 703-823-4301   Alexandria, VA  22304
 http://www.csmi.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

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

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