GoDaddy MySQL... does it work?

2006-03-21 Thread Andrew Stevens
I'm embarrassed to ask this. Has anyone used the MX7 hosting at GoDaddy?
(Well, I wanted to see how shit it really was.)

 

I can't for the life of me get a MySQL DSN to work. Has anyone done it?
Despite hours of tooling around, all I get is Data source mysqlcf_MrBuzzy
could not be found. I can also cause a null pointer and a sql/sandbox
access denied message. This all depends on the different attributes I use in
cfquery.

 

A little help would be great.

 

Cheers,

AS

 

Ps: yes I've tried godaddy support.

Pps: yes, I should go do a better hosting company.

 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235846
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: SQL-7-Server piking to 100% CPU

2006-03-21 Thread cf-talk
Hi everybody, we have a MS-SQL-7 server piking (+ plateaus) to 100% CPU.

It is caused by mssqlserver.exe. How can we find out, what database access is 
causing this,
since I have about 20 DBs running on them ? All DBs are powering
ColdFusion shop-systems.

We have Win2000 server, SP4.

Thanks for ideas.

Uwe




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235847
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SQL-7-Server piking to 100% CPU

2006-03-21 Thread Hugo Ahlenius
Try experimenting with trace logs, there you should also be able to see
how much cpu different actions/access takes. It can be hard to wade
through all though.

Some info here, for instance, or try google or the MSSQl help.
http://www.databasejournal.com/features/mssql/article.php/10894_2239461_
1

--
Hugo Ahlenius

-
Hugo Ahlenius  E-Mail: [EMAIL PROTECTED]
Project OfficerPhone:  +46 8 412 1427
UNEP GRID-Arendal  Fax:+46 8 723 0348
Stockholm Office   Mobile: +46 733 467111
   WWW:   http://www.grida.no
   Skype:callto:fraxxinus
- 


###

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235848
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: GoDaddy MySQL... does it work?

2006-03-21 Thread Coldfusion
I do not have GoDaddy for hosting but with Sandbox security,
I would validate that the datasource name is the exact same
CASE as you are using.

 

-Original Message-
From: Andrew Stevens [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 3:44 AM
To: CF-Talk
Subject: GoDaddy  MySQL... does it work?

I'm embarrassed to ask this. Has anyone used the MX7 hosting at GoDaddy?
(Well, I wanted to see how shit it really was.)

 

I can't for the life of me get a MySQL DSN to work. Has anyone done it?
Despite hours of tooling around, all I get is Data source mysqlcf_MrBuzzy
could not be found. I can also cause a null pointer and a sql/sandbox
access denied message. This all depends on the different attributes I use in
cfquery.

 

A little help would be great.

 

Cheers,

AS

 

Ps: yes I've tried godaddy support.

Pps: yes, I should go do a better hosting company.

 





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235849
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: GoDaddy MySQL... does it work?

2006-03-21 Thread Andrew Stevens
Okay I'll check that out, thank you.
I don't normally use Sandbox, but I'm pretty sure that's what this is.

Cheers.

-Original Message-
From: Coldfusion [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 21 March 2006 9:43 PM
To: CF-Talk
Subject: RE: GoDaddy  MySQL... does it work?

I do not have GoDaddy for hosting but with Sandbox security,
I would validate that the datasource name is the exact same
CASE as you are using.

 

-Original Message-
From: Andrew Stevens [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 3:44 AM
To: CF-Talk
Subject: GoDaddy  MySQL... does it work?

I'm embarrassed to ask this. Has anyone used the MX7 hosting at GoDaddy?
(Well, I wanted to see how shit it really was.)

 

I can't for the life of me get a MySQL DSN to work. Has anyone done it?
Despite hours of tooling around, all I get is Data source mysqlcf_MrBuzzy
could not be found. I can also cause a null pointer and a sql/sandbox
access denied message. This all depends on the different attributes I use in
cfquery.

 

A little help would be great.

 

Cheers,

AS

 

Ps: yes I've tried godaddy support.

Pps: yes, I should go do a better hosting company.

 







~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235850
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: GoDaddy MySQL... does it work?

2006-03-21 Thread Andrew Stevens
Okay, the case seems correct. Well, it matches how it's shown in the control
panel.

-Original Message-
From: Coldfusion [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 21 March 2006 9:43 PM
To: CF-Talk
Subject: RE: GoDaddy  MySQL... does it work?

I do not have GoDaddy for hosting but with Sandbox security,
I would validate that the datasource name is the exact same
CASE as you are using.

 

-Original Message-
From: Andrew Stevens [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 3:44 AM
To: CF-Talk
Subject: GoDaddy  MySQL... does it work?

I'm embarrassed to ask this. Has anyone used the MX7 hosting at GoDaddy?
(Well, I wanted to see how shit it really was.)

 

I can't for the life of me get a MySQL DSN to work. Has anyone done it?
Despite hours of tooling around, all I get is Data source mysqlcf_MrBuzzy
could not be found. I can also cause a null pointer and a sql/sandbox
access denied message. This all depends on the different attributes I use in
cfquery.

 

A little help would be great.

 

Cheers,

AS

 

Ps: yes I've tried godaddy support.

Pps: yes, I should go do a better hosting company.

 







~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235851
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: GoDaddy MySQL... does it work?

2006-03-21 Thread Snake
I recently discovered, that mySQL DSN's do not work with sandboxing enabled
unless you implicitly specify the IP:port in the default security sandbox. 

Russ

-Original Message-
From: Andrew Stevens [mailto:[EMAIL PROTECTED] 
Sent: 21 March 2006 10:57
To: CF-Talk
Subject: RE: GoDaddy  MySQL... does it work?

Okay I'll check that out, thank you.
I don't normally use Sandbox, but I'm pretty sure that's what this is.

Cheers.

-Original Message-
From: Coldfusion [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 21 March 2006 9:43 PM
To: CF-Talk
Subject: RE: GoDaddy  MySQL... does it work?

I do not have GoDaddy for hosting but with Sandbox security, I would
validate that the datasource name is the exact same CASE as you are using.

 

-Original Message-
From: Andrew Stevens [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 3:44 AM
To: CF-Talk
Subject: GoDaddy  MySQL... does it work?

I'm embarrassed to ask this. Has anyone used the MX7 hosting at GoDaddy?
(Well, I wanted to see how shit it really was.)

 

I can't for the life of me get a MySQL DSN to work. Has anyone done it?
Despite hours of tooling around, all I get is Data source mysqlcf_MrBuzzy
could not be found. I can also cause a null pointer and a sql/sandbox
access denied message. This all depends on the different attributes I use in
cfquery.

 

A little help would be great.

 

Cheers,

AS

 

Ps: yes I've tried godaddy support.

Pps: yes, I should go do a better hosting company.

 









~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235853
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: JavaScript Scoping Gurus?

2006-03-21 Thread Jim Davis
I'm building an HTTP request pooler in JS.  In essence the pool creates
several HTTP objects and allows the programmer to add requests to the queue.
The queue is then examined at an interval and queued requests are passed to
free objects for calls.

Anyway - all that seems to work pretty well - except setting up the
interval.

Let's assume this simplified Object:

// Create the Pool
function HTTPRequestPool(ObInstanceCount, IntervalCount) {

// Create a Queue for Requests
this.RequestQueue = new Array();

App.RequestPoolTimer = window.setInterval(this.doRequest();, 500);

};

HTTPRequestPool.prototype.addRequest = function addRequest( Method, URL,
Parameters, Handler) { }; 

HTTPRequestPool.prototype.doRequest = function doRequest() { };


We would instantiate this like this (someplace on the page):

RequestPool = new HTTPRequestPool(5, 500);

The problem is the interval - in this case the doRequest() method, when
called from the interval, loses the connection to the parent object.  When
called this refers to the top-level window (as it would when a top-level
function is called) NOT to the parent object (as it would when a method is
called).

However if I remove the interval from the object and instantiate things like
this (setting the interval outside of the object):

RequestPool = new HTTPRequestPool(5, 500);
App.RequestPoolTimer = window.setInterval(RequestPool.doRequest();, 500);

Everything works fine - the interval never loses its reference.

This is a workaround, but I'd much rather have the interval contained in the
object itself.

Thanks in advance for any ideas.

Jim Davis


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235861
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: SQL-7-Server piking to 100% CPU

2006-03-21 Thread Rick Root
[EMAIL PROTECTED] wrote:
 Hi everybody, we have a MS-SQL-7 server piking (+ plateaus) to 100% CPU.
 
 It is caused by mssqlserver.exe. How can we find out, what database access is 
 causing this,
 since I have about 20 DBs running on them ? All DBs are powering
 ColdFusion shop-systems.

Use Enterprise Manager... go to your database - Management - Current 
Activity - Process Info

That'll show you current queries that are running and stuff like that... 
it can be ver helpful for debugging issues.

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235852
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: SQL-7-Server piking to 100% CPU

2006-03-21 Thread Jim Wright
Probably your most effective tool to debug this is going to be the sql
profiler.  I would do a google on something like sql profiler
optimize long running query to get some ideas on how best to set up
the trace.  With that tool, you can have sql keep a log of all kinds
of statistics, and then use the Index Tuning Wizard to analyze the
trace.  I've seen a single index change make a query that would churn
away for minutes (using 100% CPU), go down to something that ran in
under a second.  Also, the query optimization routines that SQL Server
uses are not always perfect...and I've had them change query times
drastically from SP to SP (especially when we were using SQL 7)so
it's a good idea to run traces like this regularly, and make sure that
your indexes are optimized.

Make sure you run the tools on another machine...as there is quite a
bit of overhead associated with them.

On 3/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi everybody, we have a MS-SQL-7 server piking (+ plateaus) to 100% CPU.

 It is caused by mssqlserver.exe. How can we find out, what database access is 
 causing this,
 since I have about 20 DBs running on them ? All DBs are powering
 ColdFusion shop-systems.

 We have Win2000 server, SP4.

 Thanks for ideas.

 Uwe




 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235856
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Updating JRE on MX701

2006-03-21 Thread Mark Leder
Can't find any good docs on how to do this at Adobe.  I checked out Forta's
blog, but it didn't make much sense. I'm not running JRUN, just a standalone
standard edition.
 
Links?
 
Thanks,
Mark
 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235857
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cfajax/ajaxcfc File Upload

2006-03-21 Thread Andy Matthews
Ah...

Sorry about that.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: Monday, March 20, 2006 7:10 PM
To: CF-Talk
Subject: Re: cfajax/ajaxcfc File Upload


A quick look at the source code shows that this example uses iframes,
not the xmlhttprequest object.

On 3/20/06, Andy Matthews [EMAIL PROTECTED] wrote:
 I saw a PHP app that did file uploads using AJAX.

 http://www.air4web.com/files/upload/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235854
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: GoDaddy MySQL... does it work?

2006-03-21 Thread Jim Wright
Not related to the DSN issue, but one of my clients had a small throw
away site that we decided to host at godaddy as a trial...I found out
that they don't support cffile, which handicapped the app a bit. 
Cffile is not listed in their list of disabled tags (or wasn't at that
time, I haven't looked again lately).

on the DSN issue...I have a MySQL DSN working fine there.  In there
management interface, they allow you to create a DSN or a ColdFusion
DSN...is it possible that you created the latter?

On 3/21/06, Andrew Stevens [EMAIL PROTECTED] wrote:
 I'm embarrassed to ask this. Has anyone used the MX7 hosting at GoDaddy?
 (Well, I wanted to see how shit it really was.)



 I can't for the life of me get a MySQL DSN to work. Has anyone done it?
 Despite hours of tooling around, all I get is Data source mysqlcf_MrBuzzy
 could not be found. I can also cause a null pointer and a sql/sandbox
 access denied message. This all depends on the different attributes I use in
 cfquery.



 A little help would be great.



 Cheers,

 AS



 Ps: yes I've tried godaddy support.

 Pps: yes, I should go do a better hosting company.





 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235855
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFMX Client Variables

2006-03-21 Thread Charlie Hanlon
I have the following code:

cfparam name=client.myVar default=

cfoutput#client.myVar#/cfoutput

For every ten times I run this page, 2-3 times out of then, I get the 
following error message:

Element MYVAR is undefined in CLIENT


can anyone enlighten me on this issue.

thanks in advance
charlie hanlon 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235859
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Updating JRE on MX701

2006-03-21 Thread Andy Allan
Down the JDK from Sun, install it, and then modify your jvm.config
file in c:\cfusionmx7\runtime\bin to point to the location of the new
JRE, e.g. c:\j2sdk1.4.2_09\jre

Then restart CF.

Makre sure you stick with the 1.4.x version as 1.5 isn't yet supported by CF.

Andy

On 21/03/06, Mark Leder [EMAIL PROTECTED] wrote:
 Can't find any good docs on how to do this at Adobe.  I checked out Forta's
 blog, but it didn't make much sense. I'm not running JRUN, just a standalone
 standard edition.

 Links?

 Thanks,
 Mark





 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235858
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Updating JRE on MX701

2006-03-21 Thread Stephen Moretti
Andy Allan wrote:
 Down the JDK from Sun, install it, and then modify your jvm.config
 file in c:\cfusionmx7\runtime\bin to point to the location of the new
 JRE, e.g. c:\j2sdk1.4.2_09\jre

 Then restart CF.

 Make sure you stick with the 1.4.x version as 1.5 isn't yet supported by CF.
   

1.4.2_05 or _08 if you want to be picky about the supported version of 
J2SDK 1.4.x.

Also in standalone developers, professional and enterprise editions you 
can update the JVM Path in the CF administrator under the Java and JVM 
settings.

Stephen

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235862
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Updating JRE on MX701

2006-03-21 Thread Andy Allan
Actually, you'll find it's:
Tested and certified with Sun JDK 1.4.2_05, 1.4.2_07 and 1.4.2_09.

http://www.macromedia.com/software/coldfusion/productinfo/systemreqs/

You can shout at me on IM :p

The one thing to be wary of in changing any settings via the Java and
JVM page is that some of the JVM arguments are actually hidden from
you. For example, if you specify a Garbage Collector on the page
you'll find CF won't restart as the default Garbage Collector is
actually hidden from you and you'll now have a conflict.

That's why I always recommend modifying the jvm.config in a text editor.

Andy

On 21/03/06, Stephen Moretti [EMAIL PROTECTED] wrote:
 Andy Allan wrote:
  Down the JDK from Sun, install it, and then modify your jvm.config
  file in c:\cfusionmx7\runtime\bin to point to the location of the new
  JRE, e.g. c:\j2sdk1.4.2_09\jre
 
  Then restart CF.
 
  Make sure you stick with the 1.4.x version as 1.5 isn't yet supported by CF.
 

 1.4.2_05 or _08 if you want to be picky about the supported version of
 J2SDK 1.4.x.

 Also in standalone developers, professional and enterprise editions you
 can update the JVM Path in the CF administrator under the Java and JVM
 settings.

 Stephen

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235863
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Updating JRE on MX701

2006-03-21 Thread Stephen Moretti
Andy Allan wrote:
 Actually, you'll find it's:
 Tested and certified with Sun JDK 1.4.2_05, 1.4.2_07 and 1.4.2_09.

 http://www.macromedia.com/software/coldfusion/productinfo/systemreqs/

   
hmmm so it is Maybe I'm remembering CFMX6 stuff

Something we both agree on though - anything ldap is chuffed after 
version 1.4.2_05 ;)

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235864
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: JavaScript Scoping Gurus?

2006-03-21 Thread Dan G. Switzer, II
Jim,

What I've always done to counter this problem is to create an API
class--which I use to monitor instances of each class and hold global
functionality. For example:

function _HRPApi(){
this.instance = [];
}

_HRPApi.prototype.register = function (obj){
var iInstance = this.instance.length;
this.instance[iInstance] = obj;
return iInstance;
}

// create the global class
HTTPRequestPoolApi = new _HRPApi();

Now in your actual class, you can do something like:

function HTTPRequestPool(){
this.instance = HTTPRequestPoolApi.register(this);
this.interval = 500; // number of ms to wait before setTimeout
}

Now, anytime you need to reference the current instance of the class from a
global function (such as inside the setTimeout) you've got a copy stored in
a global variable (HTTPRequestPoolApi) you can access it with something like
the following code:

setTimeout(
HTTPRequestPoolApi.instance[ + this.instance + ].method();, 
this.interval
);

Hope this helps!

-Dan

-Original Message-
From: Jim Davis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 10:37 AM
To: CF-Talk
Subject: OT: JavaScript Scoping Gurus?

I'm building an HTTP request pooler in JS.  In essence the pool creates
several HTTP objects and allows the programmer to add requests to the
queue.
The queue is then examined at an interval and queued requests are passed to
free objects for calls.

Anyway - all that seems to work pretty well - except setting up the
interval.

Let's assume this simplified Object:

   // Create the Pool
function HTTPRequestPool(ObInstanceCount, IntervalCount) {

   // Create a Queue for Requests
   this.RequestQueue = new Array();

   App.RequestPoolTimer = window.setInterval(this.doRequest();, 500);

};

HTTPRequestPool.prototype.addRequest = function addRequest( Method, URL,
Parameters, Handler) { };

HTTPRequestPool.prototype.doRequest = function doRequest() { };


We would instantiate this like this (someplace on the page):

RequestPool = new HTTPRequestPool(5, 500);

The problem is the interval - in this case the doRequest() method, when
called from the interval, loses the connection to the parent object.  When
called this refers to the top-level window (as it would when a top-level
function is called) NOT to the parent object (as it would when a method is
called).

However if I remove the interval from the object and instantiate things
like
this (setting the interval outside of the object):

RequestPool = new HTTPRequestPool(5, 500);
App.RequestPoolTimer = window.setInterval(RequestPool.doRequest();, 500);

Everything works fine - the interval never loses its reference.

This is a workaround, but I'd much rather have the interval contained in
the
object itself.

Thanks in advance for any ideas.

Jim Davis




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235865
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Local function variables in CFC

2006-03-21 Thread Ian Buzer
Hi everyone,

I find myself getting more and more wound up that variables set within a cfc 
function are not scoped to that function but to the entire cfc.

I'm ending up with a whole series of cfset var myVariable =  at the 
beginning of the function which is messy and to me is asking for trouble, 
especially if myVariable is not a string. It's also very easy to miss one.

So I've had an idea. At the beginning of each function, I'm going to add:

cfset var local = StructNew()

Which effectively creates me my own local variable scope. I can then create 
variables like local.myVariable, safe in the knowledge that they are local and 
thread safe.

Good idea? Bad idea?

Thanks
Ian

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235866
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Local function variables in CFC

2006-03-21 Thread Sandra Clark
I've been using that exact makeup in my CFC's for a while and have had no
problem. Well only one, making sure that each and every variable declared is
part of the local struct.

Still its a lot easier to declare everything like that then varing every
variable. 


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility 
-Original Message-
From: Ian Buzer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 10:11 AM
To: CF-Talk
Subject: Local function variables in CFC

Hi everyone,

I find myself getting more and more wound up that variables set within a cfc
function are not scoped to that function but to the entire cfc.

I'm ending up with a whole series of cfset var myVariable =  at the
beginning of the function which is messy and to me is asking for trouble,
especially if myVariable is not a string. It's also very easy to miss one.

So I've had an idea. At the beginning of each function, I'm going to add:

cfset var local = StructNew()

Which effectively creates me my own local variable scope. I can then create
variables like local.myVariable, safe in the knowledge that they are local
and thread safe.

Good idea? Bad idea?

Thanks
Ian



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235867
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: onRequest template not found

2006-03-21 Thread Adrian Lynch
Find out the path being used.

Could the web servers be set up differently?

Adrian

-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: 21 March 2006 16:25
To: CF-Talk
Subject: onRequest template not found


So, I have a weird error in Application.cfc. On one server it works fine,
but then if I copy the code over to another (slightly older server), the
onRequest method of Application.cfc stops working. I get Could not find the
included template. All I do is include the passed template:

cfinclude template=#ARGUMENTS.TargetPage# /

Any ideas on why this would work fine on one server, and then not on
another?

Both run MX7.

Thanks

Ben Nadel


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235871
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: ListQualify and queries

2006-03-21 Thread Adrian Lynch
AND A.STATE IN (cfqueryparam cfsqltype=cf_sql_char
value=#listQualify(STATE,')# list=yes)

Check to see what happens when the list is empty though.

Adrian

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: 21 March 2006 16:47
To: CF-Talk
Subject: ListQualify and queries


Given the following code inside a cfquery ...

cfif listLen(STATE) eq 1
WHERE A.STATE =
cfqueryparam cfsqltype=cf_sql_char value=#STATE#
cfelseif listLen(STATE) gt 1
AND A.STATE IN (#listQualify(STATE,')#)
/cfif

is there an easy way to use CFQUERYPARAM in this scenario when there are
more than one STATE option?

rick


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235875
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: ListQualify and queries

2006-03-21 Thread Dave Watts
 is there an easy way to use CFQUERYPARAM in this scenario 
 when there are more than one STATE option?

Use the LIST attribute of CFQUERYPARAM.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235876
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


cflogin and load balancing

2006-03-21 Thread wolf2k5
Hi all,

I'm working on a simple ColdFusion application.

The user will have to login, before being able to use any feature of
the application.

I was thinking to use the CF security framework (cflogin, etc.) to
manage authentication and authorization for my application.

Most probably the application will reside on several web servers and
the load balancing technique will be simple DNS round robin.

So there is chance that an user will login to server1 and his next
request will be to server2.

I think that server2 won't automatically figure out that the user
already logged in on server1 and it will require him to login again.

What is the easiest way to have the all servers share the cflogin info
and prevent re-login when jumping from one server to another?

This is a very simple application and I'd prefer to avoid full blown
CF clustering if possible.

Thanks.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235877
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: MS Access metadata

2006-03-21 Thread Steve Bryant
I am OK with that requirement, actually. Even Kruger's solution requires that.

Those tables, however, only provide information about the tables in Access, not 
the fields.

Steve

Without enabling the tables manually, I don’t think you'll be able to do it.

In Access...
Tools  Options  View tab Check 'Hidden objects' and 'System objects' boxes

.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235878
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: graphical representations of passcodes

2006-03-21 Thread Bobby Hartsfield
Take a look at bhcaptcha...

http://acoderslife.com/downloads/bhcaptcha/

and an example here...
http://acoderslife.com/downloads/bhcaptcha/bhcaptchatest.cfm


There are all text images. The ones I think you are looking for are still a
form of a 'capcha' so that'd be a good place to start searching if bhcaptcha
wont do the job.

I saw this one a while back that used images of objects rather than text.
http://www.captcha.net/captchas/pix/

Should be an easy task to create in CF

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 

-Original Message-
From: Reed Powell [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 20, 2006 10:14 PM
To: CF-Talk
Subject: WOT: graphical representations of passcodes

Sorry for this WOT question - I was getting ready to Google for sources of
code (hopefully CF or CF-friendy) to produce the graphics that are used to
ensure that a human is at the other end of an http connection (you know, the
one's that require you to enter the number or character sequence being
displayed next to the text input box) - and realized that I have no idea as
to what the h*** they are called!  Some kind of a glyph I thought, but my
feeble attempts at the googling were too generic and produced way too many
search hits.  But I'M SURE that a few weeks (months?) ago I saw someone on
this list make mention of some CF code for doing just this.

Anyway, TIA for the answer!
Reed





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235879
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


counting downloads

2006-03-21 Thread Brian Coleman
Does anyone know of a way to serve up files and record how many times the 
file's been downloaded?

For example if I use some code like this...
cfheader name=Content-Disposition value=attachment; filename=D:\etc
cfcontent file=D:\etc type=application/octet-stream

Is there some way I record info *after* the download?
I tried putting some code at the top of a page like this and it executed...but 
putting it after the cfcontent nothing happened.
If I put it at the top of the page, I guess it's like a click counter, it 
records the user having clicked the link to the page but not if they saved or 
canceled the download.

Thanks,
Brian

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235880
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Mail Merge Conundrum

2006-03-21 Thread David Delbridge
Another approach (not quite so slick I admit) would be for the users to
create the required email (the one to be main merged) as a separate html
file and attach it to the trigger email.

That's not a bad idea.

I thought about maybe sending the raw SMTP data via CFX_TCP, but this is a 
little deeper than I had wanted to go.  If I can't summon the courage, I'll 
likely employ what you suggest.

THANK YOU!

Dave

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235881
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: counting downloads

2006-03-21 Thread Michael T. Tangorre
 From: Brian Coleman [mailto:[EMAIL PROTECTED] 
 Does anyone know of a way to serve up files and record how 
 many times the file's been downloaded?

Assuming the download is served based on an ID or document name, use that ID
or name to increment a counter (in the DB most likely) THEN serve the
document. Wrap the cfheader/cfcontent in a cftry/cfcatch block and if an
exception is raised, decrement the counter and handle the event as you see
fit.

Tango



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235882
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFQuickDocs...

2006-03-21 Thread Andy Matthews
Is getting a 500 error. Jacob...this is you right?

Just letting you know. I use it all the time.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235883
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Client Variable Security, Shared Servers

2006-03-21 Thread Tony Hicks
I have a site that runs entirely on session variables. It runs nicely.

It runs so nicely, that we've been growing a lot... Its time for a second
server. And unfortunately, some of our members are being kicked out
routinely when the load balancer between the servers alternates between the
servers.

Load Balancers have a setting against this but proxy connections and
programs such as Anonymizers interfere with this, and a switch may still
occur.

So the migration to client variables makes sense.

Assuming that the client data is stored in a db repository...

If a user is on one server and then is switched to the other
identical-architecture server (by the load balancer), they should retain
their status...?

Thanks for any thoughts... I have what seems to be a working version, but
I'm having a difficult time recreation the session switching situation..

Also, will programs such as Anonymizers cause this behavior, because they
change ip addresses? Is there any program, or command line method to clear
out the cache so that my computer will create a fresh connection and
potentially switch to the other server? I'm having a difficult time
emulating this problem.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235884
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cflogin and load balancing

2006-03-21 Thread Dave Watts
 The user will have to login, before being able to use any 
 feature of the application.
 
 I was thinking to use the CF security framework (cflogin, 
 etc.) to manage authentication and authorization for my 
 application.
 
 Most probably the application will reside on several web 
 servers and the load balancing technique will be simple DNS 
 round robin.
 
 So there is chance that an user will login to server1 and his 
 next request will be to server2.
 
 I think that server2 won't automatically figure out that the 
 user already logged in on server1 and it will require him to 
 login again.
 
 What is the easiest way to have the all servers share the 
 cflogin info and prevent re-login when jumping from one 
 server to another?
 
 This is a very simple application and I'd prefer to avoid 
 full blown CF clustering if possible.

If you use round-robin DNS, it is unlikely that the user will be sent to one
server, then another. When the user attempts to connect initially, the DNS
server will issue one IP address, and that IP address will be cached for
some time by the client. Even if that first server fails, the user will not
be sent to another server.

Aside from that, though, I don't think there's any way to share CFLOGIN data
without associating it with the Session scope, and sharing that across the
servers. This would require CF clustering. When you use the CFLOGIN tag, it
does write a cookie which contains something, but I don't know if it
contains everything that is set by CFLOGINUSER.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235885
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Reading cookies and decoding problem

2006-03-21 Thread Andy Tyrone
Hi everyone,

Is there some known bug when displaying/using cookies with specific
characters in CFMX 7?  The cookie has the correct value in the http header,
but outputting the actual cookie variable decodes the + character at the
beginning:

HTTP_COOKIE=ContactID=+xxx/=;

Referencing Cookie.ContactID gives me: xxx/=

The cookie is being set on the same server but by an asp.net application.
The ContactID is encrypted with DES.  Nothing needs to be decrypted, but the
encrypted value does need to be compared with an id in the database.  I've
basically inherited this problem and I don't have much to go on yet.

The only way to get the true value of the cookie is to parse the
CGI.HTTP_COOKIE variable.  I've searched around a bit but not a whole lot as
I am tasked with finding a work around within a specific amount of time, but
so far have not found a solution or an explanation.  I am not sure if there
is a way to get the correct value by referenceing the cookie structure
because the decoding seems to be automatic.

Thanks,
Andy


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235886
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: MS Access metadata

2006-03-21 Thread Bobby Hartsfield
Unfortunately, that's about as good as it's going to get.

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 


-Original Message-
From: Steve Bryant [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 10:54 AM
To: CF-Talk
Subject: Re: MS Access metadata

I am OK with that requirement, actually. Even Kruger's solution requires
that.

Those tables, however, only provide information about the tables in Access,
not the fields.

Steve

Without enabling the tables manually, I don’t think you'll be able to do
it.

In Access...
Tools  Options  View tab Check 'Hidden objects' and 'System objects'
boxes

.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235887
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CF Mystic Beta 2 Now Available

2006-03-21 Thread dcooper
The ColdFusion/Flex Connectivity (Mystic) Beta 2 has been released (along 
with Flex 2 Beta 2) and is now available for download on the Adobe Labs site 
here: http://labs.adobe.com. 

The ColdFusion/Flex Connectivity Beta 2 release represents an important 
milestone for ColdFusion customers wanting to build Rich Internet Applications 
with Flex and ColdFusion. 

With this release, not only have we improved the previously delivered support 
for the Flash Remoting Update and the Flex Asynchronous Messaging Gateway, 
we've also added support for Flex Data Services 2.0 and included the first of a 
set of Flex Builder plug-ins for ColdFusion developers that can dramatically 
improve development productivity for some key coding tasks when you are 
building ColdFusion-powered Flex applications. 

We're excited about Beta 2, and grateful for your participation. 

I believe ColdFusion + Flex 2 will empower you to quickly and easily create 
amazing new Rich Internet Applications faster and easier than with any other 
technology, anywhere. And there's more to come...we're not done yet! 

Of course, we recommend that you install Mystic Beta 2 on development and 
testing servers only at this point, but I'd encourage everyone to take Flex 2 
Beta 2 and CF Mystic Beta 2 for a spin. 

PS: Using Flex Builder 2, then adding CFEclipse and the Mystic Flex Builder 
plugins will make for a very productive environment, and will let you use RDS 
and the CF Query Builder for your FB/CFEclipse development! 

Please visit the Labs site for more information about this beta release, to 
interact directly with ColdFusion engineering and quality assurance engineers 
and other ColdFusion/Flex Connectivity beta 2 users, and to access the 
ColdFusion/Flex Connectivity Beta 2 Bug Tracker. 

Damon Cooper
Director of Engineering, ColdFusion
Adobe Systems

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235888
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Reading cookies and decoding problem

2006-03-21 Thread Tony Hicks
HAve you tried

#cookie.contactid#... It might be converting the + to a space...

Also... I would try setting a similar cookie in cf, attempting to read it
with cf too...

And lastly I'd try.. just for testing purposes... Try surrounding  set
it to like... d+xxx/=d... See if the first d is stripped, or the plus is
still converted.

On 3/21/06, Andy Tyrone [EMAIL PROTECTED] wrote:

 Hi everyone,

 Is there some known bug when displaying/using cookies with specific
 characters in CFMX 7?  The cookie has the correct value in the http
 header,
 but outputting the actual cookie variable decodes the + character at the
 beginning:

 HTTP_COOKIE=ContactID=+xxx/=;

 Referencing Cookie.ContactID gives me: xxx/=

 The cookie is being set on the same server but by an asp.net application.
 The ContactID is encrypted with DES.  Nothing needs to be decrypted, but
 the
 encrypted value does need to be compared with an id in the database.  I've
 basically inherited this problem and I don't have much to go on yet.

 The only way to get the true value of the cookie is to parse the
 CGI.HTTP_COOKIE variable.  I've searched around a bit but not a whole lot
 as
 I am tasked with finding a work around within a specific amount of time,
 but
 so far have not found a solution or an explanation.  I am not sure if
 there
 is a way to get the correct value by referenceing the cookie structure
 because the decoding seems to be automatic.

 Thanks,
 Andy


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235889
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Collections

2006-03-21 Thread Orlini, Robert
I am using CF 7 w/2003 Server and IIS 6.0 and have setup a collections to 
search.

An interesting problem occurs. When I index a collection to two directories 
called news and the other called reviews, the search brings up a 
corresponding url but the url does not work because the first letter of each 
directory is missing.

So a sample url would be for instance: http://www.mysite.com/ews/info.doc

Instead of ews it should be news. The directory listed is called news. 

Any ideas? I've deleted recreated optimized, re-indexed.

Robert O.
HWW


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.6/287 - Release Date: 3/21/2006
 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235890
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Client Variable Security, Shared Servers

2006-03-21 Thread Russ
In order to test this, if you have direct access to the 2 servers, or if you
have 2 dev servers (or 2 instances), you can just change your hosts file so
that 

www.domain.com points to the ip of the 1st server, and then after hitting
it, change the ip to point to the 2nd server (you might have to restart your
browser for the dns change to get picked up).  

Russ

 -Original Message-
 From: Tony Hicks [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 21, 2006 12:36 PM
 To: CF-Talk
 Subject: Client Variable Security, Shared Servers
 
 I have a site that runs entirely on session variables. It runs nicely.
 
 It runs so nicely, that we've been growing a lot... Its time for a second
 server. And unfortunately, some of our members are being kicked out
 routinely when the load balancer between the servers alternates between
 the
 servers.
 
 Load Balancers have a setting against this but proxy connections and
 programs such as Anonymizers interfere with this, and a switch may still
 occur.
 
 So the migration to client variables makes sense.
 
 Assuming that the client data is stored in a db repository...
 
 If a user is on one server and then is switched to the other
 identical-architecture server (by the load balancer), they should retain
 their status...?
 
 Thanks for any thoughts... I have what seems to be a working version, but
 I'm having a difficult time recreation the session switching situation..
 
 Also, will programs such as Anonymizers cause this behavior, because they
 change ip addresses? Is there any program, or command line method to clear
 out the cache so that my computer will create a fresh connection and
 potentially switch to the other server? I'm having a difficult time
 emulating this problem.
 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235891
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: ListQualify and queries

2006-03-21 Thread Rick Root
Dave Watts wrote:
is there an easy way to use CFQUERYPARAM in this scenario 
when there are more than one STATE option?
 ...
 
 Use the LIST attribute of CFQUERYPARAM.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/

All these years I've been using cfqueryparam and I never noticed that 
little list attribute!

I really do need to read the function list again!

You da man, Dave.

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235892
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re[2]: SQL-7-Server piking to 100% CPU

2006-03-21 Thread cf-talk
Hi Hugo, and everybody
who answered on my question.
I will try most of the hints.
Thanks a lot !
Uwe
HA Try experimenting with trace logs, there you should also be able to see
HA how much cpu different actions/access takes. It can be hard to wade
HA through all though.

HA Some info here, for instance, or try google or the MSSQl help.
HA http://www.databasejournal.com/features/mssql/article.php/10894_2239461_
HA 1

HA --
HA Hugo Ahlenius

HA -
HA Hugo Ahlenius  E-Mail: [EMAIL PROTECTED]
HA Project OfficerPhone:  +46 8 412 1427
HA UNEP GRID-Arendal  Fax:+46 8 723 0348
HA Stockholm Office   Mobile: +46 733 467111
HAWWW:   http://www.grida.no
HASkype:callto:fraxxinus
HA - 


HA ###

HA This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
HA For more information, connect to http://www.f-secure.com/

HA 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235893
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Reading cookies and decoding problem

2006-03-21 Thread Andy Tyrone
 -Original Message-
 From: Tony Hicks [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 21, 2006 1:25 PM
 To: CF-Talk
 Subject: Re: Reading cookies and decoding problem
 
 HAve you tried
 
 #cookie.contactid#... It might be converting the + to a space...
 
 Also... I would try setting a similar cookie in cf, 
 attempting to read it
 with cf too...
 
 And lastly I'd try.. just for testing purposes... Try 
 surrounding  set
 it to like... d+xxx/=d... See if the first d is stripped, 
 or the plus is
 still converted.
 

Yes, it is converting the + character to a space, but the problem is the
cookie is not encoded to begin with, or if it is, asp.net knows not to
encode that character.  The problem I am having is you can't reference the
cookie without some automatic mechanism changing that character.  The
workaround I have just written takes CGI.HTTP_Cookie and parses it into an
array and from there into a structure, so I end up with a duped cookie
structure WITH all the correct characters in each cookie.  I tried a few
different methods to work around this but that was the only one that worked.
Duplicating the cookie structure does not work as the values of each cookie
are still decoded in the new structure.

Anyone else?

Andy


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235894
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Mystic Beta 2 Now Available

2006-03-21 Thread dcooper
FYI (but watch the wrap!)

Mystic Doc:
http://download.macromedia.com/pub/documentation/en/flex/2/using_cf_with_flex2.pdf

Mystic Overview/Intro:
http://labs.macromedia.com/wiki/index.php/ColdFusion/Flex_Connectivity

Damon

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235895
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Mystic Beta 2 Now Available

2006-03-21 Thread Dave Carabetta
On 3/21/06, dcooper @ macromedia. com dcooper @ macromedia. com
[EMAIL PROTECTED] wrote:
 The ColdFusion/Flex Connectivity (Mystic) Beta 2 has been released (along 
 with Flex 2 Beta 2) and is now available for download on the Adobe Labs 
 site here: http://labs.adobe.com.

 The ColdFusion/Flex Connectivity Beta 2 release represents an important 
 milestone for ColdFusion customers wanting to build Rich Internet 
 Applications with Flex and ColdFusion.

 With this release, not only have we improved the previously delivered support 
 for the Flash Remoting Update and the Flex Asynchronous Messaging Gateway, 
 we've also added support for Flex Data Services 2.0 and included the first of 
 a set of Flex Builder plug-ins for ColdFusion developers that can 
 dramatically improve development productivity for some key coding tasks when 
 you are building ColdFusion-powered Flex applications.

 We're excited about Beta 2, and grateful for your participation.

 I believe ColdFusion + Flex 2 will empower you to quickly and easily create 
 amazing new Rich Internet Applications faster and easier than with any other 
 technology, anywhere. And there's more to come...we're not done yet!

 Of course, we recommend that you install Mystic Beta 2 on development and 
 testing servers only at this point, but I'd encourage everyone to take Flex 2 
 Beta 2 and CF Mystic Beta 2 for a spin.

 PS: Using Flex Builder 2, then adding CFEclipse and the Mystic Flex Builder 
 plugins will make for a very productive environment, and will let you use RDS 
 and the CF Query Builder for your FB/CFEclipse development!

 Please visit the Labs site for more information about this beta release, to 
 interact directly with ColdFusion engineering and quality assurance engineers 
 and other ColdFusion/Flex Connectivity beta 2 users, and to access the 
 ColdFusion/Flex Connectivity Beta 2 Bug Tracker.

 Damon Cooper
 Director of Engineering, ColdFusion
 Adobe Systems


I'm excited too. However, once again in this beta, the installer
refuses to work with the multiserver configuration option (constant
specified directory does not contain a valid JRun root directory
error). Is it possible to post a set of instructions/files for
manually installing the bits? Otherwise, I'm dead in the water.

Regards,
Dave.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235896
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF Mystic Beta 2 Now Available

2006-03-21 Thread Ian Skinner
I'm excited too. However, once again in this beta, the installer refuses to 
work with the multiserver configuration option (constant specified directory 
does not contain a valid JRun root directory error). Is it possible to post a 
set of instructions/files for manually installing the bits? Otherwise, I'm dead 
in the water.

Regards,
Dave.

This issue has been resolved in the discussion list and Ben Forta's blog.  It 
basically involves copying the specified xml file to the location the install 
expects it.  Let the installer update it, then copy it back to the location it 
belongs in the jrun server instance.

http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=592threadid=1113467enterthread=y#3980449

When I looked up the url, it looks like you have tried this solution.  It 
solved the issue for me.

Do you know the exact error in the install log?


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235897
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: counting downloads

2006-03-21 Thread Munson, Jacob
I'm not sure what you want is possible.  The document download happens
in the client, and unless you can embed something to communicate back to
your server, I don't think you'll ever know if they actually download it
or not.  Someone else suggested using try/catch, and I tried that to see
if it would work.  Unless I'm doing something wrong, the catch doesn't
fire when the download is cancelled.

Now that I think about it, you should be able to see real download
numbers in your web server logs. 

 -Original Message-
 From: Brian Coleman
 Sent: Tuesday, March 21, 2006 9:03 AM
 
 Does anyone know of a way to serve up files and record how 
 many times the file's been downloaded?
 
 For example if I use some code like this...
 cfheader name=Content-Disposition value=attachment; 
 filename=D:\etc
 cfcontent file=D:\etc type=application/octet-stream
 
 Is there some way I record info *after* the download?
 I tried putting some code at the top of a page like this and 
 it executed...but putting it after the cfcontent nothing happened.
 If I put it at the top of the page, I guess it's like a click 
 counter, it records the user having clicked the link to the 
 page but not if they saved or canceled the download.


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235898
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Mystic Beta 2 Now Available

2006-03-21 Thread Dave Carabetta
On 3/21/06, Ian Skinner [EMAIL PROTECTED] wrote:
 I'm excited too. However, once again in this beta, the installer refuses to 
 work with the multiserver configuration option (constant specified directory 
 does not contain a valid JRun root directory error). Is it possible to post 
 a set of instructions/files for manually installing the bits? Otherwise, I'm 
 dead in the water.

 Regards,
 Dave.

 This issue has been resolved in the discussion list and Ben Forta's blog.  It 
 basically involves copying the specified xml file to the location the install 
 expects it.  Let the installer update it, then copy it back to the location 
 it belongs in the jrun server instance.

 http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=592threadid=1113467enterthread=y#3980449

 When I looked up the url, it looks like you have tried this solution.  It 
 solved the issue for me.

 Do you know the exact error in the install log?


This is not the same error. I'm aware of both the forums and Ben's
blog, as I've posted to both with no success. I can't even get past
the Where is ColdFusion MX 7 located? step in the multiserver
option, let alone get to the end with an installer log.

Eventually, I received some off-line support from an Adobe engineer
during the beta 1 cycle, but that was for the beta 1 bits and I'd like
to use the beta 2 bits, which I don't have access to (even by
unzipping the installer, which you can do by the way).

Regards,
Dave.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235899
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: counting downloads

2006-03-21 Thread Michael T. Tangorre
 From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
 I'm not sure what you want is possible.  The document 
 download happens in the client, and unless you can embed 
 something to communicate back to your server, I don't think 
 you'll ever know if they actually download it or not.  
 Someone else suggested using try/catch, and I tried that to 
 see if it would work.  Unless I'm doing something wrong, the 
 catch doesn't fire when the download is cancelled.

I suggested using try/catch when attempting to serve the file. I always
check to see if the file exists before I try and serve it to the end user.

 run query to get document name/extension

 check to see if the document exists cfif fileExists(...)

 if the document exists increment your counter

 server the document

 if the user cancels the download, nothing you can do.

 if the process throws an exception you can roll the counter back by 1




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235900
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFQuickDocs...

2006-03-21 Thread Munson, Jacob
Gasp!  Thanks for bringing this to my attention, I'm looking into it
now. 

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 21, 2006 10:36 AM
 To: CF-Talk
 Subject: CFQuickDocs...
 
 Is getting a 500 error. Jacob...this is you right?
 
 Just letting you know. I use it all the time.

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235901
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFQuickDocs...

2006-03-21 Thread Andy Matthews
My pleasure. Glad I could be the one to tell you about it. I never realized
how helpful it was until I couldn't get to the site.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 1:22 PM
To: CF-Talk
Subject: RE: CFQuickDocs...


Gasp!  Thanks for bringing this to my attention, I'm looking into it
now.

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 21, 2006 10:36 AM
 To: CF-Talk
 Subject: CFQuickDocs...

 Is getting a 500 error. Jacob...this is you right?

 Just letting you know. I use it all the time.

This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you. A1.





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235902
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Mystic Beta 2 Now Available

2006-03-21 Thread John Wilker
same boat as Dave myself. My install gets hung on the Where is CF 7?
stuff. No love past that.

On 3/21/06, Dave Carabetta [EMAIL PROTECTED] wrote:

 On 3/21/06, Ian Skinner [EMAIL PROTECTED] wrote:
  I'm excited too. However, once again in this beta, the installer refuses
 to work with the multiserver configuration option (constant specified
 directory does not contain a valid JRun root directory error). Is it
 possible to post a set of instructions/files for manually installing the
 bits? Otherwise, I'm dead in the water.
 
  Regards,
  Dave.
 
  This issue has been resolved in the discussion list and Ben Forta's
 blog.  It basically involves copying the specified xml file to the location
 the install expects it.  Let the installer update it, then copy it back to
 the location it belongs in the jrun server instance.
 
 
 http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=592threadid=1113467enterthread=y#3980449
 
  When I looked up the url, it looks like you have tried this
 solution.  It solved the issue for me.
 
  Do you know the exact error in the install log?
 

 This is not the same error. I'm aware of both the forums and Ben's
 blog, as I've posted to both with no success. I can't even get past
 the Where is ColdFusion MX 7 located? step in the multiserver
 option, let alone get to the end with an installer log.

 Eventually, I received some off-line support from an Adobe engineer
 during the beta 1 cycle, but that was for the beta 1 bits and I'd like
 to use the beta 2 bits, which I don't have access to (even by
 unzipping the installer, which you can do by the way).

 Regards,
 Dave.

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235903
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: counting downloads

2006-03-21 Thread Dawson, Michael
I'm not positive, but won't the browser/web server set some status code
when a user cancels a request?  If so, you could check the logs or
modify one of the default error pages that handles that status code.
(I'm talking out my butt if this doesn't make sense.)

M!ke 

-Original Message-
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 1:20 PM
To: CF-Talk
Subject: RE: counting downloads

 From: Munson, Jacob [mailto:[EMAIL PROTECTED] I'm not sure what 
 you want is possible.  The document download happens in the client, 
 and unless you can embed something to communicate back to your server,

 I don't think you'll ever know if they actually download it or not.
 Someone else suggested using try/catch, and I tried that to see if it 
 would work.  Unless I'm doing something wrong, the catch doesn't fire 
 when the download is cancelled.

I suggested using try/catch when attempting to serve the file. I always
check to see if the file exists before I try and serve it to the end
user.

. run query to get document name/extension

. check to see if the document exists cfif fileExists(...)

. if the document exists increment your counter

. server the document

. if the user cancels the download, nothing you can do.

. if the process throws an exception you can roll the counter back by
1

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235904
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfmx7 on intel os x

2006-03-21 Thread dave
Mark, I'm trying to install it on tomcat and i got them both running but when i 
try to log into cfm admin i get a blank screen and there is an option during 
install which might be the culprit, so I'm gunna try that next.

~Dave the disruptor~ 


From: Mark Drew [EMAIL PROTECTED]
Sent: Monday, March 20, 2006 5:24 AM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: cfmx7 on intel os x 

Not yet but that is one of the first things I shall be installing so let me
know what happens!

did you try and start it manually? and if so... do you have the Console
looking at the log file?

MD

On 3/20/06, dave  wrote:

 I'm setting up my new imac and It doesn't seem like I can get cfmx server
 to start on it, maybe I did a bad install but has anyone installed cfmx7 dev
 edition on intel os x yet?

 ~Dave the disruptor~



 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235905
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Mystic Beta 2 Now Available

2006-03-21 Thread dcooper
The Beta 2 installer is good for Windows Option #1 and Option #2 installs - 
(ColdFusion Server or ColdFusion Multi-Server configurations).  

It will not work for J2EE (even with JRun) with a manually-deployed cfusion.war 
or cfusion.ear file.

We'll try to have something put together for J2EE and non-Windows configs for 
Beta 3. 

HTH

Damon

same boat as Dave myself. My install gets hung on the Where is CF 7?
stuff. No love past that.

On 3/21/06, Dave Carabetta [EMAIL PROTECTED] wrote:


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235906
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cflogin and load balancing

2006-03-21 Thread wolf2k5
On 3/21/06, Dave Watts [EMAIL PROTECTED] wrote:
 If you use round-robin DNS, it is unlikely that the user will be sent to one
 server, then another. When the user attempts to connect initially, the DNS
 server will issue one IP address, and that IP address will be cached for
 some time by the client. Even if that first server fails, the user will not
 be sent to another server.

Most probably we'll be using a very low TTL, so there is a chance that
an user will hit jump from a server to another: even if most browsers
just cache the IP address and ignore the TTL, that may be not true for
all.

 Aside from that, though, I don't think there's any way to share CFLOGIN data
 without associating it with the Session scope, and sharing that across the
 servers. This would require CF clustering. When you use the CFLOGIN tag, it
 does write a cookie which contains something, but I don't know if it
 contains everything that is set by CFLOGINUSER.

That's exactly what I'm wondering: does the cflogin cookie include all
the info (username/password) needed to (automatically)
(re)authenticate the user on a server if he previously authenticated
on another server? Anyone tried this?

Thanks.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235907
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFQuickDocs...

2006-03-21 Thread Munson, Jacob
It looks like it's working again.  :)

http://techfeed.net/cfQuickDocs/ 

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 21, 2006 12:29 PM
 
 My pleasure. Glad I could be the one to tell you about it. I 
 never realized
 how helpful it was until I couldn't get to the site.
 
 -Original Message-
 From: Munson, Jacob [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 21, 2006 1:22 PM
 
 Gasp!  Thanks for bringing this to my attention, I'm looking into it
 now.
 
  -Original Message-
  From: Andy Matthews [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, March 21, 2006 10:36 AM
 
  Is getting a 500 error. Jacob...this is you right?
 
  Just letting you know. I use it all the time.


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235908
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFQuickDocs...

2006-03-21 Thread Andy Matthews
Yay...

I have parameters to look up.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 2:52 PM
To: CF-Talk
Subject: RE: CFQuickDocs...


It looks like it's working again.  :)

http://techfeed.net/cfQuickDocs/

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 21, 2006 12:29 PM

 My pleasure. Glad I could be the one to tell you about it. I
 never realized
 how helpful it was until I couldn't get to the site.

 -Original Message-
 From: Munson, Jacob [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 21, 2006 1:22 PM

 Gasp!  Thanks for bringing this to my attention, I'm looking into it
 now.

  -Original Message-
  From: Andy Matthews [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, March 21, 2006 10:36 AM
 
  Is getting a 500 error. Jacob...this is you right?
 
  Just letting you know. I use it all the time.


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law.  If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format.  Thank you.   A2





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235909
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: MS Access metadata

2006-03-21 Thread Steve Bryant
I was afraid of that.

I was hoping that someone might have some magic COM or JDBC/ODBC solution or 
something (without purchasing/installing anything). I suspected that my hopes 
were out of line with reality.

Thanks for all the replies!

Steve

Unfortunately, that's about as good as it's going to get.

.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235910
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


[CSS] ul and display:inline

2006-03-21 Thread Ray Champagne
Is it normal behavior for a unordered list to lose the disc when I 
change the style to display to inline?  I can't seem to get the damn 
things to come back in my horizontal lists.  Am I missing something?

BTW, I did add list-style-type: disc to the style def.
-- 
=
Ray Champagne - Senior Application Developer
CrystalVision Web Site Design and Internet Services
603.433.9559
www.crystalvision.org
=


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235911
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: [CSS] ul and display:inline

2006-03-21 Thread Sandra Clark
Yes,

Lists displayed inline lose their style-type.  If you want to have some sort
of image in between the li items, use background-image on the li


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility 

-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 4:43 PM
To: CF-Talk
Subject: [CSS] ul and display:inline

Is it normal behavior for a unordered list to lose the disc when I change
the style to display to inline?  I can't seem to get the damn things to come
back in my horizontal lists.  Am I missing something?

BTW, I did add list-style-type: disc to the style def.
--
=
Ray Champagne - Senior Application Developer CrystalVision Web Site Design
and Internet Services
603.433.9559
www.crystalvision.org
=




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235912
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [CSS] ul and display:inline

2006-03-21 Thread Ray Champagne
Awesome.  Thanks once again CSSandy.  :)  You saved the day again.

Sandra Clark wrote:
 Yes,
 
 Lists displayed inline lose their style-type.  If you want to have some sort
 of image in between the li items, use background-image on the li
 
 
 Sandra Clark
 ==
 http://www.shayna.com
 Training in Cascading Style Sheets and Accessibility 
 
 -Original Message-
 From: Ray Champagne [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 21, 2006 4:43 PM
 To: CF-Talk
 Subject: [CSS] ul and display:inline
 
 Is it normal behavior for a unordered list to lose the disc when I change
 the style to display to inline?  I can't seem to get the damn things to come
 back in my horizontal lists.  Am I missing something?
 
 BTW, I did add list-style-type: disc to the style def.
 --
 =
 Ray Champagne - Senior Application Developer CrystalVision Web Site Design
 and Internet Services
 603.433.9559
 www.crystalvision.org
 =
 
 
 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235913
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Mystic Beta 2 Now Available

2006-03-21 Thread Dave Carabetta
On 3/21/06, dcooper @ macromedia. com dcooper @ macromedia. com
[EMAIL PROTECTED] wrote:
 The Beta 2 installer is good for Windows Option #1 and Option #2 installs 
 - (ColdFusion Server or ColdFusion Multi-Server configurations).

 It will not work for J2EE (even with JRun) with a manually-deployed 
 cfusion.war or cfusion.ear file.

 We'll try to have something put together for J2EE and non-Windows configs for 
 Beta 3.


Thanks Damon. So does this preclude the possibility of posting a
manual install process (i.e., posting the jar files and xml edits)?
I ask because I was moving along with a proof-of-concept and now I'll
have to either continue using Beta 1 or stop development altogether
until Beta 3, neither of which are overly appealing. Even something
off-line?

Regards,
Dave.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235914
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RDS Usernames? How about lesser security?

2006-03-21 Thread Nathan Strutz
Hey all,

I noticed in the Adobe RDS plugin for Eclipse an option to supply a username
and password with RDS. Has anyone heard or using a user/pass system for RDS?
Also, of course, if we could limit these accounts (kind of like a sandbox),
that would just be absolutely great.

And if nobody's ever heard of this, I'll probably be entering it into the
wishform.

-nathan strutz
http://www.dopefly.com/


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235915
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [CSS] ul and display:inline

2006-03-21 Thread Jerry Johnson
Are you sure the disc is disappearing, and not just being lost due to
margin and spacing and overlapping issues?


On 3/21/06, Ray Champagne [EMAIL PROTECTED] wrote:
 Is it normal behavior for a unordered list to lose the disc when I
 change the style to display to inline?  I can't seem to get the damn
 things to come back in my horizontal lists.  Am I missing something?

 BTW, I did add list-style-type: disc to the style def.
 --
 =
 Ray Champagne - Senior Application Developer
 CrystalVision Web Site Design and Internet Services
 603.433.9559
 www.crystalvision.org
 =


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235916
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: RDS Usernames? How about lesser security?

2006-03-21 Thread Dave Watts
 I noticed in the Adobe RDS plugin for Eclipse an option to 
 supply a username and password with RDS. Has anyone heard or 
 using a user/pass system for RDS?
 Also, of course, if we could limit these accounts (kind of 
 like a sandbox), that would just be absolutely great.
 
 And if nobody's ever heard of this, I'll probably be entering 
 it into the wishform.

It existed in CF 4.x and 5, if you enabled Advanced Security. It no longer
exists in CFMX.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235917
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [CSS] ul and display:inline

2006-03-21 Thread Ray Champagne
Yea, I even did a clean page test case to make sure.  That was my 
first thought too.

Jerry Johnson wrote:
 Are you sure the disc is disappearing, and not just being lost due to
 margin and spacing and overlapping issues?
 
 
 On 3/21/06, Ray Champagne [EMAIL PROTECTED] wrote:
 Is it normal behavior for a unordered list to lose the disc when I
 change the style to display to inline?  I can't seem to get the damn
 things to come back in my horizontal lists.  Am I missing something?

 BTW, I did add list-style-type: disc to the style def.
 --
 =
 Ray Champagne - Senior Application Developer
 CrystalVision Web Site Design and Internet Services
 603.433.9559
 www.crystalvision.org
 =



 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235918
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Mystic Beta 2 Now Available

2006-03-21 Thread John Wilker
Offline nuttin! :)

If there's a work around for jrun. I'd love to get in on it too. I am
planning to re-write one of my apps in April as a proof of concept for Flex
for my own uses.

Please oh purty please Damon say there's a work around of some sort or
hurry up with B3 :)

J

On 3/21/06, Dave Carabetta [EMAIL PROTECTED] wrote:

 On 3/21/06, dcooper @ macromedia. com dcooper @ macromedia. com
 [EMAIL PROTECTED] wrote:
  The Beta 2 installer is good for Windows Option #1 and Option #2
 installs - (ColdFusion Server or ColdFusion Multi-Server configurations).
 
  It will not work for J2EE (even with JRun) with a manually-deployed
 cfusion.war or cfusion.ear file.
 
  We'll try to have something put together for J2EE and non-Windows
 configs for Beta 3.
 

 Thanks Damon. So does this preclude the possibility of posting a
 manual install process (i.e., posting the jar files and xml edits)?
 I ask because I was moving along with a proof-of-concept and now I'll
 have to either continue using Beta 1 or stop development altogether
 until Beta 3, neither of which are overly appealing. Even something
 off-line?

 Regards,
 Dave.

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235919
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Good CF5 Soap Client

2006-03-21 Thread Stan Winchester
Any recommendations for a good CF5 compatible SOAP client? I have a client
who needs one, but it must be CF5 compatible.
 
Thank you,
Aftershock Web Design, Inc.
by: Stan Winchester
President/Developer
http://www.aftershockweb.com/   



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235920
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Merging two queries

2006-03-21 Thread Oleg Gunkin
cfdirectory returns a query as a result, and I need somehow to combine results 
of several cfdirectory calls. In other words, I have two queries, but I need to 
combine them into a single query. Any ideas how to do that?

--
Oleg Gunkin
Email: [EMAIL PROTECTED]
Phone: (604) 666-9392
Emerging Technologies / Pacific Web Services
Information Technology Services
Public Works and Government Services Canada (Pacific)

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235921
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Merging two queries

2006-03-21 Thread Coldfusion
Depending on the query and DB platform   UNION 

-Original Message-
From: Oleg Gunkin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 6:13 PM
To: CF-Talk
Subject: Merging two queries

cfdirectory returns a query as a result, and I need somehow to combine
results of several cfdirectory calls. In other words, I have two queries,
but I need to combine them into a single query. Any ideas how to do that?

--
Oleg Gunkin
Email: [EMAIL PROTECTED]
Phone: (604) 666-9392
Emerging Technologies / Pacific Web Services Information Technology Services
Public Works and Government Services Canada (Pacific)



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235922
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Merging two queries

2006-03-21 Thread Oleg Gunkin
There is no database involved! cfdirectory returns its result as query type.

--
Oleg Gunkin
Email: [EMAIL PROTECTED]
Phone: (604) 666-9392
Emerging Technologies / Pacific Web Services
Information Technology Services
Public Works and Government Services Canada (Pacific)

-Original Message-
From: Coldfusion [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 15:19
To: CF-Talk
Subject: RE: Merging two queries


Depending on the query and DB platform   UNION 

-Original Message-
From: Oleg Gunkin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 6:13 PM
To: CF-Talk
Subject: Merging two queries

cfdirectory returns a query as a result, and I need somehow to combine
results of several cfdirectory calls. In other words, I have two queries,
but I need to combine them into a single query. Any ideas how to do that?

--
Oleg Gunkin
Email: [EMAIL PROTECTED]
Phone: (604) 666-9392
Emerging Technologies / Pacific Web Services Information Technology Services
Public Works and Government Services Canada (Pacific)





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235923
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Merging two queries

2006-03-21 Thread Jerry Johnson
query of queries (cfquery) can add them together, but you might need
to know which query each came from.

select * from q1 union select * from q2

will add them together.

If you need to know the query (or folder) it came from, you can add a
column to each query with the info of the query name
(QueryAddColumn()) before doing the union.

There might be a better way, but I've done this before

On 3/21/06, Oleg Gunkin [EMAIL PROTECTED] wrote:
 cfdirectory returns a query as a result, and I need somehow to combine 
 results of several cfdirectory calls. In other words, I have two queries, but 
 I need to combine them into a single query. Any ideas how to do that?

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235924
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Merging two queries

2006-03-21 Thread Michael Traher
http://www.cflib.org/udf.cfm?ID=1376

This might do it - or browse the other query related functions. :-)

If not looking at the code in these may give you some other ideas.

On 3/21/06, Oleg Gunkin [EMAIL PROTECTED] wrote:

 cfdirectory returns a query as a result, and I need somehow to combine
 results of several cfdirectory calls. In other words, I have two queries,
 but I need to combine them into a single query. Any ideas how to do that?

 --
 Oleg Gunkin
 Email: [EMAIL PROTECTED]
 Phone: (604) 666-9392
 Emerging Technologies / Pacific Web Services
 Information Technology Services
 Public Works and Government Services Canada (Pacific)

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235925
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Merging two queries

2006-03-21 Thread Ian Skinner
cfdirectory returns a query as a result, and I need somehow to combine results 
of several cfdirectory calls. In other words, I have two queries, but I need to 
combine them into a single query. Any ideas how to do that?


I forget is Query of Query capable of UNION statements?  If so that would work. 
 If not, you can use the queryNew(), queryAddRow(), querySetCell() functions to 
do it by hand.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235926
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: counting downloads

2006-03-21 Thread Dennis Powers
 . Wrap the cfheader/cfcontent in a cftry/cfcatch block and if 
 an exception is raised, decrement the counter and handle the event 
 as you see fit.

The problem with determining if the file is actually delivered when using
the web server is that the browser can fail to complete or the user can
cancel the download.  If the download counts are not specific to the
individual but site-wide then the margin of error would make it negligible
and in most cases not worth the trouble to code around.  

We deliver large files and do so via FTP from an FTP server which by design
can determine with some certainty if the download is complete.  We have a
script on the FTP server that triggers on download success then writes
directly to the DB.

Best Regards,
 
Dennis Powers
UXB Internet- A Website Design and Hosting Company
690 Wolcott Road - P.O. Box 6028
Wolcott, CT 06716
Tel: 203-879-2844
http://www.uxbinternet.com
http://dennis.uxb.net



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235927
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Merging two queries

2006-03-21 Thread Oleg Gunkin
Thank you

This function does exactly what I need

--
Oleg Gunkin
Email: [EMAIL PROTECTED]
Phone: (604) 666-9392
Emerging Technologies / Pacific Web Services
Information Technology Services
Public Works and Government Services Canada (Pacific)

-Original Message-
From: Michael Traher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 15:23
To: CF-Talk
Subject: Re: Merging two queries


http://www.cflib.org/udf.cfm?ID=1376

This might do it - or browse the other query related functions. :-)

If not looking at the code in these may give you some other ideas.

On 3/21/06, Oleg Gunkin [EMAIL PROTECTED] wrote:

 cfdirectory returns a query as a result, and I need somehow to combine
 results of several cfdirectory calls. In other words, I have two queries,
 but I need to combine them into a single query. Any ideas how to do that?

 --
 Oleg Gunkin
 Email: [EMAIL PROTECTED]
 Phone: (604) 666-9392
 Emerging Technologies / Pacific Web Services
 Information Technology Services
 Public Works and Government Services Canada (Pacific)

 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235928
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Keyword filter for contact form

2006-03-21 Thread Mike | NZSolutions Ltd
Hi guys,

I have the following filter for an email form...

cfset bannedWordsList = mike,little,good,bad (I have removed actuals
so this gets through.)

cfif isDefined(FORM.fieldnames)

cfloop index=thefield list=#FORM.fieldnames#
cfif listFindNoCase(bannedWordsList, evaluate('FORM.' 
thefield), ,)
cfset valid_email = 0
/cfif
/cfloop

/cfif

Now this works fine if for example the FORM.name = mike, but not if
the FORM.name = big mike.

What am I doing wrong.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235929
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


ColdFusion Weekly - Version 1.0 alpha Released (podcast)

2006-03-21 Thread Peter Farrell
In the spirit of getting good ColdFusion information to developers, I'm
going to do a one time spam the House of Fusion list.  This version we have 
Jared
Rypka-Hauer in the CF_Hotseat and play the CF_Quiz for a chance to
win a prize from ColdFusionGear.com
http://www.coldfusiongear.com/cfgear/index.cfm?affid=CFPC


Listen to ColdFusion Weekly - Version 1.0

http://www.coldfusionweekly.com Wow! We've released it to the world.
Matt and I finished uploading our first podcast to our narrowcasting
provider. So download and listen to the first ColdFusion Weekly
http://www.coldfusionweekly.com - The Virtually Live Call-In Show.

We can say without a doubt that this will be our best show ever. This
week on the Weekly:

* About ColdFusion Weekly
* cf.Objective() http://www.cfobjective.com roundup on the
  CFReport – at 9:00
* CF_Hotseat: Jared Rypka-Hauer
  http://www.web-relevant.com/blogs/cfobjective/index.cfm on
  cf.Objective() – at 26:30
* The CF_Quiz
  http://www.coldfusionweekly.com/index.cfm?event=showCFQuiz – at
  44:30

Download Version 1.0 alpha
http://media.libsyn.com/media/coldfusionweekly/cfweekly_1.0_final.mp3

Run time: 48:31 | Size: 38.8MB | Format: mp3

Subscribe to RSS Feed
http://coldfusionweekly.libsyn.com/rss

Thanks,
Matt  Peter

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235930
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Keyword filter for contact form

2006-03-21 Thread Ian Skinner
cfloop index=thefield list=#FORM.fieldnames#
cfif listFindNoCase(bannedWordsList, evaluate('FORM.'  thefield), 
,)
cfset valid_email = 0
/cfif
/cfloop

First get rid of the unnecessary evaluate.
Second, listFind is not going to find partial matches.  To do that you are 
going to need to do in individual find on each list/field combination, 
requiring another loop.


cfloop index=thefield list=#FORM.fieldnames#
cfloop list#bannedWordsList# index=bannedWord
cfif findNoCase(bannedWord, form[theField)
cfset valid_email = 0
/cfif
/cfloop
/cfloop

This does not look very efficient.  A description of your requirement might 
generate a better solution.

Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235931
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Keyword filter for contact form

2006-03-21 Thread Loathe
Use listContains or listContainsNoCase.  listFind only matches the whole
string literal. 


--
Tim Heald
[EMAIL PROTECTED]
703-300-3911
-Original Message-
From: Mike | NZSolutions Ltd [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 7:16 PM
To: CF-Talk
Subject: Keyword filter for contact form

Hi guys,

I have the following filter for an email form...

cfset bannedWordsList = mike,little,good,bad (I have removed actuals so
this gets through.)

cfif isDefined(FORM.fieldnames)

cfloop index=thefield list=#FORM.fieldnames#
cfif listFindNoCase(bannedWordsList, evaluate('FORM.' 
thefield), ,)
cfset valid_email = 0
/cfif
/cfloop

/cfif

Now this works fine if for example the FORM.name = mike, but not if the
FORM.name = big mike.

What am I doing wrong.





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235932
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Keyword filter for contact form

2006-03-21 Thread Loathe
Also get rid of the evaluate and used named array convention for the form
field name, like:

cfif listContainsNoCase(bannedWordsList, form[theField], ,)
blah

--
Tim Heald
[EMAIL PROTECTED]
703-300-3911
-Original Message-
From: Loathe [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 7:50 PM
To: CF-Talk
Subject: RE: Keyword filter for contact form

Use listContains or listContainsNoCase.  listFind only matches the whole
string literal. 


--
Tim Heald
[EMAIL PROTECTED]
703-300-3911
-Original Message-
From: Mike | NZSolutions Ltd [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 7:16 PM
To: CF-Talk
Subject: Keyword filter for contact form

Hi guys,

I have the following filter for an email form...

cfset bannedWordsList = mike,little,good,bad (I have removed actuals so
this gets through.)

cfif isDefined(FORM.fieldnames)

cfloop index=thefield list=#FORM.fieldnames#
cfif listFindNoCase(bannedWordsList, evaluate('FORM.' 
thefield), ,)
cfset valid_email = 0
/cfif
/cfloop

/cfif

Now this works fine if for example the FORM.name = mike, but not if the
FORM.name = big mike.

What am I doing wrong.







~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235933
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Keyword filter for contact form

2006-03-21 Thread Mike Little
thanks guys,

the listcontainsnocase still does not find the expanded string.

ian you are onto something with the loop within a loop, but like you say this 
looks like a bit inefficient.

what i wish to do is set a list (or table) of banned words and then chekc that 
each form field does not contain one - if they do, set a variable eg. 
valid_email = false.

mike

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235934
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


cfeclipse plugins

2006-03-21 Thread dave
I know they are on here but search of archives is futile.
What are the good plugins for css, ftp, xml, mysql, etc...
tia

~Dave the disruptor~ 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235935
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: graphical representations of passcodes

2006-03-21 Thread Eric Roberts
I am sure they are random sets of letters or even words that are in the
database with links to the graphics that represent them.  They could either
be individual letters or even sets of letters.  Thee are then randomly
chosen.  The customer enters what they see on the graphics and the result is
compared against the db.  It seems that simple to me.  Yahoo already does
this.  I am not sure if this is the mechanism used, but it would be a good
candidate.  All you would need is the randomizer function to come up with a
random number...or a series of random numbers and that would be what is
pulled from the db.

Eric

-Original Message-
From: Reed Powell [mailto:[EMAIL PROTECTED] 
Sent: Monday, 20 March 2006 21:14
To: CF-Talk
Subject: WOT: graphical representations of passcodes

Sorry for this WOT question - I was getting ready to Google for sources of
code (hopefully CF or CF-friendy) to produce the graphics that are used to
ensure that a human is at the other end of an http connection (you know, the
one's that require you to enter the number or character sequence being
displayed next to the text input box) - and realized that I have no idea as
to what the h*** they are called!  Some kind of a glyph I thought, but my
feeble attempts at the googling were too generic and produced way too many
search hits.  But I'M SURE that a few weeks (months?) ago I saw someone on
this list make mention of some CF code for doing just this.

Anyway, TIA for the answer!
Reed





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235936
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfeclipse plugins

2006-03-21 Thread Barney Boisvert
MyEclipse IDE.  It's $30/yr subscription, but well worth it, if you
ask me.  CSS, JS, HTML, XML, XSD/DTD, DB stuff, image editing, UML
diagraming, and a whole pile of J2EE-centric tools that may or may not
be of interest.

cheers,
barneyb

On 3/21/06, dave [EMAIL PROTECTED] wrote:
 I know they are on here but search of archives is futile.
 What are the good plugins for css, ftp, xml, mysql, etc...
 tia

 ~Dave the disruptor~



--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235937
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54