Re: cfquery error on new database

2004-09-07 Thread Gert Franz
hi joe,

i'm just guessing, but maybe MX reads the datasources at the begin of every request, so that it does not know your datasource you just created.
maybe if you use cflocation you would have more luck ...

cheers gert
- Original Message - 
From: joe velez 
To: CF-Talk 
Sent: Tuesday, September 07, 2004 5:17 AM
Subject: cfquery error on new database

ok .. strange scenario. i have a script that is creating a mysql database on the fly. no login/password is required. 

i create the tables.

i create a dsn on the fly as well.

once the db is created i try to run a quick query on it but receive an error like:

General error: Unknown database 'MYDATABASENAME' 

but, if i run the script w/o the query at the end, and create a link to another page that runs the same query i omitted it works fine.

is there a time limit on how long i need to wait between creating a datbase and accessing it? i even tried to run a loop 1 through 1 between the steps, but no luck.

any suggestions?

thanks

joe
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Return Links (best practice)

2004-09-07 Thread Paul Giesenhagen
What are some of you doing to return people to where they were once they have logged in.

I am curious what are some of the best methods to returning users back to where they came from after they log in.

Example;user is browsing your website and comes to a form to submit some information.But they have to be logged in as a member first.So instead of showing them the form, you re-direct them to the login page where they can either login or sign up.

Also assuming there are MANY places for this type of situation to happen throughout the site.What are some good methods to get them back AFTER they have logged in and/or signed up.

Thanks

Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Return Links (best practice)

2004-09-07 Thread Micha Schopman
Save the referrer when locating them to the login page. Use that
referrer upon login to relocate again.

 
Micha Schopman 
Software Engineer 
Modern Media, Databankweg 12 M, 3821 ALAmersfoort 
Tel 033-4535377, Fax 033-4535388 
KvK Amersfoort 39081679, Rabo 39.48.05.380
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Return Links (best practice)

2004-09-07 Thread Paul Giesenhagen
Yes, but that can be unreliable ... but what I am looking for is are you passing this information via what type of variable.

url, session, client ect...

Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com

- Original Message - 
From: Micha Schopman 
To: CF-Talk 
Sent: Tuesday, September 07, 2004 1:34 AM
Subject: RE: Return Links (best practice)

Save the referrer when locating them to the login page. Use that
referrer upon login to relocate again.

Micha Schopman 
Software Engineer 
Modern Media, Databankweg 12 M, 3821 ALAmersfoort 
Tel 033-4535377, Fax 033-4535388 
KvK Amersfoort 39081679, Rabo 39.48.05.380
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Return Links (best practice)

2004-09-07 Thread Micha Schopman
Why would that be unreliable? Yes you can spoof referrers as a client,
but they are only used as a relocate target not as a check whether
someone is logged in. You can store paths in sessions etc. but you must
make sure you update the path on each request, and ignore the setting of
the path during the logging procedure.
Micha Schopman 
Software Engineer 
Modern Media, Databankweg 12 M, 3821 ALAmersfoort 
Tel 033-4535377, Fax 033-4535388 
KvK Amersfoort 39081679, Rabo 39.48.05.380
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Return Links (best practice)

2004-09-07 Thread Paul Giesenhagen
Sometimes servers turn those off  but that is not the point of my question, my question is how would are some folks storing and processing this?

Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com

- Original Message - 
From: Micha Schopman 
To: CF-Talk 
Sent: Tuesday, September 07, 2004 1:44 AM
Subject: RE: Return Links (best practice)

Why would that be unreliable? Yes you can spoof referrers as a client,
but they are only used as a relocate target not as a check whether
someone is logged in. You can store paths in sessions etc. but you must
make sure you update the path on each request, and ignore the setting of
the path during the logging procedure.
Micha Schopman 
Software Engineer 
Modern Media, Databankweg 12 M, 3821 ALAmersfoort 
Tel 033-4535377, Fax 033-4535388 
KvK Amersfoort 39081679, Rabo 39.48.05.380
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Return Links (best practice)

2004-09-07 Thread Micha Schopman
I think most developers still use referrers though :P

 
Micha Schopman 
Software Engineer 
Modern Media, Databankweg 12 M, 3821 ALAmersfoort 
Tel 033-4535377, Fax 033-4535388 
KvK Amersfoort 39081679, Rabo 39.48.05.380
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Return Links (best practice)

2004-09-07 Thread Pascal Peters
You could use Application.cfm (or a file that you include in relevant
places) to contain the whole login procedure and use self posting forms
for the login. This way you never leave the page you requested.

IF not logged in
IF not coming from the login form
Show the login form
Abort
IF coming from login form
Verify login
IF login not valid
Show error message
Show login form
Abort
ELSE
Flag user as logged in

For the login form, you can use a self posting form, passing any
relevant info:

cfparam name=form.loginform_login default=
form name=login_form action="">
method=post
cfloop collection=#form# item=i
	cfif FindNoCase(loginform_,i) NEQ 1 AND i NEQ fieldnames
		input name=#i# type=hidden value=#form[i]#
	/cfif
/cfloop
Login: input name=loginform_login type=text
value=#form.loginform_login#br
Password: input name=loginform_password type=password value=br
input name=loginform_submit type=submit value=Login
/form

Pascal

 -Original Message-
 From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
 Sent: 07 September 2004 08:31
 To: CF-Talk
 Subject: Return Links (best practice)
 
 What are some of you doing to return people to where they were once
they
 have logged in.
 
 I am curious what are some of the best methods to returning users back
to
 where they came from after they log in.
 
 Example;user is browsing your website and comes to a form to submit
some
 information.But they have to be logged in as a member first.So
instead
 of showing them the form, you re-direct them to the login page where
they
 can either login or sign up.
 
 Also assuming there are MANY places for this type of situation to
happen
 throughout the site.What are some good methods to get them back
AFTER
 they have logged in and/or signed up.
 
 Thanks
 
 
 Paul Giesenhagen
 QuillDesign
 417-885-1375
 http://www.quilldesign.com
 
 
 
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: any issues with XP sp2 on your CF development machine?

2004-09-07 Thread Mike Kear
I've been using mine on two machines for 2 days - no issues at all so
far.I've got a IIs web server, and CFMX6.1 and SQLServer2000 all
running on it - no negative effects at all, and remarkable drop in 
internet annoyances - popups, ads, unwanted cookies etc.

But all the same,follow Mr Gates's advice on backing up your system
before you do it.Other wiseyou are relying on the wits of some
tired, jaded, coding monkey (!) in Redmond to know what ought to be
backed up.

Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year

- Original Message -
From: Daniel Farmer [EMAIL PROTECTED]
Date: Mon, 06 Sep 2004 05:25:36 -0400
Subject: any issues with XP sp2 on your CF development machine?
To: CF-Talk [EMAIL PROTECTED]



--
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Return Links (best practice)

2004-09-07 Thread Massimo Foti
 I think most developers still use referrers though :P

Many personal security software, like Norton Firewall remove the referrer
from the HTTP request. Same for a good amount of corporate firewalls.
It's indeed pretty annoying for us developers...


Massimo Foti
http://www.massimocorner.com

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Return Links (best practice)

2004-09-07 Thread Micha Schopman
Yup that is indeed true

 
Micha Schopman 
Software Engineer 
Modern Media, Databankweg 12 M, 3821 ALAmersfoort 
Tel 033-4535377, Fax 033-4535388 
KvK Amersfoort 39081679, Rabo 39.48.05.380
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFHTTP, Struts and some other stuff...

2004-09-07 Thread Thomas Chiverton
On Friday 03 Sep 2004 20:35 pm, B G wrote:
 Any guidance on where to get info to help debug is greatly appreciated.

Dump timestamps to a log file after each batch of operations.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: SOT: Nix shell script to test if CF is running on port xxxx

2004-09-07 Thread Thomas Chiverton
On Monday 06 Sep 2004 17:39 pm, Adrian Lynch wrote:
 Wookey Hole Road --- a place where Han Solo sometimes went? :OD

Me like :-)

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfquery error on new database

2004-09-07 Thread joe velez
hmm i dunno .. actually i managed to get it to work some of the time HEHE .. then i found a java sleep tag to use .. and that worked every time except when i refreshed the page 5 times real quick, then it gave me an error that either the db didnt exist, or the table didnt exist.

i guess i coudl just loop around the query w/ a cftry until it actually works .. ??
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: SOT: Unix, Linux, OS X scripting list

2004-09-07 Thread Thomas Chiverton
On Monday 06 Sep 2004 16:35 pm, Dick Applebaum wrote:
 Anyone know of a good list that discusses 'Nix shell scripting -- that
 will be gentle with a novice?

If you use Bash (the One True Shell), I find
http://www.redmondlinux.com/Bash_Info/HTML/
very handy.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMail Forwarding

2004-09-07 Thread Jochem van Dieten
Mark Leder wrote:

 I have a CFMail routine on a website which I host in which the mail server
 is at a separate location (the client's).
 
 When I want to have an email sent from, say
 [EMAIL PROTECTED] (as in an autoresponder form), do I set
 the CFMail Server attribute to their mail server, such as
 mail.myclientswebsite.com?

No, just your regular mailserver.

Jochem
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Displaying a dynamic map - how?

2004-09-07 Thread Paul Hastings
 The New Year's Eve site I do (www.firstnight.org
 http://www.firstnight.org/ ) needs a fairly complex map of Boston with
 locations and special markers which of course change every year.I've
been
 doing the site going on nine years and the map is always one of the most
 challenging aspects.

because you're treating it as a graphic rather than a database.the map is
a database. the database is a map. used to be my motto (now of course it's
just use unicode). if you stuff your basic spatial datasets into a db 
use some kind of GIS to return what you need and/or add spatial features on
the fly, you will save yoruself quite a bit of trouble. if you can install
CGI programs on your server  don't mind fiddling w/some code a bit then
mapserver's always a good bet http://mapserver.gis.umn.edu/ delivers a
graphic to the client rendered on the fly from your database. and you can
finely control quite a bit of it.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMail Forwarding

2004-09-07 Thread Thomas Chiverton
On Monday 06 Sep 2004 18:00 pm, Mark Leder wrote:
 When I want to have an email sent from, say
 [EMAIL PROTECTED] (as in an autoresponder form), do I set
 the CFMail Server attribute to their mail server, such as
 mail.myclientswebsite.com?

Depends, will your local mail server rely for that domain ?
Do you emails need to appear to be 'Recieved:' by the clients mailserver ?
etc.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Displaying a dynamic map - how?

2004-09-07 Thread Claude Schneegans
The New Year's Eve site I do (www.firstnight.org
http://www.firstnight.org/ ) needs a fairly complex map of Boston with
locations and special markers which of course change every year.

Hi,

Is the map you are refering to online now ?
I cannot find any on the site, could you be more specific about the address?

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: any issues with XP sp2 on your CF development machine?

2004-09-07 Thread Daniel Farmer
I've got a similar setup... IIS running CFMX6.1 / asp/asp.net /php / mysql. so I'm hoping I won't have any problems with SP2
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: any issues with XP sp2 on your CF development machine?

2004-09-07 Thread Daniel Farmer
I've got a similar setup... IIS running CFMX6.1 / asp/asp.net /php / mysql. so I'm hoping I won't have any problems with SP2
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Fusebox

2004-09-07 Thread Greg Luce
Andrew,
	The Fusebox conference is in a couple of weeks in Maryland. That
would be the best place to get info about Fusebox.
http://www.cfconf.org/fusebox2004/ 
	There may be other frameworks out there with some clever concepts,
but everyone that I know that has ever given Fusebox a decent shot, has
always loved it. Usually the detractors I see on these lists are the ones
that either didn't bother to learn it or couldn't grasp it. I was lucky in
that after my first web project in 1999 I think, I decided to look around
for some methodology/standard to work with. Fusebox was just starting out
and seemed interesting did everything I needed. I was able to adopt FB
before I came up with too many clever ways of doing things myself that FB
would replace. I think that's why some folks have such a hard time working
in a framework, which is understandable from a human nature standpoint. But
from a business standpoint it bothers me when a developer isn't flexible
enough to work in Fusebox. Having a framework/methodology is an important
business decision, and if a developer isn't willing to play by the rules, I
want no part of them.
	Come to the conference and check it out. $200 is well worth it. And
the classes on Thursday and Friday are a great opportunity to get up to
speed quickly.
	Oh and the Code Rutters FB4 book is very good. You can get started
just from that, but if I were in your position I'd jump in the Intro to FB
class on Thursday and attend the conference. I'd love to see a case-study
of the project if you do decide to do it with Fusebox. You might think about
documenting some of it for next year's conference!

Greg

-Original Message-
From: Andrew Dixon [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 6:43 PM
To: CF-Talk
Subject: Fusebox

Hi Everyone.

We are just about to start a major new project, well actually a
complete upgrade from the ground up of an old project, but I have been
looking at doing it in a much more structured way and I wanted some
opinion about using Fusebox. We have never used it before, but we are
all highly experienced CF programmers (5+ years). What I'm really
looking for is some explaining of why it is better to use the Fusebox
method than just straight forward CF.

Also, can anyone point me in the direction of a good online
introduction to Fusebox as there doesn't seem to be much on the
Fusebox website.

Thanks

Andrew.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




MX 6.1 W2K3 Installation Hangs

2004-09-07 Thread Alistair Davidson
Hi All

We have a completely fresh, pristine and virgin installation of Windows Server 2003 Standard, and we're trying to install MX 6.1 Pro onto it. 
Every time we try, it goes right through the installation to point of Installing Web Server Connectors...
Then it pops up a cmd.exe window with nothing in it, and hangs. Forever! 

We've tried leaving it for over an hour, nothing happened. It wouldn't even respond to the Cancel button.
So we killed the installer, deleted all CF files and went through the registry deleting anything matching Macromedia

When we run it again, the same problem occurs.

We've tried telling the installer to use the built-in web server, use only the default IIS web server, configure all IIS websites - same thing happens every time.

Anyone else had this issue? Anyone got round it?

Or is our shiny new Windows box just a big pile of doodoo? (no OS flamewars please - if it was up to me we'd certainly be using Apache as a webserver, probably on RedHat Enterprise, but it's not my call unfortunately)

All help greatly appreciated

Alistair

Alistair Davidson
Senior Technical Developer
Headshift.com
--
HEADSHIFT   www.headshift.com
T: 020 7357 7358  
--
smarter    simpler    social  

Personal techie blog : http://instantbadger.blogspot.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Displaying a dynamic map - how?

2004-09-07 Thread Jim Davis
Sorry - we're not really promoting the 31st any longer.;^)The map is
here:

http://www.firstnight.org/Content/NewYears/Artists/Index.cfm

It's actually the print map given to us by the print designer (whom we have
no control over and doesn't often take into account online needs being so
swamped herself).

The full map is also available in the PDF of the Program Guide (bottom of
the page).

Jim Davis

From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 07, 2004 7:54 AM
To: CF-Talk
Subject: Re: Displaying a dynamic map - how?

The New Year's Eve site I do (www.firstnight.org
http://www.firstnight.org/ ) needs a fairly complex map of Boston with
locations and special markers which of course change every year.

Hi,

Is the map you are refering to online now ?
I cannot find any on the site, could you be more specific about the address?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Return Links (best practice)

2004-09-07 Thread Adam Haskell
I disagree on that. If you use referrer information your website to
redirect people back, your website is not working properly for about
30-40% of you customers. We store the last page visited in the Session
scope.

Adam H

On Tue, 7 Sep 2004 08:55:35 +0200, Micha Schopman
[EMAIL PROTECTED] wrote:
 I think most developers still use referrers though :P
 
 Micha Schopman
 Software Engineer
 Modern Media, Databankweg 12 M, 3821 ALAmersfoort
 Tel 033-4535377, Fax 033-4535388
 KvK Amersfoort 39081679, Rabo 39.48.05.380
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Array Help

2004-09-07 Thread KeAnne Hoeg
I have a form on which I am trying to populate a few text boxes with SSN and address based on the name selected in a drop-down box.I can see that the array was created successfully, but I am having problems getting the selected value to work with the array to find the SSN and address. The error message says that the array value is undefined. Part of the problem is that I borrowed this _javascript_ code from code we were already using, so I don't understand why I can't get it to work.Any help would be greatly appreciated!Here is the code:

Thanks, 

KeAnne

CFQUERY DATASOURCE=IESForms NAME=TravelerInfo
	SELECT 	TravelerID, SSN, Deliver, PreferredName, LastName
	FROM 	vwTravelerInfo
	ORder by PreferredName
/CFQUERY
script language=_javascript_
!--
var aryTravelers = new Array(); 
cfoutput query=TravelerInfo
aryTravelers[aryTravelers.length] = new Array(#TravelerID#, #SSN#, #Deliver#);
/cfoutput
//---
/script

script language=_javascript_
!--
function DisplaySSN(aryTravelers) {

	var objTraveler = document.all(idTraveler);
	var objSSN = document.all(idSSN);
			
	var iTraveler = objTraveler.options[objTraveler.selectedIndex].value;
	for (var i=0; iaryTravelers.length; i++)
	{
		var aryX = aryTravelers[i];
		
		if (aryX[0] == iTraveler)	
	objSSN.value = aryX[1]
	}
		
}

//--
/script

 CFSET HoldIDExists = #IsDefined(TravelID)#

 cfif parameterexists(TravelID)

cfset LoopCondition =2

 cfelse
 cfset LoopCondition=1
 /cfif

!---new record---
CFIF LoopCondition is 1
 CFSET ButtonText = Save
 cfset NewRecord=yes
	cfset Traveler= 
	cfset SSN=
/cfif

cfform action="" name=TravelProcess

select name=Traveler class=formfield id=idTraveler >
option value=/option
cfoutput query=TravelerInfo
option value=#TravelerID# #PreferredName# #LastName#/option
/cfoutput

/select

cfoutput
input type=text name=SSN value=#SSN# size=12 maxlength=11 class=formfield id=idSSN
/cfoutput

/cfform
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Return Links (best practice)

2004-09-07 Thread Andy Ousterhout
I have a security check in my Application.cfm that checks to see if the
requested page requires a login, and if the person is not currently logged in,
calls the logon page, sending it the requested page.

In the logon page, I copy all URL to the FORM statement and create INPUT
TYPE=HIDDEN for each FORM variable.In the logon action page I either
CFINCLUDE the original page if provided OR go to the home page.

Andy
-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004 1:31 AM
To: CF-Talk
Subject: Return Links (best practice)

What are some of you doing to return people to where they were once they
have logged in.

I am curious what are some of the best methods to returning users back to
where they came from after they log in.

Example;user is browsing your website and comes to a form to submit some
information.But they have to be logged in as a member first.So instead of
showing them the form, you re-direct them to the login page where they can
either login or sign up.

Also assuming there are MANY places for this type of situation to happen
throughout the site.What are some good methods to get them back AFTER they
have logged in and/or signed up.

Thanks

Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Fusebox

2004-09-07 Thread S . Isaac Dealey
 	Come to the conference and check it out. $200 is well
 	worth it. And
 the classes on Thursday and Friday are a great opportunity
 to get up to
 speed quickly.

I think it was the international air-fare that was their cost issue.

s. isaac dealey954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.sys-con.com/story/?storyid=44477DE=1
http://www.sys-con.com/story/?storyid=45569DE=1
http://www.fusiontap.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Displaying a dynamic map - how?

2004-09-07 Thread Jim Davis
There're actually a few problems here:

1) We don't have any control over the map, really.It's designed by the
print designer for the paper program guide then given to us (usually at the
last minute).We do, however often have to update the map when venues
change before the event.But we (the web team) have no control over its
look, design or contents.

Since she works with the map for print only the files we get are less than
ideal for online or dynamic use.For example you'd think that the roads
would be all on layer, but instead there are hundreds of tiny independent
objects creating the illusion of a single layer.

2) We're on a shared host (CrystalTech.net to be specific) and can't install
many of the cooler things we'd like to.;^)Even if we could the level of
traffic we got on the 31st is such that doing custom maps for each visitor
(something I've always wanted to do) is really out of the question. as it is
we're pushing the limits of our server for those few hours a year.

That being said the map (or at least the venues) are indeed databased
already.I store the actual map image coordinates (pixel x and y) and (at
least for those I've gotten to) the GPS coordinates as well. 

3) We just don't have much time.The site isn't anybody's full time job and
with all the other requests nifty things for the map always seem to sink to
the bottom of the list.I've wanted to turn those coordinates I've
collected into a what's close to this feature for years now.;^)

We're supposed to be getting a new map this year. the same one used by the
city tourist bureau I believe.I've got high hopes.

At any rate there is a specific look and feel to these maps that can't be
changed - most of the GIS mapping systems I've found are unfortunately
rather ugly.Our map isn't exact either - it's a highlight map showing
most (but definitely not all) of the main streets in Boston, a few of the
building and other landmarks and so forth with nothing to exact scale.It's
really more art than fact but does the job, mostly (I always get at
least one complaint that the train stations aren't listed on the map.)

Jim Davis



From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 07, 2004 5:28 AM
To: CF-Talk
Subject: Re: Displaying a dynamic map - how?

 The New Year's Eve site I do (www.firstnight.org
 http://www.firstnight.org/ ) needs a fairly complex map of Boston with
 locations and special markers which of course change every year.I've
been
 doing the site going on nine years and the map is always one of the most
 challenging aspects.

because you're treating it as a graphic rather than a database.the map is
a database. the database is a map. used to be my motto (now of course it's
just use unicode). if you stuff your basic spatial datasets into a db 
use some kind of GIS to return what you need and/or add spatial features on
the fly, you will save yoruself quite a bit of trouble. if you can install
CGI programs on your server  don't mind fiddling w/some code a bit then
mapserver's always a good bet http://mapserver.gis.umn.edu/ delivers a
graphic to the client rendered on the fly from your database. and you can
finely control quite a bit of it.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: OT- netstat report

2004-09-07 Thread Asim Manzur
No Yves, 
I am still finding the thread from google regarding the same problems, and if I couldn't find anything, for sure that I will re-install everything. 
Thants only I can say for now. but don't worry, if I found something I will definately post the solution.

-Asim

Not to sure exactly what it could bedid you have any luck with
that problem?

Yves

- Original Message -
From: Asim Manzur [EMAIL PROTECTED]
Date: Sun, 05 Sep 2004 13:59:11 -0400
Subject: Re: OT- netstat report
To: CF-Talk [EMAIL PROTECTED]

You were right, none of those PC from internal network can access the
website with domain.
 but if you are right about the another DNS server for internal
requests, how it was working fine before. I never added the domains in
the host file before. and as soon as website is up, it was opening
from all the pcs on network, and there was no DNS that time either.
 
 thanks
 
 
 Can you use the domain names on other PCs on the network and see the
 sites properly?
 
 Here, we're behind a firewall using NAT... port forwarding...
 
 Presently, I cannot use domain nameswith other PCs on the network.
 If I do, I just get the firewall box. But the external world has
 access without trouble. (I'm waiting for this to be fixed) I was told
 we needed another DNS server to serve internal requests. As I am not
 the network admin, I have not resolved this problem.
 
 So, on the webserver here, I cannot access the site by domain name,
 even if I'm on the server (the actual box the request comes to)
 because of the NAT box.
 
 Just thought I would throw that out there...
 
 Yves
 
 
 
 - Original Message -
 From: Asim Manzur [EMAIL PROTECTED]
 Date: Fri, 03 Sep 2004 09:40:23 -0400
 Subject: Re: OT- netstat report
 To: CF-Talk [EMAIL PROTECTED]
 
 Yes I ping the domain from the same machine, and got response.
  I ping the external static ip, got response.
  I ping the internal ip, got response.
  I ping the computer name, got response.
  
  infact I ping outside the network and got response as well.
  
  thanks
 
 
  
  On Friday 03 Sep 2004 13:10 pm, Asim Manzur wrote:
   If I open it as a localhost from the same machine, yes then the website
   opened, but if I open it with domain, the website is not getting open from
   this machine, and rest of the world can open.
  
  Check the DNS.
  Can this machine 'ping' it's own real world address (as both an IP and a 
  name) ?
  
  -- 
  Tom Chiverton 
  Advanced ColdFusion Programmer
  
  Tel: +44(0)1749 834997
  email: [EMAIL PROTECTED]
  BlueFinger Limited
  Underwood Business Park
  Wookey Hole Road, WELLS. BA5 1AF
  Tel: +44 (0)1749 834900
  Fax: +44 (0)1749 834901
  web: www.bluefinger.com
  Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
  Quay, BRISTOL. BS1 6EG.
  *** This E-mail contains confidential information for the addressee
  only. If you are not the intended recipient, please notify us
  immediately. You should not use, disclose, distribute or copy this
  communication if received in error. No binding contract will result from
  this e-mail until such time as a written document is signed on behalf of
  the company. BlueFinger Limited cannot accept responsibility for the
  completeness or accuracy of this message as it has been transmitted over
  public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Fusebox

2004-09-07 Thread Nando
On Tue, 7 Sep 2004 08:45:33 -0400, S. Isaac Dealey [EMAIL PROTECTED] wrote:
  Come to the conference and check it out. $200 is well
  worth it. And
  the classes on Thursday and Friday are a great opportunity
  to get up to
  speed quickly.
 
 I think it was the international air-fare that was their cost issue.
 
 s. isaac dealey954.927.5117
 new epoch : isn't it time for a change?
 
 add features without fixtures with
 the onTap open source framework
 
 http://www.sys-con.com/story/?storyid=44477DE=1
 http://www.sys-con.com/story/?storyid=45569DE=1
 http://www.fusiontap.com
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Stopping Macromedia JRUN CFusion Server Services

2004-09-07 Thread Adkins, Randy
Does anyone have any information as to why when stopping the CFusion
Server Services,
the following error would pop up but when clicking on OK the services
would finally stop
and I could restart them.

Error when attempted to close Macromedia JRun CFusion Server service.

Once I clicked OK, the service did stop.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Fusebox

2004-09-07 Thread Nando
As you can see, i have a lot to say on this issue ... Andrew - any
questions you have about Fusebox, just go ahead and ask. If i know the
answer and can manage to use an email interface properly, i'll reply.
:)

On Tue, 7 Sep 2004 15:05:58 +0200, Nando [EMAIL PROTECTED] wrote:
 
 
 On Tue, 7 Sep 2004 08:45:33 -0400, S. Isaac Dealey [EMAIL PROTECTED] wrote:
   Come to the conference and check it out. $200 is well
   worth it. And
   the classes on Thursday and Friday are a great opportunity
   to get up to
   speed quickly.
 
  I think it was the international air-fare that was their cost issue.
 
  s. isaac dealey954.927.5117
  new epoch : isn't it time for a change?
 
  add features without fixtures with
  the onTap open source framework
 
  http://www.sys-con.com/story/?storyid=44477DE=1
  http://www.sys-con.com/story/?storyid=45569DE=1
  http://www.fusiontap.com
 
 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Count Online Users Conundrum

2004-09-07 Thread Sung Woo
I've been tied up with stuff lately, but I finally have a bit of a breather, so I'm ready to tackle this thing once and for all.I just want to get some feedback on what I plan on doing:

On my site, UserID (an integer) is a session variable.I'll create a structure that has the following three columns:

useridlast

last will be a datetime stamp that'll update every time they send a request to the site, i.e., click on something.Then every 15 minutes, I'll run a cleanup script that'll knock out any last values that are in excess of 15 minutes from Now().Does this sound like a viable option?Thanks!

- Sung
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Array Help

2004-09-07 Thread Charlie Griefer
Be easier to troubleshoot this if you could post the actual HTML from
the browser.

Not sure if this might be the problem...your cfform tag isn't closed
(no ) ?

...also, parameterExists() has been deprecated since roughly CF 3
(somebody will likely correct me if i'm wrong there...but it's been a
while).you really shouldn't be using it anymore.Since you use
isDefined(TravelID) right above it, I'd change your
cfif parameterexists(travelID)
to
cfif holdIDExists
which, based on your cfset above should work; and would be
preferrable to parameterexists.

On Tue, 07 Sep 2004 08:46:41 -0400, KeAnne Hoeg [EMAIL PROTECTED] wrote:
 I have a form on which I am trying to populate a few text boxes with SSN and address based on the name selected in a drop-down box.I can see that the array was created successfully, but I am having problems getting the selected value to work with the array to find the SSN and address. The error message says that the array value is undefined. Part of the problem is that I borrowed this _javascript_ code from code we were already using, so I don't understand why I can't get it to work.Any help would be greatly appreciated!Here is the code:
 
 Thanks,
 
 KeAnne
 
 CFQUERY DATASOURCE=IESForms NAME=TravelerInfo
SELECTTravelerID, SSN, Deliver, PreferredName, LastName
FROM vwTravelerInfo
ORder by PreferredName
 /CFQUERY
 script language=_javascript_
 !--
 var aryTravelers = new Array();
 cfoutput query=TravelerInfo
 aryTravelers[aryTravelers.length] = new Array(#TravelerID#, #SSN#, #Deliver#);
 /cfoutput
 //---
 /script
 
 script language=_javascript_
 !--
 function DisplaySSN(aryTravelers) {
 
var objTraveler = document.all(idTraveler);
var objSSN = document.all(idSSN);
 
var iTraveler = objTraveler.options[objTraveler.selectedIndex].value;
for (var i=0; iaryTravelers.length; i++)
{
var aryX = aryTravelers[i];
 
if (aryX[0] == iTraveler)
objSSN.value = aryX[1]
}
 
 }
 
 //--
 /script
 
CFSET HoldIDExists = #IsDefined(TravelID)#
 
cfif parameterexists(TravelID)
 
 cfset LoopCondition =2
 
cfelse
cfset LoopCondition=1
/cfif
 
!---new record---
CFIF LoopCondition is 1
CFSET ButtonText = Save
cfset NewRecord=yes
cfset Traveler=
cfset SSN=
 /cfif
 
 cfform action="" name=TravelProcess
 
 select name=Traveler class=formfield id=idTraveler >
 option value=/option
 cfoutput query=TravelerInfo
 option value=#TravelerID# #PreferredName# #LastName#/option
 /cfoutput
 
 /select
 
 cfoutput
 input type=text name=SSN value=#SSN# size=12 maxlength=11 class=formfield id=idSSN
 /cfoutput
 
 /cfform
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Java+JSP 10 times faster than CF? And Other Ruminations.

2004-09-07 Thread Sung Woo
I just came back from a weeklong training session with java/JSP programming and have a couple of things to discuss.

FYI, I've been a long-time CF programmer (first version of 3.1).I've dabbled in UNIX shell scripts, perl, ASP, VB, and Pascal (yes, Pascal!) in my past incarnations, and hands down, I have found CF to be the best for me.It is the most intuitive programming language I've encountered so far.That opinion hasn't changed after my intro to java/JSP.

Anyway, here goes:

1) Since CFMX 6.1 is now running off of jrun, is it reasonable to see it as a huge and complicated set of JSP custom tags?JSP seems to behave very similarly to CF -- you write the code in a .jsp file and the compiler creates a .class file after the initial run.There are a ton of custom tags for JSP, and after sifting through them, it seems like CF can be seen as a large custom tag.

2) To quote Hal Helms:

http://www.halhelms.com/index.cfm?fuseaction=writings.displayOnScreenwriting=TenReasonsCompaniesLikeJava.htm

Java is a high-performance language. Java with JSP (similar to ColdFusion for presentation) is over 10 times faster than using ColdFusion. A single JSP server can handle 10 times the number of simultaneous requests that ColdFusion can.

I found this very disturbing, but I can see how this could be true.In JSP, the equivalent of a CFOUTPUT of a form field is as follows:

%= ${form_field} %

or

% request.getParameter(form_field) %

Either one will do the job, but when this code is run through the runtime compiler, you see two very different code -- the former is some form of an evaluate function (which, like Evaluate() in CF, will no doubt take more processing power) while the latter goes through unchanged, i.e., will be faster.So this got me thinking about CF in general.All the minute, annoying things that java requires help it run faster.In CF, you can simply declare a variable without regard for type -- cfset var = name and cfset var = 0 are both valid statements.But let's think about that for a second.Since java requires that variables be typed, is it not plausible to think that CF code will run less lean, since there will now have to be extra code to sort this out?This is pure conjecture on my part; I have no idea.Since CF can be seen as a custom tag that generates code, who really knows how efficient this code-generating is?Is that why Hal says JSP is 10 times faster than CF?

3) I'm considering running MachII (after this class, I'm fairly convinced of the whole MVC thingy).Will running something like MachII make my applications faster?Or is it just a way to organize big projects so they don't get out of hand?

4) Is there a way to optimize CF code so it runs the fastest?I know, for example, that virtual Query function is dog-slow, and that structures are lightning fast.Are there any other tips?Should I be utilizing more CFSCRIPT throughout my code?

No matter how much performance increase java/JSP offers, I find the whole language ridiculous.Then again, I find most computer languages ridiculous.Why shouldn't the parser be smart enough to know that a variable is a certain type without having me specify it?Why do I need to worry about case sensitivity?You may just call me lazy, but when I saw CF, I saw a language that was intelligent.It took the silliness out of programming and let me do what I really wanted to do.

- Sung
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Count Online Users Conundrum

2004-09-07 Thread Eric Creese
yes but you can also run the update to knock out past connections when you update the current time, that is what I do.

-Original Message-
From: Sung Woo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004 8:23 AM
To: CF-Talk
Subject: Re: Count Online Users Conundrum

I've been tied up with stuff lately, but I finally have a bit of a breather, so I'm ready to tackle this thing once and for all.I just want to get some feedback on what I plan on doing:

On my site, UserID (an integer) is a session variable.I'll create a structure that has the following three columns:

useridlast

last will be a datetime stamp that'll update every time they send a request to the site, i.e., click on something.Then every 15 minutes, I'll run a cleanup script that'll knock out any last values that are in excess of 15 minutes from Now().Does this sound like a viable option?Thanks!

- Sung 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




repost: create/manage CF verity from java

2004-09-07 Thread Burns, John D
Does anyone know any info on the service factory that controls verity
within CF? We have a backend java program that is doing some stuff and
needs to trigger verity to build an index available to be searched
within CF.I know java could make an http request and trigger a cf page
to build the index, but we'd like to do it straight from java if
possible.Any suggestions?

 
John Burns
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Anyone know what to do about this please? Error Establishing Socket

2004-09-07 Thread Mike Kear
We're getting the error as follows:
[Macromedia][SQLServer JDBC Driver]Error establishing socket.
Connection refused: connect

I think this is to do with the hosting company - is there anything we
might do as site owners and developers to cause this?I think its
something we're going to have to get WebCentral onto fixing, but is
there anything else we can look at in our own code that might cause
this error?

Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Cannot establish socket -

2004-09-07 Thread Mike Kear
We're getting the error as follows:
 [Macromedia][SQLServer JDBC Driver]Error establishing socket.
Connection refused: connect

I think this is to do with the hosting company - is there anything we
might do as site owners and developers to cause this?I think its
something we're going to have to get WebCentral onto fixing, but is
there anything else we can look at in our own code that might cause
this error?

Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Anyone know what to do about this please? Error establishing socket

2004-09-07 Thread Mike Kear
We're getting the error as follows:
[Macromedia][SQLServer JDBC Driver]Error establishing socket.
Connection refused: connect

I think this is to do with the hosting company - is there anything we
might do as site owners and developers to cause this?I think its
something we're going to have to get WebCentral onto fixing, but is
there anything else we can look at in our own code that might cause
this error?

Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Fusebox

2004-09-07 Thread Andrew Dixon
Hi.

It is the airfair, hotel, etc... costs that stop me going to a
conference in the US, but really I just need to get into doing some
programming with Fusebox and this will happen soon as I've nearly
finished my planning and we are all nearly agreed on what we doing.

Nando, Thanks for the offer of help and I will be sure to take you up
on it if needs be.

Andrew.

- Original Message -
From: Nando [EMAIL PROTECTED]
Date: Tue, 7 Sep 2004 15:18:55 +0200
Subject: Re: Fusebox
To: CF-Talk [EMAIL PROTECTED]

As you can see, i have a lot to say on this issue ... Andrew - any
 questions you have about Fusebox, just go ahead and ask. If i know the
 answer and can manage to use an email interface properly, i'll reply.
 :)

On Tue, 7 Sep 2004 15:05:58 +0200, Nando [EMAIL PROTECTED] wrote:
  
  
  On Tue, 7 Sep 2004 08:45:33 -0400, S. Isaac Dealey [EMAIL PROTECTED] wrote:
Come to the conference and check it out. $200 is well
worth it. And
the classes on Thursday and Friday are a great opportunity
to get up to
speed quickly.
  
   I think it was the international air-fare that was their cost issue.
  
   s. isaac dealey954.927.5117
   new epoch : isn't it time for a change?
  
   add features without fixtures with
   the onTap open source framework
  
   http://www.sys-con.com/story/?storyid=44477DE=1
   http://www.sys-con.com/story/?storyid=45569DE=1
   http://www.fusiontap.com
  
  
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Array Help

2004-09-07 Thread KeAnne Hoeg
The cfform tag is closed in the actual code, but it must have lost the 
bracket when I copied it. As for the parameterexists(), can you tell that 
someone started creating this form a LONG time ago? LOL.

Here's the code from the browser (edited since the form contains more info 
than what is needed here):
script language=_javascript_
!--
var aryTravelers = new Array();

aryTravelers[aryTravelers.length] = new Array(257, 222-22-, 
asdfasfsfsfasd);

aryTravelers[aryTravelers.length] = new Array(183, 111-11-,  
a rd.

aryTravelers[aryTravelers.length] = new Array(122, 111-22-, 
asdfasdfasdfasdf kkk);

aryTravelers[aryTravelers.length] = new Array(333, 111-21-2323, 
asdfasdfasdfasdf);

aryTravelers[aryTravelers.length] = new Array(125, 777-77-, 
asdfasdfasdf);

//---
/script

script language=_javascript_
!--
function DisplaySSN(aryTravelers) {

	var objTraveler = document.all(idTraveler);
	var objSSN = document.all(idSSN);

	var iTraveler = objTraveler.options[objTraveler.selectedIndex].value;
	for (var i=0; iaryTravelers.length; i++)
	{
		var aryX = aryTravelers[i];

		if (aryX[0] == iTraveler)
		//var sSSN = aryX[1];
	objSSN.value = aryX[1]
	}

}

//--
/script

script LANGUAGE=_javascript_ TYPE=text/_javascript_ 

!--

function_CF_checkCFForm_1(_CF_this)

 {

 return true;

 }

//--

/script

script LANGUAGE=_javascript_ TYPE=text/_javascript_ 

!--

function_CF_checkCFForm_2(_CF_this)

 {

 return true;

 }

//--

/script

FORM NAME=TravelProcess ACTION="" METHOD=POST

table width=640 align=center
tr
td bgcolor=ff
table width=640 align=center bgcolor=ff
tr
td align=right class=copyboldName:/tdtd align=left valign=top

select name=Traveler class=formfield id=idTraveler 
>
option value=/option

option value=257 KeAnne Hoeg/option

option value=183 Kevin Grayson/option

option value=122 Kristine Swiatocho/option

option value=333 Kurt Creamer/option

option value=125 Lisa Geisler/option

/select
/td

td align=right class=copyboldSSN:/td
td align=left valign=top

input type=text name=SSN value= size=12 maxlength=11 
class=formfield id=idSSN

/td
/tr
/table
/td
/tr
/table
/Form

From: Charlie Griefer [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: Re: Array Help
Date: Tue, 7 Sep 2004 06:42:03 -0700

Be easier to troubleshoot this if you could post the actual HTML from
the browser.

Not sure if this might be the problem...your cfform tag isn't closed
(no ) ?

...also, parameterExists() has been deprecated since roughly CF 3
(somebody will likely correct me if i'm wrong there...but it's been a
while).you really shouldn't be using it anymore.Since you use
isDefined(TravelID) right above it, I'd change your
cfif parameterexists(travelID)
to
cfif holdIDExists
which, based on your cfset above should work; and would be
preferrable to parameterexists.

On Tue, 07 Sep 2004 08:46:41 -0400, KeAnne Hoeg [EMAIL PROTECTED] 
wrote:
  I have a form on which I am trying to populate a few text boxes with SSN 
and address based on the name selected in a drop-down box.I can see that 
the array was created successfully, but I am having problems getting the 
selected value to work with the array to find the SSN and address. The 
error message says that the array value is undefined. Part of the problem 
is that I borrowed this _javascript_ code from code we were already using, so 
I don't understand why I can't get it to work.Any help would be greatly 
appreciated!Here is the code:
 
  Thanks,
 
  KeAnne
 
  CFQUERY DATASOURCE=IESForms NAME=TravelerInfo
 SELECTTravelerID, SSN, Deliver, PreferredName, LastName
 FROM vwTravelerInfo
 ORder by PreferredName
  /CFQUERY
  script language=_javascript_
  !--
  var aryTravelers = new Array();
  cfoutput query=TravelerInfo
  aryTravelers[aryTravelers.length] = new Array(#TravelerID#, #SSN#, 
#Deliver#);
  /cfoutput
  //---
  /script
 
  script language=_javascript_
  !--
  function DisplaySSN(aryTravelers) {
 
 var objTraveler = document.all(idTraveler);
 var objSSN = document.all(idSSN);
 
 var iTraveler = 
objTraveler.options[objTraveler.selectedIndex].value;
 for (var i=0; iaryTravelers.length; i++)
 {
 var aryX = aryTravelers[i];
 
 if (aryX[0] == iTraveler)
 objSSN.value = aryX[1]
 }
 
  }
 
  //--
  /script
 
 CFSET HoldIDExists = #IsDefined(TravelID)#
 
 cfif parameterexists(TravelID)
 
  cfset LoopCondition =2
 
 cfelse
 cfset LoopCondition=1
 /cfif
 
 !---new record---
 CFIF LoopCondition is 1
 CFSET ButtonText = Save
 cfset NewRecord=yes
 cfset Traveler=
 cfset SSN=
  /cfif
 
  cfform action="" name=TravelProcess
 
  select name=Traveler class=formfield id=idTraveler 
>
  option value=/option
  cfoutput query=TravelerInfo
  option value=#TravelerID# #PreferredName# #LastName#/option
  /cfoutput
 
  /select
 
  cfoutput
  input type=text name=SSN value=#SSN# size=12 maxlength=11 
class=formfield id=idSSN
  /cfoutput
 
  /cfform
 
 


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User 

RE: Anyone know what to do about this please? Error establishing socket

2004-09-07 Thread Jason L. West, Sr.
You might want to check to see if the authentication to the datasource is
correct.

Thanks,
 
Jason L. West, Sr.
WezBiz Technologies
[EMAIL PROTECTED]
http://wezbiz.com
 

From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 07, 2004 10:03
To: CF-Talk
Subject: Anyone know what to do about this please? Error establishing socket

We're getting the error as follows:
[Macromedia][SQLServer JDBC Driver]Error establishing socket.
Connection refused: connect

I think this is to do with the hosting company - is there anything we
might do as site owners and developers to cause this?  I think its
something we're going to have to get WebCentral onto fixing, but is
there anything else we can look at in our own code that might cause
this error?

Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Cannot establish socket -

2004-09-07 Thread Ewok
I can’t think of anything (that definitely doesn’t mean that there isn’t
something) code wise that would cause it other than your username and/or
password being wrong. I think you’re probably right about getting the
hosting company to look into it since it was refused and at least get them
to confirm your login information is correct.

_

From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 07, 2004 8:06 AM
To: CF-Talk
Subject: Cannot establish socket -

We're getting the error as follows:
[Macromedia][SQLServer JDBC Driver]Error establishing socket.
Connection refused: connect

I think this is to do with the hosting company - is there anything we
might do as site owners and developers to cause this?I think its
something we're going to have to get WebCentral onto fixing, but is
there anything else we can look at in our own code that might cause
this error?

Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year

_

[HYPERLINK http://www.houseoffusion.com/lists.cfm/link=t:4Todays Threads]
[HYPERLINK http://www.houseoffusion.com/lists.cfm/link=i:4:177332This
Message] [HYPERLINK
http://www.houseoffusion.com/lists.cfm/link=s:4Subscription] [HYPERLINK
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=678.598.4Fast
Unsubscribe] [HYPERLINK http://www.houseoffusion.com/signin/User Settings]
[HYPERLINK
https://www.paypal.com/cgi-bin/webscr?amount=item_name=House+of+Fusionbus
iness=donations%40houseoffusion.comundefined_quantity=cmd=_xclickDonation
s and Support] 

_

HYPERLINK http://www.houseoffusion.com/banners/view.cfm?bannerid=39 \n

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.754 / Virus Database: 504 - Release Date: 9/6/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.754 / Virus Database: 504 - Release Date: 9/6/2004
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: MX 6.1 W2K3 Installation Hangs

2004-09-07 Thread Greg Stewart
Hi Alistair,
Anything in the install log? And what kind of an install are you
performing? J2EE/standalone?

Also maybe this post can help a little:
http://www.bpurcell.org/index.cfm?mode=entryentry=949 and there are a
fwe comments relating to win2k3 as well..

Cheers
G

On Tue, 7 Sep 2004 13:39:47 +0100, Alistair Davidson
[EMAIL PROTECTED] wrote:
 Hi All
 
 We have a completely fresh, pristine and virgin installation of Windows Server 2003 Standard, and we're trying to install MX 6.1 Pro onto it.
 Every time we try, it goes right through the installation to point of Installing Web Server Connectors...
 Then it pops up a cmd.exe window with nothing in it, and hangs. Forever!
 
 We've tried leaving it for over an hour, nothing happened. It wouldn't even respond to the Cancel button.
 So we killed the installer, deleted all CF files and went through the registry deleting anything matching Macromedia
 
 When we run it again, the same problem occurs.
 
 We've tried telling the installer to use the built-in web server, use only the default IIS web server, configure all IIS websites - same thing happens every time.
 
 Anyone else had this issue? Anyone got round it?
 
 Or is our shiny new Windows box just a big pile of doodoo? (no OS flamewars please - if it was up to me we'd certainly be using Apache as a webserver, probably on RedHat Enterprise, but it's not my call unfortunately)
 
 All help greatly appreciated
 
 Alistair
 
 Alistair Davidson
 Senior Technical Developer
 Headshift.com
 --
 HEADSHIFT www.headshift.com
 T: 020 7357 7358 
 --
 smartersimplersocial
 
 Personal techie blog : http://instantbadger.blogspot.com
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Stopping Macromedia JRUN CFusion Server Services

2004-09-07 Thread Dave Watts
 Does anyone have any information as to why when stopping the CFusion
 Server Services, the following error would pop up but when clicking 
 on OK the services would finally stop and I could restart them.

 Error when attempted to close Macromedia JRun CFusion Server service.

 Once I clicked OK, the service did stop.

I think you might get that if it takes a long time to stop the service. You
might try stopping it from the command line to see if you get more
information. You might also check your system event log.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Count Online Users Conundrum

2004-09-07 Thread Sung Woo
Excellent.So there are two instructions on the structure update:

1) update my time
2) kill any connections older than 15 minutes

I'd still need to run a cleanup script every fifteen minutes, just to clean up any last connections, right?Otherwise, there will always be 1 person logged on, I'd think.

BTW, on a completely different subject, is it possible to trigger AOL's AIM via hyperlink, something like aim:user1000 to bring up the...

Never mind.Found it on google!

aim:goim?screenname=SCREENNAME

 yes but you can also run the update to knock out past connections when 
 you update the current time, that is what I do.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Java+JSP 10 times faster than CF? And Other Ruminations.

2004-09-07 Thread Dave Watts
 1) Since CFMX 6.1 is now running off of jrun, is it reasonable to see 
 it as a huge and complicated set of JSP custom tags?JSP seems to 
 behave very similarly to CF -- you write the code in a .jsp file and 
 the compiler creates a .class file after the initial run. There are a 
 ton of custom tags for JSP, and after sifting through them, it seems 
 like CF can be seen as a large custom tag.

I think that's a bit of an oversimplification, but yes, CF can be thought of
as an abstraction layer between the code you write and the Java classes you
end up with as a result.

 2) To quote Hal Helms:

 ...

 Java is a high-performance language. Java with JSP (similar to
 ColdFusion for presentation) is over 10 times faster than using
 ColdFusion. A single JSP server can handle 10 times the number of
 simultaneous requests that ColdFusion can.

To quote Mark Twain, there are lies, damn lies, and statistics. While it may
be true that you can write a JSP page that is ten times faster than its CF
equivalent, most pages are unlikely to fall within this category, and most
servers will run pages that have the same general bottlenecks no matter
whether they're using CF, JSP or something else.

In most applications I've seen, the vast majority of work involves database
access, so you're unlikely to see a significant performance difference, much
less a difference of a factor of ten.

 3) I'm considering running MachII (after this class, I'm fairly
 convinced of the whole MVC thingy).Will running something like MachII
 make my applications faster?Or is it just a way to organize big
 projects so they don't get out of hand?

It's just an organizational thing. It won't make anything run faster. It may
make things run slower, although that may be outweighed by the
organizational benefits it provides.

 4) Is there a way to optimize CF code so it runs the fastest? I know,
 for example, that virtual Query function is dog-slow, and that
 structures are lightning fast.Are there any other tips?Should I be
 utilizing more CFSCRIPT throughout my code?

You should probably focus on the two core things that make applications slow
- inefficient database use and lack of caching.

 No matter how much performance increase java/JSP offers, I find the
 whole language ridiculous.Then again, I find most computer languages
 ridiculous.Why shouldn't the parser be smart enough to know that a
 variable is a certain type without having me specify it?Why do I need
 to worry about case sensitivity?You may just call me lazy, but when I
 saw CF, I saw a language that was intelligent.It took the silliness
 out of programming and let me do what I really wanted to do.

Unfortunately, there's a lot wrapped up in that silliness. Many
traditional programmers would rather work with languages that enforce data
typing because it helps them catch errors at compile time, rather than at
run time.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: MX 6.1 W2K3 Installation Hangs

2004-09-07 Thread Alistair Davidson
Thanks for the info - I've forwarded it onto the guy who's actually
doing the server work, so fingers crossed

It's a standalone installation - we only have the Professional version,
hence no J2EE configuration. 

_

From: Greg Stewart [mailto:[EMAIL PROTECTED] 
Sent: 07 September 2004 15:28
To: CF-Talk
Subject: Re: MX 6.1 W2K3 Installation Hangs

Hi Alistair,
Anything in the install log? And what kind of an install are you
performing? J2EE/standalone?

Also maybe this post can help a little:
http://www.bpurcell.org/index.cfm?mode=entryentry=949 and there are a
fwe comments relating to win2k3 as well..

Cheers
G

On Tue, 7 Sep 2004 13:39:47 +0100, Alistair Davidson
[EMAIL PROTECTED] wrote:
 Hi All
 
 We have a completely fresh, pristine and virgin installation of
Windows Server 2003 Standard, and we're trying to install MX 6.1 Pro
onto it.
 Every time we try, it goes right through the installation to point of
Installing Web Server Connectors...
 Then it pops up a cmd.exe window with nothing in it, and hangs.
Forever!
 
 We've tried leaving it for over an hour, nothing happened. It wouldn't
even respond to the Cancel button.
 So we killed the installer, deleted all CF files and went through the
registry deleting anything matching Macromedia
 
 When we run it again, the same problem occurs.
 
 We've tried telling the installer to use the built-in web server, use
only the default IIS web server, configure all IIS websites - same thing
happens every time.
 
 Anyone else had this issue? Anyone got round it?
 
 Or is our shiny new Windows box just a big pile of doodoo? (no OS
flamewars please - if it was up to me we'd certainly be using Apache as
a webserver, probably on RedHat Enterprise, but it's not my call
unfortunately)
 
 All help greatly appreciated
 
 Alistair
 
 Alistair Davidson
 Senior Technical Developer
 Headshift.com
 --
 HEADSHIFT www.headshift.com
 T: 020 7357 7358 
 --
 smartersimplersocial
 
 Personal techie blog : http://instantbadger.blogspot.com
 


_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Looping Question

2004-09-07 Thread Jeffrey Fongemie
Hi everyone,

I'm using a query and loop to fill a body onLoad statement for a _javascript_ image preload.

So far I've got: 

body  query=allphotos startrow=1 endrow=#allphotos.recordcount#cfoutput'photoslarge/#filenamelarge#',/cfoutput/cfloop)

This works except that it puts a comma at the end of my list and that buggers up my _javascript_. I need it to loop through, adding a comma between each imagename but not at the end? 

For the life of me, I can't get this to work.

I end up with:

body >

I need: 

body >

Any suggestions?

-Jeff F.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Anyone know what to do about this please? Error establishing socket

2004-09-07 Thread Dave Watts
 We're getting the error as follows:
 [Macromedia][SQLServer JDBC Driver]Error establishing socket.
 Connection refused: connect
 
 I think this is to do with the hosting company - is there anything we
 might do as site owners and developers to cause this?I think its
 something we're going to have to get WebCentral onto fixing, but is
 there anything else we can look at in our own code that might cause
 this error?

I think you usually get that error when you're not specifying the right IP
address and port to connect to the database (or, of course, when the
database listener isn't running).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Looping Question

2004-09-07 Thread Tangorre, Michael
ValueList() would work better for you here.

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funca117.htm#wp11
14236

Mike

 I'm using a query and loop to fill a body onLoad statement 
 for a _javascript_ image preload.
 
 So far I've got: 
 
 body  query=allphotos 
 startrow=1 
 endrow=#allphotos.recordcount#cfoutput'photoslarge/#filen
 amelarge#',/cfoutput/cfloop)
 
 This works except that it puts a comma at the end of my list 
 and that buggers up my _javascript_. I need it to loop through, 
 adding a comma between each imagename but not at the end? 
 
 For the life of me, I can't get this to work.
 
 I end up with:
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: MX 6.1 W2K3 Installation Hangs

2004-09-07 Thread Dave Watts
 We have a completely fresh, pristine and virgin installation of Windows
 Server 2003 Standard, and we're trying to install MX 6.1 Pro onto it. 
 Every time we try, it goes right through the installation to point of
 Installing Web Server Connectors...
 Then it pops up a cmd.exe window with nothing in it, and hangs. Forever!

 We've tried leaving it for over an hour, nothing happened. It wouldn't
 even respond to the Cancel button. So we killed the installer, deleted 
 all CF files and went through the registry deleting anything matching 
 Macromedia

 When we run it again, the same problem occurs.

 We've tried telling the installer to use the built-in web server, use
 only the default IIS web server, configure all IIS websites - same thing
 happens every time.

I haven't run into this problem, so I don't know how much help I'll be.
You're saying that the install runs the web server configuration utility
even if you choose the JRun web server during the installation? I've never
seen that happen before.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Looping Question

2004-09-07 Thread Pascal Peters
body >
query=allphotos'photoslarge/#filenamelarge#'cfif
allphotos.recordcount NEQ allphotos.currentrow,/cfif/cfoutput)

Pascal

 -Original Message-
 From: Jeffrey Fongemie [mailto:[EMAIL PROTECTED]
 Sent: 07 September 2004 16:55
 To: CF-Talk
 Subject: Looping Question
 
 Hi everyone,
 
 I'm using a query and loop to fill a body onLoad statement for a
 _javascript_ image preload.
 
 So far I've got:
 
 body  query=allphotos startrow=1

endrow=#allphotos.recordcount#cfoutput'photoslarge/#filenamelarge#'
,
 /cfoutput/cfloop)
 
 This works except that it puts a comma at the end of my list and that
 buggers up my _javascript_. I need it to loop through, adding a comma
 between each imagename but not at the end?
 
 For the life of me, I can't get this to work.
 
 I end up with:
 
 
 body >
 M.jpg','photoslarge/St-Francis-de-Asis-Detail-.jpg',)
 
 I need:
 
 body >
 M.jpg','photoslarge/St-Francis-de-Asis-Detail-.jpg')
 
 
 Any suggestions?
 
 -Jeff F.
 
 
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Anyone know what to do about this please? Error establishing socket

2004-09-07 Thread Mike Kear
I think most people are pointing to the same root cause then..The ip
address is set in the CF Adminstrator by the hosting company when we
set up the site, andsince we havent changed the Application.cfm file
(which passes the username and password as application variables) for
over 18 months,that looks like the cause of the problem is at the
hands of the hosting company (Let me hasten to add this client is not
hosting with my company.ok?NOT MY COMPANY!!)

Thanks for your help everyone.Looks like i have a call booked for
tomorrow to WebCentral.

Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year


- Original Message -
From: Dave Watts [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]

 We're getting the error as follows:
 [Macromedia][SQLServer JDBC Driver]Error establishing socket.
 Connection refused: connect
 

I think you usually get that error when you're not specifying the right IP
address and port to connect to the database (or, of course, when the
database listener isn't running).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Looping Question

2004-09-07 Thread John Stanley
body >
query=allphotos'photoslarge/#filenamelarge#' cfifcurrentrow lt
allphotos.recordcount, /cfif /cfoutput)
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Java+JSP 10 times faster than CF? And Other Ruminations.

2004-09-07 Thread Vince Bonfanti
It's generally true that CFML, as a higher level language that removes
much of the silliness you find in lower-level programming languages, will
not perform as well as Java/JSP. But,

- It's also generally true that code written in C will outperform Java,
and code written in machine-level assembly language will generally
outperform C (though there are Java and C adherents who will dispute
both of these). However, Java is generally preferred over C, and C is
generally preferred over assembler because of the productivity advantages.
People are expensive; writing and maintaining complex software systems is
expensive; CPUs and RAM are cheap (and getting cheaper). Unless you're
writing one of those rare applications where milli- and micro-seconds of
performance are critical, the trade-off of performance for productivity is
generally more than worth it. The same is true for CFML versus
Java/JSP--CFML is generally a much more productive programming environment
than Java/JSP.

- For web applications that involve database access, the database is going
to be your performance bottleneck. Your web application, whether written in
CFML or Java/JSP, is going to spend most of its time idle waiting for a
response from the database. CFML can wait just as fast as Java/JSP. :-)

Cheers,

Vince Bonfanti
New Atlanta Communications, LLC
http://www.newatlanta.com



	From: Sung Woo [mailto:[EMAIL PROTECTED] 
	Sent: Tuesday, September 07, 2004 9:48 AM
	To: CF-Talk
	Subject: Java+JSP 10 times faster than CF? And Other Ruminations.
	
	
	I just came back from a weeklong training session with java/JSP
programming and have a couple of things to discuss.
	
	FYI, I've been a long-time CF programmer (first version of 3.1).
I've dabbled in UNIX shell scripts, perl, ASP, VB, and Pascal (yes, Pascal!)
in my past incarnations, and hands down, I have found CF to be the best for
me.It is the most intuitive programming language I've encountered so far.
That opinion hasn't changed after my intro to java/JSP.
	
	Anyway, here goes:
	
	1) Since CFMX 6.1 is now running off of jrun, is it reasonable to
see it as a huge and complicated set of JSP custom tags?JSP seems to
behave very similarly to CF -- you write the code in a .jsp file and the
compiler creates a .class file after the initial run.There are a ton of
custom tags for JSP, and after sifting through them, it seems like CF can be
seen as a large custom tag.
	
	2) To quote Hal Helms:
	
	
http://www.halhelms.com/index.cfm?fuseaction=writings.displayOnScreenwritin
g=TenReasonsCompaniesLikeJava.htm
	
	Java is a high-performance language. Java with JSP (similar to
ColdFusion for presentation) is over 10 times faster than using ColdFusion.
A single JSP server can handle 10 times the number of simultaneous requests
that ColdFusion can.
	
	I found this very disturbing, but I can see how this could be true.
In JSP, the equivalent of a CFOUTPUT of a form field is as follows:
	
	%= ${form_field} %
	
	or
	
	% request.getParameter(form_field) %
	
[snip]
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Count Online Users Conundrum

2004-09-07 Thread Eric Creese
I run through my login script whenever someone logs on, I do not schedule it myself. Seems to work just fine.

-Original Message-
From: Sung Woo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004 9:44 AM
To: CF-Talk
Subject: Re: Count Online Users Conundrum

Excellent.So there are two instructions on the structure update:

1) update my time
2) kill any connections older than 15 minutes

I'd still need to run a cleanup script every fifteen minutes, just to clean up any last connections, right?Otherwise, there will always be 1 person logged on, I'd think.

BTW, on a completely different subject, is it possible to trigger AOL's AIM via hyperlink, something like aim:user1000 to bring up the...

Never mind.Found it on google!

aim:goim?screenname=SCREENNAME

 yes but you can also run the update to knock out past connections when 
 you update the current time, that is what I do. 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Looping Question

2004-09-07 Thread Pascal Peters
It would be QuotedValueList and this would only work if the query was
altered to include the path:

cfquery name=allphotos datasource=#request.dsn#
SELECT filenamelarge, 'photoslarge' + filenamelarge as filepath

/cfquery
body
>
/cfoutput)

Pascal

 -Original Message-
 From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
 Sent: 07 September 2004 17:05
 To: CF-Talk
 Subject: RE: Looping Question
 
 ValueList() would work better for you here.
 

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funca117.htm#wp11
 14236
 
 Mike
 
 
 
  I'm using a query and loop to fill a body onLoad statement
  for a _javascript_ image preload.
 
  So far I've got:
 
  body  query=allphotos
  startrow=1
  endrow=#allphotos.recordcount#cfoutput'photoslarge/#filen
  amelarge#',/cfoutput/cfloop)
 
  This works except that it puts a comma at the end of my list
  and that buggers up my _javascript_. I need it to loop through,
  adding a comma between each imagename but not at the end?
 
  For the life of me, I can't get this to work.
 
  I end up with:
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




E-Checks

2004-09-07 Thread Greg Luce
Against my wishes our company is going to start processing E-Check
payments. (We're doing this ourselves not through a service.) I've
found info on validating the ABA routing numbers with js and CF. But
is there any way to validate a checking account number without
actually authorizing the transaction? I think there's a fee to even
authorize, and probably they won't be done real-time. Just batched
later. Anyone have experience with E-Checks? Is the account number at
least a certain number of digits?

Thanks,
Greg
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Java+JSP 10 times faster than CF? And Other Ruminations.

2004-09-07 Thread Andrew Grosset
why is there a br before every word in this thread..? makes it incredibly hard to read.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Looping Question

2004-09-07 Thread Greg Luce
How's this play?
body >
query=allphotos'photoslarge/#filenamelarge#'cfif currentrow LT
allphotos.recordcount,/cfif/cfoutput)

Greg

- Original Message -
From: Jeffrey Fongemie [EMAIL PROTECTED]
Date: Tue, 7 Sep 2004 10:55:26 -0400
Subject: Looping Question
To: CF-Talk [EMAIL PROTECTED]

Hi everyone,

I'm using a query and loop to fill a body onLoad statement for a
_javascript_ image preload.

So far I've got: 

body  query=allphotos startrow=1
endrow=#allphotos.recordcount#cfoutput'photoslarge/#filenamelarge#',/cfoutput/cfloop)

This works except that it puts a comma at the end of my list and that
buggers up my _javascript_. I need it to loop through, adding a comma
between each imagename but not at the end?

For the life of me, I can't get this to work.

I end up with:

body >

I need: 

body >

Any suggestions?

-Jeff F.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Fusebox

2004-09-07 Thread Greg Luce
Andrew,
The Code Rutters Discovering Fusebox4 With ColdFusion by John Quarto
Von Tividar explains it nicely. A must have!

Greg

- Original Message -
From: Andrew Dixon [EMAIL PROTECTED]
Date: Tue, 7 Sep 2004 15:06:58 +0100
Subject: Re: Fusebox
To: CF-Talk [EMAIL PROTECTED]

Hi.

It is the airfair, hotel, etc... costs that stop me going to a
conference in the US, but really I just need to get into doing some
programming with Fusebox and this will happen soon as I've nearly
finished my planning and we are all nearly agreed on what we doing.

Nando, Thanks for the offer of help and I will be sure to take you up
on it if needs be.

Andrew.

- Original Message -
From: Nando [EMAIL PROTECTED]
Date: Tue, 7 Sep 2004 15:18:55 +0200
Subject: Re: Fusebox
To: CF-Talk [EMAIL PROTECTED]

As you can see, i have a lot to say on this issue ... Andrew - any
questions you have about Fusebox, just go ahead and ask. If i know the
answer and can manage to use an email interface properly, i'll reply.
:)

On Tue, 7 Sep 2004 15:05:58 +0200, Nando [EMAIL PROTECTED] wrote:
 
 
 On Tue, 7 Sep 2004 08:45:33 -0400, S. Isaac Dealey [EMAIL PROTECTED] wrote:
   Come to the conference and check it out. $200 is well
   worth it. And
   the classes on Thursday and Friday are a great opportunity
   to get up to
   speed quickly.
 
  I think it was the international air-fare that was their cost issue.
 
  s. isaac dealey954.927.5117
  new epoch : isn't it time for a change?
 
  add features without fixtures with
  the onTap open source framework
 
  http://www.sys-con.com/story/?storyid=44477DE=1
  http://www.sys-con.com/story/?storyid=45569DE=1
  http://www.fusiontap.com
 
 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Looping Question

2004-09-07 Thread Tangorre, Michael
Good catch Pascal. Personally I am not a fan of cluttering up tags with
nested cftags inside them, so I'd go with the QuotedValueList() over the
conditional logic in the body tag.Just a preference thing.

Michael T. Tangorre
 It would be QuotedValueList and this would only work if the 
 query was altered to include the path:
 
 cfquery name=allphotos datasource=#request.dsn# SELECT 
 filenamelarge, 'photoslarge' + filenamelarge as filepath 
 /cfquery
 body
 >
 filepath)#
 /cfoutput)
 
 Pascal
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Looping Question

2004-09-07 Thread Jeffrey Fongemie
On Tue, 7 Sep 2004 17:03:43 +0200, Pascal Peters wrote:
 body >
 query=allphotos'photoslarge/#filenamelarge#'cfif
 allphotos.recordcount NEQ
 allphotos.currentrow,/cfif/cfoutput)
 
 Pascal
 
 

Perfect. Thanks! 

makes perfect sense, and so simple. 

-Jeff
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: cfloop / cfquery and displaying results

2004-09-07 Thread Cornillon, Matthieu (Consultant)
Keith,

 
Perhaps I am not understanding correctly, but it sounds like a query within
which you group the results is the way to go.

 
You can handle the grouping in a couple of different ways.I would start by
reading the help on the CFOUTPUT tag, looking at the group parameter.

 
HTH,
Matthieu

-Original Message-
From: Wurst, Keith D. [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 06, 2004 3:28 PM
To: CF-Talk
Subject: cfloop / cfquery and displaying results

hi everyone. i have a question concerning cfloop, cfquery and how to display
information most effectively on a page. here is the situation. i have two
queries. the first query gets all my main topics. the second query gets all
my sub topics. my where clause in my second query uses an IN statement and
utilizes the valuelist of the results of the first query. in the past what i
have done is just performed the first query, and then placed the second
query within a cfloop of the results of the first one to display all the sub
topics. this time around i want to build a result set on the fly without
having to put the second query within my cfloop tag. any suggestions are
greatly appreciated. thanks so much.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Free for non-commercial usage? Donationware?

2004-09-07 Thread Matt Robertson
I've found the best way to deal with this is to build in 'awareness'
of a Lite version into the code from the start.Then you can just --
for example -- set a flag in Application.cfm and it will automatically
shift into Lite mode.Then you encapsulate all of your Pro
functionality into includes and tags.Don't include those in the
Lite download.

It only works if you start from scratch that way :-(.

-- 
--Matt Robertson--
MSB Designs, Inc.
mysecretbase.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: More drag and drop

2004-09-07 Thread Cornillon, Matthieu (Consultant)
 However, I can't seem to get it to work 
 with text unless I select the text

 
 not 100% surebut the text could be
 in a div and the div could have somehting
 along the lines of 

 
John,

 
I'm not sure about the DIV tag that Bryan suggested.It may indeed work.
The other way to do it is to wrap the text with an A tag.That's how I
did it.In my case, they were actually hyperlinks anyway, but I think that
it works the same if you use the A tag with only the name parameter.

 
Matthieu
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Load Testing software

2004-09-07 Thread Ben Frame
Hi All,

I've been working on Stress/Load testing some applications recently,
and wondered which, if any, testing tools work best for testing CF
applications?

I've mostly used the general web stress test tools (Rational, MS Web
Application Stress Tool, etc...).However, it seems there are some
platform-specific testing tools available for J2EE, .NET, and PHP. 
Are there technology-specific tools for ColdFusion?If using CFMX 6.1
on JRUN, is there any value in using one of the J2EE specific tools
against JRUN?

I'd be interested in any thoughts or experiences people might have on
this topic.

Thanks!

-Ben
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Stopping Macromedia JRUN CFusion Server Services

2004-09-07 Thread Greg Stewart
Not sure if Dave was referring to stopping/starting the service, but I
can also recommend starting/stopping your JRun/CFMX instance using
(again from the command line):

$ jrun -start cfusion

So far I have never had any problems using this as opposed to using a
windows service. Furthermore you can specify additional config files
etc, and more importantly you can see what is going on as the server
starts up and shuts down.

My 2 pennies.

Cheers
G

On Tue, 7 Sep 2004 10:36:03 -0400, Dave Watts [EMAIL PROTECTED] wrote:
  Does anyone have any information as to why when stopping the CFusion
  Server Services, the following error would pop up but when clicking
  on OK the services would finally stop and I could restart them.
 
  Error when attempted to close Macromedia JRun CFusion Server service.
 
  Once I clicked OK, the service did stop.
 
 I think you might get that if it takes a long time to stop the service. You
 might try stopping it from the command line to see if you get more
 information. You might also check your system event log.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 phone: 202-797-5496
 fax: 202-797-5444
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: MX 6.1 W2K3 Installation Hangs

2004-09-07 Thread Alistair Davidson
You're saying that the install runs the web server configuration
utility
even if you choose the JRun web server during the installation? I've
never
seen that happen before.

Hey, Dave, come on over to our place! You can watch it happening over
and over again! ;D

Anyway, Brandon Purcells tip about minimizing the ports which it scans
seemed to do the trick, our server admin guy is happy once more.

Thanks for your help guys

Alistair
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Java+JSP 10 times faster than CF? And Other Ruminations.

2004-09-07 Thread Nando
On Tue, 07 Sep 2004 11:12:15 -0400, Andrew Grosset [EMAIL PROTECTED] wrote:
 why is there a br before every word in this thread..? makes it incredibly hard to read.

Not here. 

Short reply. Make easier for you.

:)
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




CF Blog for CF 5?

2004-09-07 Thread Mark W. Breneman
My personal site it running on a server that is using CF 5. (Go figure I
admin 4 servers all running CFMX) I don't have the time to write a Blogging
app, so is there a CF 5 based Blog app that has RSS support? Maybe even
free?

 
Thanks

 
Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com http://www.vividmedia.com/ 
608.270.9770
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




COTS Product

2004-09-07 Thread Andrew Tyrone
Hi everyone,

Recently we were told we had to provide quite a few documents for SDLC
(Systems Development Life-cycle), one month before a project deadline, for
the COTS (Commercial-Off-the-Shelf) Product we are using for a government
client.This product is CFMX 6.1.After installation testing on the dev
and qas servers, the last two servers are now off-limits per the CIO until
all of this documentation is provided.Initially all of these documents
were deemed unnecessary as what we provided was considered adequate.

There are roughly 30 documents listed, and we have been given samples and
layouts, however this is going to take some time to complete and since we
have limited resources, there is no way we are going to make the deadline of
October 1st at this rate.My hands are tied as I am a sub-contractor for
the company who actually HAS the contract.What I am looking for is,
hopefully, someone or some company that has documented a lot of this
information about CFMX already.

The following link explains what is needed:

http://www.usdoj.gov/jmd/irm/lifecycle/ch13.htm

Near the end the page (section 13.3.7) is what we were provided via fax.

If anyone can give me any insight, I'd appreciate it, since I am pretty lost
here...

Thanks,
Andy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Java+JSP 10 times faster than CF? And Other Ruminations.

2004-09-07 Thread Thomas Chiverton
On Tuesday 07 Sep 2004 16:12 pm, Andrew Grosset wrote:
 why is there a br before every word in this thread..? makes it incredibly
 hard to read.

Not here there isn't.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: E-Checks

2004-09-07 Thread C. Hatton Humphrey
From personal experience I know that the routing number is uniform but
IIRC the account number is not.

Interestingly the associated links in my gMail pointed me to this page:
http://www.abanumbers.com/solutions/webservices.asp

HTH
Hatton
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: ColdFusion MX Log Viewer

2004-09-07 Thread Nathan Strutz
CF Administrator log file viewer doesn't work for you?

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

Dave Phillips wrote:

 Hi,
 
 Anyone know of a good replacement log viewer for CF MX ?All the ones I
 find are for older versions of CF and don't take into account the complexity
 of the exception.log.
 
 Thanks!
 
 Sincerely,
 
 Dave Phillips
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Displaying a dynamic map - how?

2004-09-07 Thread Claude Schneegans
That being said the map (or at least the venues) are indeed databased
already.

I have build a tool to define these mappings 100% the DHTML way on any image, presently mostly photos.
For the time being only circles are used, but it could be squares, rectangles etc as well.

Have a glance at http://diplomes.med.umontreal.ca select a year in the Mosaque drop list, (ex: 1993)
and pass the mouse over the image. The database contains presently about 8400 map areas,
all defined online with a few clicks.

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: E-Checks

2004-09-07 Thread joe velez
length ? don't you have a checkbook? hehe jk

my routing is 9 and account is 10, but the first digit is 0 .. and i had to omit it on either paypal or my banks site for verification. so just 9 i'd say.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Calling a .Net control from ColdFusion

2004-09-07 Thread Nathan Strutz
This is actually close to something I was throwing around...

I was thinking, what if I had a tag library and use cfimport, and give 
it the asp: prefix. It would be pretty easy to re-create most of the 
web form controls through a custom tag library. We could have the 
interesting control-style asp syntax right there in CF.

Of course there are obviously forseeable problems, like obj.dataBind() 
doesn't work in the procedural CF language. bah. Anyway, just a thought.

Not that I have enough time to implement it, but it would be cool.

-nathan strutz

Vince Bonfanti wrote:

 Hi Josen,
 
 We might have another solution for you. What if you could use CFML tags
 directly in ASP.NET pages? Put another way, what if you could turn any CFML
 page into an ASP.NET page simply by changing the .cfm extension to
 .aspx?
 
 Then you could mix .NET controls and CFML code in the same page, which is
 what I think you really want, the only difference is they'd have the .aspx
 extension instead of .cfm.
 
 Is this something you'd be interested in?
 
 Vince Bonfanti
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Cannot establish socket -

2004-09-07 Thread Simeon Bateman
I was recently having this problem as well.After doing a little bit
of searching I found an article, (might even have been an HoF Post)
that suggested that setting up the db in window odbc, and then setting
up the datasource to use an odbc connection would fix the problem.

I set this up and havn't had the error in two weeks.

I know this may not be an option to do directly through your hosting
control panel, but you may be able to work with your host company to
get it set up.

Good Luck.

simeon

- Original Message -
From: Ewok [EMAIL PROTECTED]
Date: Tue, 7 Sep 2004 10:17:54 -0400
Subject: RE: Cannot establish socket -
To: CF-Talk [EMAIL PROTECTED]

I can't think of anything (that definitely doesn't mean that there isn't
 something) code wise that would cause it other than your username and/or
 password being wrong. I think you're probably right about getting the
 hosting company to look into it since it was refused and at least get them
 to confirm your login information is correct.

 
 _

 From: Mike Kear [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 07, 2004 8:06 AM
 To: CF-Talk
 Subject: Cannot establish socket -

 We're getting the error as follows:
 [Macromedia][SQLServer JDBC Driver]Error establishing socket.
 Connection refused: connect

 I think this is to do with the hosting company - is there anything we
 might do as site owners and developers to cause this?I think its
 something we're going to have to get WebCentral onto fixing, but is
 there anything else we can look at in our own code that might cause
 this error?

 Cheers
 Mike Kear
 Windsor, NSW, Australia
 AFP Webworks
 http://afpwebworks.com
 .com,.net,.org domains from AUD$20/Year

 
 _

 [HYPERLINK http://www.houseoffusion.com/lists.cfm/link=t:4Todays Threads]
 [HYPERLINK http://www.houseoffusion.com/lists.cfm/link=i:4:177332This
 Message] [HYPERLINK
 http://www.houseoffusion.com/lists.cfm/link=s:4Subscription] [HYPERLINK
 http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=678.598.4Fast
 Unsubscribe] [HYPERLINK http://www.houseoffusion.com/signin/User Settings]
 [HYPERLINK
 https://www.paypal.com/cgi-bin/webscr?amount=item_name=House+of+Fusionbus
 iness=donations%40houseoffusion.comundefined_quantity=cmd=_xclickDonation
 s and Support] 

 
 _

 HYPERLINK http://www.houseoffusion.com/banners/view.cfm?bannerid=39 \n

 ---
 Incoming mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.754 / Virus Database: 504 - Release Date: 9/6/2004

 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.754 / Virus Database: 504 - Release Date:
9/6/2004
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Calling a .Net control from ColdFusion

2004-09-07 Thread Vince Bonfanti
We actually looked into that as a way to embed ASP.NET controls in a CFML
page--in fact, I gave a demo of some of our early efforts at CFUN-04. It
turns out that what appears conceptually easy at the beginning is really
very hard. In order to support the viewstate, postback, and event-driven
environment that an ASP.NET control expects, you pretty much have to
duplicate the full functionality of an ASP.NET, which is no minor task.

So instead of embedding ASP.NET controls in CFML pages, we asked, What if
we could embed CFML code in ASP.NET pages? Then we could mix CFML and
ASP.NET controls and get the best of both worlds--pretty much the same
effect we were looking for. Well, it turns out that we *can* do this (with
BlueDragon.NET), and it's very cool.

Look for more info when we release the BlueDragon 6.2 beta (including
BlueDragon.NET) later this month.

Vince Bonfanti
New Atlanta Communications, LLC
http://www.newatlanta.com



	From: Nathan Strutz [mailto:[EMAIL PROTECTED] 
	Sent: Tuesday, September 07, 2004 1:12 PM
	To: CF-Talk
	Subject: Re: Calling a .Net control from ColdFusion
	
	
	This is actually close to something I was throwing around...
	
	I was thinking, what if I had a tag library and use cfimport, and
give 
	it the asp: prefix. It would be pretty easy to re-create most of
the 
	web form controls through a custom tag library. We could have the 
	interesting control-style asp syntax right there in CF.
	
	Of course there are obviously forseeable problems, like
obj.dataBind() 
	doesn't work in the procedural CF language. bah. Anyway, just a
thought.
	
	Not that I have enough time to implement it, but it would be cool.
	
	-nathan strutz
	
	Vince Bonfanti wrote:
	
	 Hi Josen,
	 
	 We might have another solution for you. What if you could use CFML
tags
	 directly in ASP.NET pages? Put another way, what if you could turn
any CFML
	 page into an ASP.NET page simply by changing the .cfm extension
to
	 .aspx?
	 
	 Then you could mix .NET controls and CFML code in the same page,
which is
	 what I think you really want, the only difference is they'd have
the .aspx
	 extension instead of .cfm.
	 
	 Is this something you'd be interested in?
	 
	 Vince Bonfanti
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Load Testing software

2004-09-07 Thread Adam Churvis
We use e-TEST Suite 7.0 in our load testing lab.It's an amazing product,
but it's expensive.

Regarding platform-specific tools, the main thing you're looking for is its
ability to directly read and use metrics from the platform, which e-TEST
Suite does quite well.

Respectfully,

Adam Phillip Churvis
Member of Team Macromedia

Advanced Intensive Training:
* C#  ASP.NET for ColdFusion Developers
* ColdFusion MX Master Class
* Advanced Development with CFMX and SQL Server 2000
http://www.ColdFusionTraining.com

Download CommerceBlocks V2.1 and LoRCAT from
http://www.ProductivityEnhancement.com

The ColdFusion MX Bible is in bookstores now!
- Original Message - 
From: Ben Frame [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004 11:53 AM
Subject: Load Testing software

 Hi All,

 I've been working on Stress/Load testing some applications recently,
 and wondered which, if any, testing tools work best for testing CF
 applications?

 I've mostly used the general web stress test tools (Rational, MS Web
 Application Stress Tool, etc...).However, it seems there are some
 platform-specific testing tools available for J2EE, .NET, and PHP.
 Are there technology-specific tools for ColdFusion?If using CFMX 6.1
 on JRUN, is there any value in using one of the J2EE specific tools
 against JRUN?

 I'd be interested in any thoughts or experiences people might have on
 this topic.

 Thanks!

 -Ben


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Anyone know what to do about this please? Error establishing socket

2004-09-07 Thread Jochem van Dieten
Mike Kear wrote:
 We're getting the error as follows:
 [Macromedia][SQLServer JDBC Driver]Error establishing socket.
 Connection refused: connect
 
 I think this is to do with the hosting company - is there anything we
 might do as site owners and developers to cause this?

If you didn't set up the datasource you can't do anything about 
it. If you did set up the datasource, make sure you have the 
right address and portnumber.

Jochem
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Any restriction in CFCONTENT?

2004-09-07 Thread Claude Schneegans
Hi,

Is there any restriction about where the file return by CFCONTENT may be in the server?
I return a gif file with something like:
CFCONTENT TYPE=image/gif FILE=#tempFilePath# DELETEFILE=yes
If the location of the file is in the HTTP server scope, it works, but if it is in
C:\windows\temp... it won't... and the file is note deleted, but no error triggered by CFTRY...

Am I missing something?

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cf_aebrowser - New Version Testing Help Required

2004-09-07 Thread Douglas Knudsen
checking for WML capable is fairly simple.in CF 
CFIF cgi.http_accept CONTAINS text/vnd.wap.wml

Now, what could be very valuable for some is what browser type the
client is using on their PDA or Cell.Once you determine its WML
capabe, there are only a few WML browsers to check for, yup a PITA. 
Google is not being kind to me today or I'd post a link of them. 
Manufacturer sites usually have a developers network where you can
find such lists, for example http://www.motocoders.com/.I'd venture
that much value would be added to this tag with a simlpe ISWML test.

Doug

- Original Message -
From: Dawson, Michael [EMAIL PROTECTED]
Date: Thu, 2 Sep 2004 14:13:55 -0500
Subject: RE: cf_aebrowser - New Version Testing Help Required
To: CF-Talk [EMAIL PROTECTED]

Andrew, I just viewed the page with my Treo 300 browsers.(Three of
them, but I think one of them may have not gotten through all the way.)

Yes, please check for WML- or WAP-capable browsers!

Thanks



From: Andrew Dixon [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 01, 2004 2:35 PM
To: CF-Talk

Subject: RE: cf_aebrowser - New Version Testing Help Required

Hi Everyone.

Firstly I would like to thank everyone who has helped so far, it
has been
good to get some real world testing of the tag and it has help
find some
problem and fixes. I would now like to ask for one final time
for some help
with testing. I think I have something that is pretty stable now
and working
well, but I need one last set of tests to confirm everything is
ok. So
anyone who would like to help please can you point all the
browsers and
operating system combinations you have at the following URL:

http://www.andrewdixon.co.uk/aebrowser/test.cfm

and if you would like to download a copy of the tag, please
visit

http://www.andrewdixon.co.uk/aebrowser/

Thanks once again.

Best Regards

 Andrew

SpamNet - Stop spam immediately and help me too!
http://www.cloudmark.com/spamnet www.cloudmark.com/spamnet 
Referral Code: 2tc4hl 
(use the code a get spamnet for $1.99 per month instead of
$4.99!!!) 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Any restriction in CFCONTENT?

2004-09-07 Thread Douglas Knudsen
If CF has no rights to delete the file, then it can't.I've also seen
IIS put a stranglehold on file using this approach too.

Doug

- Original Message -
From: Claude Schneegans [EMAIL PROTECTED]
Date: Tue, 07 Sep 2004 13:50:55 -0400
Subject: Any restriction in CFCONTENT?
To: CF-Talk [EMAIL PROTECTED]

Hi,

Is there any restriction about where the file return by CFCONTENT may
be in the server?
I return a gif file with something like:
CFCONTENT TYPE=image/gif FILE=#tempFilePath# DELETEFILE=yes
If the location of the file is in the HTTP server scope, it works, but
if it is in
C:\windows\temp... it won't... and the file is note deleted, but no
error triggered by CFTRY...

Am I missing something?

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Any restriction in CFCONTENT?

2004-09-07 Thread Claude Schneegans
If CF has no rights to delete the file, then it can't.I've also seen
IIS put a stranglehold on file using this approach too.

Hmmm so I better use another directory ;-/

But how come CF returns this directory in getTempDirectory() id it has no rights on it?

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: E-Checks

2004-09-07 Thread Greg Luce
Yeah, from googling I've found that Europeans have implimented a
standard called IBAN that has potential for real-time validation. But
it doesn't sound like the US is going to impliment it anytime soon.

Greg

- Original Message -
From: joe velez [EMAIL PROTECTED]
Date: Tue, 07 Sep 2004 13:12:29 -0400
Subject: Re: E-Checks
To: CF-Talk [EMAIL PROTECTED]

length ? don't you have a checkbook? hehe jk

my routing is 9 and account is 10, but the first digit is 0 .. and i
had to omit it on either paypal or my banks site for verification. so
just 9 i'd say.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Any restriction in CFCONTENT?

2004-09-07 Thread Claude Schneegans
It is even weirder considering the file was in fact created by CF itself using a call to
GetTempFile ()... ;-/

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Java+JSP 10 times faster than CF? And Other Ruminations.

2004-09-07 Thread Sung Woo
I think the br issue is because of the URL...I've seen this exhibited on some other messages.

Here's my message again, without the link...should be easier to read.

---

I just came back from a weeklong training session with java/JSP 
programming and have a couple of things to discuss.

FYI, I've been a long-time CF programmer (first version of 3.1).I've 
dabbled in UNIX shell scripts, perl, ASP, VB, and Pascal (yes, 
Pascal!) in my past incarnations, and hands down, I have found CF to 
be the best for me.It is the most intuitive programming language 
I've encountered so far.That opinion hasn't changed after my intro 
to java/JSP.

Anyway, here goes:

1) Since CFMX 6.1 is now running off of jrun, is it reasonable to see 
it as a huge and complicated set of JSP custom tags?JSP seems to 
behave very similarly to CF -- you write the code in a .jsp file and 
the compiler creates a .class file after the initial run.There are a 
ton of custom tags for JSP, and after sifting through them, it seems 
like CF can be seen as a large custom tag.

2) To quote Hal Helms:

Java is a high-performance language. Java with JSP (similar to 
ColdFusion for presentation) is over 10 times faster than using 
ColdFusion. A single JSP server can handle 10 times the number of 
simultaneous requests that ColdFusion can.

I found this very disturbing, but I can see how this could be true.
In JSP, the equivalent of a CFOUTPUT of a form field is as follows:

%= ${form_field} %

or

% request.getParameter(form_field) %

Either one will do the job, but when this code is run through the 
runtime compiler, you see two very different code -- the former is 
some form of an evaluate function (which, like Evaluate() in CF, will 
no doubt take more processing power) while the latter goes through 
unchanged, i.e., will be faster.So this got me thinking about CF in 
general.All the minute, annoying things that java requires help it 
run faster.In CF, you can simply declare a variable without regard 
for type -- cfset var = nameand cfset var = 0are both valid 
statements.But let's think about that for a second.Since java 
requires that variables be typed, is it not plausible to think that CF 
code will run less lean, since there will now have to be extra code to 
sort this out?This is pure conjecture on my part; I have no idea.
Since CF can be seen as a custom tag that generates code, who really 
knows how efficient this code-generating is?Is that why Hal says JSP 
is 10 times faster than CF?

3) I'm considering running MachII (after this class, I'm fairly 
convinced of the whole MVC thingy).Will running something like 
MachII make my applications faster?Or is it just a way to organize 
big projects so they don't get out of hand?

4) Is there a way to optimize CF code so it runs the fastest?I know, 
for example, that virtual Query function is dog-slow, and that 
structures are lightning fast.Are there any other tips?Should I be 
utilizing more CFSCRIPT throughout my code?

No matter how much performance increase java/JSP offers, I find the 
whole language ridiculous.Then again, I find most computer languages 
ridiculous.Why shouldn't the parser be smart enough to know that a 
variable is a certain type without having me specify it?Why do I 
need to worry about case sensitivity?You may just call me lazy, but 
when I saw CF, I saw a language that was intelligent.It took the 
silliness out of programming and let me do what I really wanted to do.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Fusebox

2004-09-07 Thread Sean Corfield
I can also recommend Jeff Peters book on Fusebox 4 and FLiP, published
by Proton Arts:

http://www.protonarts.com/

On Tue, 7 Sep 2004 11:21:17 -0400, Greg Luce [EMAIL PROTECTED] wrote:
 Andrew,
 The Code Rutters Discovering Fusebox4 With ColdFusion by John Quarto
 Von Tividar explains it nicely. A must have!
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




cfoutput -- group and maxrows problem

2004-09-07 Thread Christy Wilkens
Hi everyone,

I'm new to the list, but was driven to subscribe by a problem that's been driving me mad for days.

I have three tables: publications, authors, and pub_author. I designed it this way b/c pubs can have multiple authors, and I wanted a controlled list of authors. They're joined like so:

SELECT p.publication_id, p.publication_title, a.author_name, a.author_id
FROMpublications p, publication_author pa, authors a
WHEREp.publication_id = pa.pub_id
AND pa.auth_id = a.author_id

ORDER BY p.publication_title;

...which gives me multiple rows for publications with more than one author.So Pub 1-Auth1, Pub1-Auth2, Pub2-Auth3, Pub3-Auth4 = 4 rows for 3 records. My output uses grouped nested cfoutputs for display, essentially like this:

cfoutput query=research group=publication_title maxrows=10
 #publication_title#
cfoutput
#author_name#
/cfoutput
/cfoutput

But the maxrows attribute goes by the query record count, rather than the count of unique publication_titles. So instead of seeing 10 records per page, I may get 6 or 9 or 7--the system is counting each author row and thinks it's reached 10 before it actually has.

I've tried the custom tag cf_recordcount, and that counts correctly *outside* the record listing (e.g., Found 22 results instead of Found 34), but doesn't affect the way the cfoutput maxrows attribute works.

Am I missing something totally obvious??
Thanks for any help.
-c
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Java+JSP 10 times faster than CF? And Other Ruminations.

2004-09-07 Thread Andrew Grosset
The first posting in this thread has a BR before every word, in the source it looks like this:

bAuthor:/b Sung Woobr

bShort Link:/b a HREF="" style=color: Blue;http://www.houseoffusion.com/lists.cfm/link=m:4:35156:177328/abrbr
I 
brjust 
brcame 
brback 
brfrom 
bra 
brweeklong 
brtraining 
brsession 
brwith 
brjava/JSP 
brprogramming 
brand 

brhave 
bra 
brcouple 
brof 
brthings 
brto 
brdiscuss.
br
br
brFYI, 
brI've
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Any restriction in CFCONTENT?

2004-09-07 Thread Dave Watts
 It is even weirder considering the file was in fact created by CF 
 itself using a call to GetTempFile ()... ;-/

I vaguely recall that the CFCONTENT tag runs within the security context of
the web server, not the CF server itself. I don't know if this is still true
with CFMX, but if so it could cause the problem you're encountering. In
addition, if you try to delete a file so soon after creating it, you might
have a problem there too, as it may well still be locked.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Suggestion for Windows HTML editor

2004-09-07 Thread Damien McKenna
I'm looking for a HTML/CFML editor for Windows with the following 
requirements:

1. A projects system for easily managing a limited directory structure 
regarding an individual project.A simple file browser could suffice.

2. _Good_ syntax highlighting, i.e. able to highlight _javascript_ and 
HTML and CSS in the same file.

3. Good basic features, similar to EditPlus (http://www.editplus.com/).

4. Some sort of snippets / clip-book feature, for often-used code 
snippets.Ideally these should be programmable like NoteTab.

5. Small footprint as my laptop only has 64meg of RAM currently.

6. Code hinting, e.g. I enter cfquery and it shows a tooltip of the 
attributes.

I've gotten good enough with CFML and CSS that I really don't need 
Dreamweaver's WYSIWYG facilities any longer and would like something 
light enough to run on my new laptop at work (500Mhz P3).

In effect I'm looking for a cross between EditPlus (for its wonderful 
basic functionality) and NotePad (for is programmability), with a few 
extras.

Any suggestions?

I'm not interested in Eclipse as it is too big for me, and a little OTT 
for basic text editing.
-- 
Damien McKenna - Web Developer - [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
Nothing endures but change. - Heraclitus
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Any restriction in CFCONTENT?

2004-09-07 Thread Claude Schneegans
if you try to delete a file so soon after creating it, you might
have a problem there too, as it may well still be locked.

I understand, but isn't CFCONTENT supposed to take care of this if
1. the file was created by CF itself,
2. CFCONTENT provides an attribute to delete the file after, I mean I'm not deleting the file myself.

Now I used the same directory the template is, it works, I mean it returns the file,
but the file is still not deleted.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Suggestion for Windows HTML editor

2004-09-07 Thread Lawrence Ng
I'd stick with Studio.. using it for years and still do.

 [EMAIL PROTECTED] 9/7/2004 12:07:33 PM 
I'm looking for a HTML/CFML editor for Windows with the following 
requirements:

1. A projects system for easily managing a limited directory structure

regarding an individual project.A simple file browser could suffice.

2. _Good_ syntax highlighting, i.e. able to highlight _javascript_ and 
HTML and CSS in the same file.

3. Good basic features, similar to EditPlus
(http://www.editplus.com/).

4. Some sort of snippets / clip-book feature, for often-used code 
snippets.Ideally these should be programmable like NoteTab.

5. Small footprint as my laptop only has 64meg of RAM currently.

6. Code hinting, e.g. I enter cfquery and it shows a tooltip of the 
attributes.

I've gotten good enough with CFML and CSS that I really don't need 
Dreamweaver's WYSIWYG facilities any longer and would like something 
light enough to run on my new laptop at work (500Mhz P3).

In effect I'm looking for a cross between EditPlus (for its wonderful 
basic functionality) and NotePad (for is programmability), with a few 
extras.

Any suggestions?

I'm not interested in Eclipse as it is too big for me, and a little OTT

for basic text editing.
-- 
Damien McKenna - Web Developer - [EMAIL PROTECTED] 
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
Nothing endures but change. - Heraclitus
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Suggestion for Windows HTML editor

2004-09-07 Thread Bryan Stevenson
Anything wrong with CF Studio or HomeSite+ ??

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




  1   2   >