RE: Solaris box

2001-01-09 Thread Jon Bell

Michael,

We have a sun box just kickin around,  this machine could be set up for your
very needs and be used as a testing enviroment for you.


We should talk

Give me a call.

Jon Bell
VP, Technology
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: SESSION Timing out WAY before it's supposed to.

2001-01-09 Thread Dave Watts

 I have an application that stores a variable in SESSION scope 
 ... the application is set to timeout after 12 hours, however, 
 when users login and begin working, after about 10-15 minutes, 
 they get logged out. CFServer is set to hold SESSIONs for 12 
 hours as is the application its self.

There are two settings in the CF Administrator for managing session
timeouts: a default timeout value and a maximum timeout value. Are you sure
that both are set to twelve hours?

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

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFEXECUTE return code?

2001-01-09 Thread Peter Theobald

Sorry Michael, thanks for helping, but I need to get the return code from running an 
external executable called by CFEXECUTE.


At 07:22 PM 1/9/01 -0500, Michael Dinowitz wrote:
Sorry. I assumed that the code was used so much that it was on the gallery.
I'll send it to you directly and then post it up on site.


 The CF_Execute I found at Allaire has nothing to do with the CFEXECUTE
tag. It executes CFML code, not external executable programs.

 Am I looking in the wrong place?

 At 05:50 PM 1/9/01 -0500, Michael Dinowitz wrote:
 Wrap it in the CF_Execute custom tag. All it does is return the results
of a
 CFEXECECUTE call.
 
  How do I get the return code from a CFEXECUTE?
  This is on Unix...
 
 

 -
-
 -
  Peter Theobald, Chief Technology Officer
  LiquidStreaming http://www.liquidstreaming.com
  [EMAIL PROTECTED]
  Phone 1.212.545.1232 x204 Fax 1.212.545.0938
 
  To put this contact information into your Palm device, click here:
  http://www.coola.com/cgi-bin/addinfo.cgi?pid=15803rid=972879910type=A
 
 
 
 
 


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Coldfusion 5.0

2001-01-09 Thread Roger Lim

Hi,

I have just finished watching the presentation on Allaire Developer
Conference 2000 and I must say I'm very impressed with ColdFusion 5.0! Can't
wait to get my hands on it soon.

However, can anyone tell me what's the difference between its new ability to
have user-defined function and its very own custom tags?

thanks
roger


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFEXECUTE return code?

2001-01-09 Thread Michael Dinowitz

Ah. The module only returns the output. You may need to roll your own for
this.


 Sorry Michael, thanks for helping, but I need to get the return code from
running an external executable called by CFEXECUTE.


 At 07:22 PM 1/9/01 -0500, Michael Dinowitz wrote:
 Sorry. I assumed that the code was used so much that it was on the
gallery.
 I'll send it to you directly and then post it up on site.
 
 
  The CF_Execute I found at Allaire has nothing to do with the CFEXECUTE
 tag. It executes CFML code, not external executable programs.
 
  Am I looking in the wrong place?
 
  At 05:50 PM 1/9/01 -0500, Michael Dinowitz wrote:
  Wrap it in the CF_Execute custom tag. All it does is return the
results
 of a
  CFEXECECUTE call.
  
   How do I get the return code from a CFEXECUTE?
   This is on Unix...
  
  
 

 
-
 -
  -
   Peter Theobald, Chief Technology Officer
   LiquidStreaming http://www.liquidstreaming.com
   [EMAIL PROTECTED]
   Phone 1.212.545.1232 x204 Fax 1.212.545.0938
  
   To put this contact information into your Palm device, click here:
  
http://www.coola.com/cgi-bin/addinfo.cgi?pid=15803rid=972879910type=A
  
  
  
  
  
 
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Coldfusion 5.0

2001-01-09 Thread Jeffry Houser



Roger Lim wrote:

 Hi,

 I have just finished watching the presentation on Allaire Developer
 Conference 2000 and I must say I'm very impressed with ColdFusion 5.0! Can't
 wait to get my hands on it soon.

 However, can anyone tell me what's the difference between its new ability to
 have user-defined function and its very own custom tags?


   I don't know how ColdFusion is going to be implementing it, but from
a theoretical standpoint, a function returns a single value.  Custom tags
are closer to procedures.

I imagine you'll be able to use your user defined functions same as you
would a pre-defined function, that is in another expression.

   CFSET myvar = round(myuserdefinedfunction(1.3))


However, like I said...  I don't know how the CF people are implementing
it yet.  Anyone know if the beta is available yet?

--
Jeff Houser | mailto:[EMAIL PROTECTED]
AIM: Reboog711  | ICQ: 5246969 | Phone: 860-229-2781
--
Instant ColdFusion 4.5  | ISBN: 0-07-213238-8
Due out 3rd Quarter 2001
--
DotComIt, LLC
database driven web data using ColdFusion, Lotus Notes/Domino
--
Half of the Alternative Folk Duo called Far Cry Fly
http://www.farcryfly.com | http://www.mp3.com/FarCryFly
--
Promise me no dead end streets, and I'll guarantee we'll have a road



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFEXECUTE return code?

2001-01-09 Thread Peter Theobald

yup. it's UGLY as sin.

But in case anyone is interested, my site allows registered users to upload files to 
their area. Certain other users are allowed to download those files. Registered users 
can be trusted not to maliciously upload bad things, but they could inadvertantly 
upload a virus.

So I implemented a virus scan upon file upload.
Here's how.

There are three components. I wrote a custom tag virusscan.cfm that calls a shell 
script wrapper virusscan.sh that calls McAfee VirusScan for Linux.

(Note: I changed some open  into lt; so my email program doesnt eat the HTML)

virusscan.sh

#!/bin/bash
# Scan file ARGV[1] for viruses
# outputs results: 0=OK, 13,19=VIRUS, anything else=ERROR
/usr/local/bin/uvscan --delete --noexpire --secure - $1 21 /dev/null
echo $?


Virusscan.cfm:


lt;!--- Scan a file for viruses
--- Peter Theobald, [EMAIL PROTECTED]
--- (c) January 9, 2001 LiquidStreaming
---  Usage: cf_virusscan file="filepath" return="variable"
--- Returns: "OK", "VIRUS", "ERROR" in the caller variable specified
---
--- If I could get the return code from an executable, this would be used:
cfexecute
name="/usr/local/bin/uvscan"
arguments="--delete --noexpire --secure - #Attributes.file#"
outputfile="/dev/null"
timeout=600

---
--- But until I can, I'll have to call a wrapper script that outputs the
--- return code, and save that output in a file, then use CFFILE to get
--- that output
--- Remember to make the temporary file unique for multithreading
---

cfset serial=createuuid()
cfset tempfile= "/home/httpd/html/docroot/util/virus#serial#.out"
cfexecute
name="/home/httpd/html/docroot/util/virusscan.sh"
arguments="#Attributes.file#"
outputfile="#tempfile#"
timeout=600

/cfexecute
cffile
action="read"
file="#tempfile#"
variable="scanresults"

cffile
action="delete"
file="#tempfile#"

cfset returnvar = "Caller.#Attributes.return#"
cfif scanresults eq "0"
cfset SetVariable( "#returnvar#", "OK")
cfelseif scanresults eq "13" or scanresults eq "19"
cfset SetVariable( "#returnvar#", "VIRUS")
cfelse
cfset SetVariable( "#returnvar#", "ERROR")
/cfif




At 10:14 PM 1/9/01 -0500, Michael Dinowitz wrote:
Ah. The module only returns the output. You may need to roll your own for
this.


 Sorry Michael, thanks for helping, but I need to get the return code from
running an external executable called by CFEXECUTE.


 At 07:22 PM 1/9/01 -0500, Michael Dinowitz wrote:
 Sorry. I assumed that the code was used so much that it was on the
gallery.
 I'll send it to you directly and then post it up on site.
 
 
  The CF_Execute I found at Allaire has nothing to do with the CFEXECUTE
 tag. It executes CFML code, not external executable programs.
 
  Am I looking in the wrong place?
 
  At 05:50 PM 1/9/01 -0500, Michael Dinowitz wrote:
  Wrap it in the CF_Execute custom tag. All it does is return the
results
 of a
  CFEXECECUTE call.
  
   How do I get the return code from a CFEXECUTE?
   This is on Unix...
  
  
 

 
-
 -
  -
   Peter Theobald, Chief Technology Officer
   LiquidStreaming http://www.liquidstreaming.com
   [EMAIL PROTECTED]
   Phone 1.212.545.1232 x204 Fax 1.212.545.0938
  
   To put this contact information into your Palm device, click here:
  
http://www.coola.com/cgi-bin/addinfo.cgi?pid=15803rid=972879910type=A
  
  
  
  
  
 
 


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFGrid

2001-01-09 Thread David Shadovitz

On Tue, 09 Jan 2001 "Tony Turner -CFUG" [EMAIL PROTECTED]
writes:

 Please could someone let me know what I am doing wrong. I want to 
 use CFGRID.

I think you answered your own question.
-David
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Dreamweaver UltraDev 4.0 and Cold Fusion

2001-01-09 Thread Joshua Miller

Haven't had a chance to try UD4 yet, been using DW since version 1.0 and
I've loved it and preached the gospel for years. Had I a decent
high-bandwidth connection I'd download the new version. I can tell you a few
things about UD needs to be stepped up in the code-writing world to compete
with CFStudio.

1. Notepad has all the features of the Dreamweaver/UD code editor
(sans-color-coding)
2. No tag insight
3. No document tree window for editing multiple docs from the same editor
interface.
4. Limited Shortcuts in the editor view

A few things I REALLY like about UD/DW (just to even things out)

1. Visual Authoring of complex table output
2. Ability to author CSS/JS in the same environment (yes, you CAN do this in
CF, but it's SO much nicer in DW/UD)
3. Extensibility !!! Ability to build custom tools and functions

Some things that would be nice to see:

1. Built in XML parser that recognizes standard XML formats (doc book, RDF,
etc.) and will output XML files into CF/ASP/JSP pages using CFFILE or
comparable functions in the other languages.
2. Built in XSL parser - assign XML elements CSS properties in a visual
environment.
3. Support for Fusebox and other CF-related methodologies (CFOBJECTS, etc.)

Some of these things may have been addressed in UD4, dunno.

By the way, what happened to UltraDev 2.0 and 3.0? Can you really just jump
from 1.0 to 4.0 in one version? Sounds a little Netscape-ish to me :)

Joshua Miller
Web Development
Eagle Technologies Group, Inc.
Business Solutions for the Next Generation
www.eagletgi.com http://www.eagletgi.com
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: OT STORED PROCEDURES

2001-01-09 Thread Joe Sheble (Wizaerd)

I had thought of using Dynamic SQL in SQL Server stored procedures, but
hadn't gotten around with playing with it much yet.  Can you still return
multiple recordsets this way?  In fact, does the EXEC() SQL function return
a recordset at all?

Joseph E. Sheble
a.k.a. Wizaerd
Wizaerd's Realm
Canvas, 3D, Graphics,
ColdFusion, PHP, and mySQL
http://www.wizaerd.com
=

 -Original Message-
 From: Bob Silverberg [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 09, 2001 3:50 PM
 To: CF-Talk
 Subject: RE: OT STORED PROCEDURES


 I just wrote this off the top of my head, so it may not run (I'm not sure
 about the double and single quotes), but it gives you some idea of how to
 dynamically build SQL statements in a stored proc (if that's what you're
 looking for):

 CREATE PROC MyProc
   @Active bit = NULL,
   @Test bit = NULL
 AS

 DECLARE @sSQL as varchar(1000)

 SET @sSQL = 'Select * from member where membernumber  0'
 IF @Active = 1 SET @sSQL = @sSQL + 'and active="y"'
 IF @Test = 1 SET @sSQL = @sSQL + 'and test="no"'
 SET @sSQL = @sSQL + 'order by membernumber'

 EXEC (@sSQL)

 GO

 -Original Message-
 From: William J Wheatley [mailto:[EMAIL PROTECTED]]
 Sent: January 9, 2001 3:47 PM
 To: CF-Talk
 Subject: RE: OT STORED PROCEDURES


 is there anyway to do the if in the query of a stored procedure without
 using a Cursor.

 and this is what i wanted

 Select *
 from member
 where membernumber0
 and active='y'
 and test='no'
 order by membernumber

 by using this type logic

 select *
 from member
 where membernumber0

 IF @active is 'y'
   and active='y'
 END
 IF @test is 'y'
   and test='no'
 END
 order by membernumber


 so that by using a stored procedure i can say is active is N then the (and
 active='y') wont run properly.
 =)

 hope that helps




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFFORM Problem

2001-01-09 Thread paul smith

This throws an error if I change it to CFFORM:

FORM 
ACTION="/KeyWordAct/index.cfm/IN.CFOUTPUT#VARIABLES.INIT#/CD.#URL.CFI#/CN.#URL.CFT#/OR.#Variables.org_id#/CFOUTPUT"
 
METHOD="POST"

Is there a work-around?

best,  paul


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



<    1   2   3