CF on Linux

2003-11-13 Thread Ryan Sabir
Hi all,

I'm a long time CF on Windows user who's thinking of dabbling with
Linux as a possible future server platform.

While my Cold Fusion skills are quite high, I'm a pretty basic Linux
user. I can set up a box and know my way around the file system , but
have never had to configure a web server from scratch.

How does the CF install experience compare to that of Windows? Am I
looking at hours of fiddling around with config files and pulling my
hair out? Or will I be leaning back in my chair sipping daiquiris and
pressing the 'y' key every now and then?

The target platform I'm looking at if RedHat 7.3, running Tomcat. A
client has specifically requested this config.. is it sensible? I've
noticed that Tomcat isn't officially supported by MM, though they have
a few technotes on the install process.

Thanks, bye!

---
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig 

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




Re: CF on Linux

2003-11-13 Thread exciteworks hosting
Ryan,

We run CF on multiple distros of linux, and it is very stable!More so 
thanWindows ever was for me.

We currently have several servers running redhat 7.2, 7.3 and 9.

We have a config similar to what you are wanting to do.Redhat 7.3 with 
CFMX 6.1 running on JRUN, but also running tomcat.I don't think you 
can run CF on top of Tomcat, but you can run Tomcat as another process 
on the server simultaneously.If you want to use verity, I would stick 
with 7.2

If you like I can config a virtual dedicated server for you with 
unlimited bandwidth for only $40 a month -- exactly how you want 
it...Personally I have been admining Linux for several years, and have 
really gotten into CF on Linux over the past 2 years.

The install is very easy, but you need to know where the apache conf
files are, and you need to know a bit about administering apache as 
well.There will definitely be a learning curve, but it is worth it...I 
will never admin windows again, unless a client insists of course...once 
you get the server up and running, you will be loving it...the uptime 
has been so much better on linux than it ever has been on windows for me.

If you have any questions, I'd be happy to help.Look up my contact 
info at http://exciteworks.com ( I don't post my email addresses here 
due to way to many spammers).

HTH,

---
Josh Trefethen
Exciteworks, Inc
http://exiteworks.com

Ryan Sabir wrote:

 Hi all,

 I'm a long time CF on Windows user who's thinking of dabbling with
 Linux as a possible future server platform.

 While my Cold Fusion skills are quite high, I'm a pretty basic Linux
 user. I can set up a box and know my way around the file system , but
 have never had to configure a web server from scratch.

 How does the CF install experience compare to that of Windows? Am I
 looking at hours of fiddling around with config files and pulling my
 hair out? Or will I be leaning back in my chair sipping daiquiris and
 pressing the 'y' key every now and then?

 The target platform I'm looking at if RedHat 7.3, running Tomcat. A
 client has specifically requested this config.. is it sensible? I've
 noticed that Tomcat isn't officially supported by MM, though they have
 a few technotes on the install process.

 Thanks, bye!

 ---
 Ryan Sabir
 Newgency Pty Ltd
 2a Broughton St
 Paddington 2021
 Sydney, Australia
 Ph (02) 9331 2133
 Fax (02) 9331 5199
 Mobile: 0411 512 454
 http://www.newgency.com/index.cfm?referer=rysig
 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Odd db error

2003-11-13 Thread Thomas Chiverton
On Wednesday 12 Nov 2003 20:12 pm, Nathan Strutz wrote:
 Solving it is difficult...

But apperently will be addressd in a patch in a few weeks time.

-- 
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]




Re: Re[2]: Best Practices

2003-11-13 Thread Calvin Ward
However, it doesn't feel like it is a good solution.

What does the HTTP specification say about performing GET and POST operations on the same request? 
How does every browser version and OS combination handle GET and POST in the same HTTP call? 

Thoughts?

- Calvin
- Original Message - 
From: Ubqtous 
To: CF-Talk 
Sent: Wednesday, November 12, 2003 8:07 PM
Subject: Re[2]: Best Practices

Mickael,

On Wednesday, November 12, 2003, 7:41:27 PM, you wrote:

M But my form method is post not get wouldn't that cause that to
M fail?

Nope... you can do both!

~ Ubqtous ~


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




Re: Re[2]: Best Practices

2003-11-13 Thread Jochem van Dieten
Calvin Ward said:
 However, it doesn't feel like it is a good solution.

 What does the HTTP specification say about performing GET and POST
 operations on the same request?

That it is not possible. HTTP requests can only have one verb.

Jochem


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




ADMIN: probs with archive?

2003-11-13 Thread d.a.collie
Hello,

Searching on 'Connection Failure' through google

http://www.google.com/search?hl=enlr=ie=UTF-8oe=UTF-8q=CFHTTP+Connec
tion+Failure

And get the following link as an example

http://www.houseoffusion.com/cf_lists/cache.cfm/4/6/6085.htm

I am getting an 'error in display' message for most of them I try

http://www.houseoffusion.com/cf_lists/cache.cfm/4/12/12077.htm

Apologies if you are already aware of this.

Cheers,

-dc

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




RE: Network

2003-11-13 Thread Ben Scammell
70 - 85 200k images per minute is 260k per second.which is approx 2080kbps (kilo bits per second).which is 2mbps (mega bits per second)

 
So if you LAN is 10mbps it should cope!

 
If you are using a Hub (not a switch) more users will result in more collisions and lower speed.on a application such as you outline I would expect a switch to help the situation considerably.

 
A SCSI disk will no doubt help signfigantly also, as average seek time will be much lower (in practice) than an IDE device.

 
HTH

 
Cheers

 
Ben

	-Original Message- 
	From: Doug White [mailto:[EMAIL PROTECTED] 
	Sent: Thu 13/11/2003 04:26 
	To: CF-Talk 
	Cc: 
	Subject: Re: Network
	
	
	70 to 85 200 k images per minute? I think you are maxing out your network
	bandwidth.
	
	Ever consider converting them to jpeg format (compressed) to reduce file size
	and thus bandwidth requirement?
	
	To find out what a particular node speed is, mouse over the network icon in the
	system tray
	
	==
	Stop spam on your domain, use our gateway!
	For hosting solutions http://www.clickdoug.com
	Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and all databases.
	Suggested corporate Anti-virus policy: http://www.dshield.org/antivirus.pdf
	==
	If you are not satisfied with my service, my job isn't done!
	
	- Original Message - 
	From: brob [EMAIL PROTECTED]
	To: CF-Talk [EMAIL PROTECTED]
	Sent: Wednesday, November 12, 2003 10:06 PM
	Subject: Network
	
	| Hey guys, right now we have an app that allows our people to view files
	(intranet app), and tag them (tagging the ones with a document number on the
	top).We're viewing like 70+ tiff images a minute.It is fine when one user is
	hitting the server. But when we get 5 people to hit the server, it frequently
	takes a bit longer for each image to show up. We can't have that, as this guy
	can tag anywhere from 70 to 85 images a minute.
	|
	| The images vary from 50k to 200k in size, and i am confused why that would
	slow down the network I thought a closed network in general is pretty fast.Is
	there any way to speed up the network?right now we use a 10/100mbps hub.and
	also i am wonderin how do u know if your network is running at 10mbps or
	100mbps??
	|
	| Or maybe it would help if we got a faster hard drive?right now it's a
	7200rpm would it help to get a scsi hard drive, in terms of spitting out an
	image to the network?
	|
	| Thankie!
	| 
_

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




Re: Re[2]: Best Practices

2003-11-13 Thread Calvin Ward
I suppose it seems that since the url parameter is not part of the form itself, isn't it a GET, even when you've specified a POST as the method in the form?

And incidentally, I wonder how it is handled if you send the same named variable in the query string and a form field with method POST... If it were 2 form fields with the same name, you would typically get a comma delimited list, but I suspect that it might not work that way with the query string and form field technique.

- Calvin
- Original Message - 
From: Jochem van Dieten 
To: CF-Talk 
Sent: Thursday, November 13, 2003 6:19 AM
Subject: Re: Re[2]: Best Practices

Calvin Ward said:
 However, it doesn't feel like it is a good solution.

 What does the HTTP specification say about performing GET and POST
 operations on the same request?

That it is not possible. HTTP requests can only have one verb.

Jochem


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




RE: Re[2]: Best Practices

2003-11-13 Thread Philip Arnold
 And incidentally, I wonder how it is handled if you send the
 same named variable in the query string and a form field with
 method POST... If it were 2 form fields with the same name,
 you would typically get a comma delimited list, but I suspect
 that it might not work that way with the query string and
 form field technique.

Well, it would hand the one that you scope it to

If you ask for URL.myVar, then you'd get the URL version
If you ask for form.myVar, then you'd get the Form version

You DO scope your variables, don't you?


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




RE: Re[2]: Best Practices

2003-11-13 Thread Tangorre, Michael
Doesn't everyone?:-)

-Original Message-
From: Philip Arnold [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 7:20 AM
To: CF-Talk
Subject: RE: Re[2]: Best Practices

 And incidentally, I wonder how it is handled if you send the
 same named variable in the query string and a form field with
 method POST... If it were 2 form fields with the same name,
 you would typically get a comma delimited list, but I suspect
 that it might not work that way with the query string and
 form field technique.

Well, it would hand the one that you scope it to

If you ask for URL.myVar, then you'd get the URL version
If you ask for form.myVar, then you'd get the Form version

You DO scope your variables, don't you?

_


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




Re: Re[2]: Best Practices

2003-11-13 Thread Jochem van Dieten
Calvin Ward said:
 I suppose it seems that since the url parameter is not part of the
 form itself, isn't it a GET, even when you've specified a POST as
 the method in the form?

HTTP requests can only have one verb, so a request is either a GET or
a POST (or a HEAD, OPTIONS, PUT etc.). Please refer to RFC 2616 for
details on the formal definition of HTTP.

The presence of parameters in the URL is not related to the verb of
the request.

 And incidentally, I wonder how it is handled if you send the same
 named variable in the query string and a form field with method
 POST... If it were 2 form fields with the same name, you would
 typically get a comma delimited list, but I suspect that it might
 not work that way with the query string and form field technique.

I would expect one to show up in the form structure and one to show up
in the URL structure. But it is easy to test ;-)

Jochem


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




Re:CF on Linux

2003-11-13 Thread David Adams
I am new to Linux as well and the installation of CF went so smooth it was almost anti climatic.

I would encourage others to look into this platform as well.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Re[2]: Best Practices

2003-11-13 Thread Dave Watts
 I suppose it seems that since the url parameter is not 
 part of the form itself, isn't it a GET, even when you've 
 specified a POST as the method in the form?

No. If you look at the text of the HTTP request in such a case, the first
line would look something like this:

POST /myfile.cfm?foo=bar ...

and your form fields would be in the HTTP request body.

 And incidentally, I wonder how it is handled if you send the 
 same named variable in the query string and a form field with 
 method POST... If it were 2 form fields with the same name, 
 you would typically get a comma delimited list, but I suspect 
 that it might not work that way with the query string and 
 form field technique.

You'd have to use the appropriate scope prefix to get to the one that you
want, in that case.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

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




RE: OT - Scsi hd

2003-11-13 Thread Robert Orlini
Mark,

 
Just found out I have a raid card setup. I don't have much experience with this. Is there some sort of steps I have to follow to have the card recognize the new HDs. Is there a way I can go without the raid card?

 
Robert O.

-Original Message-
From: Mark W. Breneman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 4:34 PM
To: CF-Talk
Subject: RE: OT - Scsi hd

Robert,

Do you have the driver disk (probably a floppy) that came with the
Adaptec card?I am thinking that you will need to specify an additional
driver for the Adaptec card when you do the windows 2000 install.(Hit
F6 during the install when it tells you to.)

I seem to remember a server of mine momentary, when doing an install,
flashing to a BSOD (Blue Screen Of Death), then rebooting, if I did not
load the driver for my Adaptec card.

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com
608.270.9770

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2003 3:03 PM
To: CF-Talk
Subject: OT - Scsi hd

Sorry this is OT, but it's only one of the few times I've asked.

I need to upgrade my server running CF. I have SCSI HD's and an Adaptec
Array adapter. I installed the new HD and then one of the older larger
HD's which I will put the OS (windows 200) on it. I setup the cd-rom as
the boot and put the 2000 cd in it. However, the system boots,
recognizes the HDs, the light comes on the cd but it then reboots and
does not start the Server 2000 setup.

Did I explain enough or is there more to this than meets the eye?

Thanks as always and excuse the OT on this please.

Robert Orlini
HW Wilson
718-588-8400 x2656
¿

_

_


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




RE: CF on Linux

2003-11-13 Thread Yves Arsenault
Hello Ryan,

I've been learning Linux on and off for the last year... I have 2 systems
here that I have set up.

Mandrake 9.0 with Apache 1.3.26, BlueDragon 3.0.2 (Free version), MySQL
3.xx, and BIND 9.2, it was a learning curb to set up, this was my first set
up attemp, but after learning how to set it up (by just doing it) and
countless web ressources this little server is very stable.

My new system is RedHat 9, Apache 2.0.48, MySQL 3.xx, Bind 9.2.1 and CFMX
6.1. I took my time to install this, had a hard time finding drivers for my
NIC... after the install I noticed I made a mistake in the config, so the
next day I reinstalled the system completly, in a couple of hours, I was up
with no problems.

So far this system is running very well also, it still hasn't had alot of
work, but it looks good so far.

Yves
-Original Message-
From: Ryan Sabir [mailto:[EMAIL PROTECTED]
Sent: 13 novembre 2003 03:41
To: CF-Talk
Subject: CF on Linux

Hi all,

I'm a long time CF on Windows user who's thinking of dabbling with
Linux as a possible future server platform.

While my Cold Fusion skills are quite high, I'm a pretty basic Linux
user. I can set up a box and know my way around the file system , but
have never had to configure a web server from scratch.

How does the CF install experience compare to that of Windows? Am I
looking at hours of fiddling around with config files and pulling my
hair out? Or will I be leaning back in my chair sipping daiquiris and
pressing the 'y' key every now and then?

The target platform I'm looking at if RedHat 7.3, running Tomcat. A
client has specifically requested this config.. is it sensible? I've
noticed that Tomcat isn't officially supported by MM, though they have
a few technotes on the install process.

Thanks, bye!

---
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig


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




RE: OT - Scsi hd

2003-11-13 Thread Schuster, Steven
Go into your setup and create a driver disk. All versions of adaptec support
this. I can't remember where in the setup it is but it is there. Once you
have created the floppy when you reboot, put your Windows 2000 disk in to
install 2000. During the install it will ask you for any 3rd party raid
drivers. Press 'F6' at that time during setup. It will then prompt you for a
disk. Insert the disk you created through the adaptec create disk utility in
setup. It will read in the drivers and continue to do the 2000 install
except now when you get to the drive designations to choose a base partition
for the install you will now see your raid drive.

 
Steve

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 8:28 AM
To: CF-Talk
Subject: RE: OT - Scsi hd

 
Mark,

Just found out I have a raid card setup. I don't have much experience with
this. Is there some sort of steps I have to follow to have the card
recognize the new HDs. Is there a way I can go without the raid card?

Robert O.

-Original Message-
From: Mark W. Breneman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 4:34 PM
To: CF-Talk
Subject: RE: OT - Scsi hd

Robert,

Do you have the driver disk (probably a floppy) that came with the
Adaptec card?I am thinking that you will need to specify an additional
driver for the Adaptec card when you do the windows 2000 install.(Hit
F6 during the install when it tells you to.)

I seem to remember a server of mine momentary, when doing an install,
flashing to a BSOD (Blue Screen Of Death), then rebooting, if I did not
load the driver for my Adaptec card.

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com
608.270.9770

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2003 3:03 PM
To: CF-Talk
Subject: OT - Scsi hd

Sorry this is OT, but it's only one of the few times I've asked.

I need to upgrade my server running CF. I have SCSI HD's and an Adaptec
Array adapter. I installed the new HD and then one of the older larger
HD's which I will put the OS (windows 200) on it. I setup the cd-rom as
the boot and put the 2000 cd in it. However, the system boots,
recognizes the HDs, the light comes on the cd but it then reboots and
does not start the Server 2000 setup.

Did I explain enough or is there more to this than meets the eye?

Thanks as always and excuse the OT on this please.

Robert Orlini
HW Wilson
718-588-8400 x2656
¿

_

_

_


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




OT: RE: CF on Linux

2003-11-13 Thread Josh Remus
Just a question for those of you running CF on RH 7/8/9What are you
doing (if these are production servers) to deal with the End-Of-Life of
these products?We're confronting this right now, although not for CF.Any
opinions on this would be appreciated.

Josh
-Original Message-
From: Yves Arsenault [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:36 AM
To: CF-Talk
Subject: RE: CF on Linux

Hello Ryan,

I've been learning Linux on and off for the last year... I have 2 systems
here that I have set up.

Mandrake 9.0 with Apache 1.3.26, BlueDragon 3.0.2 (Free version), MySQL
3.xx, and BIND 9.2, it was a learning curb to set up, this was my first
set
up attemp, but after learning how to set it up (by just doing it) and
countless web ressources this little server is very stable.

My new system is RedHat 9, Apache 2.0.48, MySQL 3.xx, Bind 9.2.1 and CFMX
6.1. I took my time to install this, had a hard time finding drivers for
my
NIC... after the install I noticed I made a mistake in the config, so the
next day I reinstalled the system completly, in a couple of hours, I was
up
with no problems.

So far this system is running very well also, it still hasn't had alot of
work, but it looks good so far.

Yves
 -Original Message-
 From: Ryan Sabir [mailto:[EMAIL PROTECTED]
 Sent: 13 novembre 2003 03:41
 To: CF-Talk
 Subject: CF on Linux

 Hi all,

 I'm a long time CF on Windows user who's thinking of dabbling with
 Linux as a possible future server platform.

 While my Cold Fusion skills are quite high, I'm a pretty basic Linux
 user. I can set up a box and know my way around the file system , but
 have never had to configure a web server from scratch.

 How does the CF install experience compare to that of Windows? Am I
 looking at hours of fiddling around with config files and pulling my
 hair out? Or will I be leaning back in my chair sipping daiquiris and
 pressing the 'y' key every now and then?

 The target platform I'm looking at if RedHat 7.3, running Tomcat. A
 client has specifically requested this config.. is it sensible? I've
 noticed that Tomcat isn't officially supported by MM, though they have
 a few technotes on the install process.

 Thanks, bye!

 ---
 Ryan Sabir
 Newgency Pty Ltd
 2a Broughton St
 Paddington 2021
 Sydney, Australia
 Ph (02) 9331 2133
 Fax (02) 9331 5199
 Mobile: 0411 512 454
 http://www.newgency.com/index.cfm?referer=rysig


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




Re: OT: RE: CF on Linux

2003-11-13 Thread Thomas Chiverton
On Thursday 13 Nov 2003 13:48 pm, Josh Remus wrote:
 Just a question for those of you running CF on RH 7/8/9What are you
 doing (if these are production servers) to deal with the End-Of-Life of
 these products?We're confronting this right now, although not for CF. 
 Any opinions on this would be appreciated.

There is no problem.
If you were on the 'free' RH7-9's, then swap to using RH Fedora, which is also 
free. Fedora is basicaly RHX, but with a small change in the way it is 
supported.

If you were on the 'non-free' server version, you don't need to worry.

-- 
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]




RE: RE: CF on Linux

2003-11-13 Thread Yves Arsenault
That is something I've been wondering... I originally decided on RedHat
because it is a very common distro.
I was, until just very recently, unaware that they were pulling the plug on
it.

Debian is a distro I've been looking at.
I also do like Mandrake, which I am currently using on another...

Yves
-Original Message-
From: Josh Remus [mailto:[EMAIL PROTECTED]
Sent: 13 novembre 2003 09:49
To: CF-Talk
Subject: OT: RE: CF on Linux

Just a question for those of you running CF on RH 7/8/9What are you
doing (if these are production servers) to deal with the End-Of-Life of
these products?We're confronting this right now, although not for CF.
Any
opinions on this would be appreciated.

Josh
 -Original Message-
 From: Yves Arsenault [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 13, 2003 8:36 AM
 To: CF-Talk
 Subject: RE: CF on Linux

 Hello Ryan,

 I've been learning Linux on and off for the last year... I have 2
systems
 here that I have set up.

 Mandrake 9.0 with Apache 1.3.26, BlueDragon 3.0.2 (Free version), MySQL
 3.xx, and BIND 9.2, it was a learning curb to set up, this was my first
set
 up attemp, but after learning how to set it up (by just doing it) and
 countless web ressources this little server is very stable.

 My new system is RedHat 9, Apache 2.0.48, MySQL 3.xx, Bind 9.2.1 and
CFMX
 6.1. I took my time to install this, had a hard time finding drivers for
my
 NIC... after the install I noticed I made a mistake in the config, so
the
 next day I reinstalled the system completly, in a couple of hours, I was
up
 with no problems.

 So far this system is running very well also, it still hasn't had alot
of
 work, but it looks good so far.

 Yves
-Original Message-
From: Ryan Sabir [mailto:[EMAIL PROTECTED]
Sent: 13 novembre 2003 03:41
To: CF-Talk
Subject: CF on Linux

Hi all,

I'm a long time CF on Windows user who's thinking of dabbling with
Linux as a possible future server platform.

While my Cold Fusion skills are quite high, I'm a pretty basic Linux
user. I can set up a box and know my way around the file system , but
have never had to configure a web server from scratch.

How does the CF install experience compare to that of Windows? Am I
looking at hours of fiddling around with config files and pulling my
hair out? Or will I be leaning back in my chair sipping daiquiris and
pressing the 'y' key every now and then?

The target platform I'm looking at if RedHat 7.3, running Tomcat. A
client has specifically requested this config.. is it sensible? I've
noticed that Tomcat isn't officially supported by MM, though they have
a few technotes on the install process.

Thanks, bye!

---
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig


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




RE: OT - Scsi hd

2003-11-13 Thread Robert Orlini
Steve,

 
I have the Windows 2000 cd-rom in my cd player and have the cd player as boot device, but it does not go into the Windows Setup instead it reboots. The Array config shows the new HD as SCSI ID #8 and the card at #7. Is that a problem?

 
Robert O.

-Original Message-
From: Schuster, Steven [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:45 AM
To: CF-Talk
Subject: RE: OT - Scsi hd

Go into your setup and create a driver disk. All versions of adaptec support
this. I can't remember where in the setup it is but it is there. Once you
have created the floppy when you reboot, put your Windows 2000 disk in to
install 2000. During the install it will ask you for any 3rd party raid
drivers. Press 'F6' at that time during setup. It will then prompt you for a
disk. Insert the disk you created through the adaptec create disk utility in
setup. It will read in the drivers and continue to do the 2000 install
except now when you get to the drive designations to choose a base partition
for the install you will now see your raid drive.

Steve

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 8:28 AM
To: CF-Talk
Subject: RE: OT - Scsi hd

Mark,

Just found out I have a raid card setup. I don't have much experience with
this. Is there some sort of steps I have to follow to have the card
recognize the new HDs. Is there a way I can go without the raid card?

Robert O.

-Original Message-
From: Mark W. Breneman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 4:34 PM
To: CF-Talk
Subject: RE: OT - Scsi hd

Robert,

Do you have the driver disk (probably a floppy) that came with the
Adaptec card?I am thinking that you will need to specify an additional
driver for the Adaptec card when you do the windows 2000 install.(Hit
F6 during the install when it tells you to.)

I seem to remember a server of mine momentary, when doing an install,
flashing to a BSOD (Blue Screen Of Death), then rebooting, if I did not
load the driver for my Adaptec card.

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com
608.270.9770

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2003 3:03 PM
To: CF-Talk
Subject: OT - Scsi hd

Sorry this is OT, but it's only one of the few times I've asked.

I need to upgrade my server running CF. I have SCSI HD's and an Adaptec
Array adapter. I installed the new HD and then one of the older larger
HD's which I will put the OS (windows 200) on it. I setup the cd-rom as
the boot and put the 2000 cd in it. However, the system boots,
recognizes the HDs, the light comes on the cd but it then reboots and
does not start the Server 2000 setup.

Did I explain enough or is there more to this than meets the eye?

Thanks as always and excuse the OT on this please.

Robert Orlini
HW Wilson
718-588-8400 x2656
¿

_

_

_

_


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




Re: Network

2003-11-13 Thread Andrew Golden
|| The images vary from 50k to 200k in size, and i am confused why that would
slow down the network I thought a closed network in general is pretty 
fast.Is
there any way to speed up the network?right now we use a 10/100mbps 
hub.and
also i am wonderin how do u know if your network is running at 10mbps or
100mbps??

Are the images on a drive by themselves or do you have other things (i.e. 
DB, webserver files, or more importantly, webserver AND cf log files) 
located on the same drive. If you have your webserver logs on the same 
disk, every single request will require a read of the image file and a 
write to the log file on the same disk, which are undoubtedly stored on 
different parts of the platters and can cause substantial speed hits. I 
wouldn't think you are pushing your disk subsytem to the limits of its 
capabilities but it is certainly a possibility. Reading/Writing one large 
file will give you much higher performance then reading/writing lots of 
small files.

andrew golden 


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




RE: Best Practices

2003-11-13 Thread Ian Skinner
Just incase you wanted to, you can pass URL variables in a form action.

 
form action="" method=post

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

-Original Message-
From: Andy Ousterhout [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 7:53 PM
To: CF-Talk
Subject: RE: Best Practices 

If the user always has to click on a button to move to the next step, you
may
wish to place the reports needed in a hidden form variable rather then in a
URL variable.You may find that this increases the clarity of the code,
especially when someone has to come back to the page at a later date.

Andy
-Original Message-
From: Mickael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 4:45 PM
To: CF-Talk
Subject: Best Practices

Hello,

I am in the middle of reworking an app and trying to eliminate many of the
templates that were created by me (in my cut paste, make a new template days
instead of making smarter templates)

What is have in essence are 6 reports that are practically the same the
differences are they run the same queries on different tables, and update
them
as well.

Each page is a report is a self posting page that has reports that need to
be checked off by the user as completed.

So now this is what I am trying to do.When the user clicks on the report
I
have appended ?Reportname=myreport to the link.

Now I have a case statement that uses #url.reportname# that will set all
my
variables for that page.Until now it is fine.The only problem that I am
running into is when I try posting the page to itself to the the update (set
the completed from 0 to 1) of course my reportname variable is non existant.
What would be the most best way to do set up this?When I try to post the
same page of course my URL.ReportName does not exist so my switch statement
does not work.

Any pointers in the right direction would be much appreciated.

Thanks.

Mike

_


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




Re: Re[2]: Best Practices

2003-11-13 Thread Mickael
Thanks Dave and everyone

It works great!
- Original Message - 
From: Dave Watts 
To: CF-Talk 
Sent: Thursday, November 13, 2003 8:37 AM
Subject: RE: Re[2]: Best Practices

 I suppose it seems that since the url parameter is not 
 part of the form itself, isn't it a GET, even when you've 
 specified a POST as the method in the form?

No. If you look at the text of the HTTP request in such a case, the first
line would look something like this:

POST /myfile.cfm?foo=bar ...

and your form fields would be in the HTTP request body.

 And incidentally, I wonder how it is handled if you send the 
 same named variable in the query string and a form field with 
 method POST... If it were 2 form fields with the same name, 
 you would typically get a comma delimited list, but I suspect 
 that it might not work that way with the query string and 
 form field technique.

You'd have to use the appropriate scope prefix to get to the one that you
want, in that case.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444


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




Re: Best Practices

2003-11-13 Thread Kevin Graeme
I like the idea of just moving the url variable into a hidden form variable.
Since the question is about best practices, would there be any reason not to
set the url variable to a session variable instead?

And if the goal is to reduce templates, I can see this whole process
happening on a single template.

Very roughly:

If url.variable exists, set its value to the session.variable
run appropriate queries based on that session variable
ElseIf no url.variable but session.variable already exists
run appropriate queries based on that session variable
Else
display a selection of reports as links that pass url.variable

The advantage of this would be to let the user skip off to other pages then
come back and still see the report without having to explicitly select it
again.

-Kevin

- Original Message - 
From: Andy Ousterhout [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 9:53 PM
Subject: RE: Best Practices

 If the user always has to click on a button to move to the next step, you
may
 wish to place the reports needed in a hidden form variable rather then in
a
 URL variable.You may find that this increases the clarity of the code,
 especially when someone has to come back to the page at a later date.

 Andy
-Original Message-
From: Mickael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 4:45 PM
To: CF-Talk
Subject: Best Practices


Hello,

I am in the middle of reworking an app and trying to eliminate many of
the
 templates that were created by me (in my cut paste, make a new template
days
 instead of making smarter templates)

What is have in essence are 6 reports that are practically the same the
 differences are they run the same queries on different tables, and update
them
 as well.

Each page is a report is a self posting page that has reports that need
to
 be checked off by the user as completed.

So now this is what I am trying to do.When the user clicks on the
report I
 have appended ?Reportname=myreport to the link.

Now I have a case statement that uses #url.reportname# that will set all
my
 variables for that page.Until now it is fine.The only problem that I
am
 running into is when I try posting the page to itself to the the update
(set
 the completed from 0 to 1) of course my reportname variable is non
existant.
 What would be the most best way to do set up this?When I try to post the
 same page of course my URL.ReportName does not exist so my switch
statement
 does not work.

Any pointers in the right direction would be much appreciated.

Thanks.

Mike



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




How to deal with RH 7/8/9 EOL [was: CF on Linux]

2003-11-13 Thread Jochem van Dieten
Josh Remus said:
 Just a question for those of you running CF on RH 7/8/9What are
 you doing (if these are production servers) to deal with the
 End-Of-Life of these products?We're confronting this right now,
 although not for CF.

Of the firms I know of, there is only one where they worked with
RedHat (not even for CF) but the consensus there is: nothing.
It has been verified that the tool chain works so when the community
stops producing RPMs it is possible to get the patch for whatever
needs fixing and compile it. But that is not expected, because if the
issue is serious the community will produce RPMs, and if it is not
serious you can just ignore the patch.

Long term there will probably be a move to Debian. If you are willing
to invest a little bit in working with the community, community
support is just as good if not better as commercial support anyway
(with the possible exception of bugs that are boring and tedious to
fix, but then you can scratch your own itch).
Unless we are talking about mission critical, 'engineer onsite in 4
hours' support. But for that type of support you can get a specialized
consultancy firm.

Jochem


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




Verity problems

2003-11-13 Thread Cliff Meyers
Hello,

I'm having some problems with Verity that I thought perhaps someone may be able to shed some light on.I'm running CFMX 6.1 on RedHat 7.2 (with the compat-libstdc++-6.2 RPM installed for Verity compatibility).

I indexed about 20 text files using the CF Admin and that appeared to be successful (there were no errors in the sysinfo.log file inside the collection).

However, when I run a search (type = simple) against the collection I am always getting all 20 records returned.No matter what I put in the cfsearch critera attribute - even if it's a total nonsense string - I get all 20 records back.Furthermore, the result set has an empty string under the score column for each row.

Can anyone offer some assistance here?I posted on CF-Linux also but it doesn't seem like I'll be getting a response on this one.Thanks so much for your help.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Best Practices

2003-11-13 Thread Calvin Ward
I personally prefer not to mix and match url and form variables and would simply use a hidden form field.

- Calvin
- Original Message - 
From: Kevin Graeme 
To: CF-Talk 
Sent: Thursday, November 13, 2003 9:17 AM
Subject: Re: Best Practices 

I like the idea of just moving the url variable into a hidden form variable.
Since the question is about best practices, would there be any reason not to
set the url variable to a session variable instead?

And if the goal is to reduce templates, I can see this whole process
happening on a single template.

Very roughly:

If url.variable exists, set its value to the session.variable
 run appropriate queries based on that session variable
ElseIf no url.variable but session.variable already exists
 run appropriate queries based on that session variable
Else
 display a selection of reports as links that pass url.variable

The advantage of this would be to let the user skip off to other pages then
come back and still see the report without having to explicitly select it
again.

-Kevin

- Original Message - 
From: Andy Ousterhout [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 9:53 PM
Subject: RE: Best Practices

 If the user always has to click on a button to move to the next step, you
may
 wish to place the reports needed in a hidden form variable rather then in
a
 URL variable.You may find that this increases the clarity of the code,
 especially when someone has to come back to the page at a later date.

 Andy
-Original Message-
From: Mickael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 4:45 PM
To: CF-Talk
Subject: Best Practices


Hello,

I am in the middle of reworking an app and trying to eliminate many of
the
 templates that were created by me (in my cut paste, make a new template
days
 instead of making smarter templates)

What is have in essence are 6 reports that are practically the same the
 differences are they run the same queries on different tables, and update
them
 as well.

Each page is a report is a self posting page that has reports that need
to
 be checked off by the user as completed.

So now this is what I am trying to do.When the user clicks on the
report I
 have appended ?Reportname=myreport to the link.

Now I have a case statement that uses #url.reportname# that will set all
my
 variables for that page.Until now it is fine.The only problem that I
am
 running into is when I try posting the page to itself to the the update
(set
 the completed from 0 to 1) of course my reportname variable is non
existant.
 What would be the most best way to do set up this?When I try to post the
 same page of course my URL.ReportName does not exist so my switch
statement
 does not work.

Any pointers in the right direction would be much appreciated.

Thanks.

Mike



 

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




Re: Re[2]: Best Practices

2003-11-13 Thread Calvin Ward
The question was theoritical in nature, not everyone scopes variables, I'm sure we all realize.

- Calvin
- Original Message - 
From: Philip Arnold 
To: CF-Talk 
Sent: Thursday, November 13, 2003 7:19 AM
Subject: RE: Re[2]: Best Practices

 And incidentally, I wonder how it is handled if you send the
 same named variable in the query string and a form field with
 method POST... If it were 2 form fields with the same name,
 you would typically get a comma delimited list, but I suspect
 that it might not work that way with the query string and
 form field technique.

Well, it would hand the one that you scope it to

If you ask for URL.myVar, then you'd get the URL version
If you ask for form.myVar, then you'd get the Form version

You DO scope your variables, don't you?


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




RE: OT - Scsi hd

2003-11-13 Thread Schuster, Steven
No , the SCSI will not boot by default until it has been configured. I am
assuming you have cleaned these SCSI drives using the setup utility and
formatted them, correct? Regardless that should not matter from a boot
point. Is the CD for 2000 you have an ISO bootable CD or just a copy. Unless
you specifically created an ISO bootable CD then you will never get it to
boot , instead it must be loaded onto an existing windows systems and be
allowed to do an Update.

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 9:04 AM
To: CF-Talk
Subject: RE: OT - Scsi hd

 
Steve,

I have the Windows 2000 cd-rom in my cd player and have the cd player as
boot device, but it does not go into the Windows Setup instead it reboots.
The Array config shows the new HD as SCSI ID #8 and the card at #7. Is that
a problem?

Robert O.

-Original Message-
From: Schuster, Steven [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:45 AM
To: CF-Talk
Subject: RE: OT - Scsi hd

Go into your setup and create a driver disk. All versions of adaptec support
this. I can't remember where in the setup it is but it is there. Once you
have created the floppy when you reboot, put your Windows 2000 disk in to
install 2000. During the install it will ask you for any 3rd party raid
drivers. Press 'F6' at that time during setup. It will then prompt you for a
disk. Insert the disk you created through the adaptec create disk utility in
setup. It will read in the drivers and continue to do the 2000 install
except now when you get to the drive designations to choose a base partition
for the install you will now see your raid drive.

Steve

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 8:28 AM
To: CF-Talk
Subject: RE: OT - Scsi hd

Mark,

Just found out I have a raid card setup. I don't have much experience with
this. Is there some sort of steps I have to follow to have the card
recognize the new HDs. Is there a way I can go without the raid card?

Robert O.

-Original Message-
From: Mark W. Breneman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 4:34 PM
To: CF-Talk
Subject: RE: OT - Scsi hd

Robert,

Do you have the driver disk (probably a floppy) that came with the
Adaptec card?I am thinking that you will need to specify an additional
driver for the Adaptec card when you do the windows 2000 install.(Hit
F6 during the install when it tells you to.)

I seem to remember a server of mine momentary, when doing an install,
flashing to a BSOD (Blue Screen Of Death), then rebooting, if I did not
load the driver for my Adaptec card.

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com
608.270.9770

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2003 3:03 PM
To: CF-Talk
Subject: OT - Scsi hd

Sorry this is OT, but it's only one of the few times I've asked.

I need to upgrade my server running CF. I have SCSI HD's and an Adaptec
Array adapter. I installed the new HD and then one of the older larger
HD's which I will put the OS (windows 200) on it. I setup the cd-rom as
the boot and put the 2000 cd in it. However, the system boots,
recognizes the HDs, the light comes on the cd but it then reboots and
does not start the Server 2000 setup.

Did I explain enough or is there more to this than meets the eye?

Thanks as always and excuse the OT on this please.

Robert Orlini
HW Wilson
718-588-8400 x2656
¿

_

_

_

_

_


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




RE: Re[2]: Best Practices

2003-11-13 Thread d.a.collie
sometimes better not to scope (admittedly not very often)

 
i.e. a search form where parameters can come in either the URL or FORM
scope... what do you do... scope them out and have double the coding
work?

 
what would be the best practice in that case?

 
-dc

	-Original Message-
	From: Calvin Ward [mailto:[EMAIL PROTECTED] 
	Sent: 13 November 2003 14:25
	To: CF-Talk
	Subject: Re: Re[2]: Best Practices
	
	
	The question was theoritical in nature, not everyone scopes
variables, I'm sure we all realize.
	
	- Calvin
	- Original Message - 
	From: Philip Arnold 
	To: CF-Talk 
	Sent: Thursday, November 13, 2003 7:19 AM
	Subject: RE: Re[2]: Best Practices
	
	 And incidentally, I wonder how it is handled if you send the
	 same named variable in the query string and a form field
with
	 method POST... If it were 2 form fields with the same name,
	 you would typically get a comma delimited list, but I
suspect
	 that it might not work that way with the query string and
	 form field technique.
	
	Well, it would hand the one that you scope it to
	
	If you ask for URL.myVar, then you'd get the URL version
	If you ask for form.myVar, then you'd get the Form version
	
	You DO scope your variables, don't you?
	
	
_

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




Re: CF on Linux

2003-11-13 Thread Stephen Moretti
I keep getting recommended that I should go with SUSE the next time I 
set up a linux box. (Instead of RH, particularly in light of recent events)

Stephen

Yves Arsenault wrote:

 That is something I've been wondering... I originally decided on RedHat
 because it is a very common distro.
 I was, until just very recently, unaware that they were pulling the plug on
 it.
 
 Debian is a distro I've been looking at.
 I also do like Mandrake, which I am currently using on another...
 
 Yves
-Original Message-
From: Josh Remus [mailto:[EMAIL PROTECTED]
Sent: 13 novembre 2003 09:49
To: CF-Talk
Subject: OT: RE: CF on Linux
 
Just a question for those of you running CF on RH 7/8/9What are you
doing (if these are production servers) to deal with the End-Of-Life of
these products?We're confronting this right now, although not for CF.
 Any
opinions on this would be appreciated.
 
Josh
-Original Message-
From: Yves Arsenault [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:36 AM
To: CF-Talk
Subject: RE: CF on Linux
 
Hello Ryan,
 
I've been learning Linux on and off for the last year... I have 2
 systems
here that I have set up.
 
Mandrake 9.0 with Apache 1.3.26, BlueDragon 3.0.2 (Free version), MySQL
3.xx, and BIND 9.2, it was a learning curb to set up, this was my first
set
up attemp, but after learning how to set it up (by just doing it) and
countless web ressources this little server is very stable.
 
My new system is RedHat 9, Apache 2.0.48, MySQL 3.xx, Bind 9.2.1 and
 CFMX
6.1. I took my time to install this, had a hard time finding drivers for
my
NIC... after the install I noticed I made a mistake in the config, so
 the
next day I reinstalled the system completly, in a couple of hours, I was
up
with no problems.
 
So far this system is running very well also, it still hasn't had alot
 of
work, but it looks good so far.
 
Yves
 -Original Message-
 From: Ryan Sabir [mailto:[EMAIL PROTECTED]
 Sent: 13 novembre 2003 03:41
 To: CF-Talk
 Subject: CF on Linux
 
 Hi all,
 
 I'm a long time CF on Windows user who's thinking of dabbling with
 Linux as a possible future server platform.
 
 While my Cold Fusion skills are quite high, I'm a pretty basic Linux
 user. I can set up a box and know my way around the file system , but
 have never had to configure a web server from scratch.
 
 How does the CF install experience compare to that of Windows? Am I
 looking at hours of fiddling around with config files and pulling my
 hair out? Or will I be leaning back in my chair sipping daiquiris and
 pressing the 'y' key every now and then?
 
 The target platform I'm looking at if RedHat 7.3, running Tomcat. A
 client has specifically requested this config.. is it sensible? I've
 noticed that Tomcat isn't officially supported by MM, though they have
 a few technotes on the install process.
 
 Thanks, bye!
 
 ---
 Ryan Sabir
 Newgency Pty Ltd
 2a Broughton St
 Paddington 2021
 Sydney, Australia
 Ph (02) 9331 2133
 Fax (02) 9331 5199
 Mobile: 0411 512 454
 http://www.newgency.com/index.cfm?referer=rysig
 
 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re[2]: Best Practices

2003-11-13 Thread Thomas Chiverton
On Thursday 13 Nov 2003 14:37 pm, [EMAIL PROTECTED] wrote:
 i.e. a search form where parameters can come in either the URL or FORM
 scope... what do you do... scope them out and have double the coding
 work?

 what would be the best practice in that case?

formurl2attributes :-)

-- 
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]




Re: Re[2]: Best Practices

2003-11-13 Thread Calvin Ward
In my opinion stick with one scope, form if you are using POST.

I'm curious in what circumstances a query string is superior to a hidden field from a design perspective.

Thanks,
Calvin
- Original Message - 
From: [EMAIL PROTECTED] 
To: CF-Talk 
Sent: Thursday, November 13, 2003 9:37 AM
Subject: RE: Re[2]: Best Practices

sometimes better not to scope (admittedly not very often)

i.e. a search form where parameters can come in either the URL or FORM
scope... what do you do... scope them out and have double the coding
work?

what would be the best practice in that case?

-dc

-Original Message-
From: Calvin Ward [mailto:[EMAIL PROTECTED] 
Sent: 13 November 2003 14:25
To: CF-Talk
Subject: Re: Re[2]: Best Practices

The question was theoritical in nature, not everyone scopes
variables, I'm sure we all realize.

- Calvin
 - Original Message - 
 From: Philip Arnold 
 To: CF-Talk 
 Sent: Thursday, November 13, 2003 7:19 AM
 Subject: RE: Re[2]: Best Practices

  And incidentally, I wonder how it is handled if you send the
  same named variable in the query string and a form field
with
  method POST... If it were 2 form fields with the same name,
  you would typically get a comma delimited list, but I
suspect
  that it might not work that way with the query string and
  form field technique.

 Well, it would hand the one that you scope it to

 If you ask for URL.myVar, then you'd get the URL version
 If you ask for form.myVar, then you'd get the Form version

 You DO scope your variables, don't you?

 _


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




RE: OT - Scsi hd

2003-11-13 Thread Robert Orlini
Ai one point the Array Setup utility had an option to low level format the new HD. Is that the formatting you are referring to? I booted from the HD and it ran the 2000 setup of course it then could not continue because of no HD found.

 
Should I low level format the new hdfrom the Array utility?

 
Robert O.

-Original Message-
From: Schuster, Steven [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 9:30 AM
To: CF-Talk
Subject: RE: OT - Scsi hd

No , the SCSI will not boot by default until it has been configured. I am
assuming you have cleaned these SCSI drives using the setup utility and
formatted them, correct? Regardless that should not matter from a boot
point. Is the CD for 2000 you have an ISO bootable CD or just a copy. Unless
you specifically created an ISO bootable CD then you will never get it to
boot , instead it must be loaded onto an existing windows systems and be
allowed to do an Update.

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 9:04 AM
To: CF-Talk
Subject: RE: OT - Scsi hd

Steve,

I have the Windows 2000 cd-rom in my cd player and have the cd player as
boot device, but it does not go into the Windows Setup instead it reboots.
The Array config shows the new HD as SCSI ID #8 and the card at #7. Is that
a problem?

Robert O.

-Original Message-
From: Schuster, Steven [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:45 AM
To: CF-Talk
Subject: RE: OT - Scsi hd

Go into your setup and create a driver disk. All versions of adaptec support
this. I can't remember where in the setup it is but it is there. Once you
have created the floppy when you reboot, put your Windows 2000 disk in to
install 2000. During the install it will ask you for any 3rd party raid
drivers. Press 'F6' at that time during setup. It will then prompt you for a
disk. Insert the disk you created through the adaptec create disk utility in
setup. It will read in the drivers and continue to do the 2000 install
except now when you get to the drive designations to choose a base partition
for the install you will now see your raid drive.

Steve

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 8:28 AM
To: CF-Talk
Subject: RE: OT - Scsi hd

Mark,

Just found out I have a raid card setup. I don't have much experience with
this. Is there some sort of steps I have to follow to have the card
recognize the new HDs. Is there a way I can go without the raid card?

Robert O.

-Original Message-
From: Mark W. Breneman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 4:34 PM
To: CF-Talk
Subject: RE: OT - Scsi hd

Robert,

Do you have the driver disk (probably a floppy) that came with the
Adaptec card?I am thinking that you will need to specify an additional
driver for the Adaptec card when you do the windows 2000 install.(Hit
F6 during the install when it tells you to.)

I seem to remember a server of mine momentary, when doing an install,
flashing to a BSOD (Blue Screen Of Death), then rebooting, if I did not
load the driver for my Adaptec card.

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com
608.270.9770

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2003 3:03 PM
To: CF-Talk
Subject: OT - Scsi hd

Sorry this is OT, but it's only one of the few times I've asked.

I need to upgrade my server running CF. I have SCSI HD's and an Adaptec
Array adapter. I installed the new HD and then one of the older larger
HD's which I will put the OS (windows 200) on it. I setup the cd-rom as
the boot and put the 2000 cd in it. However, the system boots,
recognizes the HDs, the light comes on the cd but it then reboots and
does not start the Server 2000 setup.

Did I explain enough or is there more to this than meets the eye?

Thanks as always and excuse the OT on this please.

Robert Orlini
HW Wilson
718-588-8400 x2656
¿

_

_

_

_

_

_


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




RE: How to deal with RH 7/8/9 EOL [was: CF on Linux]

2003-11-13 Thread Josh Remus
No, honestly I think that what WE'RE looking for at least is security
releases from good known sources, and the easy update interface doesn't
hurt, as some of our people are not Linux-savvy at all.I have already been
looking at Debian and have been impressed (haven't looked at it in years),
however the fact that we're also EOL on our AntiVirus solution gives us more
problems.
-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 9:18 AM
To: CF-Talk
Subject: How to deal with RH 7/8/9 EOL [was: CF on Linux]

Josh Remus said:
 Just a question for those of you running CF on RH 7/8/9What are
 you doing (if these are production servers) to deal with the
 End-Of-Life of these products?We're confronting this right now,
 although not for CF.

Of the firms I know of, there is only one where they worked with
RedHat (not even for CF) but the consensus there is: nothing.
It has been verified that the tool chain works so when the community
stops producing RPMs it is possible to get the patch for whatever
needs fixing and compile it. But that is not expected, because if the
issue is serious the community will produce RPMs, and if it is not
serious you can just ignore the patch.

Long term there will probably be a move to Debian. If you are willing
to invest a little bit in working with the community, community
support is just as good if not better as commercial support anyway
(with the possible exception of bugs that are boring and tedious to
fix, but then you can scratch your own itch).
Unless we are talking about mission critical, 'engineer onsite in 4
hours' support. But for that type of support you can get a specialized
consultancy firm.

Jochem


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




Re:How to deal with RH 7/8/9 EOL [was: CF on Linux]

2003-11-13 Thread Cliff Meyers
We've been running RedHat (since 6.2) with ColdFusion (since 4.5) for about 3 years now.There are a few different paths I've been investigating lately for Linux:

>From what I've read the first core release of Project Fedora was a disappointment and had quite a few bugs in it.Since Fedora isn't likely to be supported by any major applications (including CF) it's probably not a viable long term option anyways for anyone who wants apps that are actually supported.

I've been looking into purchasing a license for RedHat Enterprise Linux ES but the 349 USD price tag coupled with annual costs for a subscription is somewhat daunting, at least when you're used to using a free OS.SUSE Standard Server 8 is another option but their price is 449 USD.RedHat's main partnerships look to be Dell and Oracle whereas SUSE has a strong IBM partnership and is now owned by Novell (who also owns Ximian).If you have a preference towards any of those companies' hardware or software it might be something to consider.Of course there are plenty of other Linux distros but very few of them have much enterprise support.

I'm commited to Linux more than anything else.MM's commitment to Linux however seems to be wavering.Although the Verity support isn't maintained by MM that entire suite of tools in unusable on any modern Linux OS.I'd like to see MM consider offering the Lucene engine for Linux users in place of Verity.

Ultimately I'll probably stick with RedHat and pay the fee or find a suitable Linux distro that works well with the rest of my open source stack (Apache, MySQL and PostgreSQL).As far as the app server is concerned it's likely that I'll be making a migration to Tomcat with 6-12 months and converting our existing code base (about 50% CF and 50% PHP) to a unified Java code base.The issues I've been having with Verity since upgrading to CFMX 6.1 have left a very bad taste in my mouth and a far less positive view of CF and MM that I previously held.

-Cliff
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re[2]: Best Practices

2003-11-13 Thread Calvin Ward
ack, I answered this too quickly and didn't read it carefully.

formurl2attributes is a good solution for that!

Calvin
- Original Message - 
From: Calvin Ward 
To: [EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 9:44 AM
Subject: Re: Re[2]: Best Practices

In my opinion stick with one scope, form if you are using POST.

I'm curious in what circumstances a query string is superior to a hidden field from a design perspective.

Thanks,
Calvin
 - Original Message - 
 From: [EMAIL PROTECTED] 
 To: CF-Talk 
 Sent: Thursday, November 13, 2003 9:37 AM
 Subject: RE: Re[2]: Best Practices

 sometimes better not to scope (admittedly not very often)

 i.e. a search form where parameters can come in either the URL or FORM
 scope... what do you do... scope them out and have double the coding
 work?

 what would be the best practice in that case?

 -dc

 -Original Message-
 From: Calvin Ward [mailto:[EMAIL PROTECTED] 
 Sent: 13 November 2003 14:25
 To: CF-Talk
 Subject: Re: Re[2]: Best Practices

 The question was theoritical in nature, not everyone scopes
 variables, I'm sure we all realize.

 - Calvin
- Original Message - 
From: Philip Arnold 
To: CF-Talk 
Sent: Thursday, November 13, 2003 7:19 AM
Subject: RE: Re[2]: Best Practices

 And incidentally, I wonder how it is handled if you send the
 same named variable in the query string and a form field
 with
 method POST... If it were 2 form fields with the same name,
 you would typically get a comma delimited list, but I
 suspect
 that it might not work that way with the query string and
 form field technique.

Well, it would hand the one that you scope it to

If you ask for URL.myVar, then you'd get the URL version
If you ask for form.myVar, then you'd get the Form version

You DO scope your variables, don't you?

_


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




Re: CF on Linux

2003-11-13 Thread Jochem van Dieten
Stephen Moretti said:
 I keep getting recommended that I should go with SUSE the next time
 Iset up a linux box. (Instead of RH, particularly in light of
 recent events)

Why do people recommend that to you?

Because support for hot new technical wizz X is better?
Because the installer has nicer graphics?
Because if you call SuSe an actual human will pick up the phone?
Because they have this great knowledgebase with everything you need?
Because their support people hang out at IRC channel X where you have
easy access to them?
Because there is some substantial technical difference which makes
SuSe better?

Without specifying into quite some detail what you expect from a
distribution, it is pretty pointless to compare them. And if you
really want to go there, there are better places as cf-talk.

Jochem


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




RE: Re[2]: Best Practices

2003-11-13 Thread Tangorre, Michael
I disagree... you should always scope your variables. It should always be
clear where the value is coming from: form, url, query, whatever.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 9:38 AM
To: CF-Talk
Subject: RE: Re[2]: Best Practices

sometimes better not to scope (admittedly not very often)

i.e. a search form where parameters can come in either the URL or FORM
scope... what do you do... scope them out and have double the coding
work?

what would be the best practice in that case?

-dc

-Original Message-
From: Calvin Ward [mailto:[EMAIL PROTECTED] 
Sent: 13 November 2003 14:25
To: CF-Talk
Subject: Re: Re[2]: Best Practices

The question was theoritical in nature, not everyone scopes
variables, I'm sure we all realize.

- Calvin
- Original Message - 
From: Philip Arnold 
To: CF-Talk 
Sent: Thursday, November 13, 2003 7:19 AM
Subject: RE: Re[2]: Best Practices

 And incidentally, I wonder how it is handled if you send the
 same named variable in the query string and a form field
with
 method POST... If it were 2 form fields with the same name,
 you would typically get a comma delimited list, but I
suspect
 that it might not work that way with the query string and
 form field technique.

Well, it would hand the one that you scope it to

If you ask for URL.myVar, then you'd get the URL version
If you ask for form.myVar, then you'd get the Form version

You DO scope your variables, don't you?

_

_


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




Re:CF on Linux

2003-11-13 Thread Cliff Meyers
The install process on Linux is very painless especially on RedHat since the cfinstaller will automatically build your Apache connector for you.I'm not sure if the cfinstaller will do that on the other distros.

I've been running CF on Linux for 3 years and the platform is rock solid and noticeably faster than on the Windows systems I've used.I just upgraded to CFMX 6.1 (making a big jump from 4.5) and things seem to generally be running rather well.However the lack of Verity support is a major disappointment and has actually spurred me begin to looking at migrating to Tomcat or JBoss instead of CF.The nice thing about open source app servers is that the generally work on any Linux distro.

-Cliff

Hi all,

I'm a long time CF on Windows user who's thinking of dabbling with
Linux as a possible future server platform.

While my Cold Fusion skills are quite high, I'm a pretty basic Linux
user. I can set up a box and know my way around the file system , but
have never had to configure a web server from scratch.

How does the CF install experience compare to that of Windows? Am I
looking at hours of fiddling around with config files and pulling my
hair out? Or will I be leaning back in my chair sipping daiquiris and
pressing the 'y' key every now and then?

The target platform I'm looking at if RedHat 7.3, running Tomcat. A
client has specifically requested this config.. is it sensible? I've
noticed that Tomcat isn't officially supported by MM, though they have
a few technotes on the install process.

Thanks, bye!

---
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig 

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




RE: How to deal with RH 7/8/9 EOL [was: CF on Linux]

2003-11-13 Thread Josh Remus
My main issue with RH is that there is no migration path from 8/9 ---
Enterprise Linux.Not that I don't understand the reasonings, I just think
rebuilding that server is something I would have liked to avoid.
-Original Message-
From: Cliff Meyers [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:45 AM
To: CF-Talk
Subject: Re:How to deal with RH 7/8/9 EOL [was: CF on Linux]

We've been running RedHat (since 6.2) with ColdFusion (since 4.5) for
about 3 years now.There are a few different paths I've been investigating
lately for Linux:

From what I've read the first core release of Project Fedora was a
disappointment and had quite a few bugs in it.Since Fedora isn't likely to
be supported by any major applications (including CF) it's probably not a
viable long term option anyways for anyone who wants apps that are actually
supported.

I've been looking into purchasing a license for RedHat Enterprise Linux ES
but the 349 USD price tag coupled with annual costs for a subscription is
somewhat daunting, at least when you're used to using a free OS.SUSE
Standard Server 8 is another option but their price is 449 USD.RedHat's
main partnerships look to be Dell and Oracle whereas SUSE has a strong IBM
partnership and is now owned by Novell (who also owns Ximian).If you have
a preference towards any of those companies' hardware or software it might
be something to consider.Of course there are plenty of other Linux distros
but very few of them have much enterprise support.

I'm commited to Linux more than anything else.MM's commitment to Linux
however seems to be wavering.Although the Verity support isn't maintained
by MM that entire suite of tools in unusable on any modern Linux OS.I'd
like to see MM consider offering the Lucene engine for Linux users in place
of Verity.

Ultimately I'll probably stick with RedHat and pay the fee or find a
suitable Linux distro that works well with the rest of my open source stack
(Apache, MySQL and PostgreSQL).As far as the app server is concerned it's
likely that I'll be making a migration to Tomcat with 6-12 months and
converting our existing code base (about 50% CF and 50% PHP) to a unified
Java code base.The issues I've been having with Verity since upgrading to
CFMX 6.1 have left a very bad taste in my mouth and a far less positive view
of CF and MM that I previously held.

-Cliff

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




RE: Re[2]: Best Practices

2003-11-13 Thread Tangorre, Michael
I think its better to pass the values in hidden form fields especially when
the information being passed in the url could be tampered with or altered
(change ID from x to y). Although it could potentially be done via a
form, it is harder.

-Original Message-
From: Calvin Ward [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 9:44 AM
To: CF-Talk
Subject: Re: Re[2]: Best Practices

In my opinion stick with one scope, form if you are using POST.

I'm curious in what circumstances a query string is superior to a hidden
field from a design perspective.

Thanks,
Calvin
- Original Message - 
From: [EMAIL PROTECTED] 
To: CF-Talk 
Sent: Thursday, November 13, 2003 9:37 AM
Subject: RE: Re[2]: Best Practices

sometimes better not to scope (admittedly not very often)

i.e. a search form where parameters can come in either the URL or FORM
scope... what do you do... scope them out and have double the coding
work?

what would be the best practice in that case?

-dc

-Original Message-
From: Calvin Ward [mailto:[EMAIL PROTECTED] 
Sent: 13 November 2003 14:25
To: CF-Talk
Subject: Re: Re[2]: Best Practices

The question was theoritical in nature, not everyone scopes
variables, I'm sure we all realize.

- Calvin
 - Original Message - 
 From: Philip Arnold 
 To: CF-Talk 
 Sent: Thursday, November 13, 2003 7:19 AM
 Subject: RE: Re[2]: Best Practices

  And incidentally, I wonder how it is handled if you send the
  same named variable in the query string and a form field
with
  method POST... If it were 2 form fields with the same name,
  you would typically get a comma delimited list, but I
suspect
  that it might not work that way with the query string and
  form field technique.

 Well, it would hand the one that you scope it to

 If you ask for URL.myVar, then you'd get the URL version
 If you ask for form.myVar, then you'd get the Form version

 You DO scope your variables, don't you?

 _

_


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




RE: Re[2]: Best Practices

2003-11-13 Thread d.a.collie
ok ok ... promise not to do it next time :-)

	-Original Message-
	From: Calvin Ward [mailto:[EMAIL PROTECTED] 
	Sent: 13 November 2003 14:47
	To: CF-Talk
	Subject: Re: Re[2]: Best Practices
	
	
	ack, I answered this too quickly and didn't read it carefully.
	
	formurl2attributes is a good solution for that!
	
	Calvin
	- Original Message - 
	From: Calvin Ward 
	To: [EMAIL PROTECTED] 
	Sent: Thursday, November 13, 2003 9:44 AM
	Subject: Re: Re[2]: Best Practices
	
	In my opinion stick with one scope, form if you are using
POST.
	
	I'm curious in what circumstances a query string is superior
to a hidden field from a design perspective.
	
	Thanks,
	Calvin
	 - Original Message - 
	 From: [EMAIL PROTECTED] 
	 To: CF-Talk 
	 Sent: Thursday, November 13, 2003 9:37 AM
	 Subject: RE: Re[2]: Best Practices
	
	 sometimes better not to scope (admittedly not very
often)
	
	 i.e. a search form where parameters can come in either the
URL or FORM
	 scope... what do you do... scope them out and have double
the coding
	 work?
	
	 what would be the best practice in that case?
	
	 -dc
	
	 -Original Message-
	 From: Calvin Ward [mailto:[EMAIL PROTECTED] 
	 Sent: 13 November 2003 14:25
	 To: CF-Talk
	 Subject: Re: Re[2]: Best Practices
	
	 The question was theoritical in nature, not everyone scopes
	 variables, I'm sure we all realize.
	
	 - Calvin
	- Original Message - 
	From: Philip Arnold 
	To: CF-Talk 
	Sent: Thursday, November 13, 2003 7:19 AM
	Subject: RE: Re[2]: Best Practices
	
	 And incidentally, I wonder how it is handled if you send
the
	 same named variable in the query string and a form field
	 with
	 method POST... If it were 2 form fields with the same
name,
	 you would typically get a comma delimited list, but I
	 suspect
	 that it might not work that way with the query string
and
	 form field technique.
	
	Well, it would hand the one that you scope it to
	
	If you ask for URL.myVar, then you'd get the URL version
	If you ask for form.myVar, then you'd get the Form version
	
	You DO scope your variables, don't you?
	
	_
	
	
_

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




Re: Re[2]: Best Practices

2003-11-13 Thread Mickael
I use fusebox now.And url and form scopes becomes attributes. this makes things easy
- Original Message - 
From: [EMAIL PROTECTED] 
To: CF-Talk 
Sent: Thursday, November 13, 2003 9:37 AM
Subject: RE: Re[2]: Best Practices

sometimes better not to scope (admittedly not very often)

i.e. a search form where parameters can come in either the URL or FORM
scope... what do you do... scope them out and have double the coding
work?

what would be the best practice in that case?

-dc

-Original Message-
From: Calvin Ward [mailto:[EMAIL PROTECTED] 
Sent: 13 November 2003 14:25
To: CF-Talk
Subject: Re: Re[2]: Best Practices

The question was theoritical in nature, not everyone scopes
variables, I'm sure we all realize.

- Calvin
 - Original Message - 
 From: Philip Arnold 
 To: CF-Talk 
 Sent: Thursday, November 13, 2003 7:19 AM
 Subject: RE: Re[2]: Best Practices

  And incidentally, I wonder how it is handled if you send the
  same named variable in the query string and a form field
with
  method POST... If it were 2 form fields with the same name,
  you would typically get a comma delimited list, but I
suspect
  that it might not work that way with the query string and
  form field technique.

 Well, it would hand the one that you scope it to

 If you ask for URL.myVar, then you'd get the URL version
 If you ask for form.myVar, then you'd get the Form version

 You DO scope your variables, don't you?

 _


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




Production Server/Versioning

2003-11-13 Thread Scott Wilhelm
Hello Everyone:

 
I'm getting to the point where I really need to start considering a production server and versioning.

 
A little back ground first:It's a one-man shop, with the possibility of added programmers, and the occasional boss dipping in to make a quick fix.Everything's Windows 2000 (soon to be 2003) based, with MS SQL server.At this point, I have about 8 applications I'm working on simultaneously and need something to help sort things out.

 
Everything at this point is done on the live server, just in a test or makeover directory or virtual domain.This has worked pretty well, BUT, I know I need to get something in place before we get someone else on board and the projects get even more out of control.

 
Any suggestions would be appreciated!

Thanks,

 
Scott

Scott Wilhelm
Computer Technician/Web Developer
http://www.sllboces.org http://www.sllboces.org//http://scott.sllboces.org/ http://scott.sllboces.org (digital desktop)
[EMAIL PROTECTED]

Canton (Mon/Tue)
St. Lawrence-Lewis BOCES
PO Box 231, 139 State Street Road
Canton, NY 13617
P.315-386-4504 x 164
F.315-386-3395

Heuvelton (Wed/Thu)
Heuvelton Central School
PO Box 375, 87 Washington Street
Heuvelton, NY 13654
P.315-344-2414 x 3651

Massena (Fri)
Massena Central School
Massena, NY 
P.315-769-3700 x 3049?xml:namespace prefix = o ns = urn:schemas-microsoft-com:office:office /





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




Re: How to deal with RH 7/8/9 EOL [was: CF on Linux]

2003-11-13 Thread Thomas Chiverton
On Thursday 13 Nov 2003 14:49 pm, Josh Remus wrote:
 My main issue with RH is that there is no migration path from 8/9 ---
 Enterprise Linux.Not that I don't understand the reasonings, I just think

rpm -Uvh and it's friends --nodep and --force are your friends.

-- 
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]




RE: How to deal with RH 7/8/9 EOL [was: CF on Linux]

2003-11-13 Thread Josh Remus
My understanding is going from RH 8/9 to the enterprise linux series
requires a full clean rebuild.Am I incorrect on this?It says it all over
their site and whitepapers.
-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 10:00 AM
To: CF-Talk
Subject: Re: How to deal with RH 7/8/9 EOL [was: CF on Linux]

On Thursday 13 Nov 2003 14:49 pm, Josh Remus wrote:
 My main issue with RH is that there is no migration path from 8/9 ---
 Enterprise Linux.Not that I don't understand the reasonings, I just
think

rpm -Uvh and it's friends --nodep and --force are your friends.

--
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]




Re: Best Practices

2003-11-13 Thread Ubqtous
d,

On 11/13/2003 at 09:37, you wrote:

dacrau sometimes better not to scope (admittedly not very often)

 
dacrau i.e. a search form where parameters can come in either the URL
dacrau or FORM scope... what do you do... scope them out and have
dacrau double the coding work?

 
dacrau what would be the best practice in that case?

I prefer to know which scope is providing a given value, so if I had
to deal with allowing both scopes to affect the same code, I'd use
something simple to check URL and FORM and assign a common local
variable accordingly.

Since URL and FORM are (or were last time I checked) 5th and 6th in
the order of evaluation, I guess it's a matter of determining if a few
lines of code to check each scope and assign a local variable
accordingly is better than making the server check scopes 1-4 on each
request.

~ Ubqtous ~

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




RE: CF on Linux

2003-11-13 Thread Yves Arsenault
I'd like to point out that on the DRK 3, MM has released a Verity app for
Linux based on Lucene.

I've ordered it and am waiting to try it out.

Yves
-Original Message-
From: Cliff Meyers [mailto:[EMAIL PROTECTED]
Sent: 13 novembre 2003 09:50
To: CF-Talk
Subject: Re:CF on Linux

The install process on Linux is very painless especially on RedHat since
the cfinstaller will automatically build your Apache connector for you.I'm
not sure if the cfinstaller will do that on the other distros.

I've been running CF on Linux for 3 years and the platform is rock solid
and noticeably faster than on the Windows systems I've used.I just
upgraded to CFMX 6.1 (making a big jump from 4.5) and things seem to
generally be running rather well.However the lack of Verity support is a
major disappointment and has actually spurred me begin to looking at
migrating to Tomcat or JBoss instead of CF.The nice thing about open
source app servers is that the generally work on any Linux distro.

-Cliff

Hi all,

I'm a long time CF on Windows user who's thinking of dabbling with
Linux as a possible future server platform.

While my Cold Fusion skills are quite high, I'm a pretty basic Linux
user. I can set up a box and know my way around the file system , but
have never had to configure a web server from scratch.

How does the CF install experience compare to that of Windows? Am I
looking at hours of fiddling around with config files and pulling my
hair out? Or will I be leaning back in my chair sipping daiquiris and
pressing the 'y' key every now and then?

The target platform I'm looking at if RedHat 7.3, running Tomcat. A
client has specifically requested this config.. is it sensible? I've
noticed that Tomcat isn't officially supported by MM, though they have
a few technotes on the install process.

Thanks, bye!

---
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig


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




Re: How to deal with RH 7/8/9 EOL [was: CF on Linux]

2003-11-13 Thread Thomas Chiverton
On Thursday 13 Nov 2003 15:05 pm, Josh Remus wrote:
 My understanding is going from RH 8/9 to the enterprise linux series
 requires a full clean rebuild.Am I incorrect on this?It says it all
 over their site and whitepapers.

shrug
I have never tried it.

But they ship rpm's with AS, and RH9 is rpm based. and looking at my RH9 
desktop and our AS server, they appear to be on similar versions of all the 
core utils, so I don't see why it wouldn't work.

It will certainly be more hassle than starting again though :-)

-- 
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]




CF4.5, CFHTTP, SSL.... anybody been able to get it to work?

2003-11-13 Thread d.a.collie
Hi all,

Rephrase of a question from yesterday...

Got a whole bunch of CF servers across the uni and only one of them is
CF4.5, all sitting in a DMZ. 

We have introduced a common login for LDAP and we can get all the CF5
servers to happily make a SSL CFHTTP POST call to the master server...
apart from the CF4.5 one which gives a 'Connection Failure' error

The script in question sits on a CF5 server and is called directly and
uses cfldap to validate user against the LDAP.

 We can get this script to work between the servers on the Internal
Network, but as soon as it is put in the DMZ, it just stops working...
I've spent ages with the infrastructure geezers and they cannot see any
reason why the CFHTTP call would not work (and we can browse to the
script from the CF4.5 server no problem, so it does not *seem* to be a
HTTP problem)

I notice in the technotes that it says that CFHTTP was vastly improved
when the 4.5 became 5 from them

- cfhttp no longer adds an extra carriage return after the content
length header when posting multi-part form data. (24915) 
Just about to give this a try, ie trimming all the form inputs but feel
it's a long shot in a 'Connection Failure' error 

-CFHTTP.STATUSCODE now works on the Windows version of ColdFusion
Server. 
Would this affect what we are trying to acheive?

Argh.

-dc

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




Best Practices Business Rules CFC, Stored Procs, Constraints

2003-11-13 Thread Andy Ousterhout
As I learn more abort stored procedures and robust constraints I am becoming
more confused about where business rules should be placed.Here are what I
see as the pros and cons of various approaches and I'd appreciate all of your
comments:

1.Constraints - Some business rules need to be placed in the database
constraints to ensure the quality of the database.For example, every item in
the database containing items ordered need to be related to one and only one
order.The question becomes how far to take this.The advantage of putting
rules in constraints are that they need only be set up once for each table.
Also, once the table has been created, constraints provide the highest level
of protection against programmer error.However, I see two potential
tradeoffs.First, error reporting from constraint violations are not as user
friendly as what can be provided if captured at the stored proc or CFC level.
Second, only one error is identified at a time, so the
select/update/insert/delete would need to be executed once for each property
error in an object

2.Stored Procs - If the CFC's are only allowed to access tables via Stored
Procs, then these provide most of the advantages of constraints with the
ability to validate all of the properties at once.However, based off of the
advice of many in this forum, I have switched to Using CFTrys and Throws to
pass all errors from business objects layer to the presentation layer(sidebar:
this has had wonderful effects on the size and clarity of my code.Thanks!).
If I continue this approach to pass errors from data layer to the business
objects layer, I don't see how I can pass multiple errors up with a single
exception throw.I guess I could build one large message with br, etc
Question:is there a significant difference in performance from a rule such
as Date = Today being checked in Stored Proc vs. Constraint?

3. CFC Layer -- This approach gives me the most control in that each set
method can throw a specific error about the associated property and the write
method can validate any cross property rules.However, this forces an
additional layer of calls(setBillToAddress on an order would need to execute a
method in the address class which would call the appropriate stored proc
versus setBillToAddress calling the stored proc directly), adversely impacting
performance.

So.

If this is the case, it seems to me that the best architecture decision would
be to use database constraints for those rules that are required to maintain
DB integrity (e.g. primary and foreign key rules) and place most of the rest
inside of stored procs.A few rules would still end up in the CFC layer that
either make the code clearer by moving up or make a significant performance
improvement by doing so.

What are your thoughts on this?

Andy


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




Re: CF on Linux

2003-11-13 Thread Stephen Moretti
Chill Jochem.Take a deep breath. Now breathe out slowly.Feeling 
better?;oD

I only mention SUSE because no one else has.I don't know why you would 
choose it over Debian or Mandrake or any other flavour of linux.

To be honest, I've not looked into why I should go with SUSE.It is 
simply that of late when talking to a variety of developers from around 
the globe and a variety of development sectors, SUSE is mentioned as a 
much better installation of Linux, than RH.

I have no interest in debating what is the best distribution or why.I 
only wish to throw SUSE into the pot for consideration, given that I 
trust and respect all those that suggested it to me.

Regards

Stephen

Jochem van Dieten wrote:
 Stephen Moretti said:
 I keep getting recommended that I should go with SUSE the next time
 Iset up a linux box. (Instead of RH, particularly in light of
 recent events)
 
 Why do people recommend that to you?
 
 Because support for hot new technical wizz X is better?
 Because the installer has nicer graphics?
 Because if you call SuSe an actual human will pick up the phone?
 Because they have this great knowledgebase with everything you need?
 Because their support people hang out at IRC channel X where you have
 easy access to them?
 Because there is some substantial technical difference which makes
 SuSe better?
 
 Without specifying into quite some detail what you expect from a
 distribution, it is pretty pointless to compare them. And if you
 really want to go there, there are better places as cf-talk.
 

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




Re:CF on Linux

2003-11-13 Thread Cliff Meyers
Yves,

This may be the godsend I've been waiting for!Thanks for letting me know.I'll probably be ordering it myself.

-Cliff

I'd like to point out that on the DRK 3, MM has released a Verity app for
Linux based on Lucene.

I've ordered it and am waiting to try it out.

Yves
-Original Message-
From: Cliff Meyers [mailto:[EMAIL PROTECTED]
Sent: 13 novembre 2003 09:50
To: CF-Talk
Subject: Re:CF on Linux


The install process on Linux is very painless especially on RedHat since
the cfinstaller will automatically build your Apache connector for you.I'm
not sure if the cfinstaller will do that on the other distros.

I've been running CF on Linux for 3 years and the platform is rock solid
and noticeably faster than on the Windows systems I've used.I just
upgraded to CFMX 6.1 (making a big jump from 4.5) and things seem to
generally be running rather well.However the lack of Verity support is a
major disappointment and has actually spurred me begin to looking at
migrating to Tomcat or JBoss instead of CF.The nice thing about open
source app servers is that the generally work on any Linux distro.

-Cliff

Hi all,

I'm a long time CF on Windows user who's thinking of dabbling with
Linux as a possible future server platform.

While my Cold Fusion skills are quite high, I'm a pretty basic Linux
user. I can set up a box and know my way around the file system , but
have never had to configure a web server from scratch.

How does the CF install experience compare to that of Windows? Am I
looking at hours of fiddling around with config files and pulling my
hair out? Or will I be leaning back in my chair sipping daiquiris and
pressing the 'y' key every now and then?

The target platform I'm looking at if RedHat 7.3, running Tomcat. A
client has specifically requested this config.. is it sensible? I've
noticed that Tomcat isn't officially supported by MM, though they have
a few technotes on the install process.

Thanks, bye!

---
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig


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




cflogin/cflogout

2003-11-13 Thread Rick Waugh
I've seen lots of discussion on the cflogin issues, but I haven't seen a resolution. Sounds like the same problem I'm having. It doesn't look like cflogout is clearing the old session. Login works fine on initial call - I'm authenticating against our LDAP server, then using cflogin and cfloginuser.
I'm setting up session variables and setting my roles. I then logout. When I log back in, I get the same session variables and the same roles, even if things have changed. To further experiment, I used a StructClear(session) to get rid of all my session variables on logout. When I log back in, I get
no session variables at all - they're built within cflogin. The cflogin tag is not executing - I can't get any code within that space to run unless I have recycled the MX server. I can't get it to output anything to browser. So I have to conclude that cflogout is not ending my session correctly.

I have tried both cookies and session management to manage the user credentials - same problem. I'm running MX 6.1, (the developer edition,) on Windows 2000 SP3.

Any thoughts or experiences would be most welcome. I can always write my own set of tags to do this, but what a waste of time when this new security framework is one of the 'big' features of MX.

Rick Waugh 
IT Auditor
Risk Management, TELUS Finance
19-3777 Kingsway, Burnaby, BC, Canada, V5H 3Z7 
Phone: (604) 432-2505 
Cell:(604) 817-7648 


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




RE: cflogin/cflogout

2003-11-13 Thread Raymond Camden
 I've seen lots of discussion on the cflogin issues, but I 
 haven't seen a resolution. Sounds like the same problem I'm 
 having. It doesn't look like cflogout is clearing the old 
 session. Login works fine on initial call - I'm 
 authenticating against our LDAP server, then using cflogin 
 and cfloginuser. I'm setting up session variables and setting 
 my roles. I then logout. When I log back in, I get the same 
 session variables and the same roles, even if things have 

Note that the use of cflogin/cflogout will do _nothing_ to your session
vars. While it _can_ be stored in the session scope (CFMX 6.1), if you
do 

cflogin.
cfset session.foo = 1

and then

cflogout

The value of session.foo will not change.

 changed. To further experiment, I used a StructClear(session) 
 to get rid of all my session variables on logout. When I log 
 back in, I get no session variables at all - they're built 
 within cflogin. The cflogin tag is not executing - I can't 
 get any code within that space to run unless I have recycled 
 the MX server. I can't get it to output anything to browser. 
 So I have to conclude that cflogout is not ending my session 
 correctly.

Can you show the code?


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




RE: CF on Linux

2003-11-13 Thread Yves Arsenault
No prob...

I happened to stumble on it

Glad to be of help. But I can't report on performance, because the box isn't
here yet.

Yves
-Original Message-
From: Cliff Meyers [mailto:[EMAIL PROTECTED]
Sent: 13 novembre 2003 10:48
To: CF-Talk
Subject: Re:CF on Linux

Yves,

This may be the godsend I've been waiting for!Thanks for letting me
know.I'll probably be ordering it myself.

-Cliff

I'd like to point out that on the DRK 3, MM has released a Verity app for
Linux based on Lucene.

I've ordered it and am waiting to try it out.

Yves
-Original Message-
From: Cliff Meyers [mailto:[EMAIL PROTECTED]
Sent: 13 novembre 2003 09:50
To: CF-Talk
Subject: Re:CF on Linux


The install process on Linux is very painless especially on RedHat
since
the cfinstaller will automatically build your Apache connector for you.
I'm
not sure if the cfinstaller will do that on the other distros.

I've been running CF on Linux for 3 years and the platform is rock
solid
and noticeably faster than on the Windows systems I've used.I just
upgraded to CFMX 6.1 (making a big jump from 4.5) and things seem to
generally be running rather well.However the lack of Verity support is
a
major disappointment and has actually spurred me begin to looking at
migrating to Tomcat or JBoss instead of CF.The nice thing about open
source app servers is that the generally work on any Linux distro.

-Cliff

Hi all,

I'm a long time CF on Windows user who's thinking of dabbling with
Linux as a possible future server platform.

While my Cold Fusion skills are quite high, I'm a pretty basic Linux
user. I can set up a box and know my way around the file system , but
have never had to configure a web server from scratch.

How does the CF install experience compare to that of Windows? Am I
looking at hours of fiddling around with config files and pulling my
hair out? Or will I be leaning back in my chair sipping daiquiris and
pressing the 'y' key every now and then?

The target platform I'm looking at if RedHat 7.3, running Tomcat. A
client has specifically requested this config.. is it sensible? I've
noticed that Tomcat isn't officially supported by MM, though they have
a few technotes on the install process.

Thanks, bye!

---
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig



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




Re: ADMIN: probs with archive?

2003-11-13 Thread Michael Dinowitz
Heh, stupid error. Basically, my caching system uses CFHTTP to grab the page
and 'store' it in a flat file. There is a piece of code in it that will
detect if the CFHTTP call fails and if it does, throw an error. The code
checks for the text connection failure. Of course, that's what exists on
the page due to the subject. This means until I altered the cache settings,
it would never show the page. Ug.
It works now. Sorry for the inconvenience.

 Hello,

 Searching on 'Connection Failure' through google

 http://www.google.com/search?hl=enlr=ie=UTF-8oe=UTF-8q=CFHTTP+Connec
 tion+Failure

 And get the following link as an example

 http://www.houseoffusion.com/cf_lists/cache.cfm/4/6/6085.htm

 I am getting an 'error in display' message for most of them I try

 http://www.houseoffusion.com/cf_lists/cache.cfm/4/12/12077.htm

 Apologies if you are already aware of this.

 Cheers,

 -dc

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




RE: cflogin/cflogout

2003-11-13 Thread Rick Waugh
Here's my code. I've blocked out some of the LDAP info for security reasons, (I''m an auditor, I'm paranoid.) The login.cfm script I'm including to do the login has the correct fields in it, and not much else.

 cfapplication name=DashBoard
clientmanagement=Yes
sessionmanagement=Yes
setclientcookies=Yes
clientstorage=cookie
loginstorage=cookie
sessiontimeout=#CreateTimeSpan(0,0,30,0)#

 
!--- Check to see if the application has been initialized. If not, set the
necessary application variables and initialize the app ---
cflock timeout=30 throwontimeout=No type=ReadOnly scope=Application
cfset IsInitialized = IsDefined('application.Initialized')
/cflock
cfset application.StyleSheet1 =  http://global-nav.tsl.telus.com/css/style.css
cfset application.StyleSheet2 =  http://localhost/CFFiles/RM/CommonCode/RMStyle.css

 
cfif not IsInitialized 
cflock type=Exclusive scope=Application timeout=10
 cfif not IsDefined('application.Initialized') 
cfset application.DataSource = RiskManagement
cfset application.AdminEmail =  [EMAIL PROTECTED]
cfset application.Initialized = true
cfset application.Home =  http://localhost/CFFiles/RM/home.htm
cfset application.RMImages =  http://localhost/CFFiles/RM/Images
cfset application.RMSecurity =  http://localhost/CFFiles/RM/Security
cfset application.DashBoard =  http://localhost/CFFiles/RM/DashBoard
cfset application.CommonCode =  http://localhost/CFFiles/RM/CommonCode
cfset application.StyleSheet1 =  http://global-nav.tsl.telus.com/css/style.css
cfset application.StyleSheet2 =  http://localhost/CFFiles/RM/CommonCode/RMStyle.css
 /cfif
/cflock 
/cfif

 
!--- Include global templates ---
cfinclude template=/CommonCode/MessageHandling.cfm

 
!--- If the user clicked the logout link, log them out ---
cfif IsDefined(URL.Logout)
!--- Log out the user ---
cflogout
cfset msg=Thank you for using the Risk Management Dashboard
cfinclude template=/RMSecurity/login.cfm
cfoutput
#MessageHandler(0,#msg#,0)#
/cfoutput
cfset StructClear(session)
cfabort
/cfif

 
!--- Call the CFLOGIN tag. The body is only run if the client is NOT logged in. which
is done using the CFLOGINUSER tag farther down the stack. ---

 
cflogin idletimeout=1800 applicationtoken=MyDashboard cookiedomain=telus.com

!--- If the cflogin structure does not exist, send the user to the login form. ---
cfif not IsDefined(cflogin)
cfoutput
 cfinclude template=/RMSecurity/login.cfm
 /cfoutput
 cfabort
cfelse

 !--- If for some reason username or password is blank, send the user back
 to the login form. ---
 cfif cflogin.Name is  or cflogin.Password is  
 cfinclude template=/RMSecurity/login.cfm
 cfoutput
cfset emsg=You must enter text in both the Username and Password fields.
#ErrorMessageHandler(2,#emsg#,None,0,0)#
/cfoutput
 /cfif

 !--- Perform the user validation ---
 cfquery name=ValidateUser datasource=#application.DataSource#
SELECT userId,user,userLastName,userFirstName,lastDateAccessed
FROM User
WHERE User = '#cflogin.Name#'
 /cfquery

 !--- if there not in the user table, they don't have access to the application ---
 cfif ValidateUser.RecordCount is 0
cfoutput
cfinclude template=/RMSecurity/login.cfm
cfset emsg=You do not have access to this application.
#ErrorMessageHandler(0,#emsg#,None,0,0)# 
/cfoutput
 /cfif

cfset login_passed = false

 
!--- get the user dn from the LDAP. If the server is not there an exception is thrown ---
cftry
cfldap
server=xx
port=389
action="">
name=qry_ldapuser
scope=SUBTREE
start=
filter=uid=#cflogin.Name#
attributes = dn,employeenumber,displayname
cfcatch
cfoutput
 cfinclude template=/RMSecurity/login.cfm
 cfset emsg=Error connecting to corporate LDAP server. Please try again in a few minutes.
 #ErrorMessageHandler(0,#emsg#,None,0,0)# 
/cfoutput
/cfcatch
/cftry

 
cfif qry_ldapuser.recordcount gt 0
!--- initialize ---
cfset login_passed = true

 
!--- try authenticating against the LDAP with the dn and password ---
cftry
cfldap
 server=
 port=636
 action="">
 name=qry_ldap
 scope=SUBTREE
 start=#qry_ldapuser.dn#
 username=#qry_ldapuser.dn#
 password=#cflogin.Password#
 secure=CFSSL_BASIC,C:\My Documents\ColdFusion\Cert\cert7.db
 attributes=dn

 
!--- if there's an error thrown, that means the user/pwd pair failed to authenticate ---
cfcatch
 cfinclude template=/RMSecurity/login.cfm
 cfoutput
cfset emsg=LDAP Id and password don't match.
#ErrorMessageHandler(1,#emsg#,None,0,0)# 
 /cfoutput
/cfcatch
/cftry
/cfif

 !--- Get the users Roles ---
 cfquery name=GetRoles datasource=#application.DataSource#
SELECT privilegeName
FROM userPrivilege,privilege
WHERE userPrivilege.userId = #ValidateUser.userId#
anduserPrivilege.privilegeId = privilege.privilegeId
 /cfquery
 
 !--- get privileges and put them into a list. Need to strip off spacesbefore doing so. ---
 cfset privs = ValueList(GetRoles.privilegeName)
 cfset privs1 = 
 
 CFLOOP Index=LoopCount From=1 To=#ListLen(privs)#
cfset privs1 = ListAppend(privs1,trim(ListGetAt(privs,LoopCount)))
 /cfloop

 cfloginuser 

RE: CF4.5, CFHTTP, SSL.... anybody been able to get it to work?

2003-11-13 Thread Mark A. Kruger - CFG
Is it just me - or do I seem to remember that cf 4.5 only supported 40 bit encryption? I had an issue like this waaay
back when and what sticks in my head is that 4.5 couldn't handle the encryption level.

Anyway - I assume that you have verified that the URL can be opened in a browser on that 4.5 server?Can you ping the
address FROM the 4.5 server etc.Get rid of all the potential connection issues first - before jumping to the next
level.

-Mk
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 9:12 AM
To: CF-Talk
Subject: CF4.5, CFHTTP, SSL anybody been able to get it to work?

Hi all,

Rephrase of a question from yesterday...

Got a whole bunch of CF servers across the uni and only one of them is
CF4.5, all sitting in a DMZ.

We have introduced a common login for LDAP and we can get all the CF5
servers to happily make a SSL CFHTTP POST call to the master server...
apart from the CF4.5 one which gives a 'Connection Failure' error

The script in question sits on a CF5 server and is called directly and
uses cfldap to validate user against the LDAP.

We can get this script to work between the servers on the Internal
Network, but as soon as it is put in the DMZ, it just stops working...
I've spent ages with the infrastructure geezers and they cannot see any
reason why the CFHTTP call would not work (and we can browse to the
script from the CF4.5 server no problem, so it does not *seem* to be a
HTTP problem)

I notice in the technotes that it says that CFHTTP was vastly improved
when the 4.5 became 5 from them

- cfhttp no longer adds an extra carriage return after the content
length header when posting multi-part form data. (24915)
Just about to give this a try, ie trimming all the form inputs but feel
it's a long shot in a 'Connection Failure' error

-CFHTTP.STATUSCODE now works on the Windows version of ColdFusion
Server.
Would this affect what we are trying to acheive?

Argh.

-dc


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




Creating Excel Files

2003-11-13 Thread chad
I am looking for an easy way to get orders from a query into a MX Excel file. Is there anything out there that will allow me to do this?

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




OT: HoF @ MAX?

2003-11-13 Thread Adam Wayne Lehman
Will you guys be hoisting the annual HoF library / discussions at the
conference this year?

 
Adam Wayne Lehman
Web Systems Developer
Johns Hopkins Bloomberg School of Public Health
Distance Education Division

 

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




RE: cflogin/cflogout

2003-11-13 Thread Raymond Camden
In generla, the login code looks correctly (btw, you really don't need
all those locks) - one question for you - what happens if you do NOT
check for isdefined('cflogin') and instead check form.whatever, whatever
being the form fields you are using (I'm assuming j_username and
j_password). You would also need to change the use of cflogin.name to
form.whatever. In the past, I've seen issues w/ caching of the cflogin
scope, so I stay away from it.

Also, I'd add debug messages. You say your roles don't change, but are
you sure it's not your query returning the wrong results?


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




Re: HoF @ MAX?

2003-11-13 Thread Michael Dinowitz
Due to financial constraints and lack of sponsors we are unable to come to
MAX this year. No Community Suite, No reading library, no fight club, etc.
Sorry.

 Will you guys be hoisting the annual HoF library / discussions at the
 conference this year?

 Adam Wayne Lehman
 Web Systems Developer
 Johns Hopkins Bloomberg School of Public Health
 Distance Education Division


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




RE: Creating Excel Files

2003-11-13 Thread Jillian Carroll
Chad,

Here is an example:

cfquery name=data_export datasource=#DSN#
SELECT person.*,
 organization.name AS org_name
FROM person
 JOIN organization ON organization.organization_id = person.organization_id
/cfquery

html
cfcontent type=application/vnd.ms-excel
head
 titleIntranet Test Page/title
/head
body

table
cfoutput
 tr
tdbFirst Name/b/td
tdbLast Name/b/td
tdbE-Mail/b/td
tdbUsername/b/td
tdbPassword/b/td
tdbOrganization/b/td
 /tr
/cfoutput
cfoutput query=data_export
 tr
td#first_name#/td
td#last_name#/td
td#email#/td
td#userid#/td
td#password#/td
td#org_name#/td
 /tr
/cfoutput
/table

/body
/html

-Original Message-
From: chad [mailto:[EMAIL PROTECTED] 
Sent: November 13, 2003 10:09 AM
To: CF-Talk
Subject: Creating Excel Files

I am looking for an easy way to get orders from a query into a MX Excel
file. Is there anything out there that will allow me to do this?


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




RE: cflogin/cflogout

2003-11-13 Thread Rick Waugh
The locks are another attempt to save myself grief - I didn't think they were necessary either, but I'm at the point were I'm desperately trying anything. 

 
I thought the way the cflogin tagged worked was that it would not execute if the cflogin structure was defined, as that was done automatically on including the j_ tags in the input screen. But I'll try that, and see if it works.

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:13 AM
To: CF-Talk
Subject: RE: cflogin/cflogout

In generla, the login code looks correctly (btw, you really don't need
all those locks) - one question for you - what happens if you do NOT
check for isdefined('cflogin') and instead check form.whatever, whatever
being the form fields you are using (I'm assuming j_username and
j_password). You would also need to change the use of cflogin.name to
form.whatever. In the past, I've seen issues w/ caching of the cflogin
scope, so I stay away from it.

Also, I'd add debug messages. You say your roles don't change, but are
you sure it's not your query returning the wrong results?

_


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




RE: cflogin/cflogout

2003-11-13 Thread Raymond Camden

 I thought the way the cflogin tagged worked was that it would 
 not execute if the cflogin structure was defined, as that was 
 done automatically on including the j_ tags in the input 
 screen. But I'll try that, and see if it works.

Incorrect, the code inside cflogin will always fire if you are not
logged in. The cflogin scope only exists in special circusmtances,
_normally_ as a result of a logon attempt. Let me know if modding the
code helps.


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




RE: ADMIN: probs with archive?

2003-11-13 Thread d.a.collie
No worries, hadn't thought of that... cheers :-)

	-Original Message-
	From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
	Sent: 13 November 2003 16:00
	To: CF-Talk
	Subject: Re: ADMIN: probs with archive?
	
	
	Heh, stupid error. Basically, my caching system uses CFHTTP to
grab the page
	and 'store' it in a flat file. There is a piece of code in it
that will
	detect if the CFHTTP call fails and if it does, throw an error.
The code
	checks for the text connection failure. Of course, that's what
exists on
	the page due to the subject. This means until I altered the
cache settings,
	it would never show the page. Ug.
	It works now. Sorry for the inconvenience.
	
	 Hello,
	
	 Searching on 'Connection Failure' through google
	
	
http://www.google.com/search?hl=enlr=ie=UTF-8oe=UTF-8q=CFHTTP+Connec
	 tion+Failure
	
	 And get the following link as an example
	
	 http://www.houseoffusion.com/cf_lists/cache.cfm/4/6/6085.htm
	
	 I am getting an 'error in display' message for most of them I
try
	
	 http://www.houseoffusion.com/cf_lists/cache.cfm/4/12/12077.htm
	
	 Apologies if you are already aware of this.
	
	 Cheers,
	
	 -dc
	
	 
_

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




RE: cflogin/cflogout

2003-11-13 Thread Rick Waugh
I did check my query, and it's working, though I had to put in the loop to trim the results, as I 'm getting spaces appended by ValueList. I took out the piece checking for the definition of cflogin, same problem. I think my assumption on cflogin was correct - nothing in there runs if the cflogin
structure exists. I don't know if cfloginuser will work on its own - I guess I could just elminate cflogin and see if that works.

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:13 AM
To: CF-Talk
Subject: RE: cflogin/cflogout

In generla, the login code looks correctly (btw, you really don't need
all those locks) - one question for you - what happens if you do NOT
check for isdefined('cflogin') and instead check form.whatever, whatever
being the form fields you are using (I'm assuming j_username and
j_password). You would also need to change the use of cflogin.name to
form.whatever. In the past, I've seen issues w/ caching of the cflogin
scope, so I stay away from it.

Also, I'd add debug messages. You say your roles don't change, but are
you sure it's not your query returning the wrong results?

_


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




RE: cflogin/cflogout

2003-11-13 Thread Tangorre, Michael
cfloginuser works only inside cflogin tags 

-Original Message-
From: Rick Waugh [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 11:37 AM
To: CF-Talk
Subject: RE: cflogin/cflogout

I did check my query, and it's working, though I had to put in the loop to
trim the results, as I 'm getting spaces appended by ValueList. I took out
the piece checking for the definition of cflogin, same problem. I think my
assumption on cflogin was correct - nothing in there runs if the cflogin
structure exists. I don't know if cfloginuser will work on its own - I guess
I could just elminate cflogin and see if that works.

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:13 AM
To: CF-Talk
Subject: RE: cflogin/cflogout

In generla, the login code looks correctly (btw, you really don't need
all those locks) - one question for you - what happens if you do NOT
check for isdefined('cflogin') and instead check form.whatever, whatever
being the form fields you are using (I'm assuming j_username and
j_password). You would also need to change the use of cflogin.name to
form.whatever. In the past, I've seen issues w/ caching of the cflogin
scope, so I stay away from it.

Also, I'd add debug messages. You say your roles don't change, but are
you sure it's not your query returning the wrong results?

_

_


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




RE: cflogin/cflogout

2003-11-13 Thread Rick Waugh
Yeah, and I'm looking at this, and I can't see making this work without it being there ... *sigh*.

-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:35 AM
To: CF-Talk
Subject: RE: cflogin/cflogout

cfloginuser works only inside cflogin tags 

-Original Message-
From: Rick Waugh [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 11:37 AM
To: CF-Talk
Subject: RE: cflogin/cflogout

I did check my query, and it's working, though I had to put in the loop to
trim the results, as I 'm getting spaces appended by ValueList. I took out
the piece checking for the definition of cflogin, same problem. I think my
assumption on cflogin was correct - nothing in there runs if the cflogin
structure exists. I don't know if cfloginuser will work on its own - I guess
I could just elminate cflogin and see if that works.

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:13 AM
To: CF-Talk
Subject: RE: cflogin/cflogout

In generla, the login code looks correctly (btw, you really don't need
all those locks) - one question for you - what happens if you do NOT
check for isdefined('cflogin') and instead check form.whatever, whatever
being the form fields you are using (I'm assuming j_username and
j_password). You would also need to change the use of cflogin.name to
form.whatever. In the past, I've seen issues w/ caching of the cflogin
scope, so I stay away from it.

Also, I'd add debug messages. You say your roles don't change, but are
you sure it's not your query returning the wrong results?

_

_

_


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




RE: cflogin/cflogout

2003-11-13 Thread Rick Waugh
Blessed event, I got it. 

 
I was using the idletimeout attribute in the cflogin tag. I also had sessiontimeout set in the cfapplication tag. I set the loginstorage back to session in cfapplication, took the idletimeout tag out, and voila, it works. %*#*(#. 

-Original Message-
From: Rick Waugh 
Sent: Thursday, November 13, 2003 8:42 AM
To: CF-Talk
Subject: RE: cflogin/cflogout

Yeah, and I'm looking at this, and I can't see making this work without it being there ... *sigh*.

-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:35 AM
To: CF-Talk
Subject: RE: cflogin/cflogout

cfloginuser works only inside cflogin tags 

-Original Message-
From: Rick Waugh [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 11:37 AM
To: CF-Talk
Subject: RE: cflogin/cflogout

I did check my query, and it's working, though I had to put in the loop to
trim the results, as I 'm getting spaces appended by ValueList. I took out
the piece checking for the definition of cflogin, same problem. I think my
assumption on cflogin was correct - nothing in there runs if the cflogin
structure exists. I don't know if cfloginuser will work on its own - I guess
I could just elminate cflogin and see if that works.

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:13 AM
To: CF-Talk
Subject: RE: cflogin/cflogout

In generla, the login code looks correctly (btw, you really don't need
all those locks) - one question for you - what happens if you do NOT
check for isdefined('cflogin') and instead check form.whatever, whatever
being the form fields you are using (I'm assuming j_username and
j_password). You would also need to change the use of cflogin.name to
form.whatever. In the past, I've seen issues w/ caching of the cflogin
scope, so I stay away from it.

Also, I'd add debug messages. You say your roles don't change, but are
you sure it's not your query returning the wrong results?

_

_

_

_


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




RE: cflogin/cflogout

2003-11-13 Thread Raymond Camden
 I did check my query, and it's working, though I had to put 

So the query returned the right, new roles, and you are sure you are
passing it to the cfloginuser tag?

 in the loop to trim the results, as I 'm getting spaces 
 appended by ValueList. I took out the piece checking for the 
 definition of cflogin, same problem. I think my assumption on 
 cflogin was correct - nothing in there runs if the cflogin 
 structure exists. I don't know if cfloginuser will work on 

Incorrect again. cflogin as a scopeis simply a handler for login
attempts. Stuff inside cflogin will always run if you are not logged in.
cflogin.* will exist if a login attempt is made.

 its own - I guess I could just elminate cflogin and see if that works.

Yes, again, try using form.*, ie, this is a typical login for me:

cfapplication ...

cflogin

	cfset showForm = true
	cfif isDefined(form.username) and isDefined(form.password)
		!--- authenticate the user with something in here ---
		cfif good
			cfloginuser name=#form.username#
password=#form.password# roles=somethjing
			cfset showForm = false
		/cfif
	/cfif

	cfif showForm
		cfinclude template=login.cfm
		cfabort
	/cfif

/cflogin

cfif isDefined(url.logout)
	cflogout
	cflocation url="">
/cfif


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




RE: Best Practices

2003-11-13 Thread d.a.collie
Out of interest,'dacrau'is that a translation of my username itndac?
Or david? 

 
I agree now, I guess that I had read somewhere about leaving them
unscoped and remembered having done it for search forms for URL and FORM
submission this way...

 
Your last point about the order of the scopes is pretty succinct and
should be preached to all CF'ers as it pretty clearly sets out why you
should 99.9% of the time *always* use scopes

 
In my defence, please excuse me, I'm a convert from classic ASP and
sometimes the bad practices learned there seep into my CF stuff :-)

 
-dc

	-Original Message-
	From: Ubqtous [mailto:[EMAIL PROTECTED] 
	Sent: 13 November 2003 15:11
	To: CF-Talk
	Subject: Re: Best Practices
	
	
	d,
	
	On 11/13/2003 at 09:37, you wrote:
	
	dacrau sometimes better not to scope (admittedly not very
often)
	
	
	dacrau i.e. a search form where parameters can come in either
the URL
	dacrau or FORM scope... what do you do... scope them out and
have
	dacrau double the coding work?
	
	
	dacrau what would be the best practice in that case?
	
	I prefer to know which scope is providing a given value, so if I
had
	to deal with allowing both scopes to affect the same code, I'd
use
	something simple to check URL and FORM and assign a common local
	variable accordingly.
	
	Since URL and FORM are (or were last time I checked) 5th and 6th
in
	the order of evaluation, I guess it's a matter of determining if
a few
	lines of code to check each scope and assign a local variable
	accordingly is better than making the server check scopes 1-4 on
each
	request.
	
	~ Ubqtous ~
	
_

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




RE: cflogin/cflogout

2003-11-13 Thread Raymond Camden
Great, then just ignore my last email. ;) One of the best things about
MX 6.1 and cflogin is being able to tie it to a session and not worry
about syncing up the authentication and random session variables.


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




Changes in a Directory CFDIRECTORY

2003-11-13 Thread Mickael
Hello All,

I have a directory where files are getting uploaded (not via CF).I know how to get the contents of the directory with CFDIRECTORY how would I get changes to the directory?I would like to send an email out to a certain a group of people when ever a new file is uploaded.

How would I go about this?

Thanks

Mike


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




RE: CF4.5, CFHTTP, SSL.... anybody been able to get it to work?

2003-11-13 Thread d.a.collie
Tried the following
 - CF4.5 Dev to CF5 Dev (internal) - all ok
 - CF4.5 Dev to CF5 Live (internal to dmz) = all ok
 - CF4.5 Live to CF5 Dev (dmz to internal) = doesn't work
 - CF4.5 Live to CF5 Dev (dmz to dmz) = doesn't work
 - CF4.5 http request to script = Does work but goes **through** the
proxy (which is internal network and thus I'm not sure why their prod
server is going through the proxy)

 
After more discussions with infrastructure, they are now looking at the
rules going on between the interaction of the two servers as I am
running out of ideas for myself to try and thinking it _must_ be a
firewall/port issue. it is their dmz server that just does not seem
to want to work with CFHTTP... but it handles the normal browser HTTP
request through the proxy so I am assuming that the CFHTTP is also
going through the proxy. is this what is causing the failure?

 
Any recommendations if there is any other things I can try?

 
All help greatly appreciated.

 
Cheers,

 
-dc

	-Original Message-
	From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED] 
	Sent: 13 November 2003 16:10
	To: CF-Talk
	Subject: RE: CF4.5, CFHTTP, SSL anybody been able to get it
to work?
	
	
	Is it just me - or do I seem to remember that cf 4.5 only
supported 40 bit encryption? I had an issue like this waaay
	back when and what sticks in my head is that 4.5 couldn't handle
the encryption level.
	
	Anyway - I assume that you have verified that the URL can be
opened in a browser on that 4.5 server?Can you ping the
	address FROM the 4.5 server etc.Get rid of all the potential
connection issues first - before jumping to the next
	level.
	
	-Mk
	-Original Message-
	From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
	Sent: Thursday, November 13, 2003 9:12 AM
	To: CF-Talk
	Subject: CF4.5, CFHTTP, SSL anybody been able to get it to
work?
	
	Hi all,
	
	Rephrase of a question from yesterday...
	
	Got a whole bunch of CF servers across the uni and only one of
them is
	CF4.5, all sitting in a DMZ.
	
	We have introduced a common login for LDAP and we can get all
the CF5
	servers to happily make a SSL CFHTTP POST call to the master
server...
	apart from the CF4.5 one which gives a 'Connection Failure'
error
	
	The script in question sits on a CF5 server and is called
directly and
	uses cfldap to validate user against the LDAP.
	
	We can get this script to work between the servers on the
Internal
	Network, but as soon as it is put in the DMZ, it just stops
working...
	I've spent ages with the infrastructure geezers and they
cannot see any
	reason why the CFHTTP call would not work (and we can browse
to the
	script from the CF4.5 server no problem, so it does not *seem*
to be a
	HTTP problem)
	
	I notice in the technotes that it says that CFHTTP was vastly
improved
	when the 4.5 became 5 from them
	
	- cfhttp no longer adds an extra carriage return after the
content
	length header when posting multi-part form data. (24915)
	Just about to give this a try, ie trimming all the form inputs
but feel
	it's a long shot in a 'Connection Failure' error
	
	-CFHTTP.STATUSCODE now works on the Windows version of
ColdFusion
	Server.
	Would this affect what we are trying to acheive?
	
	Argh.
	
	-dc
	
	
_

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




Re: Changes in a Directory CFDIRECTORY

2003-11-13 Thread Thomas Chiverton
On Thursday 13 Nov 2003 16:56 pm, Mickael wrote:
 I have a directory where files are getting uploaded (not via CF).I know
 how to get the contents of the directory with CFDIRECTORY how would I get
 changes to the directory?I would like to send an email out to a certain a
 group of people when ever a new file is uploaded.

ummm... easy... ?

store the last dir listing you saw in a persistant store.
for each item in current dir listing, add to notify_list if not in last dir 
listing.
update stored dir listing with current

-- 
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]




RE: Changes in a Directory CFDIRECTORY

2003-11-13 Thread Schuster, Steven
Well w/o using a database you could write the directories contents to a
file. Do an initial and place it in a sub dir or something.

 
Then create a schedule page that take the contents of the initial file you
created and compares it to what is currently in the directory. You could
store the file contents as a list and the cfdirectory as you know is a
query. If there are differences just send out an email to let people know
what the differences are in the same scheduled file and then update the file
to reflect the new directory content.

 
Optionally you could write an audit file as well that is just for record
keeping.

 
That is, of course, if you don't want to create a db to store all this jaz
in.

 
Steve

-Original Message-
From: Mickael [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 11:56 AM
To: CF-Talk
Subject: Changes in a Directory CFDIRECTORY

 
Hello All,

I have a directory where files are getting uploaded (not via CF).I know
how to get the contents of the directory with CFDIRECTORY how would I get
changes to the directory?I would like to send an email out to a certain a
group of people when ever a new file is uploaded.

How would I go about this?

Thanks

Mike

_


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




RE: cflogin/cflogout

2003-11-13 Thread Rick Waugh
Thanks for all the suggestions.

 
I haven't worked with CF for a couple of versions - when I saw the security framework I thought - wow, this is excellent. The concept is very good, and simplifies a lot of things for me.

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 8:56 AM
To: CF-Talk
Subject: RE: cflogin/cflogout

Great, then just ignore my last email. ;) One of the best things about
MX 6.1 and cflogin is being able to tie it to a session and not worry
about syncing up the authentication and random session variables.

_


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




Re: Import/Export - Excel to/from Access/SQL Server

2003-11-13 Thread I-Lin Kuo
Sorry, responding a bit late.

Excel has a built-in limit of 64K records, so if his
43K record is going to double, he can't use Excel.

--- Stan Winchester [EMAIL PROTECTED] wrote:
 I have a client who is running an ecommerce site
 with an Access database
 backend, which will hopefully be upgraded, to SQL
 Server 2000 very soon.
 
 The issue is he has 7,800 records in one table and
 43,000 records in another
 table; both tables will be doubling in size very
 shortly. My client wants to
 do all of his data entry in Excel, and then do an
 import into his tables to
 add new records, and edit/delete existing records. I
 had thought about doing
 an import/export routine to/from an Excel file, but
 the export alone pegs
 the server at 100% CPU for almost 25-30 seconds. I
 am interested in setting
 up the most efficient method that will minimize the
 load on the server.
 
 Any suggestions would be appreciated!
 Thank you,
 Stan Winchester
 Aftershock Web Design, LLC
 [EMAIL PROTECTED]
 http://www.aftershockweb.com/
 Phone 503-244-3440
 Fax 503-244-3454
 
 


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




crystal report to pdf

2003-11-13 Thread Salva magaz
I need to generate crystal report on pdf files saved automatically in a server 
is there a solution usinf cf?
thanks 
salva
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Changes in a Directory CFDIRECTORY

2003-11-13 Thread Jochem van Dieten
Mickael wrote:
 
 I have a directory where files are getting uploaded (not via CF). I know how to get the contents of the directory with CFDIRECTORY how would I get changes to the directory?I would like to send an email out to a certain a group of people when ever a new file is uploaded.
 
 How would I go about this?

Store the last time you ran the dirlisting. When you rerun it, 
check for files that have a timestamp that is newer.

Jochem

-- 
Who needs virtual reality
if you can just dream?
- Loesje


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




Adalon

2003-11-13 Thread Candace Cottrell
Do any of you folks use Adalon for CF or FB?
What have your experiences been? What version(s) are you using? Are you
using it in a single developer environment of with a team of
developers.

 
I am looking for some good selling points for the boss.

 
TIA! 

 
Candace K. Cottrell, Web Developer 
The Children's Medical Center 
One Children's Plaza 
Dayton, OH 45404 
937-641-4293 
http://www.childrensdayton.org

[EMAIL PROTECTED]

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




CFMail Send Problem

2003-11-13 Thread Mark Leder
Hi All,

I have a weird problem occuring with an email send out using CFMail 6.1 from
a SQL2000 db.Seems that SOME recipients of the message get a blank/empty
message body (subject line, to and from fields are OK).We've done some
checking and it doesn't seem to be email client specific (for example, I've
tested on Outlook 2002 and 2003 and AOL 9 with no problem, but we have
others using Netscape 7.1, Outlook 98-2000, et al receiving blank messages).

My thought is that there may be a problem with the charset encoding or with
the syntax of cfsavecontent.

Here's the process of what happens:

1) On the application.cfm page for the Admin area

!--- URL and FORM encoding ---
cfset setEncoding(FORM, ISO-8859-1)
cfset setEncoding(URL, ISO-8859-1)
!--- output encoding ---
cfcontent type=text/html; charset=ISO-8859-1

2) Message data from form field (enctype=multipart/form) insered to
MS-SQL2000

3) Query retrieves data from SQL 2000, in particular the
qMailMessage.txtMessage is the body of the message.

4) Message composition

cfoutput
cfsavecontent variable=VARIABLES.textCopy
#qMailMessage.txtMessage##crlf#	
cfif qMailMessage.unsubscribeLinkID NEQ
1#Replace(qMailMessage.unsubscribeLinkText, Chr(10), #lf#,
ALL)##crlf#/cfif
cfif qMailMessage.signatureLineID NEQ
1#Replace(qMailMessage.signatureLineText, Chr(10), #lf#, ALL)#/cfif
/cfsavecontent
/cfoutput

5) Message sendout

!--- Send out to the subscribers ---
cfmail from=#VARIABLES.mailFrom# #VARIABLES.mailFromEmail# 
	query=qSubscribers 
	group=emailAddress 
	groupcasesensitive=no 
	to=#firstname# #lastname# #emailaddress# 
	cc=#copyTo# 
	bcc=#blindCopyTo# 
	subject=#VARIABLES.subjectLine# 
	failto=#VARIABLES.mailFailTo# 
	server=#REQUEST.mailserver#
cfmailpart type=text#VARIABLES.textCopy#/cfmailpart
cfmailparam name=Reply-To value=#VARIABLES.mailFrom#
#VARIABLES.mailFromEmail#
cfmailparam name=Message-ID
value=#CreateUUID()[EMAIL PROTECTED]
/cfmail

===

Thanks, Mark 


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




Session Variables....

2003-11-13 Thread Hassan Arteaga Rodríguez
hi all !!

 
I'm trying to check in every page on my site findout if the user is authenticated helped with Application.cfm page..
But always every page redirect me to GotoLogin.cfm even when i force to write in session variable the value session.auth=1.
I have 3 pages for Login process, GotoLogin.cfm, ProcessLogin.cfm and IsOkLogin.cfm 


 
!--- Application page---

 
cfapplication name=Checker clientmanagement=no sessionmanagement=yes setclientcookies=no setdomaincookies=no
 cfif Find(login,lcase(CGI.SCRIPT_NAME)) EQ 0
cflock scope=Session 
timeout=10 type =Exclusive
cfif not IsDefined(session.auth)
 cfset session.auth = 0
 cflocation url="" addtoken=no
cfelse
 cfif session.auth EQ 1
cfoutputU Are OK !!!/cfoutput
 cfelse
cflocation url="" addtoken=no
 /cfif
/cfif 
 /cfif
 /cflock



Now I made test with one simple App page
And the result in every page is Hits:1

 
Thanks !!

 
cfapplication name=Checker sessionmanagement=yes setclientcookies=no setdomaincookies=no
cflock scope=Session timeout=10 type =Exclusive
cfif not IsDefined(session.hits)
 cfset session.hits =1
 cfoutputHits:#session.hits#/cfoutput
cfelse
 cfset session.hits =session.hits+1
/cfif
/cflock
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Users want to format text

2003-11-13 Thread Janine Jakim
Have an application with a bunch of input boxes.The users want to be able
to do snazzy things as if it's a word document- underline, bold, change font
size and/or type for certain parts.
Is this possible?
They then want to output it to a word doc. (I do know that's doable)
Thanks,
J

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




SQL Generators

2003-11-13 Thread Brad Roberts
Anyone know of software (desktop or CF based), that will generate SQL
(select, insert, update, etc.), by simply pointing to an Access database?
Generating cfqueryparam's would be a bonus.

-Brad


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




Re: Changes in a Directory CFDIRECTORY

2003-11-13 Thread Mickael
Sorry if this is a basic question.How do you store the contents of CFDirectory?
- Original Message - 
From: Thomas Chiverton 
To: CF-Talk 
Sent: Thursday, November 13, 2003 12:04 PM
Subject: Re: Changes in a Directory CFDIRECTORY

On Thursday 13 Nov 2003 16:56 pm, Mickael wrote:
 I have a directory where files are getting uploaded (not via CF).I know
 how to get the contents of the directory with CFDIRECTORY how would I get
 changes to the directory?I would like to send an email out to a certain a
 group of people when ever a new file is uploaded.

ummm... easy... ?

store the last dir listing you saw in a persistant store.
for each item in current dir listing, add to notify_list if not in last dir 
listing.
update stored dir listing with current

-- 
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]




java/cf pool manager

2003-11-13 Thread Matt Bathje
Hi everybody. I asked this on the Macromedia forums too, but we'll try here
and see who bites.

We are connecting our CF (MX6.1) application to some Java classes on the
backend. We are attempting to use PoolMan as our connection pooling manager
in Java, and are running into problems. The code appears to run ok, until we
do something like a query of a query on the CF side, in which case it errors
out and tells us that the table we are trying to query doesn't exist.

After some research, it appears as though CFMX/Jrun use Poolman as their
backend, and we think this is causing problems. (Something like it can't
tell the difference between our pool and the standard pool.)

Is this correct? And if so, is there a way to use Poolman in our Java code,
and still have CF/Jrun still use its own poolman? Or is there a way to add
our datasource to the CF/Jrun poolman setup somehow?

Thanks,
Matt

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




Re: crystal report to pdf

2003-11-13 Thread Marlon Moyer
Short answer: no. 

Long answer: Install the ASP.net framework on the server.Call the 
report from a simple aspx template.The asp templates that come with 
Crystal are very explanatory.The one advatage to asp.net is that you 
have a lot better error handling, which you'll need with all the 
problems Crystal can have :).Call the aspx from cf using cfhttp.

Marlon

Salva magaz wrote:

 I need to generate crystal report on pdf files saved automatically in 
 a server
 is there a solution usinf cf?
 thanks
 salva
 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Users want to format text

2003-11-13 Thread Mickael
Use HTMLEdit from http://www.interactivetools.com

Easy use
- Original Message - 
From: Janine Jakim 
To: CF-Talk 
Sent: Thursday, November 13, 2003 12:30 PM
Subject: Users want to format text

Have an application with a bunch of input boxes.The users want to be able
to do snazzy things as if it's a word document- underline, bold, change font
size and/or type for certain parts.
Is this possible?
They then want to output it to a word doc. (I do know that's doable)
Thanks,
J


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




RE: Changes in a Directory CFDIRECTORY

2003-11-13 Thread Raymond Camden
The result of cfdirectory is a query. You can store it in scope you want
and cache it. If you want to store it into a db, you need to convert it
to a string first, which you can do with WDDX, or just save one column.


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




RE: Changes in a Directory CFDIRECTORY

2003-11-13 Thread Schuster, Steven
They are stored in a query 

 
Steve

-Original Message-
From: Mickael [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 12:37 PM
To: CF-Talk
Subject: Re: Changes in a Directory CFDIRECTORY

 
Sorry if this is a basic question.How do you store the contents of
CFDirectory?
- Original Message - 
From: Thomas Chiverton 
To: CF-Talk 
Sent: Thursday, November 13, 2003 12:04 PM
Subject: Re: Changes in a Directory CFDIRECTORY

On Thursday 13 Nov 2003 16:56 pm, Mickael wrote:
 I have a directory where files are getting uploaded (not via CF).I
know
 how to get the contents of the directory with CFDIRECTORY how would I
get
 changes to the directory?I would like to send an email out to a
certain a
 group of people when ever a new file is uploaded.

ummm... easy... ?

store the last dir listing you saw in a persistant store.
for each item in current dir listing, add to notify_list if not in last
dir 
listing.
update stored dir listing with current

-- 
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]




RE: Session Variables....

2003-11-13 Thread d.a.collie
Assuming that you are not using the J2EE version of CF

 
i think you would need to setclientcookies=yes (you would need setdomaincookies if over subdomains)

 
if you don't set a client cookie then how is the web server going to remember state (unless you pass the cfid and cftoken with every request) which I don't think you will be.

 
That means every request you make, because you have not let the application set a cookie, will think it is a new session as a cookie for a previous session doesn't exists.

 
-dc

	-Original Message-
	From: Hassan Arteaga Rodrguez [mailto:[EMAIL PROTECTED] 
	Sent: 13 November 2003 16:31
	To: CF-Talk
	Subject: Session Variables
	
	
	hi all !!
	
	
	I'm trying to check in every page on my site findout if the user is authenticated helped with Application.cfm page..
	But always every page redirect me to GotoLogin.cfm even when i force to write in session variable the value session.auth=1.
	I have 3 pages for Login process, GotoLogin.cfm, ProcessLogin.cfm and IsOkLogin.cfm 
	
	
	
	!--- Application page---
	
	
	cfapplication name=Checker clientmanagement=no sessionmanagement=yes setclientcookies=no setdomaincookies=no
	cfif Find(login,lcase(CGI.SCRIPT_NAME)) EQ 0
	cflock scope=Session 
	timeout=10 type =Exclusive
	cfif not IsDefined(session.auth)
	 cfset session.auth = 0
	 cflocation url="" addtoken=no
	cfelse
	 cfif session.auth EQ 1
	cfoutputU Are OK !!!/cfoutput
	 cfelse
	cflocation url="" addtoken=no
	 /cfif
	/cfif 
	/cfif
	/cflock
	
	
	
	Now I made test with one simple App page
	And the result in every page is Hits:1
	
	
	Thanks !!
	
	
	cfapplication name=Checker sessionmanagement=yes setclientcookies=no setdomaincookies=no
	cflock scope=Session timeout=10 type =Exclusive
	cfif not IsDefined(session.hits)
	 cfset session.hits =1
	 cfoutputHits:#session.hits#/cfoutput
	cfelse
	 cfset session.hits =session.hits+1
	/cfif
	/cflock 
_

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




Re: crystal report to pdf

2003-11-13 Thread Marlon Moyer
Oh shoot, before I get flamed.When I said asp.net has better error 
handling, I meant that in comparison to asp.Uh All hail CF. 

...Boy, that was close

Marlon Moyer wrote:

 Short answer: no.

 Long answer: Install the ASP.net framework on the server.Call the
 report from a simple aspx template.The asp templates that come with
 Crystal are very explanatory.The one advatage to asp.net is that you
 have a lot better error handling, which you'll need with all the
 problems Crystal can have :).Call the aspx from cf using cfhttp.

 Marlon

 Salva magaz wrote:

  I need to generate crystal report on pdf files saved automatically in
  a server
  is there a solution usinf cf?
  thanks
  salva
 
 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Users want to format text

2003-11-13 Thread d.a.collie
http://www.bris.ac.uk/is/projects/cms/ttw/ttw.html

	-Original Message-
	From: Janine Jakim [mailto:[EMAIL PROTECTED] 
	Sent: 13 November 2003 17:31
	To: CF-Talk
	Subject: Users want to format text
	
	
	Have an application with a bunch of input boxes.The users want
to be able
	to do snazzy things as if it's a word document- underline, bold,
change font
	size and/or type for certain parts.
	Is this possible?
	They then want to output it to a word doc. (I do know that's
doable)
	Thanks,
	J
	
_

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




Re: Network

2003-11-13 Thread brob
Yes this is the case, everything is on the same drive.What do you suggest my new set up should be? :)

- Original Message - 
From: Andrew Golden 
To: CF-Talk 
Sent: Thursday, November 13, 2003 8:08 AM
Subject: Re: Network

|| The images vary from 50k to 200k in size, and i am confused why that would
slow down the network I thought a closed network in general is pretty 
fast.Is
there any way to speed up the network?right now we use a 10/100mbps 
hub.and
also i am wonderin how do u know if your network is running at 10mbps or
100mbps??

Are the images on a drive by themselves or do you have other things (i.e. 
DB, webserver files, or more importantly, webserver AND cf log files) 
located on the same drive. If you have your webserver logs on the same 
disk, every single request will require a read of the image file and a 
write to the log file on the same disk, which are undoubtedly stored on 
different parts of the platters and can cause substantial speed hits. I 
wouldn't think you are pushing your disk subsytem to the limits of its 
capabilities but it is certainly a possibility. Reading/Writing one large 
file will give you much higher performance then reading/writing lots of 
small files.

andrew golden 


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




RE: Changes in a Directory CFDIRECTORY

2003-11-13 Thread d.a.collie
you could... 
store it as a record in a specialy created database table (column for
each of the cfdirectory outputs)
wddx it and store it in a single field in a database (or file)
store it in the application scope
store it in the session scope

 
depends what you want to do with it :-)

	-Original Message-
	From: Mickael [mailto:[EMAIL PROTECTED] 
	Sent: 13 November 2003 17:37
	To: CF-Talk
	Subject: Re: Changes in a Directory CFDIRECTORY
	
	
	Sorry if this is a basic question.How do you store the
contents of CFDirectory?
	- Original Message - 
	From: Thomas Chiverton 
	To: CF-Talk 
	Sent: Thursday, November 13, 2003 12:04 PM
	Subject: Re: Changes in a Directory CFDIRECTORY
	
	On Thursday 13 Nov 2003 16:56 pm, Mickael wrote:
	 I have a directory where files are getting uploaded (not via
CF).I know
	 how to get the contents of the directory with CFDIRECTORY
how would I get
	 changes to the directory?I would like to send an email out
to a certain a
	 group of people when ever a new file is uploaded.
	
	ummm... easy... ?
	
	store the last dir listing you saw in a persistant store.
	for each item in current dir listing, add to notify_list if
not in last dir 
	listing.
	update stored dir listing with current
	
	-- 
	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]




Re[2]: crystal report to pdf

2003-11-13 Thread houseoffusion
Thanks Marlon,
but I have no idea where to find this ASP.net frameworks and never used aspx :(
can you tell me more about that
Salva

 Short answer: no. 

 Long answer: Install the ASP.net framework on the server.  Call the 
 report from a simple aspx template.  The asp templates that come with 
 Crystal are very explanatory.  The one advatage to asp.net is that you 
 have a lot better error handling, which you'll need with all the 
 problems Crystal can have :).  Call the aspx from cf using cfhttp.

 Marlon

 Salva magaz wrote:

 I need to generate crystal report on pdf files saved automatically in 
 a server
 is there a solution usinf cf?
 thanks
 salva
 


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




  1   2   >