RE: CFMX Taking all CPU Resources? (CODE)

2002-08-01 Thread Matt Liotta

On another machine we tried the same tests and found the code took
1680ms to run 1000 iterations. Interestingly enough we rewrote Sean's
code in Java and retried the tests. From Java we could do 1000
iterations in 1265ms. The Java code is below.

import java.util.*;
import java.io.*;
import org.xml.sax.*;
import com.allaire.wddx.*;

public class STest
{
  String xmlContent = null;
  WddxDeserializer deserializer = null;
  
  public STest(String filePath) throws Exception
  {
deserializer = new
WddxDeserializer(org.apache.xerces.parsers.SAXParser);
readInXML(filePath);
  }

  public static void main(String args[])
  {
try
{
  if (args.length  2)
  {
System.out.println(Usage: alchemy.STest filepath
deserializations [iterations]);
return; 
  }
  int iterations = 1;
  if (args.length == 3)
iterations = Integer.parseInt(args[2]);
  STest test = new STest(args[0]);
  for (int i=0; iiterations; i++)
  {
test.run(Integer.parseInt(args[1]));
  }
}
catch (Exception ex)
{
  ex.printStackTrace();
}
  }

  private void readInXML(String filePath) throws Exception
  {
FileReader reader = null;
try
{
  reader = new FileReader(filePath);
  xmlContent = ;
  char[] buf = new char[512];
  int read = -1;
  while ((read = reader.read(buf)) != -1)
  {
xmlContent += new String(buf, 0, read);
  }
  xmlContent = xmlContent.trim();
}
finally
{
  if (reader != null)
reader.close();
}
  }

public void run(int nTimes) throws Exception
{
Map map = null;
InputSource source = null;

long start = System.currentTimeMillis();
for (int i=0; inTimes; i++)
{
  source = new InputSource(new StringReader(xmlContent));
  map = (Map)deserializer.deserialize(source);
}
long end = System.currentTimeMillis();
System.out.println(It took:  + (end - start) +  ms to deserialize
 + nTimes +  times.);
}

}

Matt Liotta
President  CEO
Montara Software, Inc.
http://www.montarasoftware.com/
V: 415-577-8070
F: 415-341-8906
P: [EMAIL PROTECTED]

 -Original Message-
 From: Matt Liotta [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 31, 2002 10:22 AM
 To: CF-Talk
 Subject: RE: CFMX Taking all CPU Resources? (CODE)
 
 P3 866 384 RAM CFMX (2543ms)
 
 Using the below code on the same machine (5908ms)
 
 cfparam name=URL.loop type=numeric default=1/
 cfset request.File = c:\cfusionmx\wwwroot\test\joe.wddx/
 cffile action=READ file=#request.file# variable=temp/
 cfset loop = URL.loop/ cfset request.StartTime = GetTickCount()/
 cfloop index=i from=1 to=#loop#
   cfscript
   tempDoc = XmlParse(temp);
   ctemp = StructNew();
 
   for(itr = 1; itr lte
 ArrayLen(tempDoc.wddxpacket.data.struct.XmlChildren); itr = itr + 1)
   StructInsert(ctemp,
 tempDoc.wddxpacket.data.struct.var[itr].XmlAttributes.name,
 tempDoc.wddxpacket.data.struct.var[itr].XmlChildren[1].XmlText);
   /cfscript
 /cfloop
 cfoutput
 #GetTickCount() - request.StartTime# ms
 cfdump label=deserialized packet var=#ctemp#/
 /cfoutput
 
 Matt Liotta
 President  CEO
 Montara Software, Inc.
 http://www.montarasoftware.com/
 V: 415-577-8070
 F: 415-341-8906
 P: [EMAIL PROTECTED]
 
  -Original Message-
  From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, July 31, 2002 9:11 AM
  To: CF-Talk
  Subject: Re: CFMX Taking all CPU Resources? (CODE)
 
  On Tuesday, July 30, 2002, at 10:27 , Joe Eugene wrote:
 Below are the details of the code that is running slow on CFMX.
 
  I've put together a very simple test to time wddx2cfml on various
 systems.
I don't have CF5 to run it on but hopefully some folks here will
be
 able
  to confirm / deny the speed differences.
 
  Two files:
  - xfile.cfm reads the WDDX packet and then times cfwddx repeatedly
  deserializing it
  - joe.wddx is Joe's WDDX (with a correction: there's a missing
 /string
  on line 34!)
 
  I tested this on a PowerMac G4 800MHz with
  http://127.0.0.1/xfile.cfm?loop=
  1000 and it consistently executed in 4000ms.
 
  xfile.cfm:
  !--- xfile.cfm ---
  cfparam name=URL.loop type=numeric default=1/
  cfset request.File = /home/coldfusionmx/wwwroot/bacfug/joe.wddx/
  cffile action=READ file=#request.file# variable=temp/
  cfset loop = URL.loop/
  cfset request.StartTime = GetTickCount()/
  cfloop index=i from=1 to=#loop#
   cfwddx action=wddx2cfml input=#temp# output=ctemp
  /cfloop
  cfoutput
  #GetTickCount() - request.StartTime# ms
  cfdump label=deserialized packet var=#ctemp#/
  /cfoutput
  !--- end ---
 
  joe.wddx:
  wddxPacket version='1.0'header/headerdatastructvar
  name='ALTTAG'stringMS Commercial/string/varvar
  name='BODY'stringlt;Pgt;All MSamp;reg; models are made in the
 USA to
  the highest quality standards.lt;/Pgt;char
code='0A'/lt;Pgt;The
  MSamp;reg; Series grew out of our 

RE: CF_help cflocation with submit name value

2002-08-01 Thread Hugo Ahlenius

I guess you could let the onClick attribute set a hidden form variable for
the different buttons.




-
Hugo Ahlenius   E-Mail: [EMAIL PROTECTED]
Project Officer Phone:  +46 8 7410451
UNEP GRID-Arendal   Fax:   +46 733 403285
Stockholm OfficeMobile:+46 733 467111
WWW:  http://www.grida.no
- 



| -Original Message-
| From: [EMAIL PROTECTED] 
| [mailto:[EMAIL PROTECTED]]
| Sent: Wednesday, July 31, 2002 21:00 
| To: CF-Talk
| Subject: CF_help cflocation with submit name value
| 
| 
| Hi all,
| 
| I have a form with more than one submit button.
| Each submit button performs different logic.
| The logic is performed based on the submit name.
| 
| input type=submit name=submit1 value=Forecast in 
| Dollars
| input type=submit name=submit2 value=Forecast in 
| Quantity
| 
| I need to incorporate another application that will 
| redirect to this logic.  I'm currently using CFLOCATION
| to do the redirect.  How can I successfully pass the
| submit name value with the cflocation tag?  Should I do 
| this some other way?
| 
| current working LOGIC 
| cfif ISDEFINED (submit3) ...
| 
| I'm using cflocation to redirect the user back to a 
| reference list
| 
| Current working cflocation
| cflocation url=request_WIN_edit_list.cfm?
| ID=#URL.ID#heng=#URL.HENG#
| 
| D-
| 
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Can anybody see a problem with this?

2002-08-01 Thread Bill Henderson

Hey All - 
 
The marketing department of my company wanted to have a list of
directories with names of marketing contacts.
(http://www.mycompany.com/BillHenderson/, etc) I first set up a tool
using cfdirectory and cffile to create the directories and put the files
in them. I found that making changes to the files in the directories or
adding new directories or deleting the directories caused quite a lot of
problems, not to mention the clutter it caused in the root directory of
the site, so I came up with this idea, that does not actually use any
custom directories at all, and I want to know if anybody can see
possible security problems, server resource issues, etc.
 
1. The user enters the URL in browser with custom directory at the end 
 
2. IIS catches the 404 error and uses a custom cfm template 
 
3. The cfm template pulls the directory out of the url and checks it
against a list of names from a cached query 
 
4. If it find a match, it cf_locations to a template with custom content
for the marketing contact 
 
5. If no match is found, it cf_locations to the standard 404b.htm from
IIS.
 
Any insight would be appreciated.
 
Bill Henderson
[EMAIL PROTECTED]
 


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: OS X Web Services Running! was Re: X-server?

2002-08-01 Thread Dick Applebaum

My CFMX on Mac OS X just consumed a web service -- it was quite tasty

Thanks Sean

You do *not* want to copy webservices.jar from the CF runtime/lib to 
/Library/Java/Extensions/ -- it screws up getting the definition of a 
local cfc as a web service, i.e. the following won't work

http://127.0.0.1:8500/cfdocs/exampleapps/cfc/tempconverter.cfc?wsdl

So, now consuming a web service works, but publishing does not --

The .java files are created in stubs, but they are not compiled into 
class files

Any ideas?

the beat goes on!

Dick

On Wednesday, July 31, 2002, at 10:06 PM, Sean A Corfield wrote:

 On Wednesday, July 31, 2002, at 04:23 , Dick Applebaum wrote:
 I also put a copy of java2wsdl.jar and wsdl2java.jar in the same 
 folder.

 Don't need 'em.

 You need tt-bytecode.jar which is part of the axis-1_0 distribution.
 Download the Beta 3 .tar.gz from 
 http://xml.apache.org/axis/index.html -
 inside axis-1_0/lib you'll find tt-bytecode.jar - cp it to
 /Library/Java/Extensions/

 You also need xmlParserAPIs.jar which is part of the Xerces Java 2
 distribution which you can download from
 http://gump.covalent.net/jars/latest/xml-xerces2/ - cp that to
 /Library/Java/Extensions/

 I also cp webservices.jar from the CF runtime/lib to there but I haven't
 verified whether it's actually necessary.

 Access a web service (e.g., the Amazon one) and lo and behold!!

 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood

 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Session not being killed on close of browser

2002-08-01 Thread Adrian Lynch

Just to make things more interesting, the same code works in another site we
have built. The only difference is that the first page on the problem site,
index.cfm, cflocates you to another page. Could this redirect be the
problem? We've had it as a javascript redirect to see if that helped, but
still no joy. I know client vars aren't effected by redirects, but the swap
to a cookie could be causing a problem.

Anyone have any thoughts on this?

Ade

-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: 31 July 2002 18:17
To: CF-Talk
Subject: RE: Session not being killed on close of browser


Matthew,

Smiles.  (By the way, I didn't take offense at your message at all--on the
contrary, I am glad for the correction.)  It's funny, though, it makes me
think that I'd almost like there to be ratings on the list: each person has
to go through some rigorous testing regime where they get a rating of zero,
one, or two.  This rating would correspond to the number of grains of salt
with which replies from the person in question should be taken.  That way,
pseudo-newbies like me (who would have a two-grain rating) could post
answers without worrying that we're causing more problems than we're
solving!

:)

Matthieu

-Original Message-
From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 11:48 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser


Dude, no need to apologize, I was just trying to help same as you were.  No
worries.  The best part of this list is that we have many great minds to
pick when solving a problem.

At least you replied and tried to help, ya know?

: )

Matthew P. Smith 
Web Developer, Object Oriented 
Naval Education  Training Professional 
Development  Technology Center 
(NETPDTC) 
(850)452-1001 ext. 1245 
[EMAIL PROTECTED] 


-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 10:26 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser

Oops!  I'm sorry.  I should have read the documentation before sending
that
answer.  Omitting the EXPIRES attribute makes it so that the cookie stays
open only as long as the browser is open.  That's exactly what Adrian was
shooting for.  Okay.  Now that I understand that, I can only suggest that
you look at the security settings in the Internet Options.  I know that
the
options there have different entries for cookies and per-session
cookies, so that you can enable/disable them independently.  Perhaps your
version of the browser handles this differently?  It seems crazy, but
maybe
it's forcing the per-session cookies to be written to the machine somehow?

Again, sorry about the shooting-from-the-hip silly answer.

Matthieu

-Original Message-
From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 11:13 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser


I thought that by omitting it, the default value sent WAS now?

Matt


-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 10:01 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser

Adrian,

Is that CFIF block supposed to kill the cookies, thus detaching the
session?
If so, the only thing I can think of is to specify, in the CFCOOKIE
statements, the parameter expires=NOW.  Perhaps omitting it sends a
value
which some browsers interpret differently than others?

Matthieu

-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 7:49 AM
To: CF-Talk
Subject: Session not being killed on close of browser


Sorry for bring up this old chestnut, I've searched the web, the
archives,
under the sofa and still can't find an answer.

I'm using this code in Application.cfm..

CFAPPLICATION  NAME=myApp
CLIENTMANAGEMENT=Yes
SESSIONMANAGEMENT=Yes
APPLICATIONTIMEOUT=#CreateTimeSpan(1,0,0,0)#
CLIENTSTORAGE=myApp_clientData
SETCLIENTCOOKIES=Yes

cfif IsDefined(Cookie.CFID) AND IsDefined(Cookie.CFTOKEN)
cfset cfid_local = Cookie.CFID
cfset cftoken_local = Cookie.CFTOKEN
cfcookie name=CFID value=#cfid_local#
cfcookie name=CFTOKEN value=#cftoken_local#
/cfif


which I understand, and which works for some people in my office. But
not
for me. I have IE6 where as they run IE5.* I've closed ALL my browsers,
leaving it a long time before opening afresh, and even loggin in this
morning I had the same session running.

We're running MX on NT if that makes a difference.

Could it be the browser is the problem? Is there anything wrong with the
code? Has anyone coming across this before? Are there any pitfalls to be
aware of in the rest of the code in the site?

Any thought would be nice?


Adrian Lynch
Thoughtbubble Ltd
--
United Kingdom
http://www.thoughtbubble.net
Ph: +44 (0) 20 7387 8890
--
The 

RE: Session not being killed on close of browser

2002-08-01 Thread Tangorre, Michael

are you on mx?


-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 5:35 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser


Just to make things more interesting, the same code works in another site we
have built. The only difference is that the first page on the problem site,
index.cfm, cflocates you to another page. Could this redirect be the
problem? We've had it as a javascript redirect to see if that helped, but
still no joy. I know client vars aren't effected by redirects, but the swap
to a cookie could be causing a problem.

Anyone have any thoughts on this?

Ade

-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: 31 July 2002 18:17
To: CF-Talk
Subject: RE: Session not being killed on close of browser


Matthew,

Smiles.  (By the way, I didn't take offense at your message at all--on the
contrary, I am glad for the correction.)  It's funny, though, it makes me
think that I'd almost like there to be ratings on the list: each person has
to go through some rigorous testing regime where they get a rating of zero,
one, or two.  This rating would correspond to the number of grains of salt
with which replies from the person in question should be taken.  That way,
pseudo-newbies like me (who would have a two-grain rating) could post
answers without worrying that we're causing more problems than we're
solving!

:)

Matthieu

-Original Message-
From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 11:48 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser


Dude, no need to apologize, I was just trying to help same as you were.  No
worries.  The best part of this list is that we have many great minds to
pick when solving a problem.

At least you replied and tried to help, ya know?

: )

Matthew P. Smith 
Web Developer, Object Oriented 
Naval Education  Training Professional 
Development  Technology Center 
(NETPDTC) 
(850)452-1001 ext. 1245 
[EMAIL PROTECTED] 


-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 10:26 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser

Oops!  I'm sorry.  I should have read the documentation before sending
that
answer.  Omitting the EXPIRES attribute makes it so that the cookie stays
open only as long as the browser is open.  That's exactly what Adrian was
shooting for.  Okay.  Now that I understand that, I can only suggest that
you look at the security settings in the Internet Options.  I know that
the
options there have different entries for cookies and per-session
cookies, so that you can enable/disable them independently.  Perhaps your
version of the browser handles this differently?  It seems crazy, but
maybe
it's forcing the per-session cookies to be written to the machine somehow?

Again, sorry about the shooting-from-the-hip silly answer.

Matthieu

-Original Message-
From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 11:13 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser


I thought that by omitting it, the default value sent WAS now?

Matt


-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 10:01 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser

Adrian,

Is that CFIF block supposed to kill the cookies, thus detaching the
session?
If so, the only thing I can think of is to specify, in the CFCOOKIE
statements, the parameter expires=NOW.  Perhaps omitting it sends a
value
which some browsers interpret differently than others?

Matthieu

-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 7:49 AM
To: CF-Talk
Subject: Session not being killed on close of browser


Sorry for bring up this old chestnut, I've searched the web, the
archives,
under the sofa and still can't find an answer.

I'm using this code in Application.cfm..

CFAPPLICATION  NAME=myApp
CLIENTMANAGEMENT=Yes
SESSIONMANAGEMENT=Yes
APPLICATIONTIMEOUT=#CreateTimeSpan(1,0,0,0)#
CLIENTSTORAGE=myApp_clientData
SETCLIENTCOOKIES=Yes

cfif IsDefined(Cookie.CFID) AND IsDefined(Cookie.CFTOKEN)
cfset cfid_local = Cookie.CFID
cfset cftoken_local = Cookie.CFTOKEN
cfcookie name=CFID value=#cfid_local#
cfcookie name=CFTOKEN value=#cftoken_local#
/cfif


which I understand, and which works for some people in my office. But
not
for me. I have IE6 where as they run IE5.* I've closed ALL my browsers,
leaving it a long time before opening afresh, and even loggin in this
morning I had the same session running.

We're running MX on NT if that makes a difference.

Could it be the browser is the problem? Is there anything wrong with the
code? Has anyone coming across this before? Are there any pitfalls to be
aware of in the rest of 

RE: Session not being killed on close of browser

2002-08-01 Thread Adrian Lynch

Yup, and I've just read Brain J LeRoux's post which may have some standing.
Maybe it's the mix of MX and IE6?

Ade

-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]]
Sent: 01 August 2002 11:57
To: CF-Talk
Subject: RE: Session not being killed on close of browser


are you on mx?


-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 5:35 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser


Just to make things more interesting, the same code works in another site we
have built. The only difference is that the first page on the problem site,
index.cfm, cflocates you to another page. Could this redirect be the
problem? We've had it as a javascript redirect to see if that helped, but
still no joy. I know client vars aren't effected by redirects, but the swap
to a cookie could be causing a problem.

Anyone have any thoughts on this?

Ade

-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: 31 July 2002 18:17
To: CF-Talk
Subject: RE: Session not being killed on close of browser


Matthew,

Smiles.  (By the way, I didn't take offense at your message at all--on the
contrary, I am glad for the correction.)  It's funny, though, it makes me
think that I'd almost like there to be ratings on the list: each person has
to go through some rigorous testing regime where they get a rating of zero,
one, or two.  This rating would correspond to the number of grains of salt
with which replies from the person in question should be taken.  That way,
pseudo-newbies like me (who would have a two-grain rating) could post
answers without worrying that we're causing more problems than we're
solving!

:)

Matthieu

-Original Message-
From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 11:48 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser


Dude, no need to apologize, I was just trying to help same as you were.  No
worries.  The best part of this list is that we have many great minds to
pick when solving a problem.

At least you replied and tried to help, ya know?

: )

Matthew P. Smith 
Web Developer, Object Oriented 
Naval Education  Training Professional 
Development  Technology Center 
(NETPDTC) 
(850)452-1001 ext. 1245 
[EMAIL PROTECTED] 


-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 10:26 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser

Oops!  I'm sorry.  I should have read the documentation before sending
that
answer.  Omitting the EXPIRES attribute makes it so that the cookie stays
open only as long as the browser is open.  That's exactly what Adrian was
shooting for.  Okay.  Now that I understand that, I can only suggest that
you look at the security settings in the Internet Options.  I know that
the
options there have different entries for cookies and per-session
cookies, so that you can enable/disable them independently.  Perhaps your
version of the browser handles this differently?  It seems crazy, but
maybe
it's forcing the per-session cookies to be written to the machine somehow?

Again, sorry about the shooting-from-the-hip silly answer.

Matthieu

-Original Message-
From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 11:13 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser


I thought that by omitting it, the default value sent WAS now?

Matt


-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 10:01 AM
To: CF-Talk
Subject: RE: Session not being killed on close of browser

Adrian,

Is that CFIF block supposed to kill the cookies, thus detaching the
session?
If so, the only thing I can think of is to specify, in the CFCOOKIE
statements, the parameter expires=NOW.  Perhaps omitting it sends a
value
which some browsers interpret differently than others?

Matthieu

-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 7:49 AM
To: CF-Talk
Subject: Session not being killed on close of browser


Sorry for bring up this old chestnut, I've searched the web, the
archives,
under the sofa and still can't find an answer.

I'm using this code in Application.cfm..

CFAPPLICATION  NAME=myApp
CLIENTMANAGEMENT=Yes
SESSIONMANAGEMENT=Yes
APPLICATIONTIMEOUT=#CreateTimeSpan(1,0,0,0)#
CLIENTSTORAGE=myApp_clientData
SETCLIENTCOOKIES=Yes

cfif IsDefined(Cookie.CFID) AND IsDefined(Cookie.CFTOKEN)
cfset cfid_local = Cookie.CFID
cfset cftoken_local = Cookie.CFTOKEN
cfcookie name=CFID value=#cfid_local#
cfcookie name=CFTOKEN value=#cftoken_local#
/cfif


which I understand, and which works for some people in my office. But
not
for me. I have IE6 where as they run IE5.* I've closed ALL my browsers,
leaving it a long time before opening 

Re: X-server?

2002-08-01 Thread Dick Applebaum

I can't confirm nor refute Jesse's numbers or logic.

However, I think there additional considerations.

I would think that one of MM's goals is to have CF be the most 
widely-accepted Web Application Server regardless of  hardware -- 
comparative versions of CF Cost about the same regardless of platform.

I am not claiming that OS X has enough potential to be a major player in 
the Web Application Server market -- what I am saying is that it should 
be a player, a profitable player!

Consider this:

There are lots of web developers out there (myself included) that 
use Macs.

Many develop applications that are hosted by outside services.

Those who develop in CF develop apps that will be run on CF servers 
on some platform.

Point 1 -- These Mac developers contribute to CF sales

Many Mac developers do *not* write Web programs for CF because they 
cannot run CF on a
local machine -- they are more productive in Java, PHP, Perl, whatever.

Point 2 -- These Mac developers are contributing to the sales of 
MM's competitors

The port of the Developer system to Mac OS X alleviates this 
problem to some extent --
Likely, independent contractors like myself will jump at the chance 
to run CF locally. This
should increase their productivity and they should be able to 
deploy more apps to supported
CF platforms.

Point 3 - Availability of an unsupported developer system on OSX 
will likely make a
contribution to CF sales and detract from competitive sales

The fact that the port is unsupported means that it takes a lot of 
cajoling, wheedling (not bribes),
and time (especially time) to get problems fixed, or even addressed.

Likely, there will not be mass acceptance of CF as a development 
platform, by Mac users, until
there is a supported developer platform -- CF running locally, not 
just DWMX*

* It's ironic that DWMX on the Mac contributes to the sales of CF 
competitors -- Mac users can
  develop in competitive languages that *do* run on the Mac, while 
CF does not.

Point 4 - Lack of a supported CF Mac developer platform will likely 
detract from CF sales and
contribute to competitor sales.

Those who have used CFMX on Mac OS X (I know most of them) think 
that is a sweet system --
superior to the other available options.  I can't make this 
statement, because I have never
developed on a Win, Solaris or Linux box.

 I can give this opinion:  CFMX ON Mac OSX is the *Best* Web 
Application development system,
running on the *Best* Operating system running on the *Best* 
Personal Computer.

Many will agree with me.

Some simple test results, a few discussed in recent threads, show 
that that Mac platform performs
quite well, and is price-competitive, if not superior.

Point 5 -- Likely MM is missing an opportunity to proselytize Mac 
developers to CF, to their
detriment and to the advantage of their competitors.

If MM were to offer a supported Developer version of CF on Mac OS 
X, it would likely be the
 easiest, and fastest to install.  Mac OS X already includes (has 
installed), Java and Apache Web
 Server.  These are not necessarily installed on the CF supported 
platforms.  A good part of every
CF install (and many of the problems during beta) involve 
installation of Java, a Web Server, and
integrating these things with the CFMX/JRun systems.

Mac OS X has a proven, well-defined, automatic process that 
maintains and applies software
updates -- this include everything from updates to the underlying 
OS to 3rd-party application
programs such as Microsoft IE.

I suspect a CFMX product on Mac OS X would cost MM less to support 
and maintain, than on
other platforms -- there is just a lot less code and a lot less 
integration -- a complete, stable,
predictable platform.

Point 6 -- Costs of supporting CF on  the Mac OS X platform would 
likely be less than other
platforms.  This means different numbers would be plugged into the 
ROI calculation.

If MM offers a Developer version of CFMX on Mac OS X, they will 
likely find an eager  audience of
potential *new users*  of CF.

Apple will likely promote the availability of CFMX Developer on 
Mac  OS X.  MM could defray
much of the marketing costs -- others will gladly do it for you.

This might be a simple, inexpensive way of sticking your toes in 
the water to measure
acceptance and potential without incurring a lot of costs.

Point 7 -- Costs of marketing CF on  the Mac OS X platform would 
likely be less than other
platforms.  This means different numbers would be plugged into the 
ROI calculation.

Given, a supported CFMX Developer version 

RE: CF 5 App crashing every 5 minutes...

2002-08-01 Thread Al Everett

We're seeing some similar behavior here at *mumble*. I suspect improper
locking of Session variable is at least partly to blame.

Lots of stuff like this:

cflock scope=session type=readonly timeout=5
  cfset request.strLogin = StructCopy(Session.strLogin)
/cflock

Or even worse:

cflock scope=session type=readonly timeout=5
  cfset request.strLogin = Session.strLogin
/cflock

Where strLogin is a structure of structures (of structures).

Inexperienced CF Developers and unreasonable deadlines in the early
stages of the project have made a bit of a mess.

--- Nathaniel Horwitz [EMAIL PROTECTED] wrote:
 I'd be more inclined to agree with him. At my previous company, we had
 some
 problems with increasing memory usage after restarting. It turned out
 to be
 our code- the way we were locking (In our case, not locking at all) the
 session variables.
 
 We'd restart the server at least once a day and when we sorted out the
 locking problems, it was much less than that.
 
 Nathaniel
 
 -Original Message-
 From: Chris Norloff [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 31, 2002 10:21 AM
 To: CF-Talk
 Subject: Re: CF 5 App crashing every 5 minutes...
 
 
 That sounds more like freezing than crashing.  I'd check all
 shared-scope
 variables for locking (ANY use of a shared-scope variable MUST be
 locked).
 
 I also recommend a MM TechNote called Timeouts and Unresponsive
 Requests.
 
 Chris Norloff
 
 
 - Original Message -
 From: Joel Blanchette [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, July 31, 2002 10:07 AM
 Subject: CF 5 App crashing every 5 minutes...
 
 
  Hello All,
  I need big help.Last night, I saw that our server was going
  down, then I noticed that it was not the server but more that the
  cfserver.exe in the task manager was just stopping.  If I restart
 the
  serveice it is all good.  But I need to do this every 5
 minutes...Which
  is not good...So I wrote a batch file that does it for me.
 
  I need to know why this error is happening.  It seems like when the
  cfserver.exe gets around 25 megs or memory use it just stops
 responding.
  The task is still there but it will not respond.  I'm using CF
 Server 5
  on a Windows server 2000 SP2.  Is there something in the threads
 that I
  should change?
 
  I can post the lines of the error logs of CF here but I need to know
  which ones u would need.  I will need help.  I did nothing to the
 server
  that would just start doing this.  We are getting more traffic then
  before.  Would that be the cause?  If yes, there must be a way to
 fix
  this.


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF 5 App crashing every 5 minutes...

2002-08-01 Thread Steven Salter

We're seeing some similar behavior here at *mumble*. I suspect improper
locking of Session variable is at least partly to blame.

Aye, a lot of that here as well...*blush*

When we started, we used a set of shopping cart scripts from CartEase to
give us a jumpstart. Unfortunately, that code also taught us some bad CF
programming habits, such as not locking scope variables at all! I just
recently understood how important this is. *sigh* Of course, the CartEase
stuff was buggy anyway and had to be completely re-written to work with
Linux and Oracle, it was written for windoze servers with Access or SQL
Server and mistakenly advertised as working on linux and with any SQL
database. lol.


Inexperienced CF Developers and unreasonable deadlines in the early
stages of the project have made a bit of a mess.

That would describe my situation exactly except a bit of a mess is an
understatement. At least I know now and added locks to all session vars. A
lot of other fixes on my list as well, the more I dig into CF best
practices coding. I shoulda done this a long time ago but as you
remarkedunreasonable deadlines and so on. :)

At least I am using the log files now. hehe...amazing how useful they are,
eh?

-Steve

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Can anybody see a problem with this?

2002-08-01 Thread Alistair Davidson

Hi Bill

Off the top of my head I can't think of a reason why that wouldn't work,
but to my mind, relying on the server's error catching to perform
designed functionality just feels wrong - it feels like bad design,
and it's shifting some of your logic from the application itself to the
server software that it's running under. Just my opinion, of course, but
if it was me, I'd either -
 
- make the default CFM template strip the name of the directory out of
the url and check it against the query.

- use a url such as http://www.mycompany.com/contacts/BillHenderson ,
and put an extension-less file called contacts in the root. Make IIS
pass files with no extension through CF and put your logic to get the
name, check the query and re-locate, into that contacts file. I've used
this myself many times on many different webservers, with no problems.

Hope that helps!

Alistair

Alistair Davidson
Application Developer
www.smartgroups.com
Freeserve.com PLC

-Original Message-
From: Bill Henderson [mailto:[EMAIL PROTECTED]] 
Sent: 01 August 2002 09:05
To: CF-Talk
Subject: Can anybody see a problem with this?

Hey All - 
 
The marketing department of my company wanted to have a list of
directories with names of marketing contacts.
(http://www.mycompany.com/BillHenderson/, etc) I first set up a tool
using cfdirectory and cffile to create the directories and put the files
in them. I found that making changes to the files in the directories or
adding new directories or deleting the directories caused quite a lot of
problems, not to mention the clutter it caused in the root directory of
the site, so I came up with this idea, that does not actually use any
custom directories at all, and I want to know if anybody can see
possible security problems, server resource issues, etc.
 
1. The user enters the URL in browser with custom directory at the end 
 
2. IIS catches the 404 error and uses a custom cfm template 
 
3. The cfm template pulls the directory out of the url and checks it
against a list of names from a cached query 
 
4. If it find a match, it cf_locations to a template with custom content
for the marketing contact 
 
5. If no match is found, it cf_locations to the standard 404b.htm from
IIS.
 
Any insight would be appreciated.
 
Bill Henderson
[EMAIL PROTECTED]
 



__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF and SQL

2002-08-01 Thread Al Everett

 Any clue on how I can display a social security... Im having problems
 if the first digit is a zero How do I format the number so it 
 displays all of the digits???

First of all, you should use a string datatype in your database (VARCHAR,
for instance).

Second, assuming you're storing the SSN in the format '012345678' this
will format it in the way most people are used to:

#Left(SSN,3)#-#Mid(SSN,4,2)#-#Right(SSN,4)#

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CF Studio autocomplete

2002-08-01 Thread Al Everett

Try this:

http://www.macromedia.com/software/coldfusionstudio/productinfo/resources/tag_updaters/

--- Jon Hall [EMAIL PROTECTED] wrote:
   Does anyone know which file dictates which tags have closing tags,
   and which tags display in the autocomplete dropdown as you are
   typing in Studio 5? I want the MX tags to autocomplete as well...



__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Hack Proofing ColdFusion

2002-08-01 Thread Alex Hubner

Hi folks,

Does anybody knows where I can find the e-book version of Hack Proofing
ColdFusion (Greg Meyer, Steven Casco, Sarge, Rob Rusher)?
I know that I can find it at Amazon.com but I really avoid shopping
there (personal problems in the past)...
I'm looking for other places but I only found paper edition, not the
eletronic one.

Thanks!!
Alex

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Hack Proofing ColdFusion

2002-08-01 Thread Kris Pilles

I saw it in Borders the other day

-Original Message-
From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 9:25 AM
To: CF-Talk
Subject: Hack Proofing ColdFusion


Hi folks,

Does anybody knows where I can find the e-book version of Hack Proofing
ColdFusion (Greg Meyer, Steven Casco, Sarge, Rob Rusher)? I know that I
can find it at Amazon.com but I really avoid shopping there (personal
problems in the past)... I'm looking for other places but I only found
paper edition, not the eletronic one.

Thanks!!
Alex


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFMX - Linux - DB2 AS/400

2002-08-01 Thread Rob Brooks-Bilson


Paul,

I've got MX (Windows) talking to DB2/400 using IBM's open source JTOpen
JDBC driver.  You should be able to get it running on Linux withouth any
problems - and it's free.

http://oss.software.ibm.com/developerworks/opensource/jt400/

-Rob


Has anyone had any luck connecting MX/Linux to a AS/400 running DB2
without DB2Connect?  If so, please elighten :)

Thanks
Paul Giesenhagen


FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: X-server?

2002-08-01 Thread John Paul Ashenfelter

  Point 4 - Lack of a supported CF Mac developer platform will likely
  detract from CF sales and contribute to competitor sales.
 
  Those who have used CFMX on Mac OS X (I know most of them) think
  that is a sweet system -- superior to the other available options.  I
can't make this
  statement, because I have never developed on a Win, Solaris or Linux
box.
 
  I can give this opinion:  CFMX ON Mac OSX is the *Best* Web
  Application development system, running on the *Best* Operating system
running on the *Best*
  Personal Computer.

Just my $.02 worth:

The X-server includes Apple's amazingly good WebObjects 5.0 (Java-based)
application server which alone is worth the price of the box. Relatively few
developers used it, but it's an amazingly fast and flexible system -- they
used to sell it for $50k to the likes of Ford; now it's basically free.

Who's really competing for sales for an app server on OS/X? J2EE vendors?
PHP (wait, that's open source)? Perl (ditto)? Apache Tomcat (ditto)?
WebObjects, Tomcat, and the Ps (PHP, Perl, Python) are plenty of *installed*
competition without having to buy additional software.

Plus, once you've spent all the $$ on the X-Server, you don't have cash left
for software :)

IMHO, despite how cool the X-Server is, Apple's about 5 years late in
getting a good server out -- though they needed the solid OS to get to this
point -- and they have a lot of catching up to do. Our local (pretty
high-tech) schools are excited. Some graphics houses I know are excited.
Mainly because they have a small form-factor file server.

Let's not even talk about the fact that Java development on the Mac stopped
at 1.1.7 + the Collections API and Swing (~ 1.1.8). Just the fact that it
runs Java well makes OSX attractive! Our Java developers are literally
dumping their wintel boxes for G4 TiBooks. Of course we then deploy to IBM
xSeries servers on the current project. WebSphere in fact. Makes local
development tough though since there's no WS for OSX. Maybe we can convince
IBM to support X-Server and then run the CFMX for WebSphere app on top of
it. ;)

Regards,

John Paul Ashenfelter
CTO/TransitionPoint
[EMAIL PROTECTED]

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Hack Proofing ColdFusion

2002-08-01 Thread Brockman, Chuck

http://www.syngress.com/catalog/sg_main.cfm?pid=1935

 |-Original Message-
 |From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
 |Sent: Thursday, August 01, 2002 9:25 AM
 |To: CF-Talk
 |Subject: Hack Proofing ColdFusion
 |
 |
 |Hi folks,
 |
 |Does anybody knows where I can find the e-book version of 
 |Hack Proofing ColdFusion (Greg Meyer, Steven Casco, 
 |Sarge, Rob Rusher)? I know that I can find it at 
 |Amazon.com but I really avoid shopping there (personal 
 |problems in the past)... I'm looking for other places but 
 |I only found paper edition, not the eletronic one.
 |
 |Thanks!!
 |Alex
 |
 |__
 |
 |Get the mailserver that powers this list at 
http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Hack Proofing ColdFusion

2002-08-01 Thread Alex Hubner

Thanks Kris, but Borders is Amazon.

Sorry for bothering but I'm really interested in this book as a source
for our programmers here. An e-book version will be perfect since I
can't find it as paper here in Brazil and shipping costs a lot.

Thanks.
Alex

-Original Message-
From: Kris Pilles [mailto:[EMAIL PROTECTED]] 
Sent: 01/08/2002 10:22 AM
To: CF-Talk
Subject: RE: Hack Proofing ColdFusion



I saw it in Borders the other day

-Original Message-
From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 9:25 AM
To: CF-Talk
Subject: Hack Proofing ColdFusion


Hi folks,

Does anybody knows where I can find the e-book version of Hack Proofing
ColdFusion (Greg Meyer, Steven Casco, Sarge, Rob Rusher)? I know that I
can find it at Amazon.com but I really avoid shopping there (personal
problems in the past)... I'm looking for other places but I only found
paper edition, not the eletronic one.

Thanks!!
Alex



__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Hack Proofing ColdFusion

2002-08-01 Thread Alex Hubner

Thanks a lot Brockman!

[]'s
Alex

-Original Message-
From: Brockman, Chuck [mailto:[EMAIL PROTECTED]] 
Sent: 01/08/2002 10:27 AM
To: CF-Talk
Subject: RE: Hack Proofing ColdFusion



http://www.syngress.com/catalog/sg_main.cfm?pid=1935

 |-Original Message-
 |From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
 |Sent: Thursday, August 01, 2002 9:25 AM
 |To: CF-Talk
 |Subject: Hack Proofing ColdFusion
 |
 |
 |Hi folks,
 |
 |Does anybody knows where I can find the e-book version of 
 |Hack Proofing ColdFusion (Greg Meyer, Steven Casco, 
 |Sarge, Rob Rusher)? I know that I can find it at 
 |Amazon.com but I really avoid shopping there (personal 
 |problems in the past)... I'm looking for other places but 
 |I only found paper edition, not the eletronic one.
 |
 |Thanks!!
 |Alex
 |
 |__
 |
 |Get the mailserver that powers this list at 
http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Good CFCatch code

2002-08-01 Thread Al Everett

 cfdump isn't available on CF 4.5.x.

Then create one. Here's the code from my CF_DUMP tag:

cfsetting enablecfoutputonly=yes
!--- 
  Usage:cf_dump
var = ...


  Attributes:   var (var, required) - variable to be dumped
  
 ---

!--- attributes validation ---
cfparam name=attributes.var
cfset var = attributes.var

cf_IsWddx input=#var# r_output=decodedVar r_bIsWDDX=bIsWddx


cfif bIsWddx

  cfoutput
  table border=2 cellspacing=0 cellpadding=1 bgcolor=##ff
bordercolor=Black
  trtd valign=top
   /cfoutput

  cf_dump var=#decodedVar#

  cfoutput
  /td/tr/table
  /cfoutput

cfelseif IsStruct(var)

  cfoutput
  table border=1 cellspacing=0 cellpadding=1 bgcolor=##ee
bordercolor=Blue
  /cfoutput

  
  !--- dump keys one by one ---
  cfloop collection=#var# item=keyName
cfoutput
tr
td valign=top#keyName#/td
td valign=top bgcolor=##ff
/cfoutput

cfif IsSimpleValue( var[keyName] )
  cfif Left( var[keyName], 11 ) neq wddxPacket 
cfoutput#var[keyName]#/cfoutput
  cfelse
cf_dump var=#var[keyName]#
  /cfif
cfelse
  cf_dump var=#var[keyName]#
/cfif

cfoutput
/td
/tr
/cfoutput
  /cfloop

  cfoutput
  /table
  /cfoutput

cfelseif IsArray(var)

  cfoutput
  table border=1 cellspacing=0 cellpadding=1 bgcolor=##cceecc
bordercolor=Green
  /cfoutput

  cfset size = ArrayLen(var)
  !--- dump items one by one ---
  cfloop index=i from=1 to=#size#
cfoutput
tr
td valign=top#i#/td
td valign=top bgcolor=##ff
/cfoutput

cfif IsSimpleValue( var[i] )
  cfif Left( var[i], 11 ) neq wddxPacket 
cfoutput#var[i]#/cfoutput
  cfelse
cf_dump var=#var[i]#
  /cfif
cfelse
  cf_dump var=#var[i]#
/cfif

cfoutput
/td
/tr
/cfoutput
  /cfloop

  cfoutput
  /table
  /cfoutput  
  
cfelseif IsQuery(var)

  cfset colList = var.columnList

  cfoutput
  table border=1 cellspacing=0 cellpadding=1 bgcolor=##ee
bordercolor=Red
  tr bgcolor=##ee 
  cfloop list=#colList# index=colName
td valign=top#colName#/td
  /cfloop
  /tr
  /cfoutput
  
  
  !--- scroll thru rows ---
  cfloop query=var
cfoutputtr/cfoutput

!--- create deep copy of each field ---
cfloop list=#colList# index=col
  cfoutputtd valign=top bgcolor=##ff/cfoutput

  cfif IsSimpleValue( var[col][currentRow] )
cfif Left( var[col][currentRow], 11 ) neq wddxPacket 
  cfoutput#var[col][currentRow]#/cfoutput
cfelse
  cf_dump var=#var[col][currentRow]#
/cfif
  cfelse
cf_dump var=#var[col][currentRow]#
  /cfif

  cfoutput/td/cfoutput
/cfloop

cfoutput/tr/cfoutput

  /cfloop

  cfoutput
  /table
  /cfoutput
  
cfelse
  
  cfoutput#var#/cfoutput
  
/cfif
cfsetting enablecfoutputonly=no

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Hack Proofing ColdFusion

2002-08-01 Thread Stacy Young

Strange coincidence I just saw this yesterday:

http://techupdate.books24x7.com/toc.asp?bookid=3264



-Original Message-
From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 9:34 AM
To: CF-Talk
Subject: RE: Hack Proofing ColdFusion

Thanks Kris, but Borders is Amazon.

Sorry for bothering but I'm really interested in this book as a source
for our programmers here. An e-book version will be perfect since I
can't find it as paper here in Brazil and shipping costs a lot.

Thanks.
Alex

-Original Message-
From: Kris Pilles [mailto:[EMAIL PROTECTED]] 
Sent: 01/08/2002 10:22 AM
To: CF-Talk
Subject: RE: Hack Proofing ColdFusion



I saw it in Borders the other day

-Original Message-
From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 9:25 AM
To: CF-Talk
Subject: Hack Proofing ColdFusion


Hi folks,

Does anybody knows where I can find the e-book version of Hack Proofing
ColdFusion (Greg Meyer, Steven Casco, Sarge, Rob Rusher)? I know that I
can find it at Amazon.com but I really avoid shopping there (personal
problems in the past)... I'm looking for other places but I only found
paper edition, not the eletronic one.

Thanks!!
Alex




__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Favourite Web Services so far?

2002-08-01 Thread John Paul Ashenfelter

 (zipcode web service)
 Wish there was a similar one for the UK Postal Code system.
 And Canada ;-)

It's really easy to build your own -- all you need is a database of postal
codes and lat/long data. The US Census office releases it for us. There are
a number of people that sell this type of data as well.

The SQL version (for a stored proc) is discussed here:
http://searchdatabase.techtarget.com/tip/1,289483,sid13_gci523000,00.html

which demonstrates yet again why SQL has trig functions in it :)

Regards,

John Paul Ashenfelter
CTO/TransitionPoint
[EMAIL PROTECTED]




__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Good CFCatch code

2002-08-01 Thread Raymond Camden

And you can always use cfa_dump from Spectra if you have it.

===
Raymond Camden, ColdFusion Jedi Master for Macromedia

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

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

 -Original Message-
 From: Al Everett [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, August 01, 2002 9:32 AM
 To: CF-Talk
 Subject: RE: Good CFCatch code
 
 
  cfdump isn't available on CF 4.5.x.
 
 Then create one. Here's the code from my CF_DUMP tag:
 
 cfsetting enablecfoutputonly=yes
 !--- 
   Usage:cf_dump
 var = ...
 
 
   Attributes:   var (var, required) - variable to be dumped
   
  ---
 
 !--- attributes validation ---
 cfparam name=attributes.var
 cfset var = attributes.var
 
 cf_IsWddx input=#var# r_output=decodedVar r_bIsWDDX=bIsWddx
 
 
 cfif bIsWddx
 
   cfoutput
   table border=2 cellspacing=0 cellpadding=1 bgcolor=##ff
 bordercolor=Black
   trtd valign=top
/cfoutput
 
   cf_dump var=#decodedVar#
 
   cfoutput
   /td/tr/table
   /cfoutput
 
 cfelseif IsStruct(var)
 
   cfoutput
   table border=1 cellspacing=0 cellpadding=1 bgcolor=##ee
 bordercolor=Blue
   /cfoutput
 
   
   !--- dump keys one by one ---
   cfloop collection=#var# item=keyName
 cfoutput
 tr
 td valign=top#keyName#/td
 td valign=top bgcolor=##ff
 /cfoutput
 
 cfif IsSimpleValue( var[keyName] )
   cfif Left( var[keyName], 11 ) neq wddxPacket 
 cfoutput#var[keyName]#/cfoutput
   cfelse
 cf_dump var=#var[keyName]#
   /cfif
 cfelse
   cf_dump var=#var[keyName]#
 /cfif
 
 cfoutput
 /td
 /tr
 /cfoutput
   /cfloop
 
   cfoutput
   /table
   /cfoutput
 
 cfelseif IsArray(var)
 
   cfoutput
   table border=1 cellspacing=0 cellpadding=1 bgcolor=##cceecc
 bordercolor=Green
   /cfoutput
 
   cfset size = ArrayLen(var)
   !--- dump items one by one ---
   cfloop index=i from=1 to=#size#
 cfoutput
 tr
 td valign=top#i#/td
 td valign=top bgcolor=##ff
 /cfoutput
 
 cfif IsSimpleValue( var[i] )
   cfif Left( var[i], 11 ) neq wddxPacket 
 cfoutput#var[i]#/cfoutput
   cfelse
 cf_dump var=#var[i]#
   /cfif
 cfelse
   cf_dump var=#var[i]#
 /cfif
 
 cfoutput
 /td
 /tr
 /cfoutput
   /cfloop
 
   cfoutput
   /table
   /cfoutput  
   
 cfelseif IsQuery(var)
 
   cfset colList = var.columnList
 
   cfoutput
   table border=1 cellspacing=0 cellpadding=1 bgcolor=##ee
 bordercolor=Red
   tr bgcolor=##ee 
   cfloop list=#colList# index=colName
 td valign=top#colName#/td
   /cfloop
   /tr
   /cfoutput
   
   
   !--- scroll thru rows ---
   cfloop query=var
 cfoutputtr/cfoutput
 
 !--- create deep copy of each field ---
 cfloop list=#colList# index=col
   cfoutputtd valign=top bgcolor=##ff/cfoutput
 
   cfif IsSimpleValue( var[col][currentRow] )
 cfif Left( var[col][currentRow], 11 ) neq wddxPacket 
   cfoutput#var[col][currentRow]#/cfoutput
 cfelse
   cf_dump var=#var[col][currentRow]#
 /cfif
   cfelse
 cf_dump var=#var[col][currentRow]#
   /cfif
 
   cfoutput/td/cfoutput
 /cfloop
 
 cfoutput/tr/cfoutput
 
   /cfloop
 
   cfoutput
   /table
   /cfoutput
   
 cfelse
   
   cfoutput#var#/cfoutput
   
 /cfif
 cfsetting enablecfoutputonly=no
 
 __
 Do You Yahoo!?
 Yahoo! Health - Feel better, live better
 http://health.yahoo.com
 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: OT: SQL question

2002-08-01 Thread Alistair Davidson

Off the top of my head, in SQL Server you  can do it like this : 

SELECT PartNumber, 
'FirstBitOfPartNumber' = LEFT( PartNumber, FIND( '.', PartNumber ) )

FROM blahblahblah

If you wanted to just get matching rows, you can use that as a join
condition, e.g.

SELECT PartNumber

FROM Table1 INNER JOIN Table2 ON Table2.PartNumber = LEFT(
Table1.PartNumber, FIND( '.', Table1.PartNumber ) )

WHERE blah blah blah

Hope that helps

Alistair 

Alistair Davidson 
Application Developer
www.smartgroups.com
Freeserve.com PLC


-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]] 
Sent: 29 July 2002 21:27
To: CF-Talk
Subject: Re: OT: SQL question

Great. You did not provide your database or setup. I can only assume you
are working on a mainframe hitting DB2.

On Mon, 29 Jul 2002, Phillip B wrote:

 I need to do this and don't know where to start.

 Compare part of a part number in one table to another table. The part
numbers look like this.

 12345.123
 12345.234
 12345.654
 02nt911dc.123
 02nt911dc.054
 02thq5
 02thq7

 The part before the dot is all I want to use to compare to the other
table which will only contain the first part. It would be something like
this.

 12345.123 = 12345
 12345.234 = 12345
 12345.654 = 12345
 02nt911dc.123 = 02nt911dc
 02nt911dc.054 = 02nt911dc
 02thq5 = 02thq5
 02thq7 = 02thq7

 How would I do that using just sql statements?

 Maybe when I have the server import I could have it create an extra
column that can contain a trimmed version of the part number. A master
number of sorts. Just a thought.


 Thanks

 Phillip Broussard
 Tracker Marine Group
 417-873-5957


 

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF and SQL

2002-08-01 Thread S . Isaac Dealey

 Any clue on how I can display a social security... Im having problems
 if the first digit is a zero How do I format the number so it
 displays all of the digits???

 First of all, you should use a string datatype in your database (VARCHAR,
 for instance).

 Second, assuming you're storing the SSN in the format '012345678' this
 will format it in the way most people are used to:

 #Left(SSN,3)#-#Mid(SSN,4,2)#-#Right(SSN,4)#

Or if you were feeling really adventurous,

#REReplace(SSN,(.{3,3})(.{2,2})(.{4,4}),\1-\2-\3)#

or something to that effect. :)

Isaac Dealey
Certified Advanced ColdFusion Developer

www.turnkey.to
954-776-0046
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Hack Proofing ColdFusion

2002-08-01 Thread Al Everett

Borders is now using Amazon.com for their online fulfillment.

Here's the paperback at Barnes  Noble:
http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?isbn=1928994776

Or try Google
(http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=Hack+Proofing+ColdFusion+e-bookbtnG=Google+Search)

Here's one I found:

http://www.syngress.com/catalog/sg_main.cfm?pid=1935

(I left out the several warez sites and the ones that are Amazon.com
affiliates)



--- Kris Pilles [EMAIL PROTECTED] wrote:
 I saw it in Borders the other day
 
 -Original Message-
 From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, August 01, 2002 9:25 AM
 To: CF-Talk
 Subject: Hack Proofing ColdFusion
 
 
 Hi folks,
 
 Does anybody knows where I can find the e-book version of Hack
 Proofing
 ColdFusion (Greg Meyer, Steven Casco, Sarge, Rob Rusher)? I know that
 I
 can find it at Amazon.com but I really avoid shopping there (personal
 problems in the past)... I'm looking for other places but I only found
 paper edition, not the eletronic one.
 
 Thanks!!
 Alex
 
 
 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Good CFCatch code

2002-08-01 Thread Robertson-Ravo, Neil (REC)

and if you have a valid license for it :-p





-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: 01 August 2002 14:41
To: CF-Talk
Subject: RE: Good CFCatch code


And you can always use cfa_dump from Spectra if you have it.

===
Raymond Camden, ColdFusion Jedi Master for Macromedia

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

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

 -Original Message-
 From: Al Everett [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, August 01, 2002 9:32 AM
 To: CF-Talk
 Subject: RE: Good CFCatch code
 
 
  cfdump isn't available on CF 4.5.x.
 
 Then create one. Here's the code from my CF_DUMP tag:
 
 cfsetting enablecfoutputonly=yes
 !--- 
   Usage:cf_dump
 var = ...
 
 
   Attributes:   var (var, required) - variable to be dumped
   
  ---
 
 !--- attributes validation ---
 cfparam name=attributes.var
 cfset var = attributes.var
 
 cf_IsWddx input=#var# r_output=decodedVar r_bIsWDDX=bIsWddx
 
 
 cfif bIsWddx
 
   cfoutput
   table border=2 cellspacing=0 cellpadding=1 bgcolor=##ff
 bordercolor=Black
   trtd valign=top
/cfoutput
 
   cf_dump var=#decodedVar#
 
   cfoutput
   /td/tr/table
   /cfoutput
 
 cfelseif IsStruct(var)
 
   cfoutput
   table border=1 cellspacing=0 cellpadding=1 bgcolor=##ee
 bordercolor=Blue
   /cfoutput
 
   
   !--- dump keys one by one ---
   cfloop collection=#var# item=keyName
 cfoutput
 tr
 td valign=top#keyName#/td
 td valign=top bgcolor=##ff
 /cfoutput
 
 cfif IsSimpleValue( var[keyName] )
   cfif Left( var[keyName], 11 ) neq wddxPacket 
 cfoutput#var[keyName]#/cfoutput
   cfelse
 cf_dump var=#var[keyName]#
   /cfif
 cfelse
   cf_dump var=#var[keyName]#
 /cfif
 
 cfoutput
 /td
 /tr
 /cfoutput
   /cfloop
 
   cfoutput
   /table
   /cfoutput
 
 cfelseif IsArray(var)
 
   cfoutput
   table border=1 cellspacing=0 cellpadding=1 bgcolor=##cceecc
 bordercolor=Green
   /cfoutput
 
   cfset size = ArrayLen(var)
   !--- dump items one by one ---
   cfloop index=i from=1 to=#size#
 cfoutput
 tr
 td valign=top#i#/td
 td valign=top bgcolor=##ff
 /cfoutput
 
 cfif IsSimpleValue( var[i] )
   cfif Left( var[i], 11 ) neq wddxPacket 
 cfoutput#var[i]#/cfoutput
   cfelse
 cf_dump var=#var[i]#
   /cfif
 cfelse
   cf_dump var=#var[i]#
 /cfif
 
 cfoutput
 /td
 /tr
 /cfoutput
   /cfloop
 
   cfoutput
   /table
   /cfoutput  
   
 cfelseif IsQuery(var)
 
   cfset colList = var.columnList
 
   cfoutput
   table border=1 cellspacing=0 cellpadding=1 bgcolor=##ee
 bordercolor=Red
   tr bgcolor=##ee 
   cfloop list=#colList# index=colName
 td valign=top#colName#/td
   /cfloop
   /tr
   /cfoutput
   
   
   !--- scroll thru rows ---
   cfloop query=var
 cfoutputtr/cfoutput
 
 !--- create deep copy of each field ---
 cfloop list=#colList# index=col
   cfoutputtd valign=top bgcolor=##ff/cfoutput
 
   cfif IsSimpleValue( var[col][currentRow] )
 cfif Left( var[col][currentRow], 11 ) neq wddxPacket 
   cfoutput#var[col][currentRow]#/cfoutput
 cfelse
   cf_dump var=#var[col][currentRow]#
 /cfif
   cfelse
 cf_dump var=#var[col][currentRow]#
   /cfif
 
   cfoutput/td/cfoutput
 /cfloop
 
 cfoutput/tr/cfoutput
 
   /cfloop
 
   cfoutput
   /table
   /cfoutput
   
 cfelse
   
   cfoutput#var#/cfoutput
   
 /cfif
 cfsetting enablecfoutputonly=no
 
 __
 Do You Yahoo!?
 Yahoo! Health - Feel better, live better
 http://health.yahoo.com
 

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Onkeypress

2002-08-01 Thread Kris Pilles

function entsub() {
  if (window.event  window.event.keyCode == 13)
returninfo();
  else
return true;
}

I am using this on a form to allow pressing the enter key to call my
function returninfo()

However, if the user hits enter and nothing is selected in my select
box, I get an error... Any ideas on how I can correct this???

-Original Message-
From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 9:25 AM
To: CF-Talk
Subject: Hack Proofing ColdFusion


Hi folks,

Does anybody knows where I can find the e-book version of Hack Proofing
ColdFusion (Greg Meyer, Steven Casco, Sarge, Rob Rusher)? I know that I
can find it at Amazon.com but I really avoid shopping there (personal
problems in the past)... I'm looking for other places but I only found
paper edition, not the eletronic one.

Thanks!!
Alex


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Onkeypress

2002-08-01 Thread Adrian Lynch

would changing
window.event  window.event.keyCode == 13
to
window.event == 13  window.event.keyCode == 13
help at all?

Ade

-Original Message-
From: Kris Pilles [mailto:[EMAIL PROTECTED]]
Sent: 01 August 2002 15:28
To: CF-Talk
Subject: Onkeypress


function entsub() {
  if (window.event  window.event.keyCode == 13)
returninfo();
  else
return true;
}

I am using this on a form to allow pressing the enter key to call my
function returninfo()

However, if the user hits enter and nothing is selected in my select
box, I get an error... Any ideas on how I can correct this???

-Original Message-
From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 9:25 AM
To: CF-Talk
Subject: Hack Proofing ColdFusion


Hi folks,

Does anybody knows where I can find the e-book version of Hack Proofing
ColdFusion (Greg Meyer, Steven Casco, Sarge, Rob Rusher)? I know that I
can find it at Amazon.com but I really avoid shopping there (personal
problems in the past)... I'm looking for other places but I only found
paper edition, not the eletronic one.

Thanks!!
Alex



__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Onkeypress

2002-08-01 Thread Critter

oi Kris!!

what bout using the onKeyUp event?


-- 
Critz
 Macromedia Certified Advanced ColdFusion Developer
 CFX_BotMaster Network=Efnet Channel=ColdFusion





Thursday, August 1, 2002, 10:28:21 AM, you wrote:

KP function entsub() {
KP   if (window.event  window.event.keyCode == 13)
KP returninfo();
KP   else
KP return true;
KP }

KP I am using this on a form to allow pressing the enter key to call my
KP function returninfo()

KP However, if the user hits enter and nothing is selected in my select
KP box, I get an error... Any ideas on how I can correct this???

KP -Original Message-
KP From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
KP Sent: Thursday, August 01, 2002 9:25 AM
KP To: CF-Talk
KP Subject: Hack Proofing ColdFusion


KP Hi folks,

KP Does anybody knows where I can find the e-book version of Hack Proofing
KP ColdFusion (Greg Meyer, Steven Casco, Sarge, Rob Rusher)? I know that I
KP can find it at Amazon.com but I really avoid shopping there (personal
KP problems in the past)... I'm looking for other places but I only found
KP paper edition, not the eletronic one.

KP Thanks!!
KP Alex


KP 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Onkeypress

2002-08-01 Thread Kris Pilles

I think I need to set the focud of the select list to focus on load... I
set the focus but it does not highlight the box?  Is there a way to make
it highlight an item on the select box onload??? 

-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 10:31 AM
To: CF-Talk
Subject: RE: Onkeypress


would changing
window.event  window.event.keyCode == 13
to
window.event == 13  window.event.keyCode == 13
help at all?

Ade

-Original Message-
From: Kris Pilles [mailto:[EMAIL PROTECTED]]
Sent: 01 August 2002 15:28
To: CF-Talk
Subject: Onkeypress


function entsub() {
  if (window.event  window.event.keyCode == 13)
returninfo();
  else
return true;
}

I am using this on a form to allow pressing the enter key to call my
function returninfo()

However, if the user hits enter and nothing is selected in my select
box, I get an error... Any ideas on how I can correct this???

-Original Message-
From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 9:25 AM
To: CF-Talk
Subject: Hack Proofing ColdFusion


Hi folks,

Does anybody knows where I can find the e-book version of Hack Proofing
ColdFusion (Greg Meyer, Steven Casco, Sarge, Rob Rusher)? I know that I
can find it at Amazon.com but I really avoid shopping there (personal
problems in the past)... I'm looking for other places but I only found
paper edition, not the eletronic one.

Thanks!!
Alex




__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



OT: IIS buffer overflow?

2002-08-01 Thread Alex Hubner

Hi Folks, sorry for the OT but I really cant find a answer for what is
happening to my IIS server. Maybe you can help me on that annoying
thing.

Everyday, at least one time, my IIS crashes and turn back working... The
message I found on EventViewer is:

Event Type: Error
Event Source:   Service Control Manager
Event Category: None
Event ID:   7031
Date:   28/7/2002
Time:   18:43:59
User:   N/A
Computer:   XINGU
Description:
The World Wide Web Publishing Service service terminated unexpectedly.
It has done this 15 time(s).  The following corrective action will be
taken in 0 milliseconds: No action.

I take the same for the FTP service, IIS Admin Service (at the same time
- IIS Admin Service seems to occur first).

Well, this error is notorious by it's relation to the buffer overflow
atacks in the IIS such as nimda e so on. My server is running URLScan
tool (2.5), I have all patches that MS could imagine regarding security
in both server and the iis service, I disabled all app mappings (except
the .cfm), removed all risk folders, tunned my regisrty entires to a
more robust response to DoS attacks, my server runs under a very good
hardware-based firewall, my cf apps are safe in terms of coding, etc,
etc. Well, security cares are not a problem here since I do follow ALL
Microsoft recommendations regarding it.

I really don't know what can causes it under such circumstances. I've
tried to contact M$ support but seems that IIS support must be payed...
(it's not included when you buy your Win2k server).

Not sure if this can cause problems to the IIS but I run my
administrative pages (IIS remote administrative, CFAdministrator and so
on) in a high port (eg. 8711) under SSL encrypt... (also protecting
contents for anonymous access). I also run SFTP under port 22 (but I
don't think this is related to that since the SSH ftp uses it's own ftp
server machine).

Any clues??

Thanks a lot!
Alex

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Onkeypress

2002-08-01 Thread Steven Salter

Also, you can easily check to see if anything is selected in that box before
submission. Just loop through all elements of the select list and if none
are selected, produce an error message.

Setting the 1st element as selected will remove the need for that check
though.



-Original Message-
From: Kris Pilles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 9:35 AM
To: CF-Talk
Subject: RE: Onkeypress


I think I need to set the focud of the select list to focus on load... I
set the focus but it does not highlight the box?  Is there a way to make
it highlight an item on the select box onload???

-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 10:31 AM
To: CF-Talk
Subject: RE: Onkeypress


would changing
window.event  window.event.keyCode == 13
to
window.event == 13  window.event.keyCode == 13
help at all?

Ade

-Original Message-
From: Kris Pilles [mailto:[EMAIL PROTECTED]]
Sent: 01 August 2002 15:28
To: CF-Talk
Subject: Onkeypress


function entsub() {
  if (window.event  window.event.keyCode == 13)
returninfo();
  else
return true;
}

I am using this on a form to allow pressing the enter key to call my
function returninfo()

However, if the user hits enter and nothing is selected in my select
box, I get an error... Any ideas on how I can correct this???

-Original Message-
From: Alex Hubner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 9:25 AM
To: CF-Talk
Subject: Hack Proofing ColdFusion


Hi folks,

Does anybody knows where I can find the e-book version of Hack Proofing
ColdFusion (Greg Meyer, Steven Casco, Sarge, Rob Rusher)? I know that I
can find it at Amazon.com but I really avoid shopping there (personal
problems in the past)... I'm looking for other places but I only found
paper edition, not the eletronic one.

Thanks!!
Alex





__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfargument and dot notaion

2002-08-01 Thread Raymond Camden

You mean how do dynamically pass crap to a UDF? Like attributeCollection
in custom tags? Use argumentCollection:

cfset a = structNew()
cfset a.foo = 1

cfset res = myUDF(argumentCollection=a)

That should work.

===
Raymond Camden, ColdFusion Jedi Master for Macromedia

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

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

 -Original Message-
 From: Kreig Zimmerman [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, August 01, 2002 11:34 AM
 To: CF-Talk
 Subject: Re: cfargument and dot notaion
 
 
 How do we param out arguments in a UDF then?
   - Original Message - 
   From: Raymond Camden 
   To: CF-Talk 
   Sent: Wednesday, July 31, 2002 5:12 PM
   Subject: RE: cfargument and dot notaion
 
 
   Yes, the order of args must match the order of cfarg tags.
 
   Unless...
 
   You use the new name/value pair notation, which works w/ 
 UDFs as well:
 
   cfset x = myUDForCFCMethod(arg=1,arg2=2,arg4=4,arg3=3)
 
   
 ==
 =
   Raymond Camden, ColdFusion Jedi Master for Macromedia
 
   Email: [EMAIL PROTECTED]
   Yahoo IM : morpheus
 
   My ally is the Force, and a powerful ally it is. - Yoda 
 
-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 31, 2002 5:07 PM
To: CF-Talk
Subject: cfargument and dot notaion


  When calling a cfc method using the dot notation, the 
 order of the
  arguments given to the method must match the order of 
 the cfargument
  tags in the body of the method, unlike cfinvoke, where 
 you have name
  value pairs.
  
  Example:
  cfset objEmailMan = createObject(component, emailman)
  cfset isDupe = 
objEmailMan.isDupe(trim(singleAddress),emailCategoryID)

  -- emailman.cfc --
  cffunction name=isDupe returntype=boolean
  cfargument name=emailAddress required=Yes 
 type=string
  cfargument name=emailCategoryID required=Yes 
type=numeric
  snip...
  
  Is this correct? It seems to be so, but I can't find anything
  anywhere that comes out and says it is the order that matters.

-- 
 Jon
  mailto:[EMAIL PROTECTED]


   
 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cfargument and dot notaion

2002-08-01 Thread Kreig Zimmerman

No...

I mean that in a UDF such as:

function HopeThisWorks (arg1, arg2, arg3) {


..is specifying the arguments enough to initialize the corresponding variables?

In other words, after creating said UDF, would the call 
HopeThisWorks(arg3=CrossFingers) be enough, without paraming the other arguments 
within the UDF's body?  Or would the UDF crash and burn if the arguments were not 
paramed somehow within the UDF's body?
  - Original Message - 
  From: Raymond Camden 
  To: CF-Talk 
  Sent: Thursday, August 01, 2002 11:42 AM
  Subject: RE: cfargument and dot notaion


  You mean how do dynamically pass crap to a UDF? Like attributeCollection
  in custom tags? Use argumentCollection:

  cfset a = structNew()
  cfset a.foo = 1

  cfset res = myUDF(argumentCollection=a)

  That should work.

  ===
  Raymond Camden, ColdFusion Jedi Master for Macromedia

  Email: [EMAIL PROTECTED]
  Yahoo IM : morpheus

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

   -Original Message-
   From: Kreig Zimmerman [mailto:[EMAIL PROTECTED]] 
   Sent: Thursday, August 01, 2002 11:34 AM
   To: CF-Talk
   Subject: Re: cfargument and dot notaion
   
   
   How do we param out arguments in a UDF then?
 - Original Message - 
 From: Raymond Camden 
 To: CF-Talk 
 Sent: Wednesday, July 31, 2002 5:12 PM
 Subject: RE: cfargument and dot notaion
   
   
 Yes, the order of args must match the order of cfarg tags.
   
 Unless...
   
 You use the new name/value pair notation, which works w/ 
   UDFs as well:
   
 cfset x = myUDForCFCMethod(arg=1,arg2=2,arg4=4,arg3=3)
   
 
   ==
   =
 Raymond Camden, ColdFusion Jedi Master for Macromedia
   
 Email: [EMAIL PROTECTED]
 Yahoo IM : morpheus
   
 My ally is the Force, and a powerful ally it is. - Yoda 
   
  -Original Message-
  From: Jon Hall [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, July 31, 2002 5:07 PM
  To: CF-Talk
  Subject: cfargument and dot notaion
  
  
When calling a cfc method using the dot notation, the 
   order of the
arguments given to the method must match the order of 
   the cfargument
tags in the body of the method, unlike cfinvoke, where 
   you have name
value pairs.

Example:
cfset objEmailMan = createObject(component, emailman)
cfset isDupe = 
  objEmailMan.isDupe(trim(singleAddress),emailCategoryID)
  
-- emailman.cfc --
cffunction name=isDupe returntype=boolean
cfargument name=emailAddress required=Yes 
   type=string
cfargument name=emailCategoryID required=Yes 
  type=numeric
snip...

Is this correct? It seems to be so, but I can't find anything
anywhere that comes out and says it is the order that matters.
  
  -- 
   Jon
mailto:[EMAIL PROTECTED]
  
  
 
   
  
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: X-server?

2002-08-01 Thread Venable, John

-Original Message-
From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 9:25 AM
To: CF-Talk
Subject: Re: X-server?

Plus, once you've spent all the $$ on the X-Server, you don't have cash
left
for software :)

From what I've seen Apple is really doing well on the price points as far as
being competitive with other offerings. Am I wrong on this?

IMHO, despite how cool the X-Server is, Apple's about 5 years late in
getting a good server out -- though they needed the solid OS to get to this
point -- and they have a lot of catching up to do. Our local (pretty
high-tech) schools are excited. Some graphics houses I know are excited.
Mainly because they have a small form-factor file server.

Well, Microsoft was at about 15 years late getting a good desktop operating
system out, so maybe there's hope.  ;-)

John Venable
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfargument and dot notaion

2002-08-01 Thread Raymond Camden

It's not CFCs per se, but cffunction. So it applies to tag based UDFs as
well - don't forget cffunction can be used outside of CFCs.

===
Raymond Camden, ColdFusion Jedi Master for Macromedia

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

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

 -Original Message-
 From: Kreig Zimmerman [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, August 01, 2002 12:15 PM
 To: CF-Talk
 Subject: Re: cfargument and dot notaion
 
 
 That's what I thought.  Oh well then.
 
 Good thing that CFCs don't behave this way.
   - Original Message - 
   From: Raymond Camden 
   To: CF-Talk 
   Sent: Thursday, August 01, 2002 12:08 PM
   Subject: RE: cfargument and dot notaion
 
 
   No, because in script based UDFs, if you list them, they 
 are required.
   If you want to use optional args in script based UDFs, you 
 can't have
   them between the parens.
 
   
 ==
 =
   Raymond Camden, ColdFusion Jedi Master for Macromedia
 
   Email: [EMAIL PROTECTED]
   Yahoo IM : morpheus
 
   My ally is the Force, and a powerful ally it is. - Yoda 
 
-Original Message-
From: Kreig Zimmerman [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 12:02 PM
To: CF-Talk
Subject: Re: cfargument and dot notaion


No...

I mean that in a UDF such as:

function HopeThisWorks (arg1, arg2, arg3) {


..is specifying the arguments enough to initialize the 
corresponding variables?

In other words, after creating said UDF, would the call 
HopeThisWorks(arg3=CrossFingers) be enough, without 
paraming the other arguments within the UDF's body?  Or would 
the UDF crash and burn if the arguments were not paramed 
somehow within the UDF's body?
  - Original Message - 
  From: Raymond Camden 
  To: CF-Talk 
  Sent: Thursday, August 01, 2002 11:42 AM
  Subject: RE: cfargument and dot notaion


  You mean how do dynamically pass crap to a UDF? Like 
attributeCollection
  in custom tags? Use argumentCollection:

  cfset a = structNew()
  cfset a.foo = 1

  cfset res = myUDF(argumentCollection=a)

  That should work.

  
==
=
  Raymond Camden, ColdFusion Jedi Master for Macromedia

  Email: [EMAIL PROTECTED]
  Yahoo IM : morpheus

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

   -Original Message-
   From: Kreig Zimmerman [mailto:[EMAIL PROTECTED]] 
   Sent: Thursday, August 01, 2002 11:34 AM
   To: CF-Talk
   Subject: Re: cfargument and dot notaion
   
   
   How do we param out arguments in a UDF then?
 - Original Message - 
 From: Raymond Camden 
 To: CF-Talk 
 Sent: Wednesday, July 31, 2002 5:12 PM
 Subject: RE: cfargument and dot notaion
   
   
 Yes, the order of args must match the order of cfarg tags.
   
 Unless...
   
 You use the new name/value pair notation, which works w/ 
   UDFs as well:
   
 cfset x = myUDForCFCMethod(arg=1,arg2=2,arg4=4,arg3=3)
   
 
   ==
   =
 Raymond Camden, ColdFusion Jedi Master for Macromedia
   
 Email: [EMAIL PROTECTED]
 Yahoo IM : morpheus
   
 My ally is the Force, and a powerful ally it is. - Yoda 
   
  -Original Message-
  From: Jon Hall [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, July 31, 2002 5:07 PM
  To: CF-Talk
  Subject: cfargument and dot notaion
  
  
When calling a cfc method using the dot notation, the 
   order of the
arguments given to the method must match the order of 
   the cfargument
tags in the body of the method, unlike cfinvoke, where 
   you have name
value pairs.

Example:
cfset objEmailMan = createObject(component, 
 emailman)
cfset isDupe = 
  objEmailMan.isDupe(trim(singleAddress),emailCategoryID)
  
-- emailman.cfc --
cffunction name=isDupe returntype=boolean
cfargument name=emailAddress required=Yes 
   type=string
cfargument name=emailCategoryID required=Yes 
  type=numeric
snip...

Is this correct? It seems to be so, but I can't 
find anything
anywhere that comes out and says it is the order 
that matters.
  
  -- 
   Jon
mailto:[EMAIL PROTECTED]
 

RE: Radio Button Form Question

2002-08-01 Thread Steven Salter

Several ways to do it. You can setup a submit handler to examine and save
all values before actual submission. You can also just verify those values
in the program your submit calls. Setup hidden fields in that prog and when
you send the user back to correct their mistakes, what they typed in will be
there if you setup the values properly.
ie:

input type=text name=mytext cfif isDefined(form.mytext)
value='#form.mytext#' /cfif 


-Original Message-
From: Paul [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 12:08 PM
To: CF-Talk
Subject: Radio Button Form Question


Hello,

I believe this will be a light weight question for this list,

I am creating a customer feedback survey, in which customers answer
question by selectin 1-5 on a list of radio buttons

In the situation where a customer leaves a question or mutltiple
questions blank how do I return the customer to the form with the radio
buttons
that he/she did fill out populated?

Thanks
-Paul


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: X-server?

2002-08-01 Thread Dick Applebaum

On Thursday, August 1, 2002, at 05:37 AM, Jesse Noller wrote:

 snip

 I'll reply in-line

Me too!


  There are lots of web developers out there (myself included) that
 use Macs.

 Yes, client side. Not server side.

Yes that is exactly what I an talking about -- there are quite a few 
good developers using Macs, even
though they can't deploy on Macs


  Many develop applications that are hosted by outside services.

 Once again, client vs. server.

same as above


  Those who develop in CF develop apps that will be run on CF servers
 on some platform.

 That's a given

  Point 1 -- These Mac developers contribute to CF sales


Here you missed the point, or just decided not to respond to it.

  Many Mac developers do *not* write Web programs for CF because they
 cannot run CF on a
  local machine -- they are more productive in Java, PHP, Perl,
 whatever.

   I would beg to differ. OS/X is a recent development, ie: last 
 year. This means that it is so new, that for many developers, their 
 feet for server side deployment and application design are not quite 
 balanced on the deck yet.

I have been writing Web apps on a Mac since 1997 -- My biggest mentor 
was doing the same years before me.

I wrote mostly Perl, and yes I could test the Perl  programs on the 
Mac -- you could even kludge together a web server that server 
Perl/html.  Perl CGI was probably the dominent Web programming language 
at that time-- CF was the young, new kid, that wasn't quite mature 
enough to be widely accepted.

   Not to mention, in an ideal environment, you DEPLOY your 
 application to a development machine. Not to the local machine. You 
 should not test your applications on a server which DOES NOT mimic your 
 production machine. This means if you develop on a WindowsXP machine, 
 but deploy to a Win2k box, something has gone wrong. It should be 
 develop on WinXP, deploy to TEST server (running win2k), verify 
 everything still works as is, then redploy to live machine.

 ::shrug:: Just me being retentive again. I'm a Linux junkie. I develop 
 on windows, or OS/2, or BeOS, or OS/X, etc, deploy to a test linux 
 server, verify the code runs, then redeploy to production.


Not all developers have (or need)  the luxury of having access to an 
ideal development environment with several machines and the target 
environment, database, etc all deployed on these separate machines.

How many independent contractors have the wherewith all to put together 
such an environment -- the time and expertise would kill any 
income-producing ability.

Form the CF-Talk list and others, I suspect that the majority of CF 
developers are small shops or independent contractors.  Likely, these 
are the ones who are fueling the majority of CF installations.

I have written CF apps on a Mac and deployed them on win / unix boxes 
without problem.


  Point 2 -- These Mac developers are contributing to the sales of
 MM's competitors



Another point!

  The port of the Developer system to Mac OS X alleviates this
 problem to some extent --
  Likely, independent contractors like myself will jump at the chance
 to run CF locally. This
  should increase their productivity and they should be able to
 deploy more apps to supported
  CF platforms.

   So do BSD developers, Mandrake, Slackware, etc. How many actual 
 corporate application servers have been ported to OS/X. Barely ANY, if 
 any at all. You can run PHP and PERL. The same theory applies to the 
 other niche market Unix/BSD world.


I am talking about a Developer system here -- it obfuscates the issue to 
respond with an argument about corporate application servers -- not the 
same issue.

   We CANNOT port to every single platform where we have any sort of 
 competitor, we do not have the in house staff capable of doing so. The 
 sheer resources needed would be astronomical.


I realize that, but I think a Developer system on Mac OS X would be a 
minor port and a minor support issue.  As I mentioned later, making this 
Developer system a supported product is a relatively easy and 
inexpensive way to test the market for the OS X platform.


  Point 3 - Availability of an unsupported developer system on OSX
 will likely make a
  contribution to CF sales and detract from competitive sales


Another point.

  The fact that the port is unsupported means that it takes a lot of
 cajoling, wheedling (not bribes),
  and time (especially time) to get problems fixed, or even addressed.

  Likely, there will not be mass acceptance of CF as a development
 platform, by Mac users, until
  there is a supported developer platform -- CF running locally, not
 just DWMX*

   This is misnomer. Who says mac users will suddenly See the Light 
 and start developing CFML when we port an application *server* to a 
 primarily CLIENT-SIDE operating system?


Again, you are using a server-side argument against a client-side 
issue.  I 

[OT] Getting around 255 limit on GET method.

2002-08-01 Thread todd

Sorry if this has already been discussed.  A friend asked if there was 
anyway of getting around the 255 limit on a form method 'get' for IIS 5.0?  
I don't use IIS, so... didn't know there was a limit.  Anyone know 
anything about this?  I couldn't find anything on Microsoft's site 
(surprise!).

Thanks,
~Todd

-- 

Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ |
Team Macromedia Volunteer for ColdFusion   |
http://www.macromedia.com/support/forums/team_macromedia/  |
http://www.flashCFM.com/   - webRat (Moderator)|
http://www.ultrashock.com/ - webRat (Back-end Moderator)   |


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



ClusterCats server name issue

2002-08-01 Thread Matt Kornguth

In attempting to go to http://www.foo.com, ClusterCats seems to be working properly, 
however the URL that appears in the browser's address line is either 
http://www1.foo.com or http://www2.foo.com.

Anyone know if there is a way to suppress the numeric server identifier? Documentation 
is ... well ... inadequate.

Thanks in advance,
Matt

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: X-server?

2002-08-01 Thread Dick Applebaum

On Thursday, August 1, 2002, at 09:46 AM, [EMAIL PROTECTED] 
wrote:

 Apple may be getting more competitive, but I still think an Intel 
 solution
 can be deployed cheaper than an Apple solution.  For Instance: A Mac 
 server
 with a 60GB ATA IDE drive 256 MB ram, etc., is about $3k, I can do that 
 with
 SCSI for less in an Intel box.  On top of the fact that who uses ATA IDE
 drives in a server?  Coupled with the fact that they don't offer harware
 RAID (which I wouldn't buy any production box without), etc., I would 
 never
 be able to get it past upper management.  I wouldn't even try.  I'd 
 love to
 have OS/X on a server, but Intel Linux or even Intel Win2k is cheaper.  
 Not
 even saying anything about administrative costs due to inexperience with
 Apple hardware or software.


Don't know enough about servers to respond other that there are several 
price points.

http://www.apple.com/xserve/

One of these days, someone will do some benchmarks to make a realistic 
comparison of the Mac offering to the competition



 The lowest cost iMAC is pretty cheap (as far as desktops go), but 
 again - I
 could do intel cheaper.


Yes, but you might be more productive on a Mac

 Love the interface, love the fact it's on a BSD-based core, but it'll 
 never
 have an inroad here without more offerings at less price.

You can get a classic iMac starting at $799 (new, better used)  This is 
a lot faster, etc than the old iMac I used for the port of CFMX to OS 
X -- and it has exactly the same OS, Java, Apache, Perl, yadda, yadda, 
yadda

http://www.apple.com/imac/g3/

Dick


 -Original Message-
 From: Venable, John [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 01, 2002 12:22 PM
 To: CF-Talk
 Subject: RE: X-server?


 -Original Message-
 From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 01, 2002 9:25 AM
 To: CF-Talk
 Subject: Re: X-server?

 Plus, once you've spent all the $$ on the X-Server, you don't have cash
 left
 for software :)

 From what I've seen Apple is really doing well on the price points as 
 far as
 being competitive with other offerings. Am I wrong on this?

 IMHO, despite how cool the X-Server is, Apple's about 5 years late in
 getting a good server out -- though they needed the solid OS to get to 
 this
 point -- and they have a lot of catching up to do. Our local (pretty
 high-tech) schools are excited. Some graphics houses I know are 
 excited.
 Mainly because they have a small form-factor file server.

 Well, Microsoft was at about 15 years late getting a good desktop 
 operating
 system out, so maybe there's hope.  ;-)

 John Venable

 
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: ClusterCats server name issue

2002-08-01 Thread Bill Wheatley

I found it automatically goes to that when the server in charge is
unavailable so it has to boot you to another box so it actually shows you
the URL of the box you are on. Its unavoidable i think unless possibly you
keep your CLuster cats control server out of the loop and just let it manage
the cluster but thats impractical for most of us

Bill Wheatley
Senior Database Developer
Macromedia Certified Advanced Coldfusion Developer
EDIETS.COM
954.360.9022 X159
ICQ 417645
- Original Message -
From: Matt Kornguth [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 1:04 PM
Subject: ClusterCats server name issue


 In attempting to go to http://www.foo.com, ClusterCats seems to be working
properly, however the URL that appears in the browser's address line is
either http://www1.foo.com or http://www2.foo.com.

 Anyone know if there is a way to suppress the numeric server identifier?
Documentation is ... well ... inadequate.

 Thanks in advance,
 Matt

 
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: IIS buffer overflow?

2002-08-01 Thread Alex Hubner

Hi John, thanks for the link, very nice program. I actually do not run
any COM object under this specific server. Also, I just run ColdFusion
applications, none of then with COM... I'm gonna check the detailed
error log provided by AutoDump+ and try to see what is going on.

Thanks.

[]'s!
Alex

-Original Message-
From: Stover, John [mailto:[EMAIL PROTECTED]] 
Sent: 01/08/2002 12:19 PM
To: CF-Talk
Subject: RE: IIS buffer overflow?



From the error you list, you might have bad code on the server that is
causing this crash. Do you have any COM objects or such that may be
causing access errors or fatal exceptions?  These kinds of errors cause
IIS to crash

If you really want to find the source, check out this process

Microsoft Knowledge Base Article - Q286350
HOWTO: Use Autodump+ to Troubleshoot Hangs and Crashes
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q286350

John M Stover II
[EMAIL PROTECTED]


-Original Message-
From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 10:59 AM
To: CF-Talk
Subject: OT: IIS buffer overflow?

Hi Folks, sorry for the OT but I really cant find a answer for what is
happening to my IIS server. Maybe you can help me on that annoying
thing.

Everyday, at least one time, my IIS crashes and turn back working... The
message I found on EventViewer is:

Event Type: Error
Event Source:   Service Control Manager
Event Category: None
Event ID:   7031
Date:   28/7/2002
Time:   18:43:59
User:   N/A
Computer:   XINGU
Description:
The World Wide Web Publishing Service service terminated unexpectedly.
It has done this 15 time(s).  The following corrective action will be
taken in 0 milliseconds: No action.

I take the same for the FTP service, IIS Admin Service (at the same time
- IIS Admin Service seems to occur first).

Well, this error is notorious by it's relation to the buffer overflow
atacks in the IIS such as nimda e so on. My server is running URLScan
tool (2.5), I have all patches that MS could imagine regarding security
in both server and the iis service, I disabled all app mappings (except
the .cfm), removed all risk folders, tunned my regisrty entires to a
more robust response to DoS attacks, my server runs under a very good
hardware-based firewall, my cf apps are safe in terms of coding, etc,
etc. Well, security cares are not a problem here since I do follow ALL
Microsoft recommendations regarding it.

I really don't know what can causes it under such circumstances. I've
tried to contact M$ support but seems that IIS support must be payed...
(it's not included when you buy your Win2k server).

Not sure if this can cause problems to the IIS but I run my
administrative pages (IIS remote administrative, CFAdministrator and so
on) in a high port (eg. 8711) under SSL encrypt... (also protecting
contents for anonymous access). I also run SFTP under port 22 (but I
don't think this is related to that since the SSH ftp uses it's own ftp
server machine).

Any clues??

Thanks a lot!
Alex



__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



BAD thread semaphores

2002-08-01 Thread Steven Salter

This is a serious problem we've been having lately. It probably is a bad
query that is causing the thread problem but nowhere is the template/program
identified that is causing the problem.

Warning,TID=228364,08/01/02,12:10:49,  Timed out while waiting for
thread semaphore (5 requests are active)
Warning,TID=228364,08/01/02,12:10:49,  Template: , Ran: 30 seconds
Warning,TID=229389,08/01/02,12:10:57,  Timed out while waiting for
thread semaphore (5 requests are active)
Warning,TID=229389,08/01/02,12:10:57,  Template: , Ran: 30 seconds
Warning,TID=230414,08/01/02,12:10:57,  Timed out while waiting for
thread semaphore (5 requests are active)
Warning,TID=230414,08/01/02,12:10:57,  Template: , Ran: 30 seconds
Warning,TID=231439,08/01/02,12:10:58,  Timed out while waiting for
thread semaphore (5 requests are active)
Warning,TID=231439,08/01/02,12:10:58,  Template: , Ran: 30 seconds
Warning,TID=232464,08/01/02,12:11:06,  Timed out while waiting for
thread semaphore (5 requests are active)
Warning,TID=232464,08/01/02,12:11:06,  Template: , Ran: 30 seconds
Warning,TID=233489,08/01/02,12:11:07,  Timed out while waiting for
thread semaphore (5 requests are active)
Warning,TID=233489,08/01/02,12:11:07,  Template: , Ran: 30 seconds
Warning,TID=234508,08/01/02,12:11:20,  Timed out while waiting for
thread semaphore (5 requests are active)
Warning,TID=234508,08/01/02,12:11:20,  Template: , Ran: 30 seconds
Warning,TID=235538,08/01/02,12:11:23,  Timed out while waiting for
thread semaphore (5 requests are active)
Warning,TID=235538,08/01/02,12:11:23,  Template: , Ran: 30 seconds
Warning,TID=236557,08/01/02,12:11:32,  Timed out while waiting for
thread semaphore (5 requests are active)
Warning,TID=236557,08/01/02,12:11:32,  Template: , Ran: 30 seconds

Anyone have a clue how I can find out what is causing this?

This chokes the CF server so that web users see page timed out due to
extremely high traffic. lol, I WISH I had enough traffic to choke my
hardware.

we are using linux 7, cf 4.5 , oracle 8i.

thanks,
Steve



__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Can anybody see a problem with this?

2002-08-01 Thread Sean A Corfield

On Thursday, August 1, 2002, at 06:05 , Alistair Davidson wrote:
 Off the top of my head I can't think of a reason why that wouldn't work,
 but to my mind, relying on the server's error catching to perform
 designed functionality just feels wrong - it feels like bad design,
 and it's shifting some of your logic from the application itself to the
 server software that it's running under.

Well, whichever way you slice this problem, it amounts to much the same 
thing: URL mapping. People who use Apache do this sort of stuff all the 
time via rewrite rules, redirects and proxies. If I was Bill, I'd dumped 
IIS and install Apache and have it rewrite the URLs from ^/[A-Za-z]*/?$ to 
/lookup.cfm?directory=$1 (which would also have to deal with any other 
valid top-level directories that had default index pages). Although with 
Apache, you could make the redirects and rewrites as smart as you wanted.

Generally, people who run Apache feel that customizing Apache to achieve 
the desired result for the web site is perfectly reasonable - the config 
is all in text files that you can keep under version control. I can see 
why people who run IIS wouldn't want to do the same sort of thing...

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFLOCK and CFIF

2002-08-01 Thread Sean A Corfield

On Thursday, August 1, 2002, at 05:45 , Al Everett wrote:
 Or, to keep as much code in the CFLOCK as possible, this:

 cflock timeout=45 throwontimeout=No name=look_pick
 type=READONLY
   cfset sessionpicks = session.picks
 /cflock

Or, in CFMX:

cfif session.picks
...
cfelse
...
/cfif

i.e., you don't need the read lock because shared scopes are 'safe' in 
CFMX.

Also, a point of style - if session.picks is a boolean (true/false, yes/no,
  1/0) why not write it as I have above? Then I'd question the actual name:
  picks does not sound like a boolean variable.

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: OS X Web Services Running! was Re: X-server?

2002-08-01 Thread Sean A Corfield

On Thursday, August 1, 2002, at 02:19 , Dick Applebaum wrote:
 You do *not* want to copy webservices.jar from the CF runtime/lib to
 /Library/Java/Extensions/ -- it screws up getting the definition of a
 local cfc as a web service, i.e. the following won't work

   http://127.0.0.1:8500/cfdocs/exampleapps/cfc/tempconverter.cfc?wsdl

Nor will:
http://127.0.0.1:8500/cfdocs/exampleapps/cfc/tempconverter.cfc
as I just found out. Rats!

I tried a few other combinations of moving .jar files around but I can't 
yet get both consuming and producing to work... I'll continue to work on 
this today!

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFGrid and its display width

2002-08-01 Thread jremus-lists

I'm having a problem, and I've looked through the archives and the
macromedia support forums, and I've seen mention of other people having this
same problem as early as CF5, but haven't seen a resolution on any of those
threads.  Could be I'm missing it, but I'm not sureSo

What happens, is that a random amount of the time (maybe about 15%) CFGrid
loads up in a page, and the gray java box goes accross the width of screen
as it should, but the grid piece only goes about half-way accross the
screen.  It also cuts off columns that would have been farther right than
its border, and does not have a scroll bar to see them with.  If I refresh,
let it display, see the results, and refresh again, it happens consistantly
at a random interval (IE: I can always get it to happen, but the amount of
times required is not constant).

1. Has anyone else seen this?  and
2. Any fix?

I'll include the code, for what it's worth

cfgrid height=150 query=ContactInfo name=gridContacts insert=no
delete=no width=800
  cfgridcolumn name=FullName width=170 header=Name
href=../Contacts/contacts.cfm?Action=ViewContactID=#ContactInfo.ContactID#

  cfgridcolumn name=Title header=Title width=170
  Cfgridcolumn name=WorkPhone header=Phone width=150
  cfgridcolumn name=Email header=Email width=200
href=mailto:#ContactInfo.Email#;
 /cfgrid

Josh Remus
Network Administrator


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFGrid and its display width

2002-08-01 Thread Matthew R. Small

Yes, I've come across a problem similar to this one:  I upgraded my
version of IE to fix it. This happens as well in netscape?  You might
also try upgrading your JRE with the Sun JRE.
http://java.sun.com/getjava/download.html

Matthew Small
IT Supervisor
Showstopper National Dance Competitions
3660 Old Kings Hwy
Murrells Inlet, SC 29576
843-357-1847


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 1:34 PM
To: CF-Talk
Subject: CFGrid and its display width

I'm having a problem, and I've looked through the archives and the
macromedia support forums, and I've seen mention of other people having
this
same problem as early as CF5, but haven't seen a resolution on any of
those
threads.  Could be I'm missing it, but I'm not sureSo

What happens, is that a random amount of the time (maybe about 15%)
CFGrid
loads up in a page, and the gray java box goes accross the width of
screen
as it should, but the grid piece only goes about half-way accross the
screen.  It also cuts off columns that would have been farther right
than
its border, and does not have a scroll bar to see them with.  If I
refresh,
let it display, see the results, and refresh again, it happens
consistantly
at a random interval (IE: I can always get it to happen, but the amount
of
times required is not constant).

1. Has anyone else seen this?  and
2. Any fix?

I'll include the code, for what it's worth

cfgrid height=150 query=ContactInfo name=gridContacts insert=no
delete=no width=800
  cfgridcolumn name=FullName width=170 header=Name
href=../Contacts/contacts.cfm?Action=ViewContactID=#ContactInfo.Contac
tID#

  cfgridcolumn name=Title header=Title width=170
  Cfgridcolumn name=WorkPhone header=Phone width=150
  cfgridcolumn name=Email header=Email width=200
href=mailto:#ContactInfo.Email#;
 /cfgrid

Josh Remus
Network Administrator



__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Can anybody see a problem with this?

2002-08-01 Thread Dan Haley

And in those corporate environments where the system admins wear Microsoft
socks and Bill Gates underwear?  Throwing Apache onto the production web
servers might not get you employee of the year.  ;)

While Apache may be able to do so much more so much easier (for some!),
sometimes you have to figure out a way to work with the tools you have ... 

IIS will allow you to backup and restore your configuration.  Right click on
IIS in MMC and you should have the option to do that.

As for handling the marketing folks' desires, there is a way to handle this
in IIS without relying on the 404 message handler.

1) Create a sub-directory that you will use for all these requests, say
maybe 'people', so the request would look like
http://www.mydomain.com/people/billhenderson.  Or, alternatively set up a
subdomain: people.mydomain.com/billhenderson.

2) In IIS, for that directory or subdomain, go to properties and choose the
directory tab.  Change the 'When connecting to this resource, the content
should come from:' option to 'A redirection to a URL', and enter in the
redirect to box /people.cfm?person=$0.  (use the help on that tab to see
other options)

3) Now the URL http://www.mydomain.com/people/billhenderson will be
redirected to http://www.mydomain.com/people.cfm?person=/billhenderson.

Same basic effect as Apache, just a little more(?) work to set up and a
little less flexibility.

Dan


-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 10:13 AM
To: CF-Talk
Subject: Re: Can anybody see a problem with this?


On Thursday, August 1, 2002, at 06:05 , Alistair Davidson wrote:
 Off the top of my head I can't think of a reason why that wouldn't work,
 but to my mind, relying on the server's error catching to perform
 designed functionality just feels wrong - it feels like bad design,
 and it's shifting some of your logic from the application itself to the
 server software that it's running under.

Well, whichever way you slice this problem, it amounts to much the same 
thing: URL mapping. People who use Apache do this sort of stuff all the 
time via rewrite rules, redirects and proxies. If I was Bill, I'd dumped 
IIS and install Apache and have it rewrite the URLs from ^/[A-Za-z]*/?$ to 
/lookup.cfm?directory=$1 (which would also have to deal with any other 
valid top-level directories that had default index pages). Although with 
Apache, you could make the redirects and rewrites as smart as you wanted.

Generally, people who run Apache feel that customizing Apache to achieve 
the desired result for the web site is perfectly reasonable - the config 
is all in text files that you can keep under version control. I can see 
why people who run IIS wouldn't want to do the same sort of thing...

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Can anybody see a problem with this?

2002-08-01 Thread Dave Watts

 Generally, people who run Apache feel that customizing Apache 
 to achieve the desired result for the web site is perfectly 
 reasonable - the config is all in text files that you can 
 keep under version control. I can see why people who run IIS 
 wouldn't want to do the same sort of thing...

While the IIS metabase isn't a text file, you can certainly do the same sort
of thing - you can backup and restore metabase files, or you can make the
changes through scripts (and archive the scripts).

In addition, there are plenty of ISAPI filters that do the same thing as
mod_rewrite:
http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=IIS+%2Bmod_rewrite

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFGrid and its display width

2002-08-01 Thread jremus-lists

I have not tested this in Netscape, but this does happen with either JRE v
1.3.1 or 1.4.0_01.  The key is to get it to work IE, either way.  I'm
running 6.0 with all the applicable patches, etc.

-Original Message-
From: Matthew R. Small [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 1:39 PM
To: CF-Talk
Subject: RE: CFGrid and its display width


Yes, I've come across a problem similar to this one:  I upgraded my
version of IE to fix it. This happens as well in netscape?  You might
also try upgrading your JRE with the Sun JRE.
http://java.sun.com/getjava/download.html

Matthew Small
IT Supervisor
Showstopper National Dance Competitions
3660 Old Kings Hwy
Murrells Inlet, SC 29576
843-357-1847


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 1:34 PM
To: CF-Talk
Subject: CFGrid and its display width

I'm having a problem, and I've looked through the archives and the
macromedia support forums, and I've seen mention of other people having
this
same problem as early as CF5, but haven't seen a resolution on any of
those
threads.  Could be I'm missing it, but I'm not sureSo

What happens, is that a random amount of the time (maybe about 15%)
CFGrid
loads up in a page, and the gray java box goes accross the width of
screen
as it should, but the grid piece only goes about half-way accross the
screen.  It also cuts off columns that would have been farther right
than
its border, and does not have a scroll bar to see them with.  If I
refresh,
let it display, see the results, and refresh again, it happens
consistantly
at a random interval (IE: I can always get it to happen, but the amount
of
times required is not constant).

1. Has anyone else seen this?  and
2. Any fix?

I'll include the code, for what it's worth

cfgrid height=150 query=ContactInfo name=gridContacts insert=no
delete=no width=800
  cfgridcolumn name=FullName width=170 header=Name
href=../Contacts/contacts.cfm?Action=ViewContactID=#ContactInfo.Contac
tID#

  cfgridcolumn name=Title header=Title width=170
  Cfgridcolumn name=WorkPhone header=Phone width=150
  cfgridcolumn name=Email header=Email width=200
href=mailto:#ContactInfo.Email#;
 /cfgrid

Josh Remus
Network Administrator




__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cfargument and dot notaion

2002-08-01 Thread Kreig Zimmerman

Yes, yes I understand.  I meant CFFunction, not CFCs per se.
  - Original Message - 
  From: Raymond Camden 
  To: CF-Talk 
  Sent: Thursday, August 01, 2002 12:24 PM
  Subject: RE: cfargument and dot notaion


  It's not CFCs per se, but cffunction. So it applies to tag based UDFs as
  well - don't forget cffunction can be used outside of CFCs.

  ===
  Raymond Camden, ColdFusion Jedi Master for Macromedia

  Email: [EMAIL PROTECTED]
  Yahoo IM : morpheus

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

   -Original Message-
   From: Kreig Zimmerman [mailto:[EMAIL PROTECTED]] 
   Sent: Thursday, August 01, 2002 12:15 PM
   To: CF-Talk
   Subject: Re: cfargument and dot notaion
   
   
   That's what I thought.  Oh well then.
   
   Good thing that CFCs don't behave this way.
 - Original Message - 
 From: Raymond Camden 
 To: CF-Talk 
 Sent: Thursday, August 01, 2002 12:08 PM
 Subject: RE: cfargument and dot notaion
   
   
 No, because in script based UDFs, if you list them, they 
   are required.
 If you want to use optional args in script based UDFs, you 
   can't have
 them between the parens.
   
 
   ==
   =
 Raymond Camden, ColdFusion Jedi Master for Macromedia
   
 Email: [EMAIL PROTECTED]
 Yahoo IM : morpheus
   
 My ally is the Force, and a powerful ally it is. - Yoda 
   
  -Original Message-
  From: Kreig Zimmerman [mailto:[EMAIL PROTECTED]] 
  Sent: Thursday, August 01, 2002 12:02 PM
  To: CF-Talk
  Subject: Re: cfargument and dot notaion
  
  
  No...
  
  I mean that in a UDF such as:
  
  function HopeThisWorks (arg1, arg2, arg3) {
  
  
  ..is specifying the arguments enough to initialize the 
  corresponding variables?
  
  In other words, after creating said UDF, would the call 
  HopeThisWorks(arg3=CrossFingers) be enough, without 
  paraming the other arguments within the UDF's body?  Or would 
  the UDF crash and burn if the arguments were not paramed 
  somehow within the UDF's body?
- Original Message - 
From: Raymond Camden 
To: CF-Talk 
Sent: Thursday, August 01, 2002 11:42 AM
Subject: RE: cfargument and dot notaion
  
  
You mean how do dynamically pass crap to a UDF? Like 
  attributeCollection
in custom tags? Use argumentCollection:
  
cfset a = structNew()
cfset a.foo = 1
  
cfset res = myUDF(argumentCollection=a)
  
That should work.
  

  ==
  =
Raymond Camden, ColdFusion Jedi Master for Macromedia
  
Email: [EMAIL PROTECTED]
Yahoo IM : morpheus
  
My ally is the Force, and a powerful ally it is. - Yoda 
  
 -Original Message-
 From: Kreig Zimmerman [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, August 01, 2002 11:34 AM
 To: CF-Talk
 Subject: Re: cfargument and dot notaion
 
 
 How do we param out arguments in a UDF then?
   - Original Message - 
   From: Raymond Camden 
   To: CF-Talk 
   Sent: Wednesday, July 31, 2002 5:12 PM
   Subject: RE: cfargument and dot notaion
 
 
   Yes, the order of args must match the order of cfarg tags.
 
   Unless...
 
   You use the new name/value pair notation, which works w/ 
 UDFs as well:
 
   cfset x = myUDForCFCMethod(arg=1,arg2=2,arg4=4,arg3=3)
 
   
 ==
 =
   Raymond Camden, ColdFusion Jedi Master for Macromedia
 
   Email: [EMAIL PROTECTED]
   Yahoo IM : morpheus
 
   My ally is the Force, and a powerful ally it is. - Yoda 
 
-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 31, 2002 5:07 PM
To: CF-Talk
Subject: cfargument and dot notaion


  When calling a cfc method using the dot notation, the 
 order of the
  arguments given to the method must match the order of 
 the cfargument
  tags in the body of the method, unlike cfinvoke, where 
 you have name
  value pairs.
  
  Example:
  cfset objEmailMan = createObject(component, 
   emailman)
  cfset isDupe = 
objEmailMan.isDupe(trim(singleAddress),emailCategoryID)

  -- 

RE: Can anybody see a problem with this?

2002-08-01 Thread Dave Watts

 And in those corporate environments where the system admins 
 wear Microsoft socks and Bill Gates underwear? Throwing Apache 
 onto the production web servers might not get you employee 
 of the year.  ;)

Yeah, Sean, while they're at it they might get rid of their OTHER
proprietary software ...

And, Dan, please, no more Bill Gates underwear references. Please.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Can anybody see a problem with this?

2002-08-01 Thread S . Isaac Dealey

 wear snip Bill Gates underwear

shudder did you have to go there? :)

Isaac Dealey
Certified Advanced ColdFusion Developer

www.turnkey.to
954-776-0046
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: OS X Web Services Running! was Re: X-server?

2002-08-01 Thread Stacy Young

HHmm those mac portables starting to look much more attractive now...hehe


-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 1:28 PM
To: CF-Talk
Subject: Re: OS X Web Services Running! was Re: X-server?


On Thursday, August 1, 2002, at 02:19 , Dick Applebaum wrote:
 You do *not* want to copy webservices.jar from the CF runtime/lib to 
 /Library/Java/Extensions/ -- it screws up getting the definition of a 
 local cfc as a web service, i.e. the following won't work

   http://127.0.0.1:8500/cfdocs/exampleapps/cfc/tempconverter.cfc?wsdl

Nor will:
http://127.0.0.1:8500/cfdocs/exampleapps/cfc/tempconverter.cfc
as I just found out. Rats!

I tried a few other combinations of moving .jar files around but I can't 
yet get both consuming and producing to work... I'll continue to work on 
this today!

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: ColdFusion Accessing exhcnage server calendar

2002-08-01 Thread Neil Robertson-Ravo =TMM=

I think from what I have heard and seen that its pretty difficuly with
CF to get it working 100%





-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]] 
Sent: 01 August 2002 18:55
To: CF-Talk
Subject: ColdFusion Accessing exhcnage server calendar

I've already been to cfcomet, anyone ever accessed a calendar on
an
exchnage server on CF?

Robert Everland III
Web Developer Extraordinaire
Dixon Ticonderoga Company
http://www.dixonusa.com 

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: X-server?

2002-08-01 Thread Sean A Corfield

On Thursday, August 1, 2002, at 09:46 , [EMAIL PROTECTED] wrote:
 Apple may be getting more competitive, but I still think an Intel solution
 can be deployed cheaper than an Apple solution.

I priced up a new high-end Wintel desktop for my wife. A Dell at $4,300 
including software and peripherals. Our of curiosity, I priced up the same 
configuration on an iMac and it was $3,500. (17 flat screen, 1Gb RAM, 
80Gb HD (I think), Zip Drive, MS Office, etc). $800 is a big saving...

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Email lists

2002-08-01 Thread Mark A. Kruger - CFG

We have a client interested in running an email marketing campaign.  I was
wondering if anyone out there could give me advice on:

A)  Where do you generally go to get targeted email addresses

and

B)  What are the ins and outs that help stay on peoples good side and stay
off the ISP black lists.

My previous experience has been with subscribed newsletters, not with
spa uh emaill marketing.

-mk

Mark A. Kruger, MCSE, CFG
www.cfwebtools.com
www.necfug.com
..no more brochures!



__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: X-server?

2002-08-01 Thread Neil Robertson-Ravo =TMM=

I think price is not really issue at the mo (surely peripherals are so
cheap that building your own is probably cheaper!?)

Mac's are nice machines to look at (IMHO, so don’t bother with your
Mac-o-lite rants :-)

No matter how much it moves on though, an iMac not only looks stoopid,
but it has no floppy drive (yes, we still need them!)... 

 I priced up the same configuration on an iMac

I'm intrigued Was it running Windows :-)?






-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]] 
Sent: 01 August 2002 19:14
To: CF-Talk
Subject: Re: X-server?

On Thursday, August 1, 2002, at 09:46 , [EMAIL PROTECTED]
wrote:
 Apple may be getting more competitive, but I still think an Intel
solution
 can be deployed cheaper than an Apple solution.

I priced up a new high-end Wintel desktop for my wife. A Dell at $4,300 
including software and peripherals. Our of curiosity, I priced up the
same 
configuration on an iMac and it was $3,500. (17 flat screen, 1Gb RAM, 
80Gb HD (I think), Zip Drive, MS Office, etc). $800 is a big saving...

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: ColdFusion Accessing exhcnage server calendar

2002-08-01 Thread Dan Haley

How big a group of people?  As a feasability test in prep for a department
app (still not written) we wrote some Outlook VBA code to push calendar
updates to a database.  CF will then just look at the database.  The VBA
code isn't complete but does handle recurring appointments, etc.  It would
have to be loaded onto each client, so it wouldn't work for a large user
base very well.

If you are working with a larger group, but still all internal, then there
is a lot that can be done on the Exchange server itself ... the same idea
could be applied there.

Shoot me an email off-list if you're interested in the Outlook code.

Dan

-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 10:55 AM
To: CF-Talk
Subject: ColdFusion Accessing exhcnage server calendar


I've already been to cfcomet, anyone ever accessed a calendar on an
exchnage server on CF?

Robert Everland III
Web Developer Extraordinaire
Dixon Ticonderoga Company
http://www.dixonusa.com 

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Email lists

2002-08-01 Thread Jochem van Dieten

Mark A. Kruger - CFG wrote:
 We have a client interested in running an email marketing campaign.  I was
 wondering if anyone out there could give me advice on:
 
 A)  Where do you generally go to get targeted email addresses

Lower the settings on your spam filter and buy a few of the CD's that 
are offered. Don't they all claim te be targeted :)


 B)  What are the ins and outs that help stay on peoples good side and stay
 off the ISP black lists.

Not sending email marketing is a good way :)


But seriously, if you wanted to reach the CF community, probably one of 
the best ways would be to be somewhere in the next few lines:
 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Email lists

2002-08-01 Thread Michael Dinowitz

Any place that has 'public' email lists is a good choice to start with. I've heard a 
whole lot about Topica selling lists of addresses. 
As for staying on peoples good sides, I'd say rigorous control over content and 
location is a must. If you know everything that's being sent out, when its going out 
and have a relatively good idea of who its going to then you've got a good start. 
Having quick public support service is another useful thing. 

Just as a side note for those who may have wondered, HoF does not distribute ANY of 
the email addresses that we have on our mailing lists or newsletters. 


 We have a client interested in running an email marketing campaign.  I was
 wondering if anyone out there could give me advice on:
 
 A)  Where do you generally go to get targeted email addresses
 
 and
 
 B)  What are the ins and outs that help stay on peoples good side and stay
 off the ISP black lists.
 
 My previous experience has been with subscribed newsletters, not with
 spa uh emaill marketing.
 
 -mk
 
 Mark A. Kruger, MCSE, CFG
 www.cfwebtools.com
 www.necfug.com
 ..no more brochures!
 
 
 
 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Email lists

2002-08-01 Thread Alex

Sounds like spam to me. What I have seen is the initial email will be sent
with an opt-out option. To stay on peoples good side be prompt with
removing addresses and do not BS .

On Thu, 1 Aug 2002, Mark A. Kruger - CFG wrote:

 We have a client interested in running an email marketing campaign.  I was
 wondering if anyone out there could give me advice on:

 A)  Where do you generally go to get targeted email addresses

 and

 B)  What are the ins and outs that help stay on peoples good side and stay
 off the ISP black lists.

 My previous experience has been with subscribed newsletters, not with
 spa uh emaill marketing.

 -mk

 Mark A. Kruger, MCSE, CFG
 www.cfwebtools.com
 www.necfug.com
 ..no more brochures!



 
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Email lists

2002-08-01 Thread Paul Giesenhagen

One good thing, like most of you, I have MANY different email addresses and
some that just forward to other email addresses.  I would include the
opt-out with the email that is being sent such as
[EMAIL PROTECTED] or whatever.  That way the person who wants to
be removed can get their email removed that you sent your information too.

Paul Giesenhagen
QuillDesign


- Original Message -
From: Alex [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 1:35 PM
Subject: Re: Email lists


 Sounds like spam to me. What I have seen is the initial email will be sent
 with an opt-out option. To stay on peoples good side be prompt with
 removing addresses and do not BS .

 On Thu, 1 Aug 2002, Mark A. Kruger - CFG wrote:

  We have a client interested in running an email marketing campaign.  I
was
  wondering if anyone out there could give me advice on:
 
  A)  Where do you generally go to get targeted email addresses
 
  and
 
  B)  What are the ins and outs that help stay on peoples good side and
stay
  off the ISP black lists.
 
  My previous experience has been with subscribed newsletters, not with
  spa uh emaill marketing.
 
  -mk
 
  Mark A. Kruger, MCSE, CFG
  www.cfwebtools.com
  www.necfug.com
  ..no more brochures!
 
 
 
 
 
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: OS X Web Services Running! was Re: X-server?

2002-08-01 Thread Dick Applebaum

On Thursday, August 1, 2002, at 10:28 AM, Sean A Corfield wrote:


 I tried a few other combinations of moving .jar files around but I can't
 yet get both consuming and producing to work... I'll continue to work on
 this today!


Yeah, I did that too -- kinda' like playing those bar games with dice 
cups and 6 dice each -- there are so many components (jars) and a 
multitude of combinations -- it takes some skill, but it's mainly luck.

Dick

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Email lists

2002-08-01 Thread Jochem van Dieten

Jochem van Dieten wrote:
 Mark A. Kruger - CFG wrote:
 
We have a client interested in running an email marketing campaign.  I was
wondering if anyone out there could give me advice on:
 
 But seriously, if you wanted to reach the CF community, probably one of 
 the best ways would be to be somewhere in the next few lines:

There was some text after this, but I think the filters took it off.

Don't try to do targeted emails on your own. Find some 
community/mailinglist that targets the same people as your client wants 
to target. Talk to them about sponsoring. This type of lists is (almost) 
guaranteed opt-in, and if they are not it is quite likely somebody else 
takes the blame. If it is a community, you can even try to get some 
editorial about your client.

In general, it profiles your client as an responsible member of the 
community, instead of a hit  run spammer.

Jochem

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Email lists

2002-08-01 Thread Chad Gray

Im always paranoid to click on the remove me links in spam.  It could
be a way of validating that your email is a real email.


-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 1:37 PM
To: CF-Talk
Subject: Re: Email lists

One good thing, like most of you, I have MANY different email addresses
and
some that just forward to other email addresses.  I would include the
opt-out with the email that is being sent such as
[EMAIL PROTECTED] or whatever.  That way the person who wants
to
be removed can get their email removed that you sent your information
too.

Paul Giesenhagen
QuillDesign


- Original Message -
From: Alex [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 1:35 PM
Subject: Re: Email lists


 Sounds like spam to me. What I have seen is the initial email will be
sent
 with an opt-out option. To stay on peoples good side be prompt with
 removing addresses and do not BS .

 On Thu, 1 Aug 2002, Mark A. Kruger - CFG wrote:

  We have a client interested in running an email marketing campaign.
I
was
  wondering if anyone out there could give me advice on:
 
  A)  Where do you generally go to get targeted email addresses
 
  and
 
  B)  What are the ins and outs that help stay on peoples good side
and
stay
  off the ISP black lists.
 
  My previous experience has been with subscribed newsletters, not
with
  spa uh emaill marketing.
 
  -mk
 
  Mark A. Kruger, MCSE, CFG
  www.cfwebtools.com
  www.necfug.com
  ..no more brochures!
 
 
 
 
 

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: X-server?

2002-08-01 Thread jremus-lists

Just for argument's sake - in a P4 (2.54Ghz), it is VERY difficult to get up
to $4,300.  I spec'ed out what you just said, included a 17 flat screen,
80GB HD, etc, and I didn't come up with $4300.  Much closer to $3500.
That's in a precision (business-class line).  I can't even get that close
with a Dimension, which can still be a pretty high-end box.  Like $2,750 for
the Dimension.   So...Not to get in a war of the specs with you, I just have
not been able to realistically find Wintel not being cheaper.

-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 2:14 PM
To: CF-Talk
Subject: Re: X-server?


On Thursday, August 1, 2002, at 09:46 , [EMAIL PROTECTED] wrote:
 Apple may be getting more competitive, but I still think an Intel solution
 can be deployed cheaper than an Apple solution.

I priced up a new high-end Wintel desktop for my wife. A Dell at $4,300
including software and peripherals. Our of curiosity, I priced up the same
configuration on an iMac and it was $3,500. (17 flat screen, 1Gb RAM,
80Gb HD (I think), Zip Drive, MS Office, etc). $800 is a big saving...

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Email lists

2002-08-01 Thread Paul Giesenhagen

Yes, but then I take it you wouldn't do the reply to REMOVE method either.

So you just don't opt-out?

Paul Giesenhagen
QuillDesign



 Im always paranoid to click on the remove me links in spam.  It could
 be a way of validating that your email is a real email.


 -Original Message-
 From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 01, 2002 1:37 PM
 To: CF-Talk
 Subject: Re: Email lists

 One good thing, like most of you, I have MANY different email addresses
 and
 some that just forward to other email addresses.  I would include the
 opt-out with the email that is being sent such as
 [EMAIL PROTECTED] or whatever.  That way the person who wants
 to
 be removed can get their email removed that you sent your information
 too.

 Paul Giesenhagen
 QuillDesign


 - Original Message -
 From: Alex [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, August 01, 2002 1:35 PM
 Subject: Re: Email lists


  Sounds like spam to me. What I have seen is the initial email will be
 sent
  with an opt-out option. To stay on peoples good side be prompt with
  removing addresses and do not BS .
 
  On Thu, 1 Aug 2002, Mark A. Kruger - CFG wrote:
 
   We have a client interested in running an email marketing campaign.
 I
 was
   wondering if anyone out there could give me advice on:
  
   A)  Where do you generally go to get targeted email addresses
  
   and
  
   B)  What are the ins and outs that help stay on peoples good side
 and
 stay
   off the ISP black lists.
  
   My previous experience has been with subscribed newsletters, not
 with
   spa uh emaill marketing.
  
   -mk
  
   Mark A. Kruger, MCSE, CFG
   www.cfwebtools.com
   www.necfug.com
   ..no more brochures!
  
  
  
  
 

 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: X-server?

2002-08-01 Thread Stacy Young

Almost all our developers develop on their local machine. There's a
typically a test environment available but that's typically used when
sanitizing and testing a build in dev before releasing to QA...


-Original Message-
From: Jesse Noller [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 8:38 AM
To: CF-Talk
Subject: RE: X-server?

snip

I'll reply in-line

   There are lots of web developers out there (myself included) that
 use Macs.

Yes, client side. Not server side.

   Many develop applications that are hosted by outside services.

Once again, client vs. server.

   Those who develop in CF develop apps that will be run on CF servers
 on some platform.

That's a given

   Point 1 -- These Mac developers contribute to CF sales
 
   Many Mac developers do *not* write Web programs for CF because they
 cannot run CF on a
   local machine -- they are more productive in Java, PHP, Perl,
 whatever.

I would beg to differ. OS/X is a recent development, ie: last year.
This means that it is so new, that for many developers, their feet for
server side deployment and application design are not quite balanced on the
deck yet.

Not to mention, in an ideal environment, you DEPLOY your application
to a development machine. Not to the local machine. You should not test your
applications on a server which DOES NOT mimic your production machine. This
means if you develop on a WindowsXP machine, but deploy to a Win2k box,
something has gone wrong. It should be develop on WinXP, deploy to TEST
server (running win2k), verify everything still works as is, then redploy to
live machine.

::shrug:: Just me being retentive again. I'm a Linux junkie. I develop on
windows, or OS/2, or BeOS, or OS/X, etc, deploy to a test linux server,
verify the code runs, then redeploy to production.

   Point 2 -- These Mac developers are contributing to the sales of
 MM's competitors
 
   The port of the Developer system to Mac OS X alleviates this
 problem to some extent --
   Likely, independent contractors like myself will jump at the chance
 to run CF locally. This
   should increase their productivity and they should be able to
 deploy more apps to supported
   CF platforms.

So do BSD developers, Mandrake, Slackware, etc. How many actual
corporate application servers have been ported to OS/X. Barely ANY, if any
at all. You can run PHP and PERL. The same theory applies to the other niche
market Unix/BSD world. 

We CANNOT port to every single platform where we have any sort of
competitor, we do not have the in house staff capable of doing so. The sheer
resources needed would be astronomical. 

 
   Point 3 - Availability of an unsupported developer system on OSX
 will likely make a
   contribution to CF sales and detract from competitive sales
 
   The fact that the port is unsupported means that it takes a lot of
 cajoling, wheedling (not bribes),
   and time (especially time) to get problems fixed, or even addressed.
 
   Likely, there will not be mass acceptance of CF as a development
 platform, by Mac users, until
   there is a supported developer platform -- CF running locally, not
 just DWMX*

This is misnomer. Who says mac users will suddenly See the Light
and start developing CFML when we port an application *server* to a
primarily CLIENT-SIDE operating system?

It's like developing a copy of dreamweaver to, say, Tru64. Your
porting a client side application to a server side OS. Same applies to
Linux, Solaris and BSD.


   * It's ironic that DWMX on the Mac contributes to the sales of CF
 competitors -- Mac users can
 develop in competitive languages that *do* run on the Mac, while
 CF does not.

No, empowering the user is what Macromedia is about. Therefore, selling
client-dev applications contributes to total revenue for Macromedia, which
makes us happy. 

This does not mean that we should force CFML down the throats of Mac
developers by removing functionality in DWMX to force them to use the new
shiny CFMX for OS/X.



   Point 4 - Lack of a supported CF Mac developer platform will likely
 detract from CF sales and
   contribute to competitor sales.
 
   Those who have used CFMX on Mac OS X (I know most of them) think
 that is a sweet system --
   superior to the other available options.  I can't make this
 statement, because I have never
   developed on a Win, Solaris or Linux box.
 
I can give this opinion:  CFMX ON Mac OSX is the *Best* Web
 Application development system,
   running on the *Best* Operating system running on the *Best*
 Personal Computer.
 

I can give this opinion: CFMX on Linux is the best Web Application
development system, running the *Best* Operating system running on the
*Best* Personal computer.

I betcha 30$ that my Linux workstation (Dual Pentium 4 1.4 GHZ, 2
gigs of Ram, an brand new Radeon card) running 

RE: X-server?

2002-08-01 Thread Stacy Young

We spend much more for the Solaris equivalent


-Original Message-
From: Venable, John [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 12:22 PM
To: CF-Talk
Subject: RE: X-server?

-Original Message-
From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 9:25 AM
To: CF-Talk
Subject: Re: X-server?

Plus, once you've spent all the $$ on the X-Server, you don't have cash
left
for software :)

From what I've seen Apple is really doing well on the price points as far as
being competitive with other offerings. Am I wrong on this?

IMHO, despite how cool the X-Server is, Apple's about 5 years late in
getting a good server out -- though they needed the solid OS to get to this
point -- and they have a lot of catching up to do. Our local (pretty
high-tech) schools are excited. Some graphics houses I know are excited.
Mainly because they have a small form-factor file server.

Well, Microsoft was at about 15 years late getting a good desktop operating
system out, so maybe there's hope.  ;-)

John Venable

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Email lists

2002-08-01 Thread Jacob

That is what most of them do.

At 02:44 PM 8/1/2002 -0400, you wrote:
Im always paranoid to click on the remove me links in spam.  It could
be a way of validating that your email is a real email.


-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 1:37 PM
To: CF-Talk
Subject: Re: Email lists

One good thing, like most of you, I have MANY different email addresses
and
some that just forward to other email addresses.  I would include the
opt-out with the email that is being sent such as
[EMAIL PROTECTED] or whatever.  That way the person who wants
to
be removed can get their email removed that you sent your information
too.

Paul Giesenhagen
QuillDesign


- Original Message -
From: Alex [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 1:35 PM
Subject: Re: Email lists


  Sounds like spam to me. What I have seen is the initial email will be
sent
  with an opt-out option. To stay on peoples good side be prompt with
  removing addresses and do not BS .
 
  On Thu, 1 Aug 2002, Mark A. Kruger - CFG wrote:
 
   We have a client interested in running an email marketing campaign.
I
was
   wondering if anyone out there could give me advice on:
  
   A)  Where do you generally go to get targeted email addresses
  
   and
  
   B)  What are the ins and outs that help stay on peoples good side
and
stay
   off the ISP black lists.
  
   My previous experience has been with subscribed newsletters, not
with
   spa uh emaill marketing.
  
   -mk
  
   Mark A. Kruger, MCSE, CFG
   www.cfwebtools.com
   www.necfug.com
   ..no more brochures!
  
  
  
  
 


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: X-server?

2002-08-01 Thread Dick Applebaum

On Thursday, August 1, 2002, at 11:17 AM, Neil Robertson-Ravo =TMM= 
wrote:

 I think price is not really issue at the mo (surely peripherals are so
 cheap that building your own is probably cheaper!?)

 Mac's are nice machines to look at (IMHO, so donít bother with your
 Mac-o-lite rants :-)

 No matter how much it moves on though, an iMac not only looks stoopid,
 but it has no floppy drive (yes, we still need them!)...

I am curious, what do you use a floppy for?  Is it the requirement of 
your OS or your application?

I haven't needed or used a floppy drive in 4 years --

The Mac OS works very nicely with floppy or CD Images.  These can 
be copied to hard disk,
uploaded, downloaded, emailed, burned to CD (and yes, even copied 
to a floppy disk).

all Macs come with NFS and AFP networking hardware and software 
built in with a
real plug and play interface -- you don't even require a crossover 
cable to connect 2 Macs --
The hardware/software determines the type of ethernet cable and 
adjusts accordingly.

All Macs come with a web server: Apache.

all Macs come with internet connection hardware, software and free 
trial internet connection

All Macs come with a free 20 MB personal disk space on an Apple web 
Server (this will change
soon to $99/year for 100MB disk space plus some other goodies).

sneaker-net is not needed

All of the above can be used to exchange files -- If you really 
need a floppy you can get one for
about $100 (last time i looked)

 I priced up the same configuration on an iMac

 I'm intrigued Was it running Windows :-)?

No, Mac OSX, but you could get an emulator  Virtual PC for $90 (if you 
already own Win) or $90 -$140 more if you want to buy win 98, XP Home, 
or Win200.

This also allows you to emulate other Intel OSes such as RH Linux.

So, dollar-wise, I think the cost of the Mac is still lower cost.

HTH

Dick






 -Original Message-
 From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
 Sent: 01 August 2002 19:14
 To: CF-Talk
 Subject: Re: X-server?

 On Thursday, August 1, 2002, at 09:46 , [EMAIL PROTECTED]
 wrote:
 Apple may be getting more competitive, but I still think an Intel
 solution
 can be deployed cheaper than an Apple solution.

 I priced up a new high-end Wintel desktop for my wife. A Dell at $4,300
 including software and peripherals. Our of curiosity, I priced up the
 same
 configuration on an iMac and it was $3,500. (17 flat screen, 1Gb RAM,
 80Gb HD (I think), Zip Drive, MS Office, etc). $800 is a big saving...

 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood


 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Way OT :-) Email lists

2002-08-01 Thread Matt Robertson

Thats what server-level anti-spam software is for.  I'd have literally double my mail 
volume without it.  Between Declude and Cloudmark I'm finally 99% spam free.

Speaking of which, as an fyi every HoF message I receive says this in the headers:

X-RBL-Warning: HELOBOGUS: Domain hof001.houseoffusion.com has no MX/A records.

Its not enough weight to get the mail tossed.

---
Matt Robertson[EMAIL PROTECTED]
MSB Designs, Inc., www.mysecretbase.com
---


-- Original Message --
from: Paul Giesenhagen [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Thu, 1 Aug 2002 13:46:06 -0500

Yes, but then I take it you wouldn't do the reply to REMOVE method either.

So you just don't opt-out?

Paul Giesenhagen
QuillDesign

 
 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: X-server?

2002-08-01 Thread Buddy

I thought that the original discussion was about OS-X in
the server world, not the desktop world. Here is a good
comparo, from a Linux site, so it's not pro or anti apple
by nature. It talks about the cost analysis a little bit.
http://www.linuxworld.com/site-stories/2002/0724.macx.html

It also has a link to some bench mark results and some other
good stuff.

Just food for thought.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 11:42 AM
To: CF-Talk
Subject: RE: X-server?


Just for argument's sake - in a P4 (2.54Ghz), it is VERY difficult to get up
to $4,300.  I spec'ed out what you just said, included a 17 flat screen,
80GB HD, etc, and I didn't come up with $4300.  Much closer to $3500.
That's in a precision (business-class line).  I can't even get that close
with a Dimension, which can still be a pretty high-end box.  Like $2,750 for
the Dimension.   So...Not to get in a war of the specs with you, I just have
not been able to realistically find Wintel not being cheaper.

-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 2:14 PM
To: CF-Talk
Subject: Re: X-server?


On Thursday, August 1, 2002, at 09:46 , [EMAIL PROTECTED] wrote:
 Apple may be getting more competitive, but I still think an Intel solution
 can be deployed cheaper than an Apple solution.

I priced up a new high-end Wintel desktop for my wife. A Dell at $4,300
including software and peripherals. Our of curiosity, I priced up the same
configuration on an iMac and it was $3,500. (17 flat screen, 1Gb RAM,
80Gb HD (I think), Zip Drive, MS Office, etc). $800 is a big saving...

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood



__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Email lists

2002-08-01 Thread Jochem van Dieten

Paul Giesenhagen wrote:
 Yes, but then I take it you wouldn't do the reply to REMOVE method either.
 
 So you just don't opt-out?

I very rarely opt-out. I just modify my spam filter and report them on 
some DNS blocklist.

But I get very little spam actually. I suppose for some reason people 
think that the emailaddress spam@... (which I use with companies of 
which I don't know their position on spam) is invalid.

Jochem

PS Never email me in HTML, chances are your email will just be a number 
in the filter report :)

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Email lists

2002-08-01 Thread Jochem van Dieten

Jacob wrote:
 That is what most of them do.

Who is them?
Can you prove that?

Jochem

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: X-server?

2002-08-01 Thread Neil Robertson-Ravo =TMM=

Hi Dick :-)

Good points, but they are still not sturdy enough for hi-end client or
any type of server environment.  I know you are a Mac-man and indeed
will push it much like a Microsoftian :-p but in this case you can go on
and on about it, and it will still always come down to the fact that
they wont be as good as Windoze (or others) for development or serving..

As for a floppy (just one example), lets say I have a 1.2 meg file which
I don’t want to email to myself as I only have a 56K connection, I want
to move it to my other machine which has no Zip and I don’t want to
waste a CD on the data i.e. USE A FLOPPY! They still have their
uses...








-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]] 
Sent: 01 August 2002 20:01
To: CF-Talk
Subject: Re: X-server?

On Thursday, August 1, 2002, at 11:17 AM, Neil Robertson-Ravo =TMM= 
wrote:

 I think price is not really issue at the mo (surely peripherals are so
 cheap that building your own is probably cheaper!?)

 Mac's are nice machines to look at (IMHO, so donít bother with
your
 Mac-o-lite rants :-)

 No matter how much it moves on though, an iMac not only looks stoopid,
 but it has no floppy drive (yes, we still need them!)...

I am curious, what do you use a floppy for?  Is it the requirement of 
your OS or your application?

I haven't needed or used a floppy drive in 4 years --

The Mac OS works very nicely with floppy or CD Images.  These
can 
be copied to hard disk,
uploaded, downloaded, emailed, burned to CD (and yes, even
copied 
to a floppy disk).

all Macs come with NFS and AFP networking hardware and software 
built in with a
real plug and play interface -- you don't even require a
crossover 
cable to connect 2 Macs --
The hardware/software determines the type of ethernet cable and 
adjusts accordingly.

All Macs come with a web server: Apache.

all Macs come with internet connection hardware, software and
free 
trial internet connection

All Macs come with a free 20 MB personal disk space on an Apple
web 
Server (this will change
soon to $99/year for 100MB disk space plus some other goodies).

sneaker-net is not needed

All of the above can be used to exchange files -- If you really 
need a floppy you can get one for
about $100 (last time i looked)

 I priced up the same configuration on an iMac

 I'm intrigued Was it running Windows :-)?

No, Mac OSX, but you could get an emulator  Virtual PC for $90 (if you 
already own Win) or $90 -$140 more if you want to buy win 98, XP Home, 
or Win200.

This also allows you to emulate other Intel OSes such as RH Linux.

So, dollar-wise, I think the cost of the Mac is still lower cost.

HTH

Dick






 -Original Message-
 From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
 Sent: 01 August 2002 19:14
 To: CF-Talk
 Subject: Re: X-server?

 On Thursday, August 1, 2002, at 09:46 , [EMAIL PROTECTED]
 wrote:
 Apple may be getting more competitive, but I still think an Intel
 solution
 can be deployed cheaper than an Apple solution.

 I priced up a new high-end Wintel desktop for my wife. A Dell at
$4,300
 including software and peripherals. Our of curiosity, I priced up the
 same
 configuration on an iMac and it was $3,500. (17 flat screen, 1Gb RAM,
 80Gb HD (I think), Zip Drive, MS Office, etc). $800 is a big saving...

 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood


 

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Email lists

2002-08-01 Thread Mark A. Kruger - CFG

Thanks to all of you for your suggestions. Yes, we have done my best to
attempt to disuade this client from doing a blanket spam approach. They are
paying us for developement and our best advice (which we have given them).
Whatever they end up deciding we will insist on a rigourous opt-in/opt-out
criteria.

-mk

-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 1:46 PM
To: CF-Talk
Subject: Re: Email lists


Yes, but then I take it you wouldn't do the reply to REMOVE method either.

So you just don't opt-out?

Paul Giesenhagen
QuillDesign



 Im always paranoid to click on the remove me links in spam.  It could
 be a way of validating that your email is a real email.


 -Original Message-
 From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 01, 2002 1:37 PM
 To: CF-Talk
 Subject: Re: Email lists

 One good thing, like most of you, I have MANY different email addresses
 and
 some that just forward to other email addresses.  I would include the
 opt-out with the email that is being sent such as
 [EMAIL PROTECTED] or whatever.  That way the person who wants
 to
 be removed can get their email removed that you sent your information
 too.

 Paul Giesenhagen
 QuillDesign


 - Original Message -
 From: Alex [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, August 01, 2002 1:35 PM
 Subject: Re: Email lists


  Sounds like spam to me. What I have seen is the initial email will be
 sent
  with an opt-out option. To stay on peoples good side be prompt with
  removing addresses and do not BS .
 
  On Thu, 1 Aug 2002, Mark A. Kruger - CFG wrote:
 
   We have a client interested in running an email marketing campaign.
 I
 was
   wondering if anyone out there could give me advice on:
  
   A)  Where do you generally go to get targeted email addresses
  
   and
  
   B)  What are the ins and outs that help stay on peoples good side
 and
 stay
   off the ISP black lists.
  
   My previous experience has been with subscribed newsletters, not
 with
   spa uh emaill marketing.
  
   -mk
  
   Mark A. Kruger, MCSE, CFG
   www.cfwebtools.com
   www.necfug.com
   ..no more brochures!
  
  
  
  
 



__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: X-server?

2002-08-01 Thread jremus-lists

That's the best article I've seen yet, but on their price compares, I still
can't come up with the numbers they're using for intel + linux.  If you're
comparing X-serv to a more commercial product such as a sun server, I
believe that apple might stack up very nicely.  And win2k is more expensive,
at least from a software perspective, certainly.  I'm still seeing
Intel+Linux being 20% under the price of Apple hardware.  Might be worth the
difference, who knows.

-Original Message-
From: Buddy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 3:04 PM
To: CF-Talk
Subject: RE: X-server?


I thought that the original discussion was about OS-X in
the server world, not the desktop world. Here is a good
comparo, from a Linux site, so it's not pro or anti apple
by nature. It talks about the cost analysis a little bit.
http://www.linuxworld.com/site-stories/2002/0724.macx.html

It also has a link to some bench mark results and some other
good stuff.

Just food for thought.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 11:42 AM
To: CF-Talk
Subject: RE: X-server?


Just for argument's sake - in a P4 (2.54Ghz), it is VERY difficult to get up
to $4,300.  I spec'ed out what you just said, included a 17 flat screen,
80GB HD, etc, and I didn't come up with $4300.  Much closer to $3500.
That's in a precision (business-class line).  I can't even get that close
with a Dimension, which can still be a pretty high-end box.  Like $2,750 for
the Dimension.   So...Not to get in a war of the specs with you, I just have
not been able to realistically find Wintel not being cheaper.

-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 2:14 PM
To: CF-Talk
Subject: Re: X-server?


On Thursday, August 1, 2002, at 09:46 , [EMAIL PROTECTED] wrote:
 Apple may be getting more competitive, but I still think an Intel solution
 can be deployed cheaper than an Apple solution.

I priced up a new high-end Wintel desktop for my wife. A Dell at $4,300
including software and peripherals. Our of curiosity, I priced up the same
configuration on an iMac and it was $3,500. (17 flat screen, 1Gb RAM,
80Gb HD (I think), Zip Drive, MS Office, etc). $800 is a big saving...

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood




__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: X-server?

2002-08-01 Thread Stacy Young

I think Apple's X-Serve is a very solid and attractive offer for folks
running in a Solaris environment. Way cheaper.


-Original Message-
From: Neil Robertson-Ravo =TMM= [mailto:[EMAIL PROTECTED]] Sent: Thursday, 
August 01, 2002 3:12 PM
To: CF-Talk
Subject: RE: X-server?

Hi Dick :-)

Good points, but they are still not sturdy enough for hi-end client or
any type of server environment.  I know you are a Mac-man and indeed
will push it much like a Microsoftian :-p but in this case you can go on
and on about it, and it will still always come down to the fact that
they wont be as good as Windoze (or others) for development or serving..

As for a floppy (just one example), lets say I have a 1.2 meg file which
I don't want to email to myself as I only have a 56K connection, I want
to move it to my other machine which has no Zip and I don't want to
waste a CD on the data i.e. USE A FLOPPY! They still have their
uses...








-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]] 
Sent: 01 August 2002 20:01
To: CF-Talk
Subject: Re: X-server?

On Thursday, August 1, 2002, at 11:17 AM, Neil Robertson-Ravo =TMM= 
wrote:

 I think price is not really issue at the mo (surely peripherals are so
 cheap that building your own is probably cheaper!?)

 Mac's are nice machines to look at (IMHO, so donít bother with
your
 Mac-o-lite rants :-)

 No matter how much it moves on though, an iMac not only looks stoopid,
 but it has no floppy drive (yes, we still need them!)...

I am curious, what do you use a floppy for?  Is it the requirement of 
your OS or your application?

I haven't needed or used a floppy drive in 4 years --

The Mac OS works very nicely with floppy or CD Images.  These
can 
be copied to hard disk,
uploaded, downloaded, emailed, burned to CD (and yes, even
copied 
to a floppy disk).

all Macs come with NFS and AFP networking hardware and software 
built in with a
real plug and play interface -- you don't even require a
crossover 
cable to connect 2 Macs --
The hardware/software determines the type of ethernet cable and 
adjusts accordingly.

All Macs come with a web server: Apache.

all Macs come with internet connection hardware, software and
free 
trial internet connection

All Macs come with a free 20 MB personal disk space on an Apple
web 
Server (this will change
soon to $99/year for 100MB disk space plus some other goodies).

sneaker-net is not needed

All of the above can be used to exchange files -- If you really 
need a floppy you can get one for
about $100 (last time i looked)

 I priced up the same configuration on an iMac

 I'm intrigued Was it running Windows :-)?

No, Mac OSX, but you could get an emulator  Virtual PC for $90 (if you 
already own Win) or $90 -$140 more if you want to buy win 98, XP Home, 
or Win200.

This also allows you to emulate other Intel OSes such as RH Linux.

So, dollar-wise, I think the cost of the Mac is still lower cost.

HTH

Dick






 -Original Message-
 From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
 Sent: 01 August 2002 19:14
 To: CF-Talk
 Subject: Re: X-server?

 On Thursday, August 1, 2002, at 09:46 , [EMAIL PROTECTED]
 wrote:
 Apple may be getting more competitive, but I still think an Intel
 solution
 can be deployed cheaper than an Apple solution.

 I priced up a new high-end Wintel desktop for my wife. A Dell at
$4,300
 including software and peripherals. Our of curiosity, I priced up the
 same
 configuration on an iMac and it was $3,500. (17 flat screen, 1Gb RAM,
 80Gb HD (I think), Zip Drive, MS Office, etc). $800 is a big saving...

 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood


 


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Email lists

2002-08-01 Thread S . Isaac Dealey

The ones I really despise are the ones that say This email is in compliance
with blah blah federal regulation by providing a means of opting out. This
is a one-time mailer, to be removed from this list, do nothing / do not
reply.

Isaac Dealey
Certified Advanced ColdFusion Developer

www.turnkey.to
954-776-0046

 Sounds like spam to me. What I have seen is the initial email will be sent
 with an opt-out option. To stay on peoples good side be prompt with
 removing addresses and do not BS .

 On Thu, 1 Aug 2002, Mark A. Kruger - CFG wrote:

 We have a client interested in running an email marketing campaign.  I
 was
 wondering if anyone out there could give me advice on:

 A)  Where do you generally go to get targeted email addresses

 and

 B)  What are the ins and outs that help stay on peoples good side and
 stay
 off the ISP black lists.

 My previous experience has been with subscribed newsletters, not with
 spa uh emaill marketing.

 -mk

 Mark A. Kruger, MCSE, CFG
 www.cfwebtools.com
 www.necfug.com
 ..no more brochures!




 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



OT: Printing

2002-08-01 Thread Bryan Stevenson

Hey All,

I'm just in the beginning phases of figuring out how I am going to make it
hard (not bulletproof) for a user to print and image more than once.  Now
I'm open to how that image gets sent to the printer (as an image...in a Word
fileother ideas...just not in a PDF).

Requirements:
Netscape or IE (version 4 and up)
CF Server 5 Enterprise

Currently using CFX_Image to add text to a blank image file (gif of
jpeg...doesn't matter to me).

My thoughts so far:

I've looked at CF Comet and found a few methods of sending a Word file to
the printer.  That means I could drop the edited image into a Word doc and
fire that to the printer.  Now I suppose that if that method brings up the
printer dialogue box then the user could simply up the number of copies
(thoughts...comments).

I was thinking of having the image (or thumbnail of it...with right clicking
disabled) display in a pop-up window with a print link which would send
the proper file to the client's printerclose the pop-upnavigate the
main window to a new page and disable it's back button (not sure if I can
disable it in IE and Netscape).

That would take care of most average users.  There may be folks that would
try to work around it, but ultimately it's not too big of an issue if
someone did.

Thoughts? Comments? Cross browser crud? Links? Custom Tags?

Thanks in advance

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



regexp

2002-08-01 Thread Kodjo Ackah

Hi,
The snippet below does check to ensure that a user puts in a digit in a
form.
The problem is - if I test this code like adding a letter to the digit
it does not flag the error.
I will like to ensure that only digits are allowed and if anyone as much
as adds a digit after or before -
an error will be raised! 
Any bright ideas?

  cfif NOT ReFind([0-9], form.job_amount,True)
cfset error_message = You must enter a number in the
amount field.
cfset error_fields = ListAppend(error_fields,
job_amount)
cfset OK = FALSE
/cfif

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Email lists

2002-08-01 Thread S . Isaac Dealey

 Jochem

 PS Never email me in HTML, chances are your email will just be a number
 in the filter report :)

HTML email is a pox... It gives people too much control over the medium of
the message ... especially if the recipient is using shudder Outlook (
express or otherwise ) since Microsoft has decided not to allow users of
their email client to make their own decisions about the formatting of their
incoming email.

Even if the sender isn't intending to do anything unpleasant with the
message ( like embedding javascript that will continually throw up popup
advertising ), I often find the sender's formatting simply repulsive, i.e.
they'll put font color=red down on top of body color=blue ... Who
can possibly look at that and not get a headache?

Isaac Dealey
Certified Advanced ColdFusion Developer

www.turnkey.to
954-776-0046
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: X-server?

2002-08-01 Thread Mark A. Kruger - CFG

amen to that!

-Original Message-
From: Stacy Young [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 1:56 PM
To: CF-Talk
Subject: RE: X-server?


We spend much more for the Solaris equivalent


-Original Message-
From: Venable, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 12:22 PM
To: CF-Talk
Subject: RE: X-server?

-Original Message-
From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 9:25 AM
To: CF-Talk
Subject: Re: X-server?

Plus, once you've spent all the $$ on the X-Server, you don't have cash
left
for software :)

From what I've seen Apple is really doing well on the price points as far
as
being competitive with other offerings. Am I wrong on this?

IMHO, despite how cool the X-Server is, Apple's about 5 years late in
getting a good server out -- though they needed the solid OS to get to this
point -- and they have a lot of catching up to do. Our local (pretty
high-tech) schools are excited. Some graphics houses I know are excited.
Mainly because they have a small form-factor file server.

Well, Microsoft was at about 15 years late getting a good desktop operating
system out, so maybe there's hope.  ;-)

John Venable


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: X-server?

2002-08-01 Thread Jesse Noller

But my OS is better. And Cheaper.

OS/2 WARP WILL NEVER DIE.

Jesse Noller
[EMAIL PROTECTED]
Macromedia Server Development
Unix/Linux special guy 

 -Original Message-
 From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 01, 2002 3:28 PM
 To: CF-Talk
 Subject: RE: X-server?
 
 amen to that!
 
 -Original Message-
 From: Stacy Young [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 01, 2002 1:56 PM
 To: CF-Talk
 Subject: RE: X-server?
 
 
 We spend much more for the Solaris equivalent
 
 
 -Original Message-
 From: Venable, John [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 01, 2002 12:22 PM
 To: CF-Talk
 Subject: RE: X-server?
 
 -Original Message-
 From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 01, 2002 9:25 AM
 To: CF-Talk
 Subject: Re: X-server?
 
 Plus, once you've spent all the $$ on the X-Server, you don't have cash
 left
 for software :)
 
 From what I've seen Apple is really doing well on the price points as far
 as
 being competitive with other offerings. Am I wrong on this?
 
 IMHO, despite how cool the X-Server is, Apple's about 5 years late in
 getting a good server out -- though they needed the solid OS to get to
 this
 point -- and they have a lot of catching up to do. Our local (pretty
 high-tech) schools are excited. Some graphics houses I know are excited.
 Mainly because they have a small form-factor file server.
 
 Well, Microsoft was at about 15 years late getting a good desktop
 operating
 system out, so maybe there's hope.  ;-)
 
 John Venable
 
 
 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: regexp

2002-08-01 Thread Michael Dinowitz

Try this:
^[0-9]+$
A string must start (^) with a number ([0-9]), at least one number must exist (+) and 
the string ends after one or more numbers ($).


 Hi,
 The snippet below does check to ensure that a user puts in a digit in a
 form.
 The problem is - if I test this code like adding a letter to the digit
 it does not flag the error.
 I will like to ensure that only digits are allowed and if anyone as much
 as adds a digit after or before -
 an error will be raised! 
 Any bright ideas?
 
   cfif NOT ReFind([0-9], form.job_amount,True)
 cfset error_message = You must enter a number in the
 amount field.
 cfset error_fields = ListAppend(error_fields,
 job_amount)
 cfset OK = FALSE
 /cfif
 
 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Email lists

2002-08-01 Thread Bill Wheatley

bah html email is the best thing to happen to email :) Outlook express is
great if you are not a common non technical person off the street. And i
look at it like this, webpages can look horrible with green on red or pink
on red so i guess emails can too. If it gets too painful i just tell it to
use my color scheme instead of theirs.

Bill Wheatley
Senior Database Developer
Macromedia Certified Advanced Coldfusion Developer
EDIETS.COM
954.360.9022 X159
ICQ 417645
- Original Message -
From: S. Isaac Dealey [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 3:25 PM
Subject: Re: Email lists


  Jochem
 
  PS Never email me in HTML, chances are your email will just be a number
  in the filter report :)

 HTML email is a pox... It gives people too much control over the medium of
 the message ... especially if the recipient is using shudder Outlook (
 express or otherwise ) since Microsoft has decided not to allow users of
 their email client to make their own decisions about the formatting of
their
 incoming email.

 Even if the sender isn't intending to do anything unpleasant with the
 message ( like embedding javascript that will continually throw up popup
 advertising ), I often find the sender's formatting simply repulsive, i.e.
 they'll put font color=red down on top of body color=blue ... Who
 can possibly look at that and not get a headache?

 Isaac Dealey
 Certified Advanced ColdFusion Developer

 www.turnkey.to
 954-776-0046
 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Email lists

2002-08-01 Thread Jochem van Dieten

S. Isaac Dealey wrote:
 The ones I really despise are the ones that say This email is in compliance
 with blah blah federal regulation by providing a means of opting out. This
 is a one-time mailer, to be removed from this list, do nothing / do not
 reply.

I like those. If they contain any reference to H.R. 3113 they will 
encounter rule number 2 in my spam filter (Subject: Adv* is on number 
one).

Jochem

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: regexp

2002-08-01 Thread S . Isaac Dealey

 Hi,
 The snippet below does check to ensure that a user puts in a digit in a
 form.
 The problem is - if I test this code like adding a letter to the digit
 it does not flag the error.
 I will like to ensure that only digits are allowed and if anyone as much
 as adds a digit after or before -
 an error will be raised!
 Any bright ideas?

   cfif NOT ReFind([0-9], form.job_amount,True)
   cfset error_message = You must enter a number in the
 amount field.
   cfset error_fields = ListAppend(error_fields,
 job_amount)
   cfset OK = FALSE
   /cfif

You're wanting to validate monetary values people are assigning to jobs? ...
The issue you're having is that you're going about validation in reverse --
you want to ensure that the field contains no non-numeric values, rather
than ensuring that it contains numeric values as above... so... I would
probably use this as being the simplest solution (doesn't even require any
regex):

cfif not isnumeric(form.job_amount)
cfset error_message = blah blah...
/cfif

Isaac Dealey
Certified Advanced ColdFusion Developer

www.turnkey.to
954-776-0046
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFCs, Tiers and Naming Conventions

2002-08-01 Thread Stacy Young

Ok don't laugh but I'm stuck trying to figure out a good naming convention
for my CFCs and I'm stuck. I'm very particular to this kind of stuff...and
I'm wondering what other folks are using...

 

This is the kind of file structure I've got:

 

mySite/

api/

user/

   service.cfc

common/

   networkLibrary.cfc

   stringLibrary.cfc

 

In this example I would typically have 3-4 tiers. service.cfc is typically
the focal point and is exposed remotely. It has functions like login that
kicks off other functions...establishing needed data in the session scope.
The second class of CFCs I would have here is for applying any logic to data
derived by the third class which I'd classify as a Data Access Layer.

 

Façade  -  Biz Logic  -  Data Access Layer

 

There are times when I feel the need to break the Biz Logic into two
layers...an example of this would be a recordset I'm holding in session
scope that I would like to re-orderor apply some other specific logic on
it...kind of a managed client type logic that would only be used locally.

 

Façade - Client - Biz Logic - Data Access Layer

 

So I guess my questions are...Does anyone take a simlar approach? Any
alternative solutions? Anyone have particular naming schemes they use to
denote for each CFC to show it's realm or tier?

 

Appreciate any insight from u good folks,

 

Stace 



htmltable border=1 width= height=td width= height=bfont face=Times 
New Roman color=red size=1span lang=FR-CA style=FONT-WEIGHT: bold; 
FONT-SIZE: 8pt; COLOR: red; mso-bidi-font-size: 10.0pt; mso-ansi-language: FR-CAAVIS 
IMPORTANT/span/font/bfont color=red size=1span lang=FR-CA 
style=FONT-SIZE: 8pt; COLOR: red; mso-bidi-font-size: 10.0pt; mso-ansi-language: 
FR-CA:/span/font
font color=black size=1span lang=FR-CA style=FONT-SIZE: 8pt; COLOR: black; 
mso-bidi-font-size: 10.0pt; mso-ansi-language: FR-CALes informations contenues dans 
le présent document et ses pièces jointes sont strictement confidentielles et 
réservées à l'usage de la (des) personne(s) à qui il est adressé. Si vous n'êtes pas 
le destinataire, soyez avisé que toute divulgation, distribution, copie, ou autre 
utilisation de ces informations est strictement prohibée. Si vous avez reçu ce 
document par erreur, veuillez s'il vous plaît communiquer immédiatement avec 
l'expéditeur et détruire ce document sans en faire de copie sous quelque 
forme./span/font
p style=text-align: justify; padding: 1bfont face=Times New Roman color=red 
size=1span style=FONT-WEIGHT: bold; FONT-SIZE: 8pt; COLOR: red; 
mso-bidi-font-size: 10.0ptWARNING/span/font/bfont color=red size=1span 
style=FONT-SIZE: 8pt; COLOR: red; mso-bidi-font-size: 10.0pt:/span/font
font color=black size=1span style=FONT-SIZE: 8pt; COLOR: black; 
mso-bidi-font-size: 10.0ptThe information contained in this document and attachments 
is confidential and intended only for the person(s) named above. If you are not the 
intended recipient you are hereby notified that any disclosure, copying, distribution, 
or any other use of the information is strictly prohibited.nbsp; If you have received 
this document by mistake, please notify the sender immediately and destroy this 
document and attachments without making any copy of any kind./span/font
/td/table/html


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Email lists

2002-08-01 Thread Jacob

When you reply to a spam for removal it says Your email address is good.

Can you prove it does not ;-)

At 09:11 PM 8/1/2002 +0200, you wrote:
Jacob wrote:
  That is what most of them do.

Who is them?
Can you prove that?

Jochem


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Email lists

2002-08-01 Thread Jeff Beer

The key to this is to only send to people who have specifically
requested your message.  We send mail for clients and sometimes have to
use outside lists.  When we do, we have the list provider send the mails
from their servers, and we do not put our logos on the ads.  We only put
our identifying info on stuff we send directly.  

Most third-party lists we've used absolutely suck.  When we use client's
lists, we get anywhere from 10% - 50% clickthroughs, with very, very low
opt-out rates (like .07%).  With third party lists, we're lucky to get
2%.  That's not a typo - Two Percent.  It's also a good idea to get a
disclaimer signed by your client releasing you from any performance
clauses - make sure the client understands that the response may be
dismal and that you are not responsible for it.  If they balk at
signing, deliver the content and let them take responsibility for
finding a mailing service with lists.

-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 2:20 PM
To: CF-Talk
Subject: Email lists


We have a client interested in running an email marketing campaign.  I
was wondering if anyone out there could give me advice on:

A)  Where do you generally go to get targeted email addresses

and

B)  What are the ins and outs that help stay on peoples good side and
stay off the ISP black lists.

My previous experience has been with subscribed newsletters, not with
spa uh emaill marketing.

-mk

Mark A. Kruger, MCSE, CFG
www.cfwebtools.com
www.necfug.com
.no more brochures!




__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: regexp

2002-08-01 Thread Ben Doom

:   cfif NOT ReFind([0-9], form.job_amount,True)

This only checks to see if a digit exists.  Try something like this:

cfif ReFind([^0-9], form.job_amount) or (form.job_amount is )
cfset error.

It checks to see if there's anything /except/ digits or if the field is
empty.  Keep in mind that this will trip on 1.6 or on 5(because of
the spaces).  Depending on exactly what you want to validate for, you may
want to trim the variable first, look for decimal points and +/- signs, etc.



  --Ben Doom
Programmer  General Lackey
Moonbow Software

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: regexp

2002-08-01 Thread S . Isaac Dealey

 Try this:
 ^[0-9]+$
 A string must start (^) with a number ([0-9]), at least one number must
 exist (+) and the string ends after one or more numbers ($).


Oooh oooh! ...

function IsNumeric(string) {
return yesnoformat(REFind(^[0-9]$,string));
}

isnumeric(3) = yes
usnumeric(3,000) = no

Wow that would be useful... How come on one's thought of that before? :)

Sorry Mike... just poking a little geeky fun at your expense. :)

Although actually, if the field is supposed to be numeric you can make it a
little easier on some of the slower ( mentally ) users by eliminate dollar
signs, commas and decimals which are common formatting elements for money
values... which can be done with regex, although I think I would probably
wind up using replacelist


Isaac Dealey
Certified Advanced ColdFusion Developer

www.turnkey.to
954-776-0046
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: regexp

2002-08-01 Thread Michael Dinowitz

The IsNumeric() approach is better than using RegEx. Less overhead.

 cfif not isnumeric(form.job_amount)
 cfset error_message = blah blah...
 /cfif
 
 Isaac Dealey
 Certified Advanced ColdFusion Developer
 
 www.turnkey.to
 954-776-0046
 
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



  1   2   3   >