RE: XML in CF vs. Java

2002-05-23 Thread Kwang Suh

Yeah, I was actually referring to CFMX.

-Original Message-
From: Dave Carabetta [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 11:35 PM
To: CF-Talk
Subject: Re: XML in CF vs. Java


 Phew...  Parsing XML in Java is a gigantic pain in the ass.

 I'd say it's about an order of magnitude easier manipulating XML in CF vs.
 Java.

Funny you say that now. Just wait till the release of MX with its native XML
parsing abilities. Talk about easy!!

Regards,
Dave.

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



CF MX downloads

2002-05-23 Thread Lewis Sellers

I don't suppose anyone knows of a place to do a direct download of the CF 
MX prerelease? They've gimmicked up the download page so you can't use a 
download manager, which makes it almost impossible to download unless 
you're lucky enough to live in an area with cable.

--min

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



RE: Creating a CSV in a select

2002-05-23 Thread Rich Wild

If you are using MS SQL, there's an option that can be set to still have the
string built even if a NULL is encountered...

SET CONCAT_NULL_YIELDS_NULL {ON | OFF}

so you could do:

CFQUERY NAME=GetDocs...
SET CONCAT_NULL_YIELDS_NULL OFF
SELECT
'' + RTRIM(CATEGORY) + '' + ',' +
'' + RTRIM(newc2) + '' + ',' +
...
'' + RTRIM(C_Alias) + ''
AS line
FROM table
SET CONCAT_NULL_YIELDS_NULL ON
/CFQUERY

 -Original Message-
 From: BEN MORRIS [mailto:[EMAIL PROTECTED]]
 Sent: 22 May 2002 21:52
 To: CF-Talk
 Subject: SQL: Creating a CSV in a select
 
 
 A while ago Marian Dumitrascu posted the following code to 
 create a csv file which is very nice and clean:
 
 CFQUERY NAME=GetDocs...
   SELECT
   '' + RTRIM(CATEGORY) + '' + ',' +
   '' + RTRIM(newc2) + '' + ',' +
   ...
   '' + RTRIM(C_Alias) + ''
   AS line
   FROM table
 /CFQUERY
 !--- create the file content 
 CFSET filecontent = ValueList(GetDocs.line,#CHR(13)##CHR(10)#)
 !--- and save it ---
 cffile action=APPEND file=#csvfile# output=#filecontent#
 
 My problem comes in trying to do the select statement, I am 
 finding that it will not populate that line field if any of 
 the fields used to build it are null.  Is there a way to get 
 around this in the select statement.  Having to loop through 
 a query takes far too much time with 7000 records, where 
 ValueList() is much quicker.
 
 TIA for any help.
 
 ---
 
   Ben Morris
 
   Web Site Developer
   American Federation of Government Employees, AFL-CIO
   (202) 639-6448
   www.afge.org
 
 
 
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



SOT: SQL Server virus

2002-05-23 Thread Peter Tilbrook

Worm hits SQL servers

A NEW worm which has infected thousands of servers running Microsoft SQL
server, although security vendor Symantec says it is not a serious threat.

The worm, known as Spida Worm, js.spida.b.worm, Double Tap and SQLSnake,
searches for access the databases via the default system administrator
login, and then forwards database configuration information and the password
database to an email address.
As well as its security violations, it can create a huge traffic burden by
running up to 100 scans simultaneously, for both local and remote hosts.

Symantec has given the worm a rating of 2 on a scale of 1 to 5, but Security
software vendor ISS X-Force, which issued an alert on the worm, said it was
responsible for millions of port scans on the internet so far. Incidents.org
reports scans of the 1433 port, which the worm probes, had jumped
dramatically since Monday, although they began to slow yesterday.

Head of ISS's Global Threats Operations Centre, Dennis Treece, said it
simply exploited the tendency to not reconfigure default system settings.

It's not a vulnerabilty of the software, which is usually the case with a
Microsoft issue, it's actually... exploiting the fact that people are
sometimes lazy and don't put a password on the account, Mr Treece said.

The worm appeared to be forwarding database files to a mail-forwarding
service in Singapore with the domain name postone.com

ISS was trying to contact the administrators of the service, he said.

The worm installs several files, including files named sqlprocess.js,
sqlexec.js, and clemail.exe, into the Windowssystem32 directory.

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



Fusion Authority News Alert (109)

2002-05-23 Thread Michael Dinowitz

http://www.fusionauthority.com/alert/index.cfm?alertid=109

Specials
 A Thank You to Our Readers
Community
 CFUN-02 Hotel Room Discount Expires Soon!
 New Function to Parse XML Resource Feed
 Fantastic ColdFusion FAQ
 More Conversations from Hal and Steve
Reviews
 Infoworld: A Striking Balance (A Review of Macromedia's Studio MX)
 A Flash-Forward Look
Security
 Microsoft Supplies 'Critical' Patch for IE 
 SQLSnake Worm Spreads Like Crazy off of SQL Server Vulnerability
 Website Security Hole Found and Patched
 Update to Macromedia Flash Player 6 Streaming Issue
Tech and Tags
 What's New in the Tag Gallery?
 What's New at CFLib.org?
Knowledge Base
 ColdFusion Server (All Versions): Connection Failure Errors With the CFCACHE and 
CFHTTP Tags 
 ColdFusion Server 5, ColdFusion Studio 5, and HomeSite 5 (Windows): The Error 
Number 0x80040707 Occurs During Installation 
 Installing the IIS Lockdown Tool 2.1 Causes Users To Be Prompted To Download or 
Save ColdFusion Pages 
 ColdFusion Server 5 (Linux): After Upgrading ColdFusion Server with an Apache Web 
Server, Any CFML Request Returns HTML Source Code
 ColdFusion Server 5 (And Previous Versions): Client Variable Size Limit of 65,000 
Characters
 ColdFusion Server versions 4.5 and 5: Sendmail May Reject Mail Generated From the 
CFMAIL Tag 
 Removing Basic Authentication When Using Apache or Other NCSA Web Servers 
 Processing Alternate File Extensions in ColdFusion Server Running on IIS Web 
Server 
 ColdFusion Server 5: Error When Updating a Grid Control Using cfgridupdate and 
the j2re1.4.0 Plug-in 
  ColdFusion Server (versions 4.5.1 sp2 and 5): Using cfwddx to Deserialize 
Extended ASCII Characters Causes an XML Parsing Error  
 Macromedia Spectra 1.0.1: Extending the Spectra Studio Tools for ColdFusion 
Studio 4.x and Up
 JRun 4.0: Using JRun Studio 3.0.1 with JRun 4.0 
 JRun 4.0: Known Issues
 JRun 4.0: Using Full-Text Search in JRun 4 Online Documentation 
 JRun 4.0: Connecton Pool Logging in JRun 4.0 
 JRun 4.0: Using SSL in JRun Web Server Connector 
 JRun 3.x/4.x: Capitalization of Files and Directories and JRun
 JRun 4.0: JRun Server Won't Start After Editing XML Property Files With 
Dreamweaver MX 
 JRun 4.0: Configuring Individual JVM Settings for each JRun Server
 JRun 4.0: Windows Security Patches Required for Windows Login Module 
 JRun 4.0: IIS Patch Requirements for the ISAPI Connector
 JRun 4.0 Scrollable ResultSets with Oracle: The Oracle Thin Driver vs. Data 
Direct Oracle Type 4 Driver 
 JRun 4.0: JNDI Name Space Differences between JRun 4.0 and JRun 3.x.
 JRun 4.0: Migration Issues When Moving From 3.x to 4.0
 JRun 3.1: Hot Fix Build 39664 Available 
  JRun 3.1: Build 40461 Hot Fix Available 
 JRun 3.1: Build 41399 Hot Fix Available
 JRun 3.1: Build 44850 Hot Fix Available 
  JRun 3.1: Build 48037 Hot Fix Available 
 JRun 3.1: Build 48049 Hot Fix Available
News
 Macromedia Exec Talks Web Services
 IBM, Sun Court Macromedia
 Macromedia Unveils New Dreamweaver, ColdFusion
 More Developments in the Macromedia/Adobe Lawsuits
 Macromedia Rolls Out JRun 4


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



Re: SQL Server virus

2002-05-23 Thread Michael Dinowitz

Not too off topic. I posted this to the [EMAIL PROTECTED] list a day or so back 
and it's covered in the latest issue of Fusion Authority. As many CF programmers and 
shops use SQL, it's an important security issue. Thanks for posting it.


 Worm hits SQL servers
 
 A NEW worm which has infected thousands of servers running Microsoft SQL
 server, although security vendor Symantec says it is not a serious threat.
 
 The worm, known as Spida Worm, js.spida.b.worm, Double Tap and SQLSnake,
 searches for access the databases via the default system administrator
 login, and then forwards database configuration information and the password
 database to an email address.
 As well as its security violations, it can create a huge traffic burden by
 running up to 100 scans simultaneously, for both local and remote hosts.
 
 Symantec has given the worm a rating of 2 on a scale of 1 to 5, but Security
 software vendor ISS X-Force, which issued an alert on the worm, said it was
 responsible for millions of port scans on the internet so far. Incidents.org
 reports scans of the 1433 port, which the worm probes, had jumped
 dramatically since Monday, although they began to slow yesterday.
 
 Head of ISS's Global Threats Operations Centre, Dennis Treece, said it
 simply exploited the tendency to not reconfigure default system settings.
 
 It's not a vulnerabilty of the software, which is usually the case with a
 Microsoft issue, it's actually... exploiting the fact that people are
 sometimes lazy and don't put a password on the account, Mr Treece said.
 
 The worm appeared to be forwarding database files to a mail-forwarding
 service in Singapore with the domain name postone.com
 
 ISS was trying to contact the administrators of the service, he said.
 
 The worm installs several files, including files named sqlprocess.js,
 sqlexec.js, and clemail.exe, into the Windowssystem32 directory.
 
 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Netscape4 and Dynamic content Problems

2002-05-23 Thread Erika L Walker-Arnold

Dan,

Sorry I can't help much with your question, but I do know of a great
mailing list at http://p2p.wrox.com/javascript/ where they might be able
to help. You can also browse the archive online.

Cheers,

Erika


| -Original Message-
| From: Daniel Pacitti - ASP [mailto:[EMAIL PROTECTED]] 
| Sent: 22 May 2002 12:39
| To: CF-Talk
| Subject: OT: Netscape4 and Dynamic content Problems
| 
| 
| Hi Guys
| 
| I am having trouble placing dynamic text within an i 
| layer in Netscape 4, but it is working fine in IE5
| 
| I can get the tesxt to display fine if i position the 
| Chicklet in the top left of the page, but as soon as i move 
| the Chicklet around the page, the initial text is 
| displayed, but when the text changes, it is nowhere to be 
| seen.  I have no javascript errors, i just think that the 
| text is still appearing at the top left of the page.
| 
| What i want to know is how do i position the text relative 
| to where the i
| layer is on the page...

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



Re: Netscape4 and Dynamic content Problems

2002-05-23 Thread Stephen Moretti

Or there's the JS-Jive mailing list at Yahoo Groups, which is a mix of
CF/ASP/PHP - JS developers ;o)

http://groups.yahoo.com/group/JS-Jive/


Incidentally,  no idea exactly what your problem is, but if I remember
correctly, Nutscrape is kinda useless at ilayers - I think you have to use
DIVs instead or something like that. He says just guessing now

Regards

Stephen

- Original Message -
From: Erika L Walker-Arnold [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 10:21 AM
Subject: RE: Netscape4 and Dynamic content Problems


 Dan,

 Sorry I can't help much with your question, but I do know of a great
 mailing list at http://p2p.wrox.com/javascript/ where they might be able
 to help. You can also browse the archive online.

 Cheers,

 Erika
 

 | -Original Message-
 | From: Daniel Pacitti - ASP [mailto:[EMAIL PROTECTED]]
 | Sent: 22 May 2002 12:39
 | To: CF-Talk
 | Subject: OT: Netscape4 and Dynamic content Problems
 |
 |
 | Hi Guys
 |
 | I am having trouble placing dynamic text within an i
 | layer in Netscape 4, but it is working fine in IE5
 |
 | I can get the tesxt to display fine if i position the
 | Chicklet in the top left of the page, but as soon as i move
 | the Chicklet around the page, the initial text is
 | displayed, but when the text changes, it is nowhere to be
 | seen.  I have no javascript errors, i just think that the
 | text is still appearing at the top left of the page.
 |
 | What i want to know is how do i position the text relative
 | to where the i
 | layer is on the page...

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



RE: JRUN and MX

2002-05-23 Thread Kevan . Windle

If you're going to have them on the same machine anyway, not sure what the
advantage will be since CFMX uses the JRUN4 engine anyway.
I've been looking at trying to get CFMX to either work in distributed mode
i.e with the web server redirecting cfm pages to another server. The process
to do this is not yet documented, but is promised and is similar to that for
JRUN. 
This implies to me that you can use full JRUN as the back end for CFMX, but
I havn't done it yet. There's also a J2EE beta out next month designed
specifically to run with JRUN J2EE. 

See the thread MX in distributed mode?
 
Be interested to know how you get on.

-Original Message-
From: Craig Fisher [mailto:[EMAIL PROTECTED]]
Sent: 22 May 2002 17:45
To: CF-Talk
Subject: JRUN and MX


Hey all --

I am experimenting with MX and JRUN interoperability and wanted to try
installing JRUN on my CF MX box (Win 2K Advanced server).  Does anyone know
of any booby traps?  Anyone had any good experiences with this?  Bad? places
to look for direction?

Any idea/help/suggestions/cautionary tales would be appreciated...


Craig Fisher
[EMAIL PROTECTED]
801-791-8251



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



RE: Some kind of bug?

2002-05-23 Thread Philip Arnold - ASP

 Am I missing something here, or is this just a bug?  The
 output of this statement is:

  EQUAL

 CFIF 12:00 AM EQ 0
   EQUAL
 CFELSE
   NOT EQUAL
 /CFIF

 This is on Cold Fusion 5.

Actually, it's correct... The IS and EQ are working perfectly since
12:00 AM is 0 seconds into the day

Now, if you want to do an exact comparison, you might want to look at
Compare() or CompareNoCase()

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**


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



RE: JRUN and MX

2002-05-23 Thread Neil Clark - =TMM=

Is the CFMX JRun embed a full featured JRun server?








Neil Clark
Team Macromedia
http://www.macromedia.com/go/team

Announcing Macromedia MX!! 
http://www.macromedia.com/software/trial/.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: 23 May 2002 10:37
To: CF-Talk
Subject: RE: JRUN and MX

If you're going to have them on the same machine anyway, not sure what
the
advantage will be since CFMX uses the JRUN4 engine anyway.
I've been looking at trying to get CFMX to either work in distributed
mode
i.e with the web server redirecting cfm pages to another server. The
process
to do this is not yet documented, but is promised and is similar to that
for
JRUN. 
This implies to me that you can use full JRUN as the back end for CFMX,
but
I havn't done it yet. There's also a J2EE beta out next month designed
specifically to run with JRUN J2EE. 

See the thread MX in distributed mode?
 
Be interested to know how you get on.

-Original Message-
From: Craig Fisher [mailto:[EMAIL PROTECTED]]
Sent: 22 May 2002 17:45
To: CF-Talk
Subject: JRUN and MX


Hey all --

I am experimenting with MX and JRUN interoperability and wanted to try
installing JRUN on my CF MX box (Win 2K Advanced server).  Does anyone
know
of any booby traps?  Anyone had any good experiences with this?  Bad?
places
to look for direction?

Any idea/help/suggestions/cautionary tales would be appreciated...


Craig Fisher
[EMAIL PROTECTED]
801-791-8251




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



RE: JRUN and MX

2002-05-23 Thread Kevan . Windle

Good question. I can only guess that it's not a J2EE aplication server in
that you would need a full version to run EJB's, and that it only supports
servlet containers and not ejb containers. From a standard web app point of
view I think it's the same. But don't shoot me if I'm wrong.

-Original Message-
From: Neil Clark - =TMM= [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2002 11:19
To: CF-Talk
Subject: RE: JRUN and MX


Is the CFMX JRun embed a full featured JRun server?








Neil Clark
Team Macromedia
http://www.macromedia.com/go/team

Announcing Macromedia MX!! 
http://www.macromedia.com/software/trial/.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: 23 May 2002 10:37
To: CF-Talk
Subject: RE: JRUN and MX

If you're going to have them on the same machine anyway, not sure what
the
advantage will be since CFMX uses the JRUN4 engine anyway.
I've been looking at trying to get CFMX to either work in distributed
mode
i.e with the web server redirecting cfm pages to another server. The
process
to do this is not yet documented, but is promised and is similar to that
for
JRUN. 
This implies to me that you can use full JRUN as the back end for CFMX,
but
I havn't done it yet. There's also a J2EE beta out next month designed
specifically to run with JRUN J2EE. 

See the thread MX in distributed mode?
 
Be interested to know how you get on.

-Original Message-
From: Craig Fisher [mailto:[EMAIL PROTECTED]]
Sent: 22 May 2002 17:45
To: CF-Talk
Subject: JRUN and MX


Hey all --

I am experimenting with MX and JRUN interoperability and wanted to try
installing JRUN on my CF MX box (Win 2K Advanced server).  Does anyone
know
of any booby traps?  Anyone had any good experiences with this?  Bad?
places
to look for direction?

Any idea/help/suggestions/cautionary tales would be appreciated...


Craig Fisher
[EMAIL PROTECTED]
801-791-8251





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



Re: JRUN and MX

2002-05-23 Thread Howie Hamlin

I've heard from MM that the JRun implementation in CFMX is not the full JRun server.

Regards,

--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com  - 631-737-4668 x101
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
 Find out how iMS Stacks up to the competition: 
http://www.coolfusion.com/imssecomparison.cfm

- Original Message - 
From: Neil Clark - =TMM= [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 6:19 AM
Subject: RE: JRUN and MX


 Is the CFMX JRun embed a full featured JRun server?
 
 
 Neil Clark
 Team Macromedia
 http://www.macromedia.com/go/team
 
 Announcing Macromedia MX!! 
 http://www.macromedia.com/software/trial/.
 

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



RE: JRUN and MX

2002-05-23 Thread Neil Clark - =TMM=

Yep, thatÂ’s what I have heard, so I woudlnt count on simply relying on
that as a JRun implementation.










Neil Clark
Team Macromedia
http://www.macromedia.com/go/team

Announcing Macromedia MX!! 
http://www.macromedia.com/software/trial/.

-Original Message-
From: Howie Hamlin [mailto:[EMAIL PROTECTED]] 
Sent: 23 May 2002 11:46
To: CF-Talk
Subject: Re: JRUN and MX

I've heard from MM that the JRun implementation in CFMX is not the full
JRun server.

Regards,

--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com  - 631-737-4668 x101
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
 Find out how iMS Stacks up to the competition:
http://www.coolfusion.com/imssecomparison.cfm

- Original Message - 
From: Neil Clark - =TMM= [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 6:19 AM
Subject: RE: JRUN and MX


 Is the CFMX JRun embed a full featured JRun server?
 
 
 Neil Clark
 Team Macromedia
 http://www.macromedia.com/go/team
 
 Announcing Macromedia MX!! 
 http://www.macromedia.com/software/trial/.
 


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



File Managemer

2002-05-23 Thread Graham Lewis

Re my last post on File Management systems.  I found this freeware tag
on the CFAdviser Tag gallery.  It appears to do the basics of what I
want and I can extend it later if need be.

File Manager

Author: Bryan Love 
Company: 
Submitted: Jan 08, 2002
Modified: Jan 28, 2002 
Price: $0.00 
Downloads: 124 

However.

It correctly displays the directory structure and allows me to browse. 
I can delete individual files but when I try anything else, I get a
dialogue telling me that I nned to select a folder in which/upon which
to perform the action.  I had alreadt done so but this seems not to be
picked up.  Any ideas?

It has just ocurred to me that this might be a v5 specific tag as I am
running v4.5

Graham

Graham Lewis
Centre for Academic Practice
University of Warwick
CV4 7AL
Tel: 024 765 73109
Mobile: 07733450022
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



X-Drive-like File Management System

2002-05-23 Thread Brian Klaas

I'm looking for a CF-based file management system along the lines of
xdrive.com (with or without the Java interface). Commercial or open-source
solutions are just fine. The goal here is to provide users with an online
file locker in which they can store frequently used files and then share
specific files with other users, if desired.

Any suggestions are greatly appreciated!

Brian Klaas

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



Back button-refresh

2002-05-23 Thread Janine Jakim

Can I force a page to refresh when a user hits the back button?  If so How??
Thanks
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Does CFmail MESSAGENUMBER accept variables?

2002-05-23 Thread Owen Leonard

 CFPOP SERVER=mail.company.com
 USERNAME=#username#
 PASSWORD=#password#
 ACTION=Delete
 MESSAGENUMBER=1,2,3

 can MESSAGENUMBER=#variable#?

Of course it can be a variable.  If your form page has a list of
identically named checkboxes, the checkbox values will come through as a
list.  So #FORM.messagenumbers# will be something like 1,2,3.

-- Owen

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



RE: JRUN and MX

2002-05-23 Thread Kevan . Windle

Fair point. But it would be interesting to know exactly what you couldn't do
with CFMX that you can with JRUN apart from implementing EJB's. If it's a
competitor for other application servers, and indeed for JRUN as a web
application server then I would hope that it could do anything the servlet
container of the full JRUN can do. 

-Original Message-
From: Neil Clark - =TMM= [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2002 12:07
To: CF-Talk
Subject: RE: JRUN and MX


Yep, that's what I have heard, so I woudlnt count on simply relying on
that as a JRun implementation.










Neil Clark
Team Macromedia
http://www.macromedia.com/go/team

Announcing Macromedia MX!! 
http://www.macromedia.com/software/trial/.

-Original Message-
From: Howie Hamlin [mailto:[EMAIL PROTECTED]] 
Sent: 23 May 2002 11:46
To: CF-Talk
Subject: Re: JRUN and MX

I've heard from MM that the JRun implementation in CFMX is not the full
JRun server.

Regards,

--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com  - 631-737-4668 x101
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
 Find out how iMS Stacks up to the competition:
http://www.coolfusion.com/imssecomparison.cfm

- Original Message - 
From: Neil Clark - =TMM= [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 6:19 AM
Subject: RE: JRUN and MX


 Is the CFMX JRun embed a full featured JRun server?
 
 
 Neil Clark
 Team Macromedia
 http://www.macromedia.com/go/team
 
 Announcing Macromedia MX!! 
 http://www.macromedia.com/software/trial/.
 



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



RE: Back button-refresh

2002-05-23 Thread Burcham, Steve

You could try this:

cfheader name=EXPIRES value=#NOW()#

 
Thank you.
 
Steve Burcham
Webmaster - Field Support Team
RDO Equipment Co.
Phone (701) 239-8755
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-Original Message-
From: Janine Jakim [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 7:17 AM
To: CF-Talk
Subject: Back button-refresh


Can I force a page to refresh when a user hits the back button?  If so How??
Thanks

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



Date Time Manipulations in Query?

2002-05-23 Thread Paul Ihrig

ok i have this query

once the results are generated 
i can do this, below...
but i would like to be able to do the same thing in the select query.
so i can do some checks in my where statements.

how would i do the Years At Firm:  Total Years Experience: in a select
query?

hire date: #DateFormat(HIRE_DATE, mm/dd/)#
years other firms: CFIF #YEARS_OTHER_FIRMS# IS CFSET YEARS_OTHER_FIRMS
= 0CFELSE#LSNumberFormat(YEARS_OTHER_FIRMS)#/cfif
Years At Firm: #YearsAtFirm# CFSET TotalD = #Year(todayDate)# -
#Year(set_Emp.HIRE_DATE)# #TotalD#
Total Years Experience: CFSET TotalYearsEx1 =
#LSNumberFormat(YEARS_OTHER_FIRMS)# + #TotalD##TotalYearsEx1#

Thank You
-paul




cfquery name=set_Emp datasource=rtwod2 dbtype=ODBC
SELECT 
tblEmployee.EmployeeID, tblEmployee.StudioID, tblEmployee.TitleID,
tblEmployee.PracticeGroupID, tblEmployee.FirstName, tblEmployee.LastName,
tblEmployee.FloorID, tblEmployee.Email, tblEmployee.EmployeePhoto,
tblEmployee.StatusID, tblEmployee.HIRE_DATE, tblEmployee.YEARS_OTHER_FIRMS, 
tblStudio.StudioID, tblStudio.StudioName, tblStudio.OfficeID, 
tblOffice.OfficeID, tblOffice.City, tblJobTitle.TitleID, tblJobTitle.Title,
tblFloor.Floor, 
tblPhone.PhoneID, tblPhone.PhoneTypeID, tblPhone.PhoneNumb,
tblEmplDegree.EMPLOYEE_DEGREE, tblEmplDegree.EMPLOYEE_ID,
tblEmplDegree.INSTITUTION, tblEmplDegree.YEAR_DEGREE_EARNED,
tblEmplDegree.DEGREE_SPECIALTY, tblEmplDiscipline.DISCIPLINE_NAME_EMPL,
tblEmplRegistration.DATE_EARNED_REGISTRATION,
tblEmplRegistration.STATE_REGISTERED
FROM tblEmployee, tblStudio, tblOffice, tblJobTitle, tblFloor, tblPhone,
tblEmplDegree,tblEmplDiscipline, tblEmplRegistration
WHERE tblEmployee.StatusID  0
AND tblEmployee.StudioID = tblStudio.StudioID
AND tblEmployee.TitleID = tblJobTitle.TitleID
AND tblEmployee.FloorID = tblFloor.FloorID
AND tblEmployee.EmployeeID = tblPhone.EmpResID
AND tblStudio.OfficeID = tblOffice.OfficeID
AND tblPhone.PhoneTypeID = '1'

!--- Filter by StudioID if needed ---
CFIF Trim(FORM.StudioID) IS NOT  and Trim(FORM.StudioID) is not 0
AND tblEmployee.StudioID = #LSParseNumber(FORM.StudioID)#
/CFIF

!--- Filter by EMPLOYEE_DEGREE if needed ---
CFIF Trim(FORM.EMPLOYEE_DEGREE) IS NOT 
AND tblEmplDegree.EMPLOYEE_ID=tblEmployee.EmployeeID
AND EMPLOYEE_DEGREE LIKE '%#Trim(FORM.EMPLOYEE_DEGREE)#%'
/CFIF

!--- Filter by INSTITUTION if needed ---
CFIF Trim(FORM.INSTITUTION) IS NOT 
AND tblEmplDegree.EMPLOYEE_ID=tblEmployee.EmployeeID
AND INSTITUTION LIKE '%#Trim(FORM.INSTITUTION)#%'
/CFIF

!--- Filter by DEGREE_SPECIALTY if needed ---
CFIF Trim(FORM.DEGREE_SPECIALTY) IS NOT 
AND tblEmplDegree.EMPLOYEE_ID=tblEmployee.EmployeeID
AND DEGREE_SPECIALTY LIKE '%#Trim(FORM.DEGREE_SPECIALTY)#%'
/CFIF

!--- Filter by YEAR_DEGREE_EARNED if needed ---
CFIF Trim(FORM.S_year_degree_earned) IS NOT 
AND tblEmplDegree.EMPLOYEE_ID=tblEmployee.EmployeeID
AND YEAR_DEGREE_EARNED BETWEEN #Year(FORM.S_year_degree_earned)# AND
#Year(FORM.E_year_degree_earned)#
/CFIF

!--- Filter by Phone if needed ---
CFIF Trim(FORM.Phone) IS NOT 
AND (tblPhone.PhoneNumb LIKE '%#Trim(FORM.Phone)#%')
/CFIF

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



Website Deployment through DWMX w/Source Safe...

2002-05-23 Thread Houk, Gary

Is it possible to upload a project through DWMX AND use MS Source Safe for file 
version management? I can create a new site and upload it just fine, but once I change 
the Remote Info/Access option to point to a Source Safe DB, I can no longer upload the 
files. I always had a similar issue with Studio. When I would upload a project for the 
first time, it worked fine. But because Source Safe marks all of the files as read 
only, I could never upload/overwrite a file on the server I was trying to upload to. 

Any thoughts, comments, recommendations on how to handle web site project deployment 
using the Macromedia tools? It also appears that the option to deploy to multiple 
servers is not implemented in DWMX. Any other suggested workarounds other than 
file/copy/paste ;-)

Thanks,

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



Re: JRUN and MX

2002-05-23 Thread Kym Kovan

I've heard from MM that the JRun implementation in CFMX is not the full 
JRun server.

I missed the original post from this thread and I am surprised the no-one 
official has said anything as we have been well informed at various 
presentations.

As we were told: The first release of CF MX is a combination of JRun and 
CF, ie a standalone version, then there will other versions after that that 
will be CF MX on top of JRun, or WebSphere, or whatever J2EE server.


--

Yours,

Kym

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



RE: Website Deployment through DWMX w/Source Safe...

2002-05-23 Thread Dennis Grady

Gary,

I've been doing this successfully. The problem I often encounter is entering
the incorrect project name. For instance, I have a VSS project, app2, that
is essentially a sub-project or app1. In DWMX the Project entry then says
$/app2/app2. Have you looked at this?


Dennis Grady
Fig Leaf Software
Senior Developer/Team Leader
W: 404.995.6047
F: 404.995.6031

 -Original Message-
From:   Houk, Gary [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, May 23, 2002 9:08 AM
To: CF-Talk
Subject:Website Deployment through DWMX w/Source Safe...

Is it possible to upload a project through DWMX AND use MS Source Safe for
file version management? I can create a new site and upload it just fine,
but once I change the Remote Info/Access option to point to a Source Safe
DB, I can no longer upload the files. I always had a similar issue with
Studio. When I would upload a project for the first time, it worked fine.
But because Source Safe marks all of the files as read only, I could never
upload/overwrite a file on the server I was trying to upload to. 


Any thoughts, comments, recommendations on how to handle web site project
deployment using the Macromedia tools? It also appears that the option to
deploy to multiple servers is not implemented in DWMX. Any other suggested
workarounds other than file/copy/paste ;-)

Thanks,

- Gary

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



Re: SQL Server virus

2002-05-23 Thread Valerie L. Criswell

Thought this might be interesting.


- Original Message -
From: Peter Tilbrook [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 3:39 AM
Subject: SOT: SQL Server virus


 Worm hits SQL servers

 A NEW worm which has infected thousands of servers running Microsoft SQL
 server, although security vendor Symantec says it is not a serious threat.

 The worm, known as Spida Worm, js.spida.b.worm, Double Tap and SQLSnake,
 searches for access the databases via the default system administrator
 login, and then forwards database configuration information and the
password
 database to an email address.
 As well as its security violations, it can create a huge traffic burden by
 running up to 100 scans simultaneously, for both local and remote hosts.

 Symantec has given the worm a rating of 2 on a scale of 1 to 5, but
Security
 software vendor ISS X-Force, which issued an alert on the worm, said it
was
 responsible for millions of port scans on the internet so far.
Incidents.org
 reports scans of the 1433 port, which the worm probes, had jumped
 dramatically since Monday, although they began to slow yesterday.

 Head of ISS's Global Threats Operations Centre, Dennis Treece, said it
 simply exploited the tendency to not reconfigure default system settings.

 It's not a vulnerabilty of the software, which is usually the case with a
 Microsoft issue, it's actually... exploiting the fact that people are
 sometimes lazy and don't put a password on the account, Mr Treece said.

 The worm appeared to be forwarding database files to a mail-forwarding
 service in Singapore with the domain name postone.com

 ISS was trying to contact the administrators of the service, he said.

 The worm installs several files, including files named sqlprocess.js,
 sqlexec.js, and clemail.exe, into the Windowssystem32 directory.

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



encrypt dir and sub dir .cfm templates

2002-05-23 Thread Dowdell, Jason G

Hi All,

What is the fastest way to encrypt a directory with multiple subdirectories
of .cfm templates?  I've tried the command line approach but it often throws
errors and is a little time consuming.  I thought of just creating a project
once I'm ready to encrypt and then encrypt the project and then delete the
project once I've uploaded the files.  Does this makes sense?  Anyone
have some more useful tips?

Thanks,
Jason

!---
 Jason Dowdell
 [EMAIL PROTECTED]
 321.799.6845
 IM AES - Web Developer
 ---

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



RE: Website Deployment through DWMX w/Source Safe...

2002-05-23 Thread Houk, Gary

Hi Dennis,

Yes, I have verified that I pointed it to the correct VSS project. When I check files 
out of Dreamweaver, I looked in VSS and once I refreshed, I could tell that the file 
was checked out by me. For some reason I can't get it to upload to the server when I'm 
connected to the VSS db...

-Original Message-
From: Dennis Grady [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:24 AM
To: CF-Talk
Subject: RE: Website Deployment through DWMX w/Source Safe...


Gary,

I've been doing this successfully. The problem I often encounter is entering
the incorrect project name. For instance, I have a VSS project, app2, that
is essentially a sub-project or app1. In DWMX the Project entry then says
$/app2/app2. Have you looked at this?


Dennis Grady
Fig Leaf Software
Senior Developer/Team Leader
W: 404.995.6047
F: 404.995.6031

 -Original Message-
From:   Houk, Gary [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, May 23, 2002 9:08 AM
To: CF-Talk
Subject:Website Deployment through DWMX w/Source Safe...

Is it possible to upload a project through DWMX AND use MS Source Safe for
file version management? I can create a new site and upload it just fine,
but once I change the Remote Info/Access option to point to a Source Safe
DB, I can no longer upload the files. I always had a similar issue with
Studio. When I would upload a project for the first time, it worked fine.
But because Source Safe marks all of the files as read only, I could never
upload/overwrite a file on the server I was trying to upload to. 


Any thoughts, comments, recommendations on how to handle web site project
deployment using the Macromedia tools? It also appears that the option to
deploy to multiple servers is not implemented in DWMX. Any other suggested
workarounds other than file/copy/paste ;-)

Thanks,

- Gary


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



Re: SQL Server virus - pardon me!

2002-05-23 Thread Valerie L. Criswell

bah... I meant to send that to my husband at his office... I'll go get my
coffee now.


- Original Message -
From: Valerie L. Criswell [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 9:19 AM
Subject: Re: SQL Server virus


 Thought this might be interesting.


 - Original Message -
 From: Peter Tilbrook [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, May 23, 2002 3:39 AM
 Subject: SOT: SQL Server virus


  Worm hits SQL servers
 
  A NEW worm which has infected thousands of servers running Microsoft SQL
  server, although security vendor Symantec says it is not a serious
threat.
 
  The worm, known as Spida Worm, js.spida.b.worm, Double Tap and SQLSnake,
  searches for access the databases via the default system administrator
  login, and then forwards database configuration information and the
 password
  database to an email address.
  As well as its security violations, it can create a huge traffic burden
by
  running up to 100 scans simultaneously, for both local and remote hosts.
 
  Symantec has given the worm a rating of 2 on a scale of 1 to 5, but
 Security
  software vendor ISS X-Force, which issued an alert on the worm, said it
 was
  responsible for millions of port scans on the internet so far.
 Incidents.org
  reports scans of the 1433 port, which the worm probes, had jumped
  dramatically since Monday, although they began to slow yesterday.
 
  Head of ISS's Global Threats Operations Centre, Dennis Treece, said it
  simply exploited the tendency to not reconfigure default system
settings.
 
  It's not a vulnerabilty of the software, which is usually the case with
a
  Microsoft issue, it's actually... exploiting the fact that people are
  sometimes lazy and don't put a password on the account, Mr Treece said.
 
  The worm appeared to be forwarding database files to a mail-forwarding
  service in Singapore with the domain name postone.com
 
  ISS was trying to contact the administrators of the service, he said.
 
  The worm installs several files, including files named sqlprocess.js,
  sqlexec.js, and clemail.exe, into the Windowssystem32 directory.
 
 
 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Does CFmail MESSAGENUMBER accept variables?

2002-05-23 Thread Chris Lofback

Paul:

Make sure the variables value is either a single number or comma-delimited,
and try enclosing the variable in double-quotes:

MESSAGENUMBER=#variable#

Chris Lofback
Sr. Web Developer

TRX Integration
28051 US 19 N., Ste. C
Clearwater, FL  33761
www.trxi.com


-Original Message-
From: Paul [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 7:25 PM
To: CF-Talk
Subject: Does CFmail MESSAGENUMBER accept variables?


Hello,
I am trying to delete specific messages from a pop server using the
CFPOPSERVER command, following this example...

CFPOP SERVER=mail.company.com
USERNAME=#username#
PASSWORD=#password#
ACTION=Delete
MESSAGENUMBER=1,2,3

can MESSAGENUMBER=#variable#?


The messages to be deleted are selected by the user using a
checkbox therefore I do not know which messagenumber is to be deleted until
the form is completed and cannot hardcode it. MESSAGENUMBER seems to only
want to take a numeric value, any variable i have tried to use is not being
accepted. Any advice would be appreciated.
Thanks



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



RE: Website Deployment through DWMX w/Source Safe...

2002-05-23 Thread Dennis Grady

Hey Gary,

When you set up the remote site did you check Automatically upload files to
server on save? 


Dennis Grady
Fig Leaf Software
Senior Developer/Team Leader
W: 404.995.6047
F: 404.995.6031

 -Original Message-
From:   Houk, Gary [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, May 23, 2002 9:22 AM
To: CF-Talk
Subject:RE: Website Deployment through DWMX w/Source Safe...

Hi Dennis,

Yes, I have verified that I pointed it to the correct VSS project. When I
check files out of Dreamweaver, I looked in VSS and once I refreshed, I
could tell that the file was checked out by me. For some reason I can't get
it to upload to the server when I'm connected to the VSS db...

-Original Message-
From: Dennis Grady [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:24 AM
To: CF-Talk
Subject: RE: Website Deployment through DWMX w/Source Safe...


Gary,

I've been doing this successfully. The problem I often encounter is entering
the incorrect project name. For instance, I have a VSS project, app2, that
is essentially a sub-project or app1. In DWMX the Project entry then says
$/app2/app2. Have you looked at this?


Dennis Grady
Fig Leaf Software
Senior Developer/Team Leader
W: 404.995.6047
F: 404.995.6031

 -Original Message-
From:   Houk, Gary [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, May 23, 2002 9:08 AM
To: CF-Talk
Subject:Website Deployment through DWMX w/Source Safe...

Is it possible to upload a project through DWMX AND use MS Source Safe for
file version management? I can create a new site and upload it just fine,
but once I change the Remote Info/Access option to point to a Source Safe
DB, I can no longer upload the files. I always had a similar issue with
Studio. When I would upload a project for the first time, it worked fine.
But because Source Safe marks all of the files as read only, I could never
upload/overwrite a file on the server I was trying to upload to. 


Any thoughts, comments, recommendations on how to handle web site project
deployment using the Macromedia tools? It also appears that the option to
deploy to multiple servers is not implemented in DWMX. Any other suggested
workarounds other than file/copy/paste ;-)

Thanks,

- Gary



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



Expiring Link

2002-05-23 Thread Mark Leder

In an e-com application, how do I create an expiring link which will no
longer work after, say 6 hours?

Thanks,
Mark

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



RE: encrypt dir and sub dir .cfm templates

2002-05-23 Thread Philip Arnold - ASP

 What is the fastest way to encrypt a directory with multiple
 subdirectories
 of .cfm templates?  I've tried the command line approach but
 it often throws
 errors and is a little time consuming.  I thought of just
 creating a project
 once I'm ready to encrypt and then encrypt the project and
 then delete the
 project once I've uploaded the files.  Does this makes sense?  Anyone
 have some more useful tips?

Someone did a GUI for encrypting the files... Can't remember where I got
it from, or where it's installed, but I've definitely seen one

If I can dig out the info, then I'll post it

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**


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



HELP! Searching for a Custom Tag

2002-05-23 Thread Mallory Woods

Greetings All,

I am looking for the custom tag called CFX_ParseHTML it appears that
when we upgraded our server this tag
Was not copied over.. I have been searching all over for it and every
place I look no longer has the tag.. Does anyone have a working link or
perhaps the file itself.. 

Thanks in Advance..

Mallory Woods






This email and any files transmitted with it are confidential and are intended solely 
for the use of the individual or entity to which they are addressed.  If you are not 
the intended recipient or the person responsible for delivering the email to the 
intended recipient, be advised that you have received this email and any such files in 
error and that any use, dissemination, forwarding, printing or copying of this email 
and/or any such files is strictly prohibited.  If you have received this email in 
error please immediately notify [EMAIL PROTECTED] and destroy the original message 
and any such files.
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Website Deployment through DWMX w/Source Safe...

2002-05-23 Thread Houk, Gary

Dennis,

No, I didn't. I can't always upload files to the production server upon save...Isn't 
this what this means?

-Original Message-
From: Dennis Grady [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:37 AM
To: CF-Talk
Subject: RE: Website Deployment through DWMX w/Source Safe...


Hey Gary,

When you set up the remote site did you check Automatically upload files to
server on save? 


Dennis Grady
Fig Leaf Software
Senior Developer/Team Leader
W: 404.995.6047
F: 404.995.6031

 -Original Message-
From:   Houk, Gary [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, May 23, 2002 9:22 AM
To: CF-Talk
Subject:RE: Website Deployment through DWMX w/Source Safe...

Hi Dennis,

Yes, I have verified that I pointed it to the correct VSS project. When I
check files out of Dreamweaver, I looked in VSS and once I refreshed, I
could tell that the file was checked out by me. For some reason I can't get
it to upload to the server when I'm connected to the VSS db...

-Original Message-
From: Dennis Grady [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:24 AM
To: CF-Talk
Subject: RE: Website Deployment through DWMX w/Source Safe...


Gary,

I've been doing this successfully. The problem I often encounter is entering
the incorrect project name. For instance, I have a VSS project, app2, that
is essentially a sub-project or app1. In DWMX the Project entry then says
$/app2/app2. Have you looked at this?


Dennis Grady
Fig Leaf Software
Senior Developer/Team Leader
W: 404.995.6047
F: 404.995.6031

 -Original Message-
From:   Houk, Gary [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, May 23, 2002 9:08 AM
To: CF-Talk
Subject:Website Deployment through DWMX w/Source Safe...

Is it possible to upload a project through DWMX AND use MS Source Safe for
file version management? I can create a new site and upload it just fine,
but once I change the Remote Info/Access option to point to a Source Safe
DB, I can no longer upload the files. I always had a similar issue with
Studio. When I would upload a project for the first time, it worked fine.
But because Source Safe marks all of the files as read only, I could never
upload/overwrite a file on the server I was trying to upload to. 


Any thoughts, comments, recommendations on how to handle web site project
deployment using the Macromedia tools? It also appears that the option to
deploy to multiple servers is not implemented in DWMX. Any other suggested
workarounds other than file/copy/paste ;-)

Thanks,

- Gary




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



RE: encrypt dir and sub dir .cfm templates

2002-05-23 Thread Dowdell, Jason G

Oh, that would definitely be nice to have.
I hate giving clients apps that aren't encrypted
but somtimes I have no choice.

Thanks,
Jason

-Original Message-
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:35 AM
To: CF-Talk
Subject: RE: encrypt dir and sub dir .cfm templates


 What is the fastest way to encrypt a directory with multiple
 subdirectories
 of .cfm templates?  I've tried the command line approach but
 it often throws
 errors and is a little time consuming.  I thought of just
 creating a project
 once I'm ready to encrypt and then encrypt the project and
 then delete the
 project once I've uploaded the files.  Does this makes sense?  Anyone
 have some more useful tips?

Someone did a GUI for encrypting the files... Can't remember where I got
it from, or where it's installed, but I've definitely seen one

If I can dig out the info, then I'll post it

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**



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



OT: test1234

2002-05-23 Thread Ken Beard

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



Re: Expiring Link

2002-05-23 Thread David Hannum \(Ohio University\)

One way would be when the link is established, put a variable in the URL
that has a time stamp in it.  Then, in your app, put a CFIF that reads that
timestamp if it exists, and don't write out the link if it's after 6 hours.
You could populate the timestamp from a cookie you set on the visitors
client at the time they visit.

Dave

- Original Message -
From: Mark Leder [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 9:32 AM
Subject: Expiring Link


 In an e-com application, how do I create an expiring link which will no
 longer work after, say 6 hours?

 Thanks,
 Mark

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



RE: Date Time Manipulations in Query?

2002-05-23 Thread Paul Ihrig

ok

this is what i got to work in my select now.
CFSET todayDate = #DateFormat(Now(), mm/dd/)#

cfquery name=set_Emp datasource=R2D2 dbtype=ODBC
SELECT #Year(todayDate)# - Year(HIRE_DATE) AS YearsWithFirm,
#Year(todayDate)# - Year(HIRE_DATE) + YEARS_OTHER_FIRMS AS
TotalYearsExperience,

But if the YEARS_OTHER_FIRMS in NULL/Blank or Zero
then the alias TotalYearsExperience doesnt generate.

So how can i force a null to 0 in my select.
can i use a cfif in the select part?

Thanks Again

befor i was overriding this by
cfif

hire date: #DateFormat(HIRE_DATE, mm/dd/)#
years other firms: CFIF #YEARS_OTHER_FIRMS# IS CFSET YEARS_OTHER_FIRMS
= 0CFELSE#LSNumberFormat(YEARS_OTHER_FIRMS)#/cfif
Years At Firm: #YearsAtFirm# CFSET TotalD = #Year(todayDate)# -
#Year(set_Emp.HIRE_DATE)# #TotalD#
Total Years Experience: CFSET TotalYearsEx1 =
#LSNumberFormat(YEARS_OTHER_FIRMS)# + #TotalD##TotalYearsEx1#
 

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



RE: Date Time Manipulations in Query?

2002-05-23 Thread Allan Pichler

What about this ???


SELECT #Year(todayDate)# - Year(HIRE_DATE) AS YearsWithFirm,
#Year(todayDate)# - Year(HIRE_DATE)AS TotalYearsExperience
WHERE YEARS_OTHER_FIRMS IS null

UNION

SELECT #Year(todayDate)# - Year(HIRE_DATE) AS YearsWithFirm,
#Year(todayDate)# - Year(HIRE_DATE) + YEARS_OTHER_FIRMS AS
TotalYearsExperience 
WHERE YEARS_OTHER_FIRMS IS NOT null

Not sure if it helps, didn't try it out!

@llan



-Original Message-
From: Paul Ihrig [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 23, 2002 3:49 PM
To: CF-Talk
Subject: RE: Date Time Manipulations in Query?

ok

this is what i got to work in my select now.
CFSET todayDate = #DateFormat(Now(), mm/dd/)#

cfquery name=set_Emp datasource=R2D2 dbtype=ODBC
SELECT #Year(todayDate)# - Year(HIRE_DATE) AS YearsWithFirm,
#Year(todayDate)# - Year(HIRE_DATE) + YEARS_OTHER_FIRMS AS
TotalYearsExperience,

But if the YEARS_OTHER_FIRMS in NULL/Blank or Zero
then the alias TotalYearsExperience doesnt generate.

So how can i force a null to 0 in my select.
can i use a cfif in the select part?

Thanks Again

befor i was overriding this by
cfif

hire date: #DateFormat(HIRE_DATE, mm/dd/)#
years other firms: CFIF #YEARS_OTHER_FIRMS# IS CFSET YEARS_OTHER_FIRMS
= 0CFELSE#LSNumberFormat(YEARS_OTHER_FIRMS)#/cfif
Years At Firm: #YearsAtFirm# CFSET TotalD = #Year(todayDate)# -
#Year(set_Emp.HIRE_DATE)# #TotalD#
Total Years Experience: CFSET TotalYearsEx1 =
#LSNumberFormat(YEARS_OTHER_FIRMS)# + #TotalD##TotalYearsEx1#
 

-paul

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



RE: Website Deployment through DWMX w/Source Safe...

2002-05-23 Thread Houk, Gary

Here is a little more info:

- We have 1 devbox that we connect to  for development
- 2 servers for production (clustered)

I guess that one thing I'm not clear about is that after you setup DWMX to connect to 
a VSS DB,
how does it know where the files need to be published to, since the Remote Info is now 
Source Safe Database instead of Local/Network?

Thanks,

- Gary


-Original Message-
From: Houk, Gary 
Sent: Thursday, May 23, 2002 9:36 AM
To: CF-Talk
Subject: RE: Website Deployment through DWMX w/Source Safe...


Dennis,

No, I didn't. I can't always upload files to the production server upon save...Isn't 
this what this means?

-Original Message-
From: Dennis Grady [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:37 AM
To: CF-Talk
Subject: RE: Website Deployment through DWMX w/Source Safe...


Hey Gary,

When you set up the remote site did you check Automatically upload files to
server on save? 


Dennis Grady
Fig Leaf Software
Senior Developer/Team Leader
W: 404.995.6047
F: 404.995.6031

 -Original Message-
From:   Houk, Gary [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, May 23, 2002 9:22 AM
To: CF-Talk
Subject:RE: Website Deployment through DWMX w/Source Safe...

Hi Dennis,

Yes, I have verified that I pointed it to the correct VSS project. When I
check files out of Dreamweaver, I looked in VSS and once I refreshed, I
could tell that the file was checked out by me. For some reason I can't get
it to upload to the server when I'm connected to the VSS db...

-Original Message-
From: Dennis Grady [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:24 AM
To: CF-Talk
Subject: RE: Website Deployment through DWMX w/Source Safe...


Gary,

I've been doing this successfully. The problem I often encounter is entering
the incorrect project name. For instance, I have a VSS project, app2, that
is essentially a sub-project or app1. In DWMX the Project entry then says
$/app2/app2. Have you looked at this?


Dennis Grady
Fig Leaf Software
Senior Developer/Team Leader
W: 404.995.6047
F: 404.995.6031

 -Original Message-
From:   Houk, Gary [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, May 23, 2002 9:08 AM
To: CF-Talk
Subject:Website Deployment through DWMX w/Source Safe...

Is it possible to upload a project through DWMX AND use MS Source Safe for
file version management? I can create a new site and upload it just fine,
but once I change the Remote Info/Access option to point to a Source Safe
DB, I can no longer upload the files. I always had a similar issue with
Studio. When I would upload a project for the first time, it worked fine.
But because Source Safe marks all of the files as read only, I could never
upload/overwrite a file on the server I was trying to upload to. 


Any thoughts, comments, recommendations on how to handle web site project
deployment using the Macromedia tools? It also appears that the option to
deploy to multiple servers is not implemented in DWMX. Any other suggested
workarounds other than file/copy/paste ;-)

Thanks,

- Gary





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



RE: encrypt dir and sub dir .cfm templates

2002-05-23 Thread Philip Arnold - ASP

 Oh, that would definitely be nice to have.
 I hate giving clients apps that aren't encrypted
 but somtimes I have no choice.

Found it!

http://www.iz-net.com/

CF Encryptor
http://www.iz-net.com/products/cfenc.html

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**


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



RE: Back button-refresh

2002-05-23 Thread Rick Walters

I have never been able to get the Meta Expire to work correctly.  Is
there a cross browser solution to successfully expire the page cache so
you can't hit the back button and return to already rendered pages?  I
especially wanted to use this to clear the cache after people logout of
the application.  I'm sure someone has spent the time needed to figure
this out.

Good Fortune,
Richard Walters,
Internet Application Designer,
Davita Laboratory Services
[EMAIL PROTECTED]
(800) 604-5227 x 

 [EMAIL PROTECTED] 05/23/02 08:38AM 
You could try this:

cfheader name=EXPIRES value=#NOW()#

 
Thank you.
 
Steve Burcham
Webmaster - Field Support Team
RDO Equipment Co.
Phone (701) 239-8755
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-Original Message-
From: Janine Jakim [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 23, 2002 7:17 AM
To: CF-Talk
Subject: Back button-refresh


Can I force a page to refresh when a user hits the back button?  If so
How??
Thanks


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



RE: multipart emails

2002-05-23 Thread Andre Turrettini

AHA!  That did it!  Particular little thing isnt it?  Tks Howie.  DRE

-Original Message-
From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 4:50 PM
To: CF-Talk
Subject: Re: multipart emails


Try removing the white space before the boundary like:

--#mimeBoundary#
Content-Type: text/plain; charset=us-ascii 

and changing the last line to 

--#mimeBoundary#--

HTH,

--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com  - 631-737-4668 x101
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
 Find out how iMS Stacks up to the competition:
http://www.coolfusion.com/imssecomparison.cfm

- Original Message - 
From: Andre Turrettini [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 6:32 PM
Subject: multipart emails


 Hey Gang, my turn to post a question.  I'm trying to send a multipart mime
 email with the html and txt version.  Heres my current code.  When I
receive
 an email generated by this, I can see both versions as well as the
 boundaries.  I've also looked around and everything looks pretty similar
to
 this.  Anybody know what I'm doing wrong?  Tks.  DRE
 
 cfset email = '[EMAIL PROTECTED]'
 cfset mimeboundary = hellodrehellodre
 cfmail to=#email# 
  from=[EMAIL PROTECTED] 
  subject=subject 
  server=#request.Site.MailServer# 
  cfmailparam name=MIME-Version value=1.0 
  cfmailparam name=Content-Type
 value=multipart/alternative;boundary=#chr(34)##mimeBoundary##chr(34)# 
  This is a Multipart MIME message. 
   
  --#mimeBoundary# 
  Content-Type: text/plain; charset=us-ascii 
 
  #thismessagetxt#
 
  --#mimeBoundary# 
  Content-Type: text/html; charset=us-ascii 
 
  #thismessagehtml#
 
  --#mimeBoundary#
   /cfmail
 
 cfoutput
 

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



RE: Date Time Manipulations in Query?

2002-05-23 Thread Paul Ihrig

Thanks Allen.
that didn't work either
i am trying this

but with no success

cfquery name=set_Emp datasource=RPH dbtype=ODBC
SELECT #Year(todayDate)# - Year(HIRE_DATE) AS YearsWithFirm, CFIF
('YEARS_OTHER_FIRMS' EQ NULL) OR ('YEARS_OTHER_FIRMS' IS  ) OR
('YEARS_OTHER_FIRMS' IS )#Year(todayDate)# - Year(HIRE_DATE) AS
TotalYearsExperience,cfelse#Year(todayDate)# - Year(HIRE_DATE) +
YEARS_OTHER_FIRMS AS TotalYearsExperience,/cfif

-paul



-Original Message-
From: Allan Pichler [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 10:00 AM
To: CF-Talk
Subject: RE: Date Time Manipulations in Query?


What about this ???


SELECT #Year(todayDate)# - Year(HIRE_DATE) AS YearsWithFirm,
#Year(todayDate)# - Year(HIRE_DATE)AS TotalYearsExperience
WHERE YEARS_OTHER_FIRMS IS null

UNION

SELECT #Year(todayDate)# - Year(HIRE_DATE) AS YearsWithFirm,
#Year(todayDate)# - Year(HIRE_DATE) + YEARS_OTHER_FIRMS AS
TotalYearsExperience 
WHERE YEARS_OTHER_FIRMS IS NOT null

Not sure if it helps, didn't try it out!

@llan



-Original Message-
From: Paul Ihrig [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 23, 2002 3:49 PM
To: CF-Talk
Subject: RE: Date Time Manipulations in Query?

ok

this is what i got to work in my select now.
CFSET todayDate = #DateFormat(Now(), mm/dd/)#

cfquery name=set_Emp datasource=R2D2 dbtype=ODBC
SELECT #Year(todayDate)# - Year(HIRE_DATE) AS YearsWithFirm,
#Year(todayDate)# - Year(HIRE_DATE) + YEARS_OTHER_FIRMS AS
TotalYearsExperience,

But if the YEARS_OTHER_FIRMS in NULL/Blank or Zero
then the alias TotalYearsExperience doesnt generate.

So how can i force a null to 0 in my select.
can i use a cfif in the select part?

Thanks Again

befor i was overriding this by
cfif

hire date: #DateFormat(HIRE_DATE, mm/dd/)#
years other firms: CFIF #YEARS_OTHER_FIRMS# IS CFSET YEARS_OTHER_FIRMS
= 0CFELSE#LSNumberFormat(YEARS_OTHER_FIRMS)#/cfif
Years At Firm: #YearsAtFirm# CFSET TotalD = #Year(todayDate)# -
#Year(set_Emp.HIRE_DATE)# #TotalD#
Total Years Experience: CFSET TotalYearsEx1 =
#LSNumberFormat(YEARS_OTHER_FIRMS)# + #TotalD##TotalYearsEx1#
 

-paul


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



RE: encrypt dir and sub dir .cfm templates

2002-05-23 Thread Dowdell, Jason G

This program is awesome.  I'm shocked it's free.
This is exactly what I was looking for.  Thanks
for the tip!

~Jason

-Original Message-
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:58 AM
To: CF-Talk
Subject: RE: encrypt dir and sub dir .cfm templates


 Oh, that would definitely be nice to have.
 I hate giving clients apps that aren't encrypted
 but somtimes I have no choice.

Found it!

http://www.iz-net.com/

CF Encryptor
http://www.iz-net.com/products/cfenc.html

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**



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



RE: SQL Server virus

2002-05-23 Thread Andy Ousterhout

Are there specific listservs for SQL-Type discussions?  I am looking for a
MS SQL list.

Andy

-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 3:08 AM
To: CF-Talk
Subject: Re: SQL Server virus


Not too off topic. I posted this to the [EMAIL PROTECTED] list a day or
so back and it's covered in the latest issue of Fusion Authority. As many CF
programmers and shops use SQL, it's an important security issue. Thanks for
posting it.


 Worm hits SQL servers

 A NEW worm which has infected thousands of servers running Microsoft SQL
 server, although security vendor Symantec says it is not a serious threat.

 The worm, known as Spida Worm, js.spida.b.worm, Double Tap and SQLSnake,
 searches for access the databases via the default system administrator
 login, and then forwards database configuration information and the
password
 database to an email address.
 As well as its security violations, it can create a huge traffic burden by
 running up to 100 scans simultaneously, for both local and remote hosts.

 Symantec has given the worm a rating of 2 on a scale of 1 to 5, but
Security
 software vendor ISS X-Force, which issued an alert on the worm, said it
was
 responsible for millions of port scans on the internet so far.
Incidents.org
 reports scans of the 1433 port, which the worm probes, had jumped
 dramatically since Monday, although they began to slow yesterday.

 Head of ISS's Global Threats Operations Centre, Dennis Treece, said it
 simply exploited the tendency to not reconfigure default system settings.

 It's not a vulnerabilty of the software, which is usually the case with a
 Microsoft issue, it's actually... exploiting the fact that people are
 sometimes lazy and don't put a password on the account, Mr Treece said.

 The worm appeared to be forwarding database files to a mail-forwarding
 service in Singapore with the domain name postone.com

 ISS was trying to contact the administrators of the service, he said.

 The worm installs several files, including files named sqlprocess.js,
 sqlexec.js, and clemail.exe, into the Windowssystem32 directory.



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



RE: JRUN and MX

2002-05-23 Thread Neil Clark - =TMM=

What I understand is that if you run CFMX as a standalone version, it is
like running a JRun version.  What it actually leverages when its used
in production (i.e. does it just use the parts it needs or is has it
actually been re-engineered for CF per say) I cant say.










Neil Clark
Team Macromedia
http://www.macromedia.com/go/team

Announcing Macromedia MX!! 
http://www.macromedia.com/software/trial/.

-Original Message-
From: Kym Kovan [mailto:[EMAIL PROTECTED]] 
Sent: 23 May 2002 14:10
To: CF-Talk
Subject: Re: JRUN and MX

I've heard from MM that the JRun implementation in CFMX is not the full

JRun server.

I missed the original post from this thread and I am surprised the
no-one 
official has said anything as we have been well informed at various 
presentations.

As we were told: The first release of CF MX is a combination of JRun and

CF, ie a standalone version, then there will other versions after that
that 
will be CF MX on top of JRun, or WebSphere, or whatever J2EE server.


--

Yours,

Kym


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



SQL search with related tables

2002-05-23 Thread chad

Im writing a SQL statement to take a search word and go through the 
database to find records that match.

Well i want to search all the related tables of the products.  The database 
is kind of the standard product database.  Category Table that relates to a 
SubCategory Table, that relates to the Product Table.

So im trying to Join all the tables then use a LIKE to find the search word 
in the database.

Is there a better way to search the database for matches?

Thanks


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



RE: SQL search with related tables

2002-05-23 Thread Adrian Lynch

Would Verity be better for this? Or indexing?

-Original Message-
From: chad [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2002 16:02
To: CF-Talk
Subject: SQL search with related tables


Im writing a SQL statement to take a search word and go through the 
database to find records that match.

Well i want to search all the related tables of the products.  The database 
is kind of the standard product database.  Category Table that relates to a 
SubCategory Table, that relates to the Product Table.

So im trying to Join all the tables then use a LIKE to find the search word 
in the database.

Is there a better way to search the database for matches?

Thanks



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



page security using cfabort

2002-05-23 Thread Jeff Brown

I am planning on adding role based page level security to my application by
adding this chunk of code to every page:

body
cfif ListFindNoCase(AllowedRole1,AllowedRole2,AllowedRole3,
#session.user_role#, ,) EQ 0
You are not authorized to view this page. cfabort
/cfif

.. [page content] ...

/body

Session.user_role is set when the user logs in to the app.  Is this a fairly
standard way to do it?  Certain pages should not be viewable by certain
roles, can anyone think of an instance where a user could get past this?
TIA.

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



RE: Back button-refresh

2002-05-23 Thread Janine Jakim

Rick
I actually have the log out stuff with no back in it (thanks to some folks
on this list)- it's the regular pages that I need to refresh.  So here's the
code on my log out page.  There's no one way to do it-it depends on the
browser/machine/etc. I had a horrible time finding something that would work
on the Mac! 
good luck,
J


HTML
HEAD
!--- Client side cache prevention ---
meta http-equiv=Expires content=0

!--- Setup our expire times for Netscape and Internet Explorer ---
cfoutput
!--- Internet Explorer Date Formate: (Fri, 30 Oct 1998 14:19:41
GMT) ---
cfset
MSIEtimestamp='#dateformat(now(),DDD)#,#dateformat(now(),DD)#
#dateformat(now(),Mmm)# #timeformat(now(),HH:MM:SS)#'

!--- Netscape Date Formate: Netscape (Wednesday, Apr 26 2000
17:45:25 PM) ---
cfset
NETSCAPEtimestamp='#dateformat(now(),)#,#dateformat(now(),MMM)#
#dateformat(now(),dd)# #dateformat(now(),YYY)#
#timeformat(now(),HH:MM:SS tt)#'
/cfoutput

!--- Tell HTTP Header to force expire of page - nocache ---
cfif HTTP_USER_AGENT contains MSIE
cfheader name=Expires
value=cfoutput#MSIEtimestamp#/cfoutput
cfheader name=Pragma value=no-cache
cfheader name=cache-control value=no-cache, no-store,
must-revalidate
cfelse
cfheader name=Expires
value=cfoutput#NETSCAPEtimestamp#/cfoutput
cfheader name=Pragma value=no-cache
cfheader name=cache-control value=no-cache, no-store,
must-revalidate
/cfif
/HEAD
CFSET CLIENT.U_ID= 0
CFSET CLIENT.TchrID= 0
CFSET CLIENT.SCHL_ID= 0
CFSET CLIENT.LoggedIn=NO
CFSET CFID=0
CFSET CFTOKEN=0


!--
CFSET DeleteCLIENTVariable(CFID)
CFSET DeleteCLIENTVariable(CFTOKEN)
CFSET DeleteCLIENTVariable(SCHL_ID)
CFSET DeleteCLIENTVariable(TchrID)


CFCookie NAME=CFID VALUE= EXPIRES=Now
CFCookie NAME=CFTOKEN VALUE= EXPIRES=Now

  
!---have the history point to the page that this page is being
relocated to---  
  script language=JavaScript

!--
javascript:window.history.forward(1);
//--

/script

script language=JavaScript
!--
setTimeout(top.location.href =
'http://www.k12albemarle.org',1);self.close();
//--
/script
/HEAD

/HTML





-Original Message-
From: Rick Walters [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 10:04 AM
To: CF-Talk
Subject: RE: Back button-refresh


I have never been able to get the Meta Expire to work correctly.  Is
there a cross browser solution to successfully expire the page cache so
you can't hit the back button and return to already rendered pages?  I
especially wanted to use this to clear the cache after people logout of
the application.  I'm sure someone has spent the time needed to figure
this out.

Good Fortune,
Richard Walters,
Internet Application Designer,
Davita Laboratory Services
[EMAIL PROTECTED]
(800) 604-5227 x 

 [EMAIL PROTECTED] 05/23/02 08:38AM 
You could try this:

cfheader name=EXPIRES value=#NOW()#

 
Thank you.
 
Steve Burcham
Webmaster - Field Support Team
RDO Equipment Co.
Phone (701) 239-8755
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-Original Message-
From: Janine Jakim [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 23, 2002 7:17 AM
To: CF-Talk
Subject: Back button-refresh


Can I force a page to refresh when a user hits the back button?  If so
How??
Thanks



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



Re: page security using cfabort

2002-05-23 Thread Justin Scott

You might think about using a CFLOCATION instead to redirect to an
unauthorized page that will have a full set of HTML.  Using CFABORT in the
middle of the page like that will cause the closing tags to get cut off and
some browsers will freak out and not even display the message at all.

As for the security itself, it looks ok, but there's no way to tell for
certain if something is secure or not without seeing all of the code that
touches those variables.

-Justin Scott, Lead Developer
 Sceiron Internet Services, Inc.
 http://www.sceiron.com


- Original Message -
From: Jeff Brown [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 11:07 AM
Subject: page security using cfabort


 I am planning on adding role based page level security to my application
by
 adding this chunk of code to every page:

 body
 cfif ListFindNoCase(AllowedRole1,AllowedRole2,AllowedRole3,
 #session.user_role#, ,) EQ 0
 You are not authorized to view this page. cfabort
 /cfif

 .. [page content] ...

 /body

 Session.user_role is set when the user logs in to the app.  Is this a
fairly
 standard way to do it?  Certain pages should not be viewable by certain
 roles, can anyone think of an instance where a user could get past this?
 TIA.

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



RE: page security using cfabort

2002-05-23 Thread Paul Bowley

You could always put in the necessary closing tags before the CFABORT...

 -Original Message-
 From: Justin Scott [SMTP:[EMAIL PROTECTED]]
 Sent: 23 May 2002 16:16
 To:   CF-Talk
 Subject:  Re: page security using cfabort
 
 You might think about using a CFLOCATION instead to redirect to an
 unauthorized page that will have a full set of HTML.  Using CFABORT in
 the
 middle of the page like that will cause the closing tags to get cut off
 and
 some browsers will freak out and not even display the message at all.
 
 As for the security itself, it looks ok, but there's no way to tell for
 certain if something is secure or not without seeing all of the code
 that
 touches those variables.
 
 -Justin Scott, Lead Developer
  Sceiron Internet Services, Inc.
  http://www.sceiron.com
 
 
 - Original Message -
 From: Jeff Brown [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, May 23, 2002 11:07 AM
 Subject: page security using cfabort
 
 
  I am planning on adding role based page level security to my application
 by
  adding this chunk of code to every page:
 
  body
  cfif ListFindNoCase(AllowedRole1,AllowedRole2,AllowedRole3,
  #session.user_role#, ,) EQ 0
  You are not authorized to view this page. cfabort
  /cfif
 
  .. [page content] ...
 
  /body
 
  Session.user_role is set when the user logs in to the app.  Is this a
 fairly
  standard way to do it?  Certain pages should not be viewable by certain
  roles, can anyone think of an instance where a user could get past this?
  TIA.
 
  v/r,
  Jeff
  
 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: page security using cfabort

2002-05-23 Thread Jeff Brown

right, i was just thinking that...

-Original Message-
From: Paul Bowley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 11:24 AM
To: CF-Talk
Subject: RE: page security using cfabort


You could always put in the necessary closing tags before the CFABORT...

 -Original Message-
 From: Justin Scott [SMTP:[EMAIL PROTECTED]]
 Sent: 23 May 2002 16:16
 To:   CF-Talk
 Subject:  Re: page security using cfabort
 
 You might think about using a CFLOCATION instead to redirect to an
 unauthorized page that will have a full set of HTML.  Using CFABORT in
 the
 middle of the page like that will cause the closing tags to get cut off
 and
 some browsers will freak out and not even display the message at all.
 
 As for the security itself, it looks ok, but there's no way to tell for
 certain if something is secure or not without seeing all of the code
 that
 touches those variables.
 
 -Justin Scott, Lead Developer
  Sceiron Internet Services, Inc.
  http://www.sceiron.com
 
 
 - Original Message -
 From: Jeff Brown [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, May 23, 2002 11:07 AM
 Subject: page security using cfabort
 
 
  I am planning on adding role based page level security to my application
 by
  adding this chunk of code to every page:
 
  body
  cfif ListFindNoCase(AllowedRole1,AllowedRole2,AllowedRole3,
  #session.user_role#, ,) EQ 0
  You are not authorized to view this page. cfabort
  /cfif
 
  .. [page content] ...
 
  /body
 
  Session.user_role is set when the user logs in to the app.  Is this a
 fairly
  standard way to do it?  Certain pages should not be viewable by certain
  roles, can anyone think of an instance where a user could get past this?
  TIA.
 
  v/r,
  Jeff
  
 

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



RE: page security using cfabort

2002-05-23 Thread Neil Clark - =TMM=

Just be aware of the age old CFCOOKIE and CFLOCATION problems, if you
are using them.

The actual architecture of an app module like this can take several
shapes and forms, from posting the page to itself and working stuff out
or using Fusebox or indeen location or includes

If the code is parsed by the server and as long as the server is patched
I can see no way of the getting past this.

Also, but the underscore in the variable user_role?






Neil Clark
Team Macromedia
http://www.macromedia.com/go/team

Announcing Macromedia MX!! 
http://www.macromedia.com/software/trial/.

-Original Message-
From: Justin Scott [mailto:[EMAIL PROTECTED]] 
Sent: 23 May 2002 16:16
To: CF-Talk
Subject: Re: page security using cfabort

You might think about using a CFLOCATION instead to redirect to an
unauthorized page that will have a full set of HTML.  Using CFABORT in
the
middle of the page like that will cause the closing tags to get cut off
and
some browsers will freak out and not even display the message at all.

As for the security itself, it looks ok, but there's no way to tell for
certain if something is secure or not without seeing all of the code
that
touches those variables.

-Justin Scott, Lead Developer
 Sceiron Internet Services, Inc.
 http://www.sceiron.com


- Original Message -
From: Jeff Brown [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 11:07 AM
Subject: page security using cfabort


 I am planning on adding role based page level security to my
application
by
 adding this chunk of code to every page:

 body
 cfif ListFindNoCase(AllowedRole1,AllowedRole2,AllowedRole3,
 #session.user_role#, ,) EQ 0
 You are not authorized to view this page. cfabort
 /cfif

 .. [page content] ...

 /body

 Session.user_role is set when the user logs in to the app.  Is this a
fairly
 standard way to do it?  Certain pages should not be viewable by
certain
 roles, can anyone think of an instance where a user could get past
this?
 TIA.

 v/r,
 Jeff
 

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



Re: page security using cfabort

2002-05-23 Thread BEN MORRIS

I use cflocation and a session var.  I also do this in a custom tag, so that I can 
better re-use code.

The implementation at the top of the page looks like:
cfmodule template=../../Tags/Security.cfm SecurityAccessCode=AdminNR

If they don't meet thre requirement (based on a session var list of permissions),  
they are redirected to the login page.  Before redirecting I set a session var with 
the url they are trying to get to, so that after logging in they are taken straight to 
the page they were trying to get to in the first place.

 Jeff Brown [EMAIL PROTECTED] 05/23/02 11:07AM 
I am planning on adding role based page level security to my application by
adding this chunk of code to every page:

body
cfif ListFindNoCase(AllowedRole1,AllowedRole2,AllowedRole3,
#session.user_role#, ,) EQ 0
You are not authorized to view this page. cfabort
/cfif

. [page content] ...

/body

Session.user_role is set when the user logs in to the app.  Is this a fairly
standard way to do it?  Certain pages should not be viewable by certain
roles, can anyone think of an instance where a user could get past this?
TIA.

v/r,
Jeff

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



RE: page security using cfabort

2002-05-23 Thread Dave Watts

 Also, but the underscore in the variable user_role?

What's wrong with the underscore?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RegExp Help

2002-05-23 Thread Wallick, Mike

Hey all. I'm trying to cook up a regexp to search a block of text for links.
What I'm looking for is something like:
 
a href=path with spaces/file with spaces.htm
 
I want to read the block of text and replace spaces with %20 so links won't
break. I know, I know, links shouldn't have spaces in them, but this is
something I inherited and changing all the links and filenames associated
with them is not an option (there are thousands of links/files).
 
I've tried this: cfset content=REReplaceNoCase(content, 'a href=(.*)',
'a href=#URLEncodedFormat(\1)#', all)
 
and this: cfset content=REReplaceNoCase(content, 'a href=(.*)', 'a
href=#Replace(\1,  , %20))#', all)
 
and those don't work. Can I not use CFML functions on a regexp subexpression
(\1) ?
 
I'm not exactly an expert on regexps, so any help would be greatly
appreciated.
 

 

Mike Wallick




Web Application Developer




[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 




651.628.5377




http://www.securecomputing.com http://www.securecomputing.com/ 

 

 

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



Recomend for those just starting ColdFusion, or experienced

2002-05-23 Thread Brian Eckerman

Hello, just thought I'd give my $0.02 
About a week ago I bought 
Certified macromedia COLDFUSION Developer Study Guide
http://www.amazon.com/exec/obidos/ASIN/0789726963

I bought it to get certified, but I find it has alot of really good
tips.
Ex. Do you know exactly when and when not to use # around variables?
  Most people overuse them.

It also mentions LDAP a bit.
And ofcourse you can get certified.

Does anybody know if Macromedia will come out with a book for CFMX?
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: SQL search with related tables

2002-05-23 Thread chad

Why do i always forget about Verity?  Sorry for the dumb post.


At 04:03 PM 5/23/2002 +0100, you wrote:
Would Verity be better for this? Or indexing?

-Original Message-
From: chad [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2002 16:02
To: CF-Talk
Subject: SQL search with related tables


Im writing a SQL statement to take a search word and go through the
database to find records that match.

Well i want to search all the related tables of the products.  The database
is kind of the standard product database.  Category Table that relates to a
SubCategory Table, that relates to the Product Table.

So im trying to Join all the tables then use a LIKE to find the search word
in the database.

Is there a better way to search the database for matches?

Thanks




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



new member w/ what should be easy to do but can't figure out.

2002-05-23 Thread Tony Carcieri

Hi all,

I am a new member to this list and was wondering if I could ask for some
help.

Here is what i need to do:
I have a survey that is on the web (duh) and when someone fills it out, i
want to insert into an access 2k db (no prob here) and then evenly
distribute (ie email) to sales reps.

so, for the first survey filled out, it goes to rep 1, second survey goes to
rep 2, so on and so forth and when the amount of surveys exceed the reps,
then i go back to the first rep.

i will send code if someone knows how to do this.

Thanks a million!
Big T

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



RE: Recomend for those just starting ColdFusion, or experienced

2002-05-23 Thread Neil Clark - =TMM=

I think there will be one... Go one then, what did you learn :-) when do
you use # signs for the best..













Neil Clark
Team Macromedia
http://www.macromedia.com/go/team

Announcing Macromedia MX!! 
http://www.macromedia.com/software/trial/.

-Original Message-
From: Brian Eckerman [mailto:[EMAIL PROTECTED]] 
Sent: 23 May 2002 16:29
To: CF-Talk
Subject: Recomend for those just starting ColdFusion, or experienced

Hello, just thought I'd give my $0.02 
About a week ago I bought 
Certified macromedia COLDFUSION Developer Study Guide
http://www.amazon.com/exec/obidos/ASIN/0789726963

I bought it to get certified, but I find it has alot of really good
tips.
Ex. Do you know exactly when and when not to use # around variables?
  Most people overuse them.

It also mentions LDAP a bit.
And ofcourse you can get certified.

Does anybody know if Macromedia will come out with a book for CFMX?

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



RE: page security using cfabort

2002-05-23 Thread Jeff Brown

Neil,

is this a coding style thing, or are you implying it's going to break the
code?

v/r,  Jeff

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 11:31 AM
To: CF-Talk
Subject: RE: page security using cfabort


 Also, but the underscore in the variable user_role?

What's wrong with the underscore?

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

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



RE: Recomend for those just starting ColdFusion, or experienced

2002-05-23 Thread Kevin Schmidt

There will be several books for CFMX.

-Original Message-
From: Neil Clark - =TMM= [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 23, 2002 10:25 AM
To: CF-Talk
Subject: RE: Recomend for those just starting ColdFusion, or experienced

I think there will be one... Go one then, what did you learn :-) when do
you use # signs for the best..













Neil Clark
Team Macromedia
http://www.macromedia.com/go/team

Announcing Macromedia MX!! 
http://www.macromedia.com/software/trial/.

-Original Message-
From: Brian Eckerman [mailto:[EMAIL PROTECTED]] 
Sent: 23 May 2002 16:29
To: CF-Talk
Subject: Recomend for those just starting ColdFusion, or experienced

Hello, just thought I'd give my $0.02 
About a week ago I bought 
Certified macromedia COLDFUSION Developer Study Guide
http://www.amazon.com/exec/obidos/ASIN/0789726963

I bought it to get certified, but I find it has alot of really good
tips.
Ex. Do you know exactly when and when not to use # around variables?
  Most people overuse them.

It also mentions LDAP a bit.
And ofcourse you can get certified.

Does anybody know if Macromedia will come out with a book for CFMX?


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



RE: Back button-refresh

2002-05-23 Thread Janine Jakim

well, unless I did something wrong, that didn't do the trick- darn.

-Original Message-
From: Burcham, Steve [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 8:39 AM
To: CF-Talk
Subject: RE: Back button-refresh


You could try this:

cfheader name=EXPIRES value=#NOW()#

 
Thank you.
 
Steve Burcham
Webmaster - Field Support Team
RDO Equipment Co.
Phone (701) 239-8755
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-Original Message-
From: Janine Jakim [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 7:17 AM
To: CF-Talk
Subject: Back button-refresh


Can I force a page to refresh when a user hits the back button?  If so How??
Thanks


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



Re: Recomend for those just starting ColdFusion, or experienced

2002-05-23 Thread Jeffry Houser

At 11:29 AM 5/23/2002 -0400, you wrote:
Hello, just thought I'd give my $0.02
About a week ago I bought
Certified macromedia COLDFUSION Developer Study Guide
http://www.amazon.com/exec/obidos/ASIN/0789726963

I bought it to get certified, but I find it has alot of really good
tips.
Ex. Do you know exactly when and when not to use # around variables?
   Most people overuse them.

It also mentions LDAP a bit.
And ofcourse you can get certified.

Does anybody know if Macromedia will come out with a book for CFMX?

  There are plenty of CF Books on there way out.  You can do a search on 
Amazon.com for ColdFusion to find them.  The MX books are still at the end 
of the list (in most cases).

  I recommend this one 
http://www.amazon.com/exec/obidos/ASIN/0072225564/instantcoldfu-20 
because I wrote it (Michael Dinowitz is doing a lot of the tech editing).
  I know that Ben Forta is updated his two popular books (WACK and Advanced 
Development).  I would expect an update to Mastering ColdFusion and 
Programming ColdFusion.  There are others listed on Amazon.


--
Jeffry Houser | mailto:[EMAIL PROTECTED]
Need a Web Developer?  Contact me!
AIM: Reboog711  | Fax / Phone: Coming soon!
--
My Books: http://www.instantcoldfusion.com
My Band: http://www.farcryfly.com 

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



Re: page security using cfabort

2002-05-23 Thread Seth Petry-Johnson

 You could always put in the necessary closing tags before the CFABORT...

The main drawback to doing this approach is that it leads to cluttered code,
especially if there is complex HTML code contained in your page footer.
Also, consider a situation where there needs to be more than one security
check:

CFIF NOT condition1
Sorry, you're not authorized for this.
!-- closing HTML tags here --
CFABORT
CFELSEIF NOT condition 2
Sorry, you're only authorized for this on Mondays.
!-- closing HTML tags here --
CFABORT
CFELSEIF NOT condition 3
Sorry, you're only authorized for this on Tuesdays.
!-- closing HTML tags here --
CFABORT
/CFIF

This can become quite messy and is hard to maintain with closing tags
scattered all around the page.

Your best bet is to create a standard not authorized page and just do a
CFLOCATION to it when needed.  I usually add a CFABORT just after the
CFLOCATION in case, for some reason, the browser ignores the client side
redirect.  It looks like this:

CFIF NOT condition1
CFLOCATION URL=not_authorized.cfm
CFABORT
CFELSEIF NOT condition 2
CFLOCATION URL=not_authorized.cfm
CFABORT
CFELSEIF NOT condition 3
CFLOCATION URL=not_authorized.cfm
CFABORT
/CFIF

Regards,
Seth Petry-Johnson
Argo Enterprise and Associates

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



Re: Recomend for those just starting ColdFusion, or experienced

2002-05-23 Thread Patric Stumpe

Hi Neil,

I ALWAYS use #-signs around all variables everywhere. I've made a
keyboard-shortcut for 'Evaluate(#something#)'! It's cool... :)))

Patric


NCT I think there will be one... Go one then, what did you learn :-) when do
NCT you use # signs for the best..













NCT Neil Clark
NCT Team Macromedia
NCT http://www.macromedia.com/go/team

NCT Announcing Macromedia MX!! 
NCT http://www.macromedia.com/software/trial/.

NCT -Original Message-
NCT From: Brian Eckerman [mailto:[EMAIL PROTECTED]] 
NCT Sent: 23 May 2002 16:29
NCT To: CF-Talk
NCT Subject: Recomend for those just starting ColdFusion, or experienced

NCT Hello, just thought I'd give my $0.02 
NCT About a week ago I bought 
NCT Certified macromedia COLDFUSION Developer Study Guide
NCT http://www.amazon.com/exec/obidos/ASIN/0789726963

NCT I bought it to get certified, but I find it has alot of really good
NCT tips.
NCT Ex. Do you know exactly when and when not to use # around variables?
NCT   Most people overuse them.

NCT It also mentions LDAP a bit.
NCT And ofcourse you can get certified.

NCT Does anybody know if Macromedia will come out with a book for CFMX?

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



Re: Recent thread?

2002-05-23 Thread Nate Nielsen

As I personally developed the first 3 releases of FusionScript I may be able
to shed some light on the issues of the ActiveServer component and Netscape.

ActiveServer ~will~ be netscape compatible, and the update to solve the
current issues should be released before next week (crossing fingers to
finish up the last items today).  =)  Yes, we are still working out some
bugs, but that is to be expected to a certain degree I believe in the beta
cycle.

There are some definite advantages to using the ActiveServer component in
comparison to using things such as an iframe or gif pipe.  ActiveServer for
example will allow you to send complex data such as a multi-dimensional
array from your CF server page and have it converted into native JavaScript
in it's return.  Sending information to and from your server only requires 4
simplistic FusionScript tags!  The v1.0 final will include encryption
support for any data being sent with the ActiveServer component using a
public/private key system, including URL and FORM submission data (you will
be able to secure your data transferred with ActiveServer with or without
ssl). -etc

When I started development on FusionScript, one of the main goals was to
allow developers to write cross browser compatible client-server
applications quickly and easily.  Seeing that FusionScript is a 400 file API
and the majority of it is totally cross-compatible, bug-free, I think so far
we have accomplished quite a bit for it being a beta IMHO.

FusionScript has enjoyed massive growth since its public release in March of
this year.  The FusionScript web site will easily have over 70,000 hits this
month alone.  The community is becoming very active and more people are
beginning to develop fixes and new components for FusionScript daily.  A
number of people have begun development on some exciting components such as
SAOP integration, content syndication services, XSLT, etc.  There is no
doubt in my mind that with the number of talented people becoming involved
helping evolve it, it will become a premier solution for the web dev
community.

 Give it a chance, I think you will be pleasantly surprised with where the
technology is now and where it is going.  =)

Aslo - It's open source, so any of you guru's out there are welcome to join
in and make your mark!   =P

Best regards,

Nate Nielsen
[EMAIL PROTECTED]



- Original Message -
From: Jon Hall [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 6:24 PM
Subject: Re: Recent thread?


 I looked at the ActiveServer component, it's still in beta, but all the
code
 is IE specific. If Netscape is not an issue, why use a java applet in
order
 to remove the ilayer complexity at all? Plus, if someone has a fresh
install
 of XP, they are looking at a 4.5 Meg Java download in order to even get to
a
 page with this solution...
 This ActiveServer thing looks cool, but it seems a long way to go for
 something that can be done in 5 lines of javascript.

 jon
 - Original Message -
 From: Pete Freitag [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, May 22, 2002 6:41 PM
 Subject: RE: Recent thread?


  perhaps www.fusionscript.com
 
  +
  Pete Freitag ([EMAIL PROTECTED])
  CTO, CFDEV.COM
  ColdFusion Developer Resources
  http://www.cfdev.com/
 
 
  -Original Message-
  From: Jon Hall [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, May 22, 2002 6:34 PM
  To: CF-Talk
  Subject: Re: Recent thread?
 
 
  Maybe one of these is it?
 
  http://www.ashleyit.com/rs/
  http://developer.apple.com/internet/javascript/iframe.html
  http://www.dotvoid.com/article_condensed.php?itemID=137
 
  jon
  - Original Message -
  From: Eric J Hoffman [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Wednesday, May 22, 2002 3:35 PM
  Subject: Recent thread?
 
 
   There was a recent thread or posting here that I cannot seem to
   find...someone posted a link to a site that demonstrated a new way
with
   CF to update page content and pull related content without actual
   submission of the page...site had a brown color I remember.  :-)
  
  
 
 
 
 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Recent thread?

2002-05-23 Thread Justin Waldrip

Can we all get a cfgod.com email address too?

-Original Message-
From: Nate Nielsen [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 23, 2002 10:51 AM
To: CF-Talk
Subject: Re: Recent thread?

As I personally developed the first 3 releases of FusionScript I may be
able
to shed some light on the issues of the ActiveServer component and
Netscape.

ActiveServer ~will~ be netscape compatible, and the update to solve the
current issues should be released before next week (crossing fingers to
finish up the last items today).  =)  Yes, we are still working out some
bugs, but that is to be expected to a certain degree I believe in the
beta
cycle.

There are some definite advantages to using the ActiveServer component
in
comparison to using things such as an iframe or gif pipe.  ActiveServer
for
example will allow you to send complex data such as a multi-dimensional
array from your CF server page and have it converted into native
JavaScript
in it's return.  Sending information to and from your server only
requires 4
simplistic FusionScript tags!  The v1.0 final will include encryption
support for any data being sent with the ActiveServer component using a
public/private key system, including URL and FORM submission data (you
will
be able to secure your data transferred with ActiveServer with or
without
ssl). -etc

When I started development on FusionScript, one of the main goals was to
allow developers to write cross browser compatible client-server
applications quickly and easily.  Seeing that FusionScript is a 400 file
API
and the majority of it is totally cross-compatible, bug-free, I think so
far
we have accomplished quite a bit for it being a beta IMHO.

FusionScript has enjoyed massive growth since its public release in
March of
this year.  The FusionScript web site will easily have over 70,000 hits
this
month alone.  The community is becoming very active and more people are
beginning to develop fixes and new components for FusionScript daily.  A
number of people have begun development on some exciting components such
as
SAOP integration, content syndication services, XSLT, etc.  There is no
doubt in my mind that with the number of talented people becoming
involved
helping evolve it, it will become a premier solution for the web dev
community.

 Give it a chance, I think you will be pleasantly surprised with where
the
technology is now and where it is going.  =)

Aslo - It's open source, so any of you guru's out there are welcome to
join
in and make your mark!   =P

Best regards,

Nate Nielsen
[EMAIL PROTECTED]



- Original Message -
From: Jon Hall [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 6:24 PM
Subject: Re: Recent thread?


 I looked at the ActiveServer component, it's still in beta, but all
the
code
 is IE specific. If Netscape is not an issue, why use a java applet in
order
 to remove the ilayer complexity at all? Plus, if someone has a fresh
install
 of XP, they are looking at a 4.5 Meg Java download in order to even
get to
a
 page with this solution...
 This ActiveServer thing looks cool, but it seems a long way to go for
 something that can be done in 5 lines of javascript.

 jon
 - Original Message -
 From: Pete Freitag [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, May 22, 2002 6:41 PM
 Subject: RE: Recent thread?


  perhaps www.fusionscript.com
 
  +
  Pete Freitag ([EMAIL PROTECTED])
  CTO, CFDEV.COM
  ColdFusion Developer Resources
  http://www.cfdev.com/
 
 
  -Original Message-
  From: Jon Hall [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, May 22, 2002 6:34 PM
  To: CF-Talk
  Subject: Re: Recent thread?
 
 
  Maybe one of these is it?
 
  http://www.ashleyit.com/rs/
  http://developer.apple.com/internet/javascript/iframe.html
  http://www.dotvoid.com/article_condensed.php?itemID=137
 
  jon
  - Original Message -
  From: Eric J Hoffman [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Wednesday, May 22, 2002 3:35 PM
  Subject: Recent thread?
 
 
   There was a recent thread or posting here that I cannot seem to
   find...someone posted a link to a site that demonstrated a new way
with
   CF to update page content and pull related content without actual
   submission of the page...site had a brown color I remember.  :-)
  
  
 
 
 
 

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



RE: page security using cfabort

2002-05-23 Thread Tony_Petruzzi

the really bad thing about using cfabort is that EVERYTHING after it stops
processing. So if you code like I do where I put my footer in the
onrequestend.cfm file, well gues what, your footer doesn't process.
Personally I just set a variable called variables.ErrorCode equal to 0. Then
during error checking, if an error occurs, I set it to 1. Now all I have to
do is use some cfifs to see what I want to execute. Plus my footer comes up.
;)

Anthony Petruzzi
Webmaster
954-321-4703
[EMAIL PROTECTED]
http://www.sheriff.org


-Original Message-
From: Seth Petry-Johnson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 11:37 AM
To: CF-Talk
Subject: Re: page security using cfabort


 You could always put in the necessary closing tags before the CFABORT...

The main drawback to doing this approach is that it leads to cluttered code,
especially if there is complex HTML code contained in your page footer.
Also, consider a situation where there needs to be more than one security
check:

CFIF NOT condition1
Sorry, you're not authorized for this.
!-- closing HTML tags here --
CFABORT
CFELSEIF NOT condition 2
Sorry, you're only authorized for this on Mondays.
!-- closing HTML tags here --
CFABORT
CFELSEIF NOT condition 3
Sorry, you're only authorized for this on Tuesdays.
!-- closing HTML tags here --
CFABORT
/CFIF

This can become quite messy and is hard to maintain with closing tags
scattered all around the page.

Your best bet is to create a standard not authorized page and just do a
CFLOCATION to it when needed.  I usually add a CFABORT just after the
CFLOCATION in case, for some reason, the browser ignores the client side
redirect.  It looks like this:

CFIF NOT condition1
CFLOCATION URL=not_authorized.cfm
CFABORT
CFELSEIF NOT condition 2
CFLOCATION URL=not_authorized.cfm
CFABORT
CFELSEIF NOT condition 3
CFLOCATION URL=not_authorized.cfm
CFABORT
/CFIF

Regards,
Seth Petry-Johnson
Argo Enterprise and Associates


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



Re: page security using cfabort

2002-05-23 Thread Justin Scott

Yes, and you could do a lot of other things that don't make much sense
also..  Breaking the no access message out into its own file will be much
more manageable, IMHO.

-Justin Scott, Lead Developer
 Sceiron Internet Services, Inc.
 http://www.sceiron.com


- Original Message -
From: Paul Bowley [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 11:23 AM
Subject: RE: page security using cfabort


 You could always put in the necessary closing tags before the CFABORT...

  -Original Message-
  From: Justin Scott [SMTP:[EMAIL PROTECTED]]
  Sent: 23 May 2002 16:16
  To: CF-Talk
  Subject: Re: page security using cfabort
 
  You might think about using a CFLOCATION instead to redirect to an
  unauthorized page that will have a full set of HTML.  Using CFABORT in
  the
  middle of the page like that will cause the closing tags to get cut off
  and
  some browsers will freak out and not even display the message at all.
 
  As for the security itself, it looks ok, but there's no way to tell for
  certain if something is secure or not without seeing all of the code
  that
  touches those variables.
 
  -Justin Scott, Lead Developer
   Sceiron Internet Services, Inc.
   http://www.sceiron.com
 
 
  - Original Message -
  From: Jeff Brown [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Thursday, May 23, 2002 11:07 AM
  Subject: page security using cfabort
 
 
   I am planning on adding role based page level security to my
application
  by
   adding this chunk of code to every page:
  
   body
   cfif ListFindNoCase(AllowedRole1,AllowedRole2,AllowedRole3,
   #session.user_role#, ,) EQ 0
   You are not authorized to view this page. cfabort
   /cfif
  
   .. [page content] ...
  
   /body
  
   Session.user_role is set when the user logs in to the app.  Is this a
  fairly
   standard way to do it?  Certain pages should not be viewable by
certain
   roles, can anyone think of an instance where a user could get past
this?
   TIA.
  
   v/r,
   Jeff
  
 
 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: page security using cfabort

2002-05-23 Thread Jon Hall

Personally I stay away from session variables, preferring client variables
for stability reasons and you dont have to write additional logic to take
care of session timeouts, but your solution looks fine to me.

One solution to the cfabort problem is to put your html footer in an include
and do a  cfexit method=EXITTEMPLATE on error. It works great if you are
working in a head.cfm/content.cfm/foot.cfm type structure...When CF sees
this tag, it's aborts the current template only, but continues to the
next...

jon
- Original Message -
From: Jeff Brown [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 11:07 AM
Subject: page security using cfabort


 I am planning on adding role based page level security to my application
by
 adding this chunk of code to every page:

 body
 cfif ListFindNoCase(AllowedRole1,AllowedRole2,AllowedRole3,
 #session.user_role#, ,) EQ 0
 You are not authorized to view this page. cfabort
 /cfif

 .. [page content] ...

 /body

 Session.user_role is set when the user logs in to the app.  Is this a
fairly
 standard way to do it?  Certain pages should not be viewable by certain
 roles, can anyone think of an instance where a user could get past this?
 TIA.

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



CFTREE Question

2002-05-23 Thread Graham Lewis

If I am creating a directory growsing tool with CFTREE, gow would I make
a document item in CFTREEITEM into a hyperlink to that file?  I thought
the HREF attribute would do this but it seems not.

I am using v4.5 I am afraid

Graham

Graham Lewis
Centre for Academic Practice
University of Warwick
CV4 7AL
Tel: 024 765 73109
Mobile: 07733450022
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: new member w/ what should be easy to do but can't figure out.

2002-05-23 Thread Michael Dinowitz

1. Set a CFTRANSACTION block. 
2. Inside the block, do a CFQUERY to put the survey information into the DB.
3. Inside the block, do a CFQUERY to get the ID of the last survey put in.
Using the ID, do the following:

!--- The ID returned from the DB for the survey just entered ---
CFSET nSurveyID=71
!--- The amount of sales reps. This can be gotten from a list, DB or somewhere else 
---
CFSET lSalesRep=7
!--- The rep you want to send to will be gotten by doing a MOD on the survey ID. ---
CFSET nSendToRep=id mod list
!--- If the result is 0, it means the sales rep is the last one, i.e. 7 in this case 
---
CFIF nSendToRep EQ 0CFSET nSendToRep=lSalesRep/CFIF
!--- Use the results ---
CFOUTPUT#nSendToRep#/CFOUTPUT

I wrote this to be as explanative as possible. Other ways may be better or tighter, 
but this will tell you exactly what's going on. 

At 11:28 AM 5/23/02, you wrote:
Hi all,

I am a new member to this list and was wondering if I could ask for some
help.

Here is what i need to do:
I have a survey that is on the web (duh) and when someone fills it out, i
want to insert into an access 2k db (no prob here) and then evenly
distribute (ie email) to sales reps.

so, for the first survey filled out, it goes to rep 1, second survey goes to
rep 2, so on and so forth and when the amount of surveys exceed the reps,
then i go back to the first rep.

i will send code if someone knows how to do this.

Thanks a million!
Big T


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



OT: ntConsoleJava.e

2002-05-23 Thread Douglas Brown

Is this part of the CF graphing engine or something? This thing is a
memory hog and I cannot find it in my list of services to turn it off.
Can someone point me in the right direction.




Douglas Brown
Email: [EMAIL PROTECTED]

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



Re: RegExp Help

2002-05-23 Thread Gyrus

- Original Message -
From: Wallick, Mike [EMAIL PROTECTED]
Hey all. I'm trying to cook up a regexp to search a block of text for
links.
What I'm looking for is something like:

a href=path with spaces/file with spaces.htm

I want to read the block of text and replace spaces with %20 so links
won't
break.
---

Try this:

cfloop condition=REFindNoCase('(a href=[^ ]+) ([^]*)',
content)
  cfset content=REReplaceNoCase(content, '(a href=[^ ]+) ([^]*)',
'\1%20\2', 'ALL')
/cfloop

I don't know why you have to loop around until they're all replaced - I
thought setting the scope of REReplaceNoCase to 'ALL' would do that.
Well, this is where *my* knowledge of regexps falls over! Maybe someone
else can clear this up?

Anyway, the regexp itself seems to work. A plain English translation:

Match a href=, followed by one or more characters that aren't spaces,
followed by a space, followed by zero or more characters that aren't
quote marks, followed by a quote mark.

Didn't think it was worth matching to the end of the a tag, this
should be far enough. I'm sure the back references are clear enough.

HTH,

- Gyrus


- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available


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



Re: Recomend for those just starting ColdFusion, or experienced

2002-05-23 Thread Michael Dinowitz

In all ego, I suggest getting this book as we're doing a great job with it. :)
Outside of Ego, I suggest getting at least 2 or 3 of the MX books coming out. The 
logic is that there is so much to look at and cover that one book will most probably 
be missing things. And remember that these books are all business expense tax 
deductions. I'm declaring almost my entire Amazon bill from the last year on my taxes 
(and its all legal). :)

  I recommend this one 
http://www.amazon.com/exec/obidos/ASIN/0072225564/instantcoldfu-20 
because I wrote it (Michael Dinowitz is doing a lot of the tech editing).
  I know that Ben Forta is updated his two popular books (WACK and Advanced 
Development).  I would expect an update to Mastering ColdFusion and 
Programming ColdFusion.  There are others listed on Amazon.

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



top 10 custom tags?

2002-05-23 Thread John Paul Ashenfelter

Hi all,

I'm finishing the completely rewritten ColdFusion MX for Dummies and would love to get 
some input on the top 10 custom tags. If you've got a favories, let me know which one 
and why. You can email directly [EMAIL PROTECTED] or if there's enough interest, 
I'll put up a poll :)

Thanks

Regards,

John Paul Ashenfelter

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



RE: CFTREE Question

2002-05-23 Thread Bryan Love

The HREF attribute of CFTREEITEM operates exactly the same way as the HREF
attribute of an a ... tag.  If it's not working for you then you may have
a bad CFTREE class.  I don't know how that happens, but it happened to me
once before.  Do you have the 4.5.1 patch installed?

+---+
Bryan Love
  Macromedia Certified Professional
  Internet Application Developer
  Database Analyst
Telecommunication Systems
[EMAIL PROTECTED]
+---+

...'If there must be trouble, let it be in my day, that my child may have
peace'...
- Thomas Paine, The American Crisis



-Original Message-
From: Graham Lewis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:16 AM
To: CF-Talk
Subject: CFTREE Question


If I am creating a directory growsing tool with CFTREE, gow would I make
a document item in CFTREEITEM into a hyperlink to that file?  I thought
the HREF attribute would do this but it seems not.

I am using v4.5 I am afraid

Graham

Graham Lewis
Centre for Academic Practice
University of Warwick
CV4 7AL
Tel: 024 765 73109
Mobile: 07733450022
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: ntConsoleJava.e

2002-05-23 Thread Stephen Moretti

One is the CFGraphing Server and the other is the management
service/repository service.

Regards

Stephen
- Original Message -
From: Douglas Brown [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 5:34 PM
Subject: OT: ntConsoleJava.e


 Is this part of the CF graphing engine or something? This thing is a
 memory hog and I cannot find it in my list of services to turn it off.
 Can someone point me in the right direction.




 Douglas Brown
 Email: [EMAIL PROTECTED]

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



dynamic image

2002-05-23 Thread LANCASTER, STEVEN M. (JSC-OL) (BAR)

I want to create an image and make the text on the image dynamic, but I am
not sure where to start.. Anybody have a suggestion?

Steven Lancaster
Barrios Technology
NASA/JSC
281-244-2444 (voice)
[EMAIL PROTECTED] 

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



Re: ntConsoleJava.e

2002-05-23 Thread Douglas Brown

Will it screw anything up if I shut it down?







Douglas Brown
Email: [EMAIL PROTECTED]
- Original Message -
From: Stephen Moretti [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 9:38 AM
Subject: Re: ntConsoleJava.e


 One is the CFGraphing Server and the other is the management
 service/repository service.

 Regards

 Stephen
 - Original Message -
 From: Douglas Brown [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, May 23, 2002 5:34 PM
 Subject: OT: ntConsoleJava.e


  Is this part of the CF graphing engine or something? This
thing is a
  memory hog and I cannot find it in my list of services to turn
it off.
  Can someone point me in the right direction.
 
 
 
 
  Douglas Brown
  Email: [EMAIL PROTECTED]
 
 


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



RE: dynamic image

2002-05-23 Thread Jeff Brown

I saw a Dynamic Image Wizard-somethingrather in the Fireworks MX Preview
Release... start there!

v/r,
Jeff

-Original Message-
From: LANCASTER, STEVEN M. (JSC-OL) (BAR)
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 12:38 PM
To: CF-Talk
Subject: dynamic image


I want to create an image and make the text on the image dynamic, but I am
not sure where to start.. Anybody have a suggestion?

Steven Lancaster
Barrios Technology
NASA/JSC
281-244-2444 (voice)
[EMAIL PROTECTED] 

 

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



Re: dynamic image

2002-05-23 Thread Stephen Moretti

Have a look out for CFX_Image custom tag

Apparently its hard to get hold of and hard to use...

Regards

Stephen
- Original Message -
From: LANCASTER, STEVEN M. (JSC-OL) (BAR)
[EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 5:37 PM
Subject: dynamic image


 I want to create an image and make the text on the image dynamic, but I am
 not sure where to start.. Anybody have a suggestion?

 Steven Lancaster
 Barrios Technology
 NASA/JSC
 281-244-2444 (voice)
 [EMAIL PROTECTED]


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



unload dll

2002-05-23 Thread Adrian Cesana

Is there any method of unloading a dll that was loaded with CFOBJECT without
stopping and starting CF?

CF 4.01
NT 4 SP6

Thanks,Adrian

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



Re: top 10 custom tags?

2002-05-23 Thread Nate Nielsen

cf_dump has to get no 1.=P

Nate Nielsen
[EMAIL PROTECTED]

- Original Message -
From: John Paul Ashenfelter [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 11:09 AM
Subject: top 10 custom tags?


 Hi all,

 I'm finishing the completely rewritten ColdFusion MX for Dummies and would
love to get some input on the top 10 custom tags. If you've got a favories,
let me know which one and why. You can email directly [EMAIL PROTECTED]
or if there's enough interest, I'll put up a poll :)

 Thanks

 Regards,

 John Paul Ashenfelter

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



Re: Recent thread?

2002-05-23 Thread Nate Nielsen

Actually, depending on where I am moving the domain to next , it might be
possible (financially to cover the # of pop accounts and traffic).   =)

cfgod.com = CF (G)athering  (O)f  (D)evelopers(perhaps you have heard of
GOD games? - stole the concept there - hehe)

I'll keep you posted, where it is hosted now there is a very limited number
of accounts I can create without being charged out the wazoo.   =(


Nate Nielsen
[EMAIL PROTECTED]

- Original Message -
From: Justin Waldrip [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 10:48 AM
Subject: RE: Recent thread?


 Can we all get a cfgod.com email address too?

 -Original Message-
 From: Nate Nielsen [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 23, 2002 10:51 AM
 To: CF-Talk
 Subject: Re: Recent thread?

 As I personally developed the first 3 releases of FusionScript I may be
 able
 to shed some light on the issues of the ActiveServer component and
 Netscape.

 ActiveServer ~will~ be netscape compatible, and the update to solve the
 current issues should be released before next week (crossing fingers to
 finish up the last items today).  =)  Yes, we are still working out some
 bugs, but that is to be expected to a certain degree I believe in the
 beta
 cycle.

 There are some definite advantages to using the ActiveServer component
 in
 comparison to using things such as an iframe or gif pipe.  ActiveServer
 for
 example will allow you to send complex data such as a multi-dimensional
 array from your CF server page and have it converted into native
 JavaScript
 in it's return.  Sending information to and from your server only
 requires 4
 simplistic FusionScript tags!  The v1.0 final will include encryption
 support for any data being sent with the ActiveServer component using a
 public/private key system, including URL and FORM submission data (you
 will
 be able to secure your data transferred with ActiveServer with or
 without
 ssl). -etc

 When I started development on FusionScript, one of the main goals was to
 allow developers to write cross browser compatible client-server
 applications quickly and easily.  Seeing that FusionScript is a 400 file
 API
 and the majority of it is totally cross-compatible, bug-free, I think so
 far
 we have accomplished quite a bit for it being a beta IMHO.

 FusionScript has enjoyed massive growth since its public release in
 March of
 this year.  The FusionScript web site will easily have over 70,000 hits
 this
 month alone.  The community is becoming very active and more people are
 beginning to develop fixes and new components for FusionScript daily.  A
 number of people have begun development on some exciting components such
 as
 SAOP integration, content syndication services, XSLT, etc.  There is no
 doubt in my mind that with the number of talented people becoming
 involved
 helping evolve it, it will become a premier solution for the web dev
 community.

  Give it a chance, I think you will be pleasantly surprised with where
 the
 technology is now and where it is going.  =)

 Aslo - It's open source, so any of you guru's out there are welcome to
 join
 in and make your mark!   =P

 Best regards,

 Nate Nielsen
 [EMAIL PROTECTED]



 - Original Message -
 From: Jon Hall [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, May 22, 2002 6:24 PM
 Subject: Re: Recent thread?


  I looked at the ActiveServer component, it's still in beta, but all
 the
 code
  is IE specific. If Netscape is not an issue, why use a java applet in
 order
  to remove the ilayer complexity at all? Plus, if someone has a fresh
 install
  of XP, they are looking at a 4.5 Meg Java download in order to even
 get to
 a
  page with this solution...
  This ActiveServer thing looks cool, but it seems a long way to go for
  something that can be done in 5 lines of javascript.
 
  jon
  - Original Message -
  From: Pete Freitag [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Wednesday, May 22, 2002 6:41 PM
  Subject: RE: Recent thread?
 
 
   perhaps www.fusionscript.com
  
   +
   Pete Freitag ([EMAIL PROTECTED])
   CTO, CFDEV.COM
   ColdFusion Developer Resources
   http://www.cfdev.com/
  
  
   -Original Message-
   From: Jon Hall [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, May 22, 2002 6:34 PM
   To: CF-Talk
   Subject: Re: Recent thread?
  
  
   Maybe one of these is it?
  
   http://www.ashleyit.com/rs/
   http://developer.apple.com/internet/javascript/iframe.html
   http://www.dotvoid.com/article_condensed.php?itemID=137
  
   jon
   - Original Message -
   From: Eric J Hoffman [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Wednesday, May 22, 2002 3:35 PM
   Subject: Recent thread?
  
  
There was a recent thread or posting here that I cannot seem to
find...someone posted a link to a site that demonstrated a new way
 with
CF to update page content and pull 

Re: unload dll

2002-05-23 Thread Mike Townend

depends if you have access to the server itself


If you dont then AFAIK you cant... you can try setting the var to 

ie...

CFOBJECT NAME=foo CLASS=foo.bar

and at the end

CFSET foo = 

but i beleive that doesnt always work...

If you have access to the server (ie you are developing locally). then 
SysInternals.com do an app called HandleEx (although its recently been 
renamed and i cant remeber what its called) that will show all handles 
that are open to files... you could then kill the handle to the .dll

HTH



Adrian Cesana wrote:

 Is there any method of unloading a dll that was loaded with CFOBJECT without
 stopping and starting CF?
 
 CF 4.01
 NT 4 SP6
 
 Thanks,Adrian
 
 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: dynamic image

2002-05-23 Thread Bryan Love

You could do it with layers and Javascript.  Just put a layer containing
text over the top of the image.

+---+
Bryan Love
  Macromedia Certified Professional
  Internet Application Developer
  Database Analyst
Telecommunication Systems
[EMAIL PROTECTED]
+---+

...'If there must be trouble, let it be in my day, that my child may have
peace'...
- Thomas Paine, The American Crisis



-Original Message-
From: LANCASTER, STEVEN M. (JSC-OL) (BAR)
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:38 AM
To: CF-Talk
Subject: dynamic image


I want to create an image and make the text on the image dynamic, but I am
not sure where to start.. Anybody have a suggestion?

Steven Lancaster
Barrios Technology
NASA/JSC
281-244-2444 (voice)
[EMAIL PROTECTED] 

 

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



Re: top 10 custom tags?

2002-05-23 Thread Pete Ruckelshaus

Yeah, but that's a regular tag now...

My fave is SiteObjects' editor component.

Pete

- Original Message -
From: Nate Nielsen [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 1:07 PM
Subject: Re: top 10 custom tags?


 cf_dump has to get no 1.=P

 Nate Nielsen
 [EMAIL PROTECTED]

 - Original Message -
 From: John Paul Ashenfelter [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, May 23, 2002 11:09 AM
 Subject: top 10 custom tags?


  Hi all,
 
  I'm finishing the completely rewritten ColdFusion MX for Dummies and
would
 love to get some input on the top 10 custom tags. If you've got a
favories,
 let me know which one and why. You can email directly [EMAIL PROTECTED]
 or if there's enough interest, I'll put up a poll :)
 
  Thanks
 
  Regards,
 
  John Paul Ashenfelter
 
 
 
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: dynamic image

2002-05-23 Thread Brad Roberts

It's in the dev exchange.  FWIW, it's actually very easy to use and comes
with great documentation.

 -Original Message-
 From: Stephen Moretti [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 23, 2002 12:59 PM
 To: CF-Talk
 Subject: Re: dynamic image


 Have a look out for CFX_Image custom tag

 Apparently its hard to get hold of and hard to use...

 Regards

 Stephen
 - Original Message -
 From: LANCASTER, STEVEN M. (JSC-OL) (BAR)
 [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, May 23, 2002 5:37 PM
 Subject: dynamic image


  I want to create an image and make the text on the image
 dynamic, but I am
  not sure where to start.. Anybody have a suggestion?
 
  Steven Lancaster
  Barrios Technology
  NASA/JSC
  281-244-2444 (voice)
  [EMAIL PROTECTED]
 
 
 
 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: dynamic image

2002-05-23 Thread Joshua Tipton

Put the image in the background of a table.

-Original Message-
From: LANCASTER, STEVEN M. (JSC-OL) (BAR)
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 12:38 PM
To: CF-Talk
Subject: dynamic image


I want to create an image and make the text on the image dynamic, but I am
not sure where to start.. Anybody have a suggestion?

Steven Lancaster
Barrios Technology
NASA/JSC
281-244-2444 (voice)
[EMAIL PROTECTED] 

 

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



Re: top 10 custom tags?

2002-05-23 Thread chad

imageCR
gFont

They are on the top of my list

http://www.efflare.com/



At 01:07 PM 5/23/2002 -0400, you wrote:
Yeah, but that's a regular tag now...

My fave is SiteObjects' editor component.

Pete

- Original Message -
From: Nate Nielsen [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 1:07 PM
Subject: Re: top 10 custom tags?


  cf_dump has to get no 1.=P
 
  Nate Nielsen
  [EMAIL PROTECTED]
 
  - Original Message -
  From: John Paul Ashenfelter [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Thursday, May 23, 2002 11:09 AM
  Subject: top 10 custom tags?
 
 
   Hi all,
  
   I'm finishing the completely rewritten ColdFusion MX for Dummies and
would
  love to get some input on the top 10 custom tags. If you've got a
favories,
  let me know which one and why. You can email directly [EMAIL PROTECTED]
  or if there's enough interest, I'll put up a poll :)
  
   Thanks
  
   Regards,
  
   John Paul Ashenfelter
  
  
 

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



Re: top 10 custom tags?

2002-05-23 Thread William H. Bowen

I second the SiteObjects soEditor!!!

will


William H. Bowen
Webmaster
ALSTOM's Energy Management  Markets Business

Your friendly neighborhood Webmaster

[EMAIL PROTECTED]
http://www.esca.com/

- Original Message -
From: Pete Ruckelshaus [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 10:07 AM
Subject: Re: top 10 custom tags?


 Yeah, but that's a regular tag now...

 My fave is SiteObjects' editor component.

 Pete

 - Original Message -
 From: Nate Nielsen [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, May 23, 2002 1:07 PM
 Subject: Re: top 10 custom tags?


  cf_dump has to get no 1.=P
 
  Nate Nielsen
  [EMAIL PROTECTED]
 
  - Original Message -
  From: John Paul Ashenfelter [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Thursday, May 23, 2002 11:09 AM
  Subject: top 10 custom tags?
 
 
   Hi all,
  
   I'm finishing the completely rewritten ColdFusion MX for Dummies and
 would
  love to get some input on the top 10 custom tags. If you've got a
 favories,
  let me know which one and why. You can email directly
[EMAIL PROTECTED]
  or if there's enough interest, I'll put up a poll :)
  
   Thanks
  
   Regards,
  
   John Paul Ashenfelter
  
  
 
 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: dynamic image

2002-05-23 Thread mynews

If you can get away with having Flash content on the site it's 
a great way to put text on images. You can pull the text from 
a DB. You can animate it. You can use whatever font you want 
(as long as you include the font outlines).

BJ
= = = Original message = = =

Put the image in the background of a table.

-Original Message-
From: LANCASTER, STEVEN M. (JSC-OL) (BAR)
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 12:38 PM
To: CF-Talk
Subject: dynamic image


I want to create an image and make the text on the image dynamic, 
but I am
not sure where to start.. Anybody have a suggestion?

Steven Lancaster
Barrios Technology
NASA/JSC
281-244-2444 (voice)
[EMAIL PROTECTED] 

 


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



RE: dynamic image

2002-05-23 Thread LANCASTER, STEVEN M. (JSC-OL) (BAR)

The layers worked great! Thanks Bryan

Steven Lancaster
Barrios Technology
NASA/JSC
281-244-2444 (voice)
[EMAIL PROTECTED] 

 

-Original Message-
From: Bryan Love [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 12:05 PM
To: CF-Talk
Subject: RE: dynamic image


You could do it with layers and Javascript.  Just put a layer containing
text over the top of the image.

+---+
Bryan Love
  Macromedia Certified Professional
  Internet Application Developer
  Database Analyst
Telecommunication Systems
[EMAIL PROTECTED]
+---+

...'If there must be trouble, let it be in my day, that my child may have
peace'...
- Thomas Paine, The American Crisis



-Original Message-
From: LANCASTER, STEVEN M. (JSC-OL) (BAR)
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:38 AM
To: CF-Talk
Subject: dynamic image


I want to create an image and make the text on the image dynamic, but I am
not sure where to start.. Anybody have a suggestion?

Steven Lancaster
Barrios Technology
NASA/JSC
281-244-2444 (voice)
[EMAIL PROTECTED] 

 


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



Re: dynamic image

2002-05-23 Thread Lewis Sellers

On Thu, 23 May 2002 17:59:26 +0100, in cf-talk you wrote:

Have a look out for CFX_Image custom tag

Apparently its hard to get hold of and hard to use...

I've never actually used it (except runnnig the examples) but the
lastest official release I've see is cached at...

http://www.intrafoundation.com/coldfusion.html.

fyi.

--min

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



[OT] Form tag help

2002-05-23 Thread Michael Dinowitz

When a form tag is placed on a page, the resulting HTML has a line return where its 
placed. For example, if you go to www.fusionauthority.com/alert you'll see a space 
between the HR and the Paypal donation button. Is there any specific HTML command or 
operation that can be done to remove that space? It's probably something really 
simple, but I'm not in a simple mood at the moment. :)
Thanks

Michael Dinowitz 
Publisher: Fusion Authority weekly news alert 
(www.fusionauthority.com/alert) 
Listmaster: CF-Talk, CF-Jobs, Spectra-Talk, Jrun-Talk, etc. 
(www.houseoffusion.com)

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



Re: top 10 custom tags?

2002-05-23 Thread Dave Carabetta

cf_dump has to get no 1.=P

Well, CFDUMP is a native tag in MX (and CF 5), so it's not really 
necessary to list it in an MX book as a custom tag.

Regards,
Dave.



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



  1   2   >