Execution Speed...?

2002-09-27 Thread Brian Scandale

I'm needing to do lots of testing repeatedly and I was wondering if anyone knows off 
the top of their head...

Which evaluates faster?

cfif isDefined(Client.Variable)/cfif
OR
cfif SomeVariable/cfif

Thanks,
Brian

__
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: Why oh *WHY* is this *now* working?

2002-09-27 Thread Jeff Small

 Well, no, not really. CF doesn't map DNS names to IP addresses; that's
done
 by other components. So, unless you changed the mapping for localhost
which
 is in your hosts file to something other than 127.0.0.1, localhost always
 pointed (and will point) to 127.0.0.1, no matter what you do in CF. So, I
 suspect that at some point your CF service stopped and was restarted; this
 may have happened without your knowledge.

Yeah, that's why it sounded so weird, and had me so stumped. I was *never*
thinking there was a problem with using localhost. But the CF error message
threw me. It said the requests were coming from 192.168.1.100, when they
should always be coming from 127.0.0.1. That's why it never dawned on me to
try typing in a different address.

Hmmm, so at some point, my CF service was stopped, and
restarted...interesting...I'm gonna check my event viewer, but this whole
your coldfusion must've stopped, then started back up again thing has me
slightly more curious now...Anyplace in particular besides the event viewer
I should be looking? To my knowledge, this machine has been up for days
without being shut down or restarted.

One question. Why did the original error message indicate that the request
was coming from 192.168.1.100 when I *know* I only typed
http://localhost/wap? If my mapping hasn't changed, (and believe me, I
haven't gone into any hosts files and changed anything) then why, when I
type in http://localhost/ does it say that the request was originating at
192.168.1.100, inside my firewall, and the machine's DHCP assigned IP? You
think this might be a weirdness associated with using the Openwave stuff?

By the way, thanks a lot for your help Dave, and everyone else...this has
been an eye opening little debugging experience...this WML stuff will cause
you to pull your hair out...

__
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: Com ASP and CFMX hopefully MM are listing and fixing

2002-09-27 Thread Hugo Ahlenius

Mike,

ArcIMS is not the best example -- a piece of software all in java, with
(good) native interfaces to both com, java and coldfusion.

I guess your shop made the decision to use COM/ASP for ArcIMS (the
decision to use coldfusion/COM for ArcIMS would be incredible bad -- I
hope you didn't go that route) and coded and setup your applications in
that...

/Hugo





__
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: Uploading zero-length files

2002-09-27 Thread jgeorges

Nat,

Thanks for the response.

Sam

 --- On Thu 09/26, Nat Papovich  wrote:
From: Nat Papovich [mailto: [EMAIL PROTECTED]]
To: [EMAIL PROTECTED]
Date: Thu, 26 Sep 2002 10:26:17 -0700
Subject: RE: Uploading zero-length files

 If all you want to do is avoid errors caused by uploaded zero-length
 files,
 you might try wrapping the  upload in cftry/cfcatch.
 
 NAT
 
  -Original Message-
  From: Chris Lofback [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 26, 2002 8:45 AM
  To: CF-Talk
  Subject: RE: Uploading zero-length files
 
 
  Unless you go to a Java applet (or something similar), I don't
  think there's
  a way to get the file size info at the client end before uploading. 
 The
  FileUpload form field doesn't provide file size and JavaScript
  can't get any
  info about files on the client system.
 
  Chris Lofback
  Sr. Web Developer
 
  TRX Integration
  28051 US 19 N., Ste. C
  Clearwater, FL  33761
  www.trxi.com
 
 
   -Original Message-
   From: jgeorges [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, September 26, 2002 10:21 AM
   To: CF-Talk
   Subject: Uploading zero-length files
  
  
   I am uploading a file (that the user has identified in an
   input type=file) using CFFILE. CFFILE does not allow zero
   length files.
  
   Is there a way I can get the filesize before attempting the
 upload?
  
   TIA,
  
   Sam
  
  
  
  
   
   Changed your e-mail?  Keep your contacts!  Use this free
   e-mail change of address service from Return Path.  Register
 now!
  
  
 
__
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: Execution Speed...?

2002-09-27 Thread Jochem van Dieten

Brian Scandale wrote:
 I'm needing to do lots of testing repeatedly and I was wondering if anyone knows off 
the top of their head...
 
 Which evaluates faster?

Loop 10 times over each and you know the difference. There is some 
test code in the archives if you look hard.


 cfif isDefined(Client.Variable)/cfif
   OR
 cfif SomeVariable/cfif

They do different things, you know that right?

Jochem

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



Re: Javascript Validation for Form Selects in CF ?

2002-09-27 Thread Ian Vaughan

I have made changes and the form validation works but not 100% yet, I have a
CFFile field that will allow users to upload .pdf,.jpg,.gif files, and
the validation that is included with the script does not seem to picking up
the following...

1.) That there is an incorrect file format trying to be uploaded, when only
pdf, jpg and gif files should be allowe to be uploaded.

2.) The form can still be submitted when the CFFile field is blank, but it
is required to have a value

I have been trying since the previous posts, tweaking the code to try to
come up with a solution but with no success so would value a second opinion
from you
very much

SCRIPT LANGUAGE=JavaScript

!-- Begin
function checkFields() {
  foundExt = true;
  missinginfo = ;
if (document.form.dltitle.value == ) {
missinginfo += \n -  Title of the File Uploaded;
}
if (document.form.dlsummary.value == ) {
missinginfo += \n -  Descriptive Summary of Uploaded File;
}

if (document.form.area.selectedIndex == 0 ||
document.form.area.selectedIndex == 1)
missinginfo += \n -  Please select File Category;

if (document.form.dlos.selectedIndex == 0 ||
document.form.dlos.selectedIndex == 1)
missinginfo += \n -  Please select an operating system;



///START UPLOAD CODE
if (document.form.UploadFile.value != ) {
  lcVal = document.form.UploadFile.value.toLowerCase();
  foundExt = false;
  ext = new
Array(.pdf,.jpg,.gif);
  for (i=0; iext.length; i++) {
if (lcVal.indexOf(ext[i]) = 0) {
  foundExt = true;
}
  }

if (!foundExt) {
  alert(Only upload files that end in 
  + (extArray.join(  )) + .\n\nPlease select a new 
  + file to upload and try again.);

  }
}
///END UPLOAD CODE


  if (missinginfo != ) {
missinginfo =_\n +
You failed to correctly fill in your:\n +
missinginfo + \n_ +
\nPlease re-enter the required details and submit again!;
alert(missinginfo);
return false;
  }

  if (missinginfo ==   foundExt) {
submit_form('Form', 'content'); ///here 'tis
return true;
  } else {
return false;
  }
}



//  End --
/script

In my body tag

body onLoad=setupMenu(document.Form); background=white topmargin=4
bgcolor=#FF text=#00 link=#99 vlink=#99 alink=#FF
onSubmit=return checkFields()

In the form tag
form action=dltestaction.cfm ENCTYPE=multipart/form-data method=post
name=form id=Form onSubmit=return checkFields();



Ian

- Original Message -
From: Tim Painter [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 2:34 PM
Subject: Re: Javascript Validation for Form Selects in CF ?


 Ian,
 You have a couple of extra left curly braces after the check on dlos
and
 area --

 missinginfo += \n - Please select an operating system;
 } --- Remove this


 missinginfo += \n - Please select the required area;
 } --- and this one too.

 Tim P.

 - Original Message -
 From: Ian Vaughan [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, September 25, 2002 9:06 AM
 Subject: Re: Javascript Validation for Form Selects in CF ?


  Changed the code to and added a name one of the form fields but a
 javascript
  syntx error is occuring? what could cause this in the code below??
 
  SCRIPT LANGUAGE=JavaScript
 
  !-- Begin
  function checkFields() {
  missinginfo = ;
  if (document.form.dltitle.value == ) {
  missinginfo += \n -  Title of the File Uploaded;
  }
  if (document.form.dlsummary.value == ) {
  missinginfo += \n -  Descriptive Summary of Uploaded File;
  }
 
  if (document.form.dlos.selectedIndex == 0 ||
  document.form.dlos.selectedIndex == 1)
  missinginfo += \n - Please select an operating system;
  }
 
  if (document.form.area.selectedIndex == 0 ||
  document.form.area.selectedIndex == 1)
  missinginfo += \n - Please select the required area;
  }
 
  if (missinginfo != ) {
  missinginfo =_\n +
  You failed to correctly fill in the:\n +
  missinginfo + \n_ +
  \nPlease re-enter the required details and submit again!;
  alert(missinginfo);
  return false;
  }
  else return true;
  }
  //  End --
  - Original Message -
  From: Tim Painter [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Wednesday, September 25, 2002 11:53 AM
  Subject: Re: Javascript Validation for Form Selects in CF ?
 
 
   To check the selected value of a select, use
  
   if (document.form.dlos[document.form.dlos.selectedIndex].value == '')
  etc.
  
   also, your file description select doesn't have a name.
  
   HTH,
   Tim P.
   - Original Message -
   From: Ian Vaughan [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Wednesday, September 25, 2002 6:14 AM
   Subject: Javascript Validation for Form Selects in CF ?
  
  
Hi
   
I am trying to add javascipt validation to my form fields before the
  data
   is
submitted to the database via coldfusion, however 

RE: So many problems with CFC scopes...

2002-09-27 Thread Benoit Hediard

I think I forgot some other problems with CFCs linked to UDF lib functions.
It took me sometime to understand why I was not able to include UDF lib in
some cases.

- CFC methods defined in an included file cannot really include UDF lib.
Indeed, CF refuses to include twice the same UDF lib in one single script,
which could be the case with two CFC included methods definition that use
the same UDF lib.
WORKAROUND : include the UDF lib at the top of the CFC before the
CFFunction method tags (even if only few methods of the CFC use it). But I
don't know if this is very nice for the CFC, especially if the UDF lib is
based on cffunction tag which the same than the one used to define CFC
methods...

- UDF lib cannot be included in a CFC if the UDF lib is already included in
the script calling the CFC. This is a problem : if you want to use the CFC
in another script, you have to think to include the UDF lib before to invoke
the CFC...
WORKAROUND : use the cfif isDefined(oneOfTheFunctionName)cfinclude
template=myUDFlib.cfm/cfif in the CFC to test if the UDF lib has
already be included.

All this is not very clean...
I wonder if it could be possible that CF accept to include several times the
same UDF lib : if it is the same file, it should not complain about it.
It would solve all those problems.

Any other CFC problems + workaround comes to your mind?


Benoit Hediard
http://www.benorama.com



-Message d'origine-
De : Benoit Hediard [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 26 septembre 2002 20:32
À : CF-Talk
Objet : So many problems with CFC scopes...


Hi,

I was wondering if anyone know when MM is going to fix all the issues
related to CFC scopes.
I was hoping for the CFMX updater, but it hasn't solve anything on those
issues.

It makes CFC development very weird, you need to use many workarounds,
especially when includes are used for methods definition.

Issues :
- CFCs used in persistent scope (session, application...) loose the page
context and cannot access other persistent scopes variables.
WORKAROUND :
http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=8threadid=
386634

- The variable. scope is not private.
WORKAROUND : use the un-named scope
(http://cfguru.daemon.com.au/archives/67.html)

- methods defined in an included file loose the argument scope,
WORKAROUND : put the 'argument' scope in 'request' or 'this' scope to pass
it to the included method

- methods defined in an included file cannot call private or package
methods of the same CFC,
WORKAROUND : use only public or remote access security... :(

Any other problems related to CFC scopes to your mind or better workarounds?


Benoit Hediard
http://www.benorama.com


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



RE: Regex for CF Studio

2002-09-27 Thread Everett, Al

Perhaps that was a bad example. I don't necessarily want to find a CF
variable. Sometimes I want to find a tag. Sometimes just text. I just don't
want to find it in between !--- and --- (CF comment tags).

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 26, 2002 7:31 PM
 To: CF-Talk
 Subject: Re: Regex for CF Studio
 
 
 Logic this through. A legal evaluate can come in one of two 
 ways. Inside a
 CF tag or inside an output block where it needs pound signs. 
 By that logic,
 these two patterns would match it:
 CF[^]+evaluate\(\)[^]*
 #evaluate\(\)#
 Now using the magic of back referencing, you can do this:
 (CF[^]+)evaluate\(\)([^]*)
 (#)evaluate\(\)(#)
 If you use either pattern inside the CFStudio extended 
 replace (not together
 as they don't stack even with a pipe) then you can use this 
 as the replace
 string:
 \1spam\2
 This will replace all evaluate() with spam in all legal CF 
 places. This will
 also replace within comments in one case, when the entire CF 
 tag containing
 an evaluate() is commented out.
 
 
  I used the advanced search in CF Studio a lot, since we 
 have a lot of
 files
  spread over several drives and directories and had a dozen 
 people working
 on
  the project at one time.
 
  At the moment I'm trying to find all instances of certain 
 tags and other
  strings so that we can eliminate them, but I'm getting a 
 lot of false hits
  because of comments. For instance, let's say I was searching for all
  instances of evaluate(; I'd get results back from pages 
 with !--- Removed
  unnecessary evaluate() function ---. Obviously I don't want that.
 
  Can someone offer a regular expression that would find all 
 instances of a
  string (xyz) UNLESS it appears inside CF Comments and works in CF
 Studio?
 
 
  --
  Al Everett
  Allied Office Products
  www.askallied.com
  mailto:[EMAIL PROTECTED]
  v: 973-594-3209
  f: 973-594-3626
  
 
__
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: Time calculation

2002-09-27 Thread Everett, Al

I think you want integer division: \

 -Original Message-
 From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 26, 2002 8:26 PM
 To: CF-Talk
 Subject: RE: Time calculation
 
 
 Crap.
 
 Change all of the LTEs to GTEs and all of the MODs to 
 / (divided
 by).  That'll teach me not to test code.
 
 --
 Mosh Teitelbaum
 evoch, LLC
 Tel: (301) 625-9191
 Fax: (301) 933-3651
 Email: [EMAIL PROTECTED]
 WWW: http://www.evoch.com/
 
 
  -Original Message-
  From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 26, 2002 6:32 PM
  To: CF-Talk
  Subject: RE: Time calculation
 
 
  DateDiff() by itself is not enough.  It can tell you the
  difference in days
  OR hours OR ..., but not all combined.  The following (untested)
  code should
  do what you want.  My apologies if it doesn't 8^).
 
  !--- Get difference in seconds ---
  CFSET diffSeconds = DateDiff(s, start, end)
 
  !--- Initialize display vars ---
  CFSET dspDays = 0
  CFSET dspHours = 0
  CFSET dspMinutes = 0
  CFSET dspSeconds = 0
 
  !--- Get the number of days and subtract them from diffSeconds ---
  CFSET secondsInDay = 60 * 60 * 24
  CFIF diffSeconds LTE secondsInDay
  CFSET dspDays = diffSeconds MOD secondsInDay
  CFSET diffSeconds = diffSeconds - (secondsInDay * dspDays)
  /CFIF
 
  !--- Get the number of hours and subtract them from 
 diffSeconds ---
  CFSET secondsInHour = 60 * 60
  CFIF diffSeconds LTE secondsInHour
  CFSET dspHours = diffSeconds MOD secondsInHour
  CFSET diffSeconds = diffSeconds - (secondsInHour * dspHours)
  /CFIF
 
  !--- Get the number of minutes and subtract them from 
 diffSeconds ---
  CFSET secondsInMinute = 60
  CFIF diffSeconds LTE secondsInMinute
  CFSET dspMinutes = diffSeconds MOD secondsInMinute
  CFSET diffSeconds = diffSeconds - (secondsInMinute * 
 dspMinutes)
  /CFIF
 
  !--- Get number of seconds ---
  CFSET dspSeconds = diffSeconds
 
  !--- Display in day:hour:minute:second format ---
  CFOUTPUT
  #dspDays#:#dspHours#:#dspMinutes#:#dspSeconds#
  /CFOUTPUT
 
  --
  Mosh Teitelbaum
  evoch, LLC
  Tel: (301) 625-9191
  Fax: (301) 933-3651
  Email: [EMAIL PROTECTED]
  WWW: http://www.evoch.com/
 
 
   -Original Message-
   From: John Gedeon [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, September 26, 2002 4:45 PM
   To: CF-Talk
   Subject: Time calculation
  
  
   I have two date and time fields, start and end. I want find the
   difference
   and i want to display the difference as days:hrs:mins:secs what
   is the best
   way to do that... ?
  
   Right now i use hour minute and second (built in functions) and
   those work
   find for differences less than one day but they do not display
   the correct
   amount of hours for differences longer than 1 day...
   any suggestions
  
Proverbs 3:5 Trust in the Lord with all your heart 
 and lean not on
   your own understanding;
  
  
  
 
__
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



CS RCS Software

2002-09-27 Thread Shahzad.Butt

If someone has integrated CS RCS Software (for Version Control) with
coldfusion Studio4.5, pls read following. 
 
I've downloaded the utility to integrate and made amendments in RCS.tbr.
Issue I am having is that our central repository is in Server1 (Work
group environment) and we are using CS RCS on Machine1 and Machine2. Now
as we are directly working on Workfolder which is in Server1 but not in
Machine1 or Machine2 so in RCS.tbr file I've changed the path to
\\Server1\. But for some reason it doesn't work as it should. Rather
when I click Check In it just makes the file Read Only without adding it
into repository. It works OK with Document Explorer.
All I need is to configure RCS with Machine1 and Machine2.
 
 
Shahzad Butt (Development Engineer)
 
JJ FastFood Distribution Ltd.
Office:  +44 (0) 1992 701 722
Mobile: +44 (0) 7803 584 873
Fax: +44 (0) 1992 701 604
 
7 Solar Way, Innova Park, Enfield, London, EN3 7XY
 


**
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 footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**


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



Error with a simple expression.

2002-09-27 Thread Adams, Stephen

**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

Can anyone tell me why this simple expression
'#PreserveSingleQuotes(Evaluate(FORM.displayName  UpdateLoopIdx))#', it
keeps failing, but I can't see why.

Stephen


**
Westminster City Council switchboard: 
+44 20 7641 6000
**
This E-Mail may contain information which is 
privileged, confidential and protected from 
disclosure.  If you are not the intended recipient 
of this E-mail or any part of it, please telephone 
Westminster City Council immediately on receipt.
You should not disclose the contents to any other 
person or take copies.
**

__
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: CS RCS Software

2002-09-27 Thread Hugo Ahlenius

Shahzad,

Is it CS RCS Pro? The non-pro version doesn't allow a shared repository (I
think).

You should try their support too, I think this is a CS-RCS issue, not
CFStudio (easy to test, can you checkin/out from explorer?)

/Hugo





__
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: CS RCS Software

2002-09-27 Thread Thomas Chiverton

 as we are directly working on Workfolder which is in Server1 but not in
 Machine1 or Machine2 so in RCS.tbr file I've changed the path to
 \\Server1\.

Why not just give each Machine it's own checkout folder for when your
working on something ?

Tom Chiverton
You don't have to be a mad scientist to believe in ColdFusion




__
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: Error with a simple expression.

2002-09-27 Thread Mike Townend

What error are you getting?

Try something like...

CFQUERYPARAM VALUE=#FORM['displayName'  UpdateLoopIdx]#
CFSQLTYPE=CF_SQL_VARCHAR

And see if you get the same error...

HTH



-Original Message-
From: Adams, Stephen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 11:55
To: CF-Talk
Subject: Error with a simple expression.


**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

Can anyone tell me why this simple expression
'#PreserveSingleQuotes(Evaluate(FORM.displayName  UpdateLoopIdx))#',
it keeps failing, but I can't see why.

Stephen


**
Westminster City Council switchboard: 
+44 20 7641 6000
**
This E-Mail may contain information which is 
privileged, confidential and protected from 
disclosure.  If you are not the intended recipient 
of this E-mail or any part of it, please telephone 
Westminster City Council immediately on receipt.
You should not disclose the contents to any other 
person or take copies.
**


__
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: Error with a simple expression.

2002-09-27 Thread Stephen Moretti


 Can anyone tell me why this simple expression
 '#PreserveSingleQuotes(Evaluate(FORM.displayName  UpdateLoopIdx))#', it
 keeps failing, but I can't see why.

 Stephen


What error message are you getting??

Regards

Stephen


__
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: Error with a simple expression.

2002-09-27 Thread Adams, Stephen

**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

I am trying to use it in a UPDATE query, the error I was getting was this:


-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 12:09
To: CF-Talk
Subject: RE: Error with a simple expression.


What error are you getting?

Try something like...

CFQUERYPARAM VALUE=#FORM['displayName'  UpdateLoopIdx]#
CFSQLTYPE=CF_SQL_VARCHAR

And see if you get the same error...

HTH



-Original Message-
From: Adams, Stephen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 11:55
To: CF-Talk
Subject: Error with a simple expression.


**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

Can anyone tell me why this simple expression
'#PreserveSingleQuotes(Evaluate(FORM.displayName  UpdateLoopIdx))#',
it keeps failing, but I can't see why.

Stephen


**
Westminster City Council switchboard: 
+44 20 7641 6000
**
This E-Mail may contain information which is 
privileged, confidential and protected from 
disclosure.  If you are not the intended recipient 
of this E-mail or any part of it, please telephone 
Westminster City Council immediately on receipt.
You should not disclose the contents to any other 
person or take copies.
**



__
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: Error with a simple expression.

2002-09-27 Thread Adams, Stephen

**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

The error I was getting was this:

Error in custom ColdFusion module
(/wire/customcf/myLinks_admin_submitted.cfm)
Just in time compilation error
Invalid parser construct found on line 126 at position 64. ColdFusion was
looking at the following text:
(
Invalid expression format. The usual cause is an error in the expression
structure.
The last successfully parsed CFML construct was static text occupying
document position (125:66) to (126:33).

-Original Message-
From: Stephen Moretti [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 12:16
To: CF-Talk
Subject: Re: Error with a simple expression.



 Can anyone tell me why this simple expression
 '#PreserveSingleQuotes(Evaluate(FORM.displayName  UpdateLoopIdx))#', it
 keeps failing, but I can't see why.

 Stephen


What error message are you getting??

Regards

Stephen



__
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: Error with a simple expression.

2002-09-27 Thread Mike Townend

Another thing to check for will be the commas...

I assume that you are doing a loop and if all you are updating is the
displaynames then check to ensure that your commas match...

i.e.

UPDATE Foo
SET fooid = fooid
CFLOOP FROM=1 TO=5 INDEX=idxFoo
, DisplayName#idxFoo# = CFQUERYPARAM VALUE=#FORM['displayName'
 idxFoo]# CFSQLTYPE=CF_SQL_VARCHAR
/CFLOOP
WHERE fooid = #FORM.ID#

Or something like that...

Your error didn't seem to be included...


Hth



-Original Message-
From: Adams, Stephen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 12:15
To: CF-Talk
Subject: RE: Error with a simple expression.


**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

I am trying to use it in a UPDATE query, the error I was getting was
this:


-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 12:09
To: CF-Talk
Subject: RE: Error with a simple expression.


What error are you getting?

Try something like...

CFQUERYPARAM VALUE=#FORM['displayName'  UpdateLoopIdx]#
CFSQLTYPE=CF_SQL_VARCHAR

And see if you get the same error...

HTH



-Original Message-
From: Adams, Stephen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 11:55
To: CF-Talk
Subject: Error with a simple expression.


**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

Can anyone tell me why this simple expression
'#PreserveSingleQuotes(Evaluate(FORM.displayName  UpdateLoopIdx))#',
it keeps failing, but I can't see why.

Stephen


**
Westminster City Council switchboard: 
+44 20 7641 6000
**
This E-Mail may contain information which is 
privileged, confidential and protected from 
disclosure.  If you are not the intended recipient 
of this E-mail or any part of it, please telephone 
Westminster City Council immediately on receipt.
You should not disclose the contents to any other 
person or take copies.
**




__
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: Uploading zero-length files

2002-09-27 Thread Greg Luce

Isaac,
I noticed that the content_length variable wasn't exactly the
size of the uploaded file, but close. I was thinking it must also
included the rest of the form data. Could that be? I think if the form
didn't have a lot of inputs the difference was less than 1K so it was
good enough to restrict files over like 100K or less than 2K.

Greg

-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 26, 2002 6:00 PM
To: CF-Talk
Subject: Re: Uploading zero-length files

That's interresting... I wonder if that's a browser specific behavior...
Thanks for the info, I'll have to check it out.

 Isaac,

 Thanks for the response.

 Both content_length and http_content_length returned a
 non-zero value.  What I noticed is the filename does not
 get passed for zero length files.  So testing for the
 existence of a filename solved my problem.

 Sam



  --- On Thu 09/26, S.Isaac Dealey  wrote:
 From: S.Isaac Dealey [mailto: [EMAIL PROTECTED]]
 To: [EMAIL PROTECTED]
 Date: Thu, 26 Sep 2002 10:54:02 -0400
 Subject: Re: Uploading zero-length files

 I think there are a couple cgi variables you can use to
 estimate it...
 cgi.content_length or maybe http_content_length ... not
 sure... If you
 have
 debugging turned on on the server, upload a file and then
 look at the
 list
 of cgi variables at the bottom of the page, the 1 or 2
 you want should be
 fairly easy to spot.

  I am uploading a file (that the user has identified in
  an input
 type=file)
  using CFFILE. CFFILE does not allow zero length files.

  Is there a way I can get the filesize before attempting
  the upload?


 S. Isaac Dealey
 Certified Advanced ColdFusion 5 Developer

 www.turnkey.to
 954-776-0046

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


Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046


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



RE: Error with a simple expression.

2002-09-27 Thread Greg Luce

What's the error?

-Original Message-
From: Adams, Stephen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 6:55 AM
To: CF-Talk
Subject: Error with a simple expression.

**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

Can anyone tell me why this simple expression
'#PreserveSingleQuotes(Evaluate(FORM.displayName  UpdateLoopIdx))#',
it
keeps failing, but I can't see why.

Stephen


**
Westminster City Council switchboard: 
+44 20 7641 6000
**
This E-Mail may contain information which is 
privileged, confidential and protected from 
disclosure.  If you are not the intended recipient 
of this E-mail or any part of it, please telephone 
Westminster City Council immediately on receipt.
You should not disclose the contents to any other 
person or take copies.
**


__
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: Javascript Validation for Form Selects in CF ?

2002-09-27 Thread Pascal Peters

Here is some code that worked for me:
 
function validate(myform){
  var file_pattern = /\.(jpg|gif|pdf)$/i;
  if(!file_pattern.test(myform.File.value)){
   alert(false);
   return false;
  }
  return true;
 }
 
It only validated if I put a jpg, gif or pdf


-Oorspronkelijk bericht- 
Van: Ian Vaughan [mailto:[EMAIL PROTECTED]] 
Verzonden: vr 27-9-2002 10:45 
Aan: CF-Talk 
CC: 
Onderwerp: Re: Javascript Validation for Form Selects in CF ?



I have made changes and the form validation works but not 100% yet, I have a
CFFile field that will allow users to upload .pdf,.jpg,.gif files, and
the validation that is included with the script does not seem to picking up
the following...

1.) That there is an incorrect file format trying to be uploaded, when only
pdf, jpg and gif files should be allowe to be uploaded.

2.) The form can still be submitted when the CFFile field is blank, but it
is required to have a value

I have been trying since the previous posts, tweaking the code to try to
come up with a solution but with no success so would value a second opinion
from you
very much

SCRIPT LANGUAGE=JavaScript

!-- Begin
function checkFields() {
  foundExt = true;
  missinginfo = ;
if (document.form.dltitle.value == ) {
missinginfo += \n -  Title of the File Uploaded;
}
if (document.form.dlsummary.value == ) {
missinginfo += \n -  Descriptive Summary of Uploaded File;
}

if (document.form.area.selectedIndex == 0 ||
document.form.area.selectedIndex == 1)
missinginfo += \n -  Please select File Category;

if (document.form.dlos.selectedIndex == 0 ||
document.form.dlos.selectedIndex == 1)
missinginfo += \n -  Please select an operating system;



///START UPLOAD CODE
if (document.form.UploadFile.value != ) {
  lcVal = document.form.UploadFile.value.toLowerCase();
  foundExt = false;
  ext = new
Array(.pdf,.jpg,.gif);
  for (i=0; iext.length; i++) {
if (lcVal.indexOf(ext[i]) = 0) {
  foundExt = true;
}
  }

if (!foundExt) {
  alert(Only upload files that end in 
  + (extArray.join(  )) + .\n\nPlease select a new 
  + file to upload and try again.);

  }
}
///END UPLOAD CODE


  if (missinginfo != ) {
missinginfo =_\n +
You failed to correctly fill in your:\n +
missinginfo + \n_ +
\nPlease re-enter the required details and submit again!;
alert(missinginfo);
return false;
  }

  if (missinginfo ==   foundExt) {
submit_form('Form', 'content'); ///here 'tis
return true;
  } else {
return false;
  }
}



//  End --
/script

In my body tag

body onLoad=setupMenu(document.Form); background=white topmargin=4
bgcolor=#FF text=#00 link=#99 vlink=#99 alink=#FF
onSubmit=return checkFields()

In the form tag
form action=dltestaction.cfm ENCTYPE=multipart/form-data method=post
name=form id=Form onSubmit=return checkFields();



Ian

- Original Message -
From: Tim Painter [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 2:34 PM
Subject: Re: Javascript Validation for Form Selects in CF ?


 Ian,
 You have a couple of extra left curly braces after the check on dlos
and
 area --

 missinginfo += \n - Please select an operating system;
 } --- Remove this


 missinginfo += \n - Please select the required area;
 } --- and this one too.

 Tim P.

 - Original Message -
 From: Ian Vaughan [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, September 25, 2002 9:06 AM
 Subject: Re: Javascript Validation for Form Selects in CF ?


  Changed the code to and added a name one of the form fields but a
 javascript
  syntx error is occuring? what could cause this in the code below??
 
  SCRIPT LANGUAGE=JavaScript
 
  !-- Begin
  function checkFields() {
  missinginfo = ;
  if (document.form.dltitle.value 

Re: Uploading zero-length files

2002-09-27 Thread Jochem van Dieten

Greg Luce wrote:
 Isaac,
   I noticed that the content_length variable wasn't exactly the
 size of the uploaded file, but close. I was thinking it must also
 included the rest of the form data. Could that be? I think if the form
 didn't have a lot of inputs the difference was less than 1K so it was
 good enough to restrict files over like 100K or less than 2K.

I would expect size differences to originate from a possible encoding of 
the uploaded file, which in turn makes me believe that the 
Content-Length = file size.

quote
14.13 Content-Length

The Content-Length entity-header field indicates the size of the
entity-body, in decimal number of OCTETs, sent to the recipient or,
in the case of the HEAD method, the size of the entity-body that
would have been sent had the request been a GET.

Content-Length= Content-Length : 1*DIGIT

An example is

Content-Length: 3495

Applications SHOULD use this field to indicate the transfer-length of
the message-body, unless this is prohibited by the rules in section
4.4.

Any Content-Length greater than or equal to zero is a valid value.
Section 4.4 describes how to determine the length of a message-body
if a Content-Length is not given.

Note that the meaning of this field is significantly different from
the corresponding definition in MIME, where it is an optional field
used within the message/external-body content-type. In HTTP, it
SHOULD be sent whenever the message's length can be determined prior
to being transferred, unless this is prohibited by the rules in
section 4.4.

/quote RFC 2616, HTTP/1.1

Jochem

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



Re: SOT How to set up win NT network to be recognized by OS X

2002-09-27 Thread Sean Daniels

On Thursday, September 26, 2002, at 09:38  PM, Dick Applebaum wrote:

 The tcip is installed.

 I get an error on startup saying that a service wasn't started -- event
 shows the adapter that uses TCP/IP didn't have a valid device --

 I guess I have some digging to do -- Thanks to you and Sean, I am at
 least digging in the right sandbox(es).

Dick,

Not sure what version of VPC you are running. I am running 5.0.4. You 
need to make sure the WinNT Virtual machine Settings (Select your VM in 
the VM List and then press Apple-T) has networking enabled, and I 
believe you will need to be using the Virtual Switch option. This 
gives the virtual machine a unique IP address as opposed to sharing 
your Mac IP. Then you should be able to reboot the NT VM, do the 
ipconfig thing and get the valid IP address.

Again, I can't replicate your exact situation, so I'm mainly 
hypothesizing.

I hope your running a beefier TiBook than the one I have!

__
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: SOT How to set up win NT network to be recognized by OS X

2002-09-27 Thread Robertson-Ravo, Neil (REC)

are all the Mac services started?

-Original Message-
From: Sean Daniels [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 13:37
To: CF-Talk
Subject: Re: SOT How to set up win NT network to be recognized by OS X


On Thursday, September 26, 2002, at 09:38  PM, Dick Applebaum wrote:

 The tcip is installed.

 I get an error on startup saying that a service wasn't started -- event
 shows the adapter that uses TCP/IP didn't have a valid device --

 I guess I have some digging to do -- Thanks to you and Sean, I am at
 least digging in the right sandbox(es).

Dick,

Not sure what version of VPC you are running. I am running 5.0.4. You 
need to make sure the WinNT Virtual machine Settings (Select your VM in 
the VM List and then press Apple-T) has networking enabled, and I 
believe you will need to be using the Virtual Switch option. This 
gives the virtual machine a unique IP address as opposed to sharing 
your Mac IP. Then you should be able to reboot the NT VM, do the 
ipconfig thing and get the valid IP address.

Again, I can't replicate your exact situation, so I'm mainly 
hypothesizing.

I hope your running a beefier TiBook than the one I have!


__
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



Slightly OT: Emulation software

2002-09-27 Thread Dowdell, Jason G

Hi all,

I have a client that needs an extremely low cost solution
to allowing users to access an access database from remote
locations using the web.

My thought is that they could use emulation software to connect
to the web server and open the access db directly.  Since there
are only 2 or 3 people that would open the db at any given time
I think it would work.

I don't know if you can use an emulation package to access
applications that reside on the server.

Any thoughts on this one?

Thanks,
Jason

-
Jason Dowdell
IM-AES Web Developer
321.799.6845
[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: escaping ampersands in sql*plus

2002-09-27 Thread Deanna Schneider

Matthieu,
Do this before your code:

SET ESCAPE ON

then this

INSERT INTO DEPARTMENTS
VALUES (1,2,3,'Mergers \ Acquisitions');


Deanna Schneider
Interactive Media Developer
[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: Slightly OT: Emulation software

2002-09-27 Thread John Beynon

You mean like remote control? If you were using a win2k server you could
just use the inbuilt terminal server. If not something like VNC which I
think is free but be aware of the security risks..

John.

-Original Message-
From: Dowdell, Jason G [mailto:[EMAIL PROTECTED]] 
Sent: 27 September 2002 13:49
To: CF-Talk
Subject: Slightly OT: Emulation software


Hi all,

I have a client that needs an extremely low cost solution
to allowing users to access an access database from remote locations using
the web.

My thought is that they could use emulation software to connect to the web
server and open the access db directly.  Since there are only 2 or 3 people
that would open the db at any given time I think it would work.

I don't know if you can use an emulation package to access applications that
reside on the server.

Any thoughts on this one?

Thanks,
Jason

-
Jason Dowdell
IM-AES Web Developer
321.799.6845
[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: Slightly OT: Emulation software

2002-09-27 Thread Dowdell, Jason G

Yeah, they're not on a 2k box yet but I do remember
using vnc a while back.  I think I'll recommend they
set up an account that only has access to certain
areas through NT.  I will also recommend that they
put the site on an ssl.  I think  that will pretty
much cover it.

Thanks for the help,
Jason

-Original Message-
From: John Beynon [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 8:53 AM
To: CF-Talk
Subject: RE: Slightly OT: Emulation software


You mean like remote control? If you were using a win2k server you could
just use the inbuilt terminal server. If not something like VNC which I
think is free but be aware of the security risks..

John.

-Original Message-
From: Dowdell, Jason G [mailto:[EMAIL PROTECTED]] 
Sent: 27 September 2002 13:49
To: CF-Talk
Subject: Slightly OT: Emulation software


Hi all,

I have a client that needs an extremely low cost solution
to allowing users to access an access database from remote locations using
the web.

My thought is that they could use emulation software to connect to the web
server and open the access db directly.  Since there are only 2 or 3 people
that would open the db at any given time I think it would work.

I don't know if you can use an emulation package to access applications that
reside on the server.

Any thoughts on this one?

Thanks,
Jason

-
Jason Dowdell
IM-AES Web Developer
321.799.6845
[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: escaping ampersands in sql*plus

2002-09-27 Thread Cornillon, Matthieu

Deanna!  You're a star!  That did the trick.  I knew the answer was a simple
one that was just too hard for me.

;)

Thanks,
Matthieu

-Original Message-
From: Deanna Schneider [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 8:54 AM
To: CF-Talk
Subject: Re: escaping ampersands in sql*plus


Matthieu,
Do this before your code:

SET ESCAPE ON

then this

INSERT INTO DEPARTMENTS
VALUES (1,2,3,'Mergers \ Acquisitions');


Deanna Schneider
Interactive Media Developer
[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: Uploading zero-length files

2002-09-27 Thread jgeorges

I have been using IE 5.5 SP2, same behavior with Netscape 4.79

Sam




 --- On Thu 09/26, S.Isaac Dealey  wrote:
From: S.Isaac Dealey [mailto: [EMAIL PROTECTED]]
To: [EMAIL PROTECTED]
Date: Thu, 26 Sep 2002 17:59:48 -0400
Subject: Re: Uploading zero-length files

 That's interresting... I wonder if that's a browser specific behavior...
 Thanks for the info, I'll have to check it out.
 
  Isaac,
 
  Thanks for the response.
 
  Both content_length and http_content_length returned a
  non-zero value.  What I noticed is the filename does not
  get passed for zero length files.  So testing for the
  existence of a filename solved my problem.
 
  Sam
 
 
 
   --- On Thu 09/26, S.Isaac Dealey  wrote:
  From: S.Isaac Dealey [mailto: [EMAIL PROTECTED]]
  To: [EMAIL PROTECTED]
  Date: Thu, 26 Sep 2002 10:54:02 -0400
  Subject: Re: Uploading zero-length files
 
  I think there are a couple cgi variables you can use to
  estimate it...
  cgi.content_length or maybe http_content_length ... not
  sure... If you
  have
  debugging turned on on the server, upload a file and then
  look at the
  list
  of cgi variables at the bottom of the page, the 1 or 2
  you want should be
  fairly easy to spot.
 
   I am uploading a file (that the user has identified in
   an input
  type=file)
   using CFFILE. CFFILE does not allow zero length files.
 
   Is there a way I can get the filesize before attempting
   the upload?
 
 
  S. Isaac Dealey
  Certified Advanced ColdFusion 5 Developer
 
  www.turnkey.to
  954-776-0046
 
  __
  
  Get the mailserver that powers this list at
  http://www.coolfusion.com
  FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
  Archives:
  http://www.mail-archive.com/cf-talk@houseoffusion.com/
  Unsubscribe:
  http://www.houseoffusion.com/index.cfm?sidebar=lists
 
 
 Isaac
 Certified Advanced ColdFusion 5 Developer
 
 www.turnkey.to
 954-776-0046
 
 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Error with a simple expression.

2002-09-27 Thread Deanna Schneider

Didn't someone just figure out that there's a bug with the preserve single
quotes function such that you can't use other functions inside of it?

So, you'd have to do something like this:
cfset thisdisplay = Evaluate(FORM.displayName  UpdateLoopIdx)

Then use this in your query.
'#PreserveSingleQuotes(thisdisplay)#'


Deanna Schneider
Interactive Media Developer
[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: Time calculation

2002-09-27 Thread Mosh Teitelbaum

Jeez... must I say it again?  CRAP

8^)

Thanks for the correction.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
 

 -Original Message-
 From: Everett, Al [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 27, 2002 6:58 AM
 To: CF-Talk
 Subject: RE: Time calculation
 
 
 I think you want integer division: \
 
  -Original Message-
  From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 26, 2002 8:26 PM
  To: CF-Talk
  Subject: RE: Time calculation
  
  
  Crap.
  
  Change all of the LTEs to GTEs and all of the MODs to 
  / (divided
  by).  That'll teach me not to test code.
  
  --
  Mosh Teitelbaum
  evoch, LLC
  Tel: (301) 625-9191
  Fax: (301) 933-3651
  Email: [EMAIL PROTECTED]
  WWW: http://www.evoch.com/
  
  
   -Original Message-
   From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, September 26, 2002 6:32 PM
   To: CF-Talk
   Subject: RE: Time calculation
  
  
   DateDiff() by itself is not enough.  It can tell you the
   difference in days
   OR hours OR ..., but not all combined.  The following (untested)
   code should
   do what you want.  My apologies if it doesn't 8^).
  
   !--- Get difference in seconds ---
   CFSET diffSeconds = DateDiff(s, start, end)
  
   !--- Initialize display vars ---
   CFSET dspDays = 0
   CFSET dspHours = 0
   CFSET dspMinutes = 0
   CFSET dspSeconds = 0
  
   !--- Get the number of days and subtract them from diffSeconds ---
   CFSET secondsInDay = 60 * 60 * 24
   CFIF diffSeconds LTE secondsInDay
 CFSET dspDays = diffSeconds MOD secondsInDay
 CFSET diffSeconds = diffSeconds - (secondsInDay * dspDays)
   /CFIF
  
   !--- Get the number of hours and subtract them from 
  diffSeconds ---
   CFSET secondsInHour = 60 * 60
   CFIF diffSeconds LTE secondsInHour
 CFSET dspHours = diffSeconds MOD secondsInHour
 CFSET diffSeconds = diffSeconds - (secondsInHour * dspHours)
   /CFIF
  
   !--- Get the number of minutes and subtract them from 
  diffSeconds ---
   CFSET secondsInMinute = 60
   CFIF diffSeconds LTE secondsInMinute
 CFSET dspMinutes = diffSeconds MOD secondsInMinute
 CFSET diffSeconds = diffSeconds - (secondsInMinute * 
  dspMinutes)
   /CFIF
  
   !--- Get number of seconds ---
   CFSET dspSeconds = diffSeconds
  
   !--- Display in day:hour:minute:second format ---
   CFOUTPUT
 #dspDays#:#dspHours#:#dspMinutes#:#dspSeconds#
   /CFOUTPUT
  
   --
   Mosh Teitelbaum
   evoch, LLC
   Tel: (301) 625-9191
   Fax: (301) 933-3651
   Email: [EMAIL PROTECTED]
   WWW: http://www.evoch.com/
  
  
-Original Message-
From: John Gedeon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 4:45 PM
To: CF-Talk
Subject: Time calculation
   
   
I have two date and time fields, start and end. I want find the
difference
and i want to display the difference as days:hrs:mins:secs what
is the best
way to do that... ?
   
Right now i use hour minute and second (built in functions) and
those work
find for differences less than one day but they do not display
the correct
amount of hours for differences longer than 1 day...
any suggestions
   
 Proverbs 3:5 Trust in the Lord with all your heart 
  and lean not on
your own understanding;
   
   
   
  
 
__
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: Error with a simple expression.

2002-09-27 Thread Adams, Stephen

**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

Thanks Denna, I'll give it a go.

-Original Message-
From: Deanna Schneider [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 14:15
To: CF-Talk
Subject: Re: Error with a simple expression.


Didn't someone just figure out that there's a bug with the preserve single
quotes function such that you can't use other functions inside of it?

So, you'd have to do something like this:
cfset thisdisplay = Evaluate(FORM.displayName  UpdateLoopIdx)

Then use this in your query.
'#PreserveSingleQuotes(thisdisplay)#'


Deanna Schneider
Interactive Media Developer
[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



Verity

2002-09-27 Thread Adam Reynolds

Can anybody give me a link to the type of searches (with examples) that I
can send to Verity

And what the difference between explicit and simple searches are.

If there is an online reference I would greatly appreciate this.

Adam

__
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: escaping ampersands in sql*plus

2002-09-27 Thread Deanna Schneider

You can also change the escape character using the set command in SQL Plus.
The \  is the default, but if you do something like

SET ESCAPE (your new symbol here) ON

The escape character will be your new symbol.

Not positive on the syntax on that, though.
-d



Deanna Schneider
Interactive Media Developer
[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: Verity

2002-09-27 Thread Gaulin, Mark

Look in the pdfs that come with CF5 (and maybe other versions). One of them
(don't remember which) describes the verity query language in detail.
Mark

-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 9:20 AM
To: CF-Talk
Subject: Verity


Can anybody give me a link to the type of searches (with examples) that I
can send to Verity

And what the difference between explicit and simple searches are.

If there is an online reference I would greatly appreciate this.

Adam


__
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: escaping ampersands in sql*plus

2002-09-27 Thread Cornillon, Matthieu

Cool!  I probably don't need to mess with it, but it's good to know anyway.

Thanks again,
Matthieu

-Original Message-
From: Deanna Schneider [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 9:20 AM
To: CF-Talk
Subject: Re: escaping ampersands in sql*plus


You can also change the escape character using the set command in SQL Plus.
The \  is the default, but if you do something like

SET ESCAPE (your new symbol here) ON

The escape character will be your new symbol.

Not positive on the syntax on that, though.
-d



Deanna Schneider
Interactive Media Developer
[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: Verity

2002-09-27 Thread Adam Reynolds

Found it...
http://www.verity.com/pdf/white_papers/MK0348a_Discovery_WP.pdf

Look at the appendix

 -Original Message-
 From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
 Sent: 27 September 2002 14:26
 To: CF-Talk
 Subject: RE: Verity
 
 
 Look in the pdfs that come with CF5 (and maybe other versions). 
 One of them
 (don't remember which) describes the verity query language in detail.
   Mark
 
 -Original Message-
 From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 27, 2002 9:20 AM
 To: CF-Talk
 Subject: Verity
 
 
 Can anybody give me a link to the type of searches (with examples) that I
 can send to Verity
 
 And what the difference between explicit and simple searches are.
 
 If there is an online reference I would greatly appreciate this.
 
 Adam
 
 
 
__
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: Error with a simple expression.

2002-09-27 Thread Adams, Stephen

**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

Hi Denna,

I tried your idea, and it still didn't work. I am trying to pass a link's
(URL's) display name, which is What's New so I used your idea like this:

 cfset LoopDisplayName = #FormDisplayname[UpdateLoopIdx]#
  
  cfquery name=UpdateLinks datasource=CommonSpot-Wire
UPDATE CouncilEmployeeLinks 
SET   UserID  = '#session.CORNTAccount#',
  link_type   = '#FormLinkType[UpdateLoopIdx]#',
  link_address= '#FormLinkAddress[UpdateLoopIdx]#',
  display_name= '#PreserveSingleQuotes(What's New)#',
  myLinks_section = '#Evaluate(form.linkSection 
UpdateLoopIdx)#',
  date_added  = '#DateFormat(Now(),dd/mm/)#'
WHERE ID = '#FormLinkID[UpdateLoopIdx]#'  
  /cfquery

but it still fails on the updating of the display name.  I tried hard coding
the What's New to see if that was definately the problem.  It looks as
though PreseveSingleQuotes is not preventing CF from escaping the single
quotes.

Any ideas?

-Original Message-
From: Deanna Schneider [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 14:15
To: CF-Talk
Subject: Re: Error with a simple expression.


Didn't someone just figure out that there's a bug with the preserve single
quotes function such that you can't use other functions inside of it?

So, you'd have to do something like this:
cfset thisdisplay = Evaluate(FORM.displayName  UpdateLoopIdx)

Then use this in your query.
'#PreserveSingleQuotes(thisdisplay)#'


Deanna Schneider
Interactive Media Developer
[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



CFLOCATION to external sites - failure

2002-09-27 Thread Cornillon, Matthieu

Hi.  I have a series of pages, each of which points to an offsite link.
These external sites vary in location and nature.  In order to track usage
of these sites, I am passing users through an exit page.  On this exit page,
I pull the external URL from a database and stick it in a CFLOCATION
statement.

Sometimes this works, and sometimes I get a page could not be found/404
error.  I am sure that this is not to do with the exit page's placement: if
I remove it, I get an entirely different error.  So I am sure that the exit
page is being loaded.

To make things stranger: if I paste the URL (pulled by the exit page)
directly into a browser, it works fine.  Or, if I use CFHEADER instead of
CFLOCATION, it works fine.

Anyone know of any reason why CFLOCATION should fail when pointing offsite?

Thanks,
Matthieu
__
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: Error with a simple expression.

2002-09-27 Thread Mike Townend

Try this


 cfset LoopDisplayName = #FormDisplayname[UpdateLoopIdx]#
  
  cfquery name=UpdateLinks datasource=CommonSpot-Wire
UPDATE CouncilEmployeeLinks 
SET   UserID  = '#session.CORNTAccount#',
  link_type   = '#FormLinkType[UpdateLoopIdx]#',
  link_address= '#FormLinkAddress[UpdateLoopIdx]#',
  display_name=  CFQUERYPARAM VALUE=What's New
CFSQLTYPE=CF_SQL_VARCHAR,
  myLinks_section = '#Evaluate(form.linkSection 
UpdateLoopIdx)#',
  date_added  = '#DateFormat(Now(),dd/mm/)#'
WHERE ID = '#FormLinkID[UpdateLoopIdx]#'  
  /cfquery


And then change the value from What's New to your variable...

HTH




-Original Message-
From: Adams, Stephen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 14:46
To: CF-Talk
Subject: RE: Error with a simple expression.


**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

Hi Denna,

I tried your idea, and it still didn't work. I am trying to pass a
link's
(URL's) display name, which is What's New so I used your idea like
this:

 cfset LoopDisplayName = #FormDisplayname[UpdateLoopIdx]#
  
  cfquery name=UpdateLinks datasource=CommonSpot-Wire
UPDATE CouncilEmployeeLinks 
SET   UserID  = '#session.CORNTAccount#',
  link_type   = '#FormLinkType[UpdateLoopIdx]#',
  link_address= '#FormLinkAddress[UpdateLoopIdx]#',
  display_name= '#PreserveSingleQuotes(What's New)#',
  myLinks_section = '#Evaluate(form.linkSection 
UpdateLoopIdx)#',
  date_added  = '#DateFormat(Now(),dd/mm/)#'
WHERE ID = '#FormLinkID[UpdateLoopIdx]#'  
  /cfquery

but it still fails on the updating of the display name.  I tried hard
coding the What's New to see if that was definately the problem.  It
looks as though PreseveSingleQuotes is not preventing CF from escaping
the single quotes.

Any ideas?

-Original Message-
From: Deanna Schneider [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 14:15
To: CF-Talk
Subject: Re: Error with a simple expression.


Didn't someone just figure out that there's a bug with the preserve
single quotes function such that you can't use other functions inside of
it?

So, you'd have to do something like this:
cfset thisdisplay = Evaluate(FORM.displayName  UpdateLoopIdx)

Then use this in your query. '#PreserveSingleQuotes(thisdisplay)#'


Deanna Schneider
Interactive Media Developer
[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



Retrieving Response Header info

2002-09-27 Thread Houk, Gary

All,

I have the following in one page:

cfheader name=firstname value=John
cfheader name=lastname value=Smith

There is also a form button to go to another page. On the action page, I am outputting 
cfdump var=#cfhttp#  I can see the values for firstname and lastname in the 
ResponseHeader. I'm just having problems actually outputting them. What is the syntax 
needed to output a variable in the responseheader?

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: Why oh *WHY* is this *now* working?

2002-09-27 Thread Alex

What if I made the first hit from a proxy server or a NATed IP? Could I
get to a CF page from different IPs as long as I go through the proxy or
NAT.

On Thu, 26 Sep 2002, Mosh Teitelbaum wrote:

 So I'm not completely up on my CF Developer License info but I seem to
 recall hearing that after a certain amount of time, the dev server only
 accepts requests from a single IP.  That IP is whichever IP first hits the
 server after a reboot.  So, it sounds like you just need to reboot and make
 sure that the first hit you make against the server is of the form
 http://localhost/

 As the error message said:

   The ColdFusion engine must be stopped and restarted to reset the permitted
   IP address.

 --
 Mosh Teitelbaum
 evoch, LLC
 Tel: (301) 625-9191
 Fax: (301) 933-3651
 Email: [EMAIL PROTECTED]
 WWW: http://www.evoch.com/


  -Original Message-
  From: Jeff Small [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 26, 2002 11:00 PM
  To: CF-Talk
  Subject: Why oh *WHY* is this *now* working?
 
 
   Yes, there are many other development environments out there. They all
  work
   about the same when it comes to WML. There's no problem with using CF to
   generate WML - I've done this personally quite a bit. It can be
  difficult
  to
   debug any generated WML, no matter where it came from. Usually, to
  determine
   the problem, it's helpful to see the actual generated text.
 
  One look.
 
  That's all it took.
 
  I'm digging thru the console windows, and I run across this little gem:
 
  Source
  HTMLHEADTITLEAccess is Restricted/TITLE/HEADBODY
  H3Access is Restricted to this ColdFusion Service./H3
  The evaluation license for this copy of Macromedia ColdFusion has expired.
  The ColdFusion server is currently configured to accept requests
  exclusively
  from IP address 192.168.*.*. (Your request was made from 127.0.0.1.) The
  ColdFusion engine must be stopped and restarted to reset the permitted IP
  address.
  etc etc etc...
 
  Okay, so, while I'm glad it's now working (I simply typed the machine name
  http://jeff/wap/ and it worked just fine) I'm interested in knowing why,
  when I'm working in CF, and creating .cfm pages, and previewing
  them locally
  from within CF and using http://localhost, suddenly localhost
  doesn't work.
 
  Was it because the request came from the Openwave kit instead of
  from within
  CF? I'm willing to accept this, but it just doesn't make sense to me. I've
  been successfully using localhost for ages (well, at least the past couple
  of months) with no problem, now, suddenly, it's a problem.
 
  Oh well...any explanation is appreciated, but don't worry about
  it. I've got
  it 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: Error with a simple expression.

2002-09-27 Thread Jerry Johnson

In this particular case, I think you don't want to preserveSingleQuotes.

You want Coldfusion to escape the single quote/apostraphe

In the db set query, you want the string to look like What''s New (two single quotes)

What does it do when you remove the preserveSingleQuote call?

Jerry Johnson

 [EMAIL PROTECTED] 09/27/02 09:46AM 
**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

Hi Denna,

I tried your idea, and it still didn't work. I am trying to pass a link's
(URL's) display name, which is What's New so I used your idea like this:

 cfset LoopDisplayName = #FormDisplayname[UpdateLoopIdx]#
  
  cfquery name=UpdateLinks datasource=CommonSpot-Wire
UPDATE CouncilEmployeeLinks 
SET   UserID  = '#session.CORNTAccount#',
  link_type   = '#FormLinkType[UpdateLoopIdx]#',
  link_address= '#FormLinkAddress[UpdateLoopIdx]#',
  display_name= '#PreserveSingleQuotes(What's New)#',
  myLinks_section = '#Evaluate(form.linkSection 
UpdateLoopIdx)#',
  date_added  = '#DateFormat(Now(),dd/mm/)#'
WHERE ID = '#FormLinkID[UpdateLoopIdx]#'  
  /cfquery

but it still fails on the updating of the display name.  I tried hard coding
the What's New to see if that was definately the problem.  It looks as
though PreseveSingleQuotes is not preventing CF from escaping the single
quotes.

Any ideas?

-Original Message-
From: Deanna Schneider [mailto:[EMAIL PROTECTED]] 
Sent: 27 September 2002 14:15
To: CF-Talk
Subject: Re: Error with a simple expression.


Didn't someone just figure out that there's a bug with the preserve single
quotes function such that you can't use other functions inside of it?

So, you'd have to do something like this:
cfset thisdisplay = Evaluate(FORM.displayName  UpdateLoopIdx)

Then use this in your query.
'#PreserveSingleQuotes(thisdisplay)#'


Deanna Schneider
Interactive Media Developer
[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: Error with a simple expression.

2002-09-27 Thread Jochem van Dieten

Adams, Stephen wrote:
 
 I tried your idea, and it still didn't work. I am trying to pass a link's
 (URL's) display name, which is What's New so I used your idea like this:
 
  cfset LoopDisplayName = #FormDisplayname[UpdateLoopIdx]#
   
   cfquery name=UpdateLinks datasource=CommonSpot-Wire
 UPDATE CouncilEmployeeLinks 
 SET   UserID  = '#session.CORNTAccount#',
   link_type   = '#FormLinkType[UpdateLoopIdx]#',
   link_address= '#FormLinkAddress[UpdateLoopIdx]#',
   display_name= '#PreserveSingleQuotes(What's New)#',
   myLinks_section = '#Evaluate(form.linkSection 
 UpdateLoopIdx)#',
   date_added  = '#DateFormat(Now(),dd/mm/)#'
 WHERE ID = '#FormLinkID[UpdateLoopIdx]#'  
   /cfquery

Use cfqueryparam. I presume your formfields are actually name linktype1, 
linktype2, linktype3 etc. which would lead to the code below:

cfquery name=UpdateLinks datasource=CommonSpot-Wire
   UPDATE CouncilEmployeeLinks
   SET
 UserID  =cfqueryparam cfsqltype=cf_sql_varchar 
value=#session.CORNTAccount#,
 link_type   = cfqueryparam cfsqltype=cf_sql_varchar 
value=#Form[LinkType  UpdateLoopIdx]#,
 link_address= cfqueryparam cfsqltype=cf_sql_varchar 
value=#Form[LinkAddress  UpdateLoopIdx]#,
 display_name= cfqueryparam cfsqltype=cf_sql_varchar 
value=#Form[Displayname  UpdateLoopIdx]#,
 myLinks_section = cfqueryparam cfsqltype=cf_sql_varchar 
value=#form[linkSection  UpdateLoopIdx]#,
 date_added  = current_date
   WHERE ID = cfqueryparam cfsqltype=cf_sql_varchar 
value=#Form[LinkID  UpdateLoopIdx]#
/cfquery

Jochem

__
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: Verity

2002-09-27 Thread Gaulin, Mark

Yeah, that's the same basic info that I'll seen before.

-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 9:42 AM
To: CF-Talk
Subject: RE: Verity


Found it...
http://www.verity.com/pdf/white_papers/MK0348a_Discovery_WP.pdf

Look at the appendix

 -Original Message-
 From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
 Sent: 27 September 2002 14:26
 To: CF-Talk
 Subject: RE: Verity
 
 
 Look in the pdfs that come with CF5 (and maybe other versions). 
 One of them
 (don't remember which) describes the verity query language in detail.
   Mark
 
 -Original Message-
 From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 27, 2002 9:20 AM
 To: CF-Talk
 Subject: Verity
 
 
 Can anybody give me a link to the type of searches (with examples) that I
 can send to Verity
 
 And what the difference between explicit and simple searches are.
 
 If there is an online reference I would greatly appreciate this.
 
 Adam
 
 
 

__
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: CFCONTENT and file downloads

2002-09-27 Thread Ye Wang

I have a similar problem but mine was with Excel not PDF.

 

Now I never had problem downloading CF-generated Excel files. Here is
the code I always used:

CFHEADER 
NAME=content-disposition 
VALUE=attachment; filename=something.xls  
CFCONTENT 
TYPE=application/x-unknown 
FILE=something.xls 
DELETEFILE=yes 

This code worked perfectly fine until recently.

Just found out week that even though the downloaded file could be opened
by Excel and its type did seem to be Microsoft Excel, when I try to
upload the same file CF does NOT recognize its type as Excel but
text/html. I’ve tried many ways to modify the download process, as to
use “application/x-excel”, “application/ms-excel”,
“application/ms-excel” for CFCONTENT type. None of them helped. I
wondered if it was just a CFMX issue then I found out it’s the same with
CF5. It’s been quite frustrating for me. Does anyone know why this
happened or how I can fix it? Thanks a lot!

Ye

 

-Original Message-
From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 26, 2002 2:17 PM
To: CF-Talk
Subject: RE: CFCONTENT and file downloads

 

Above your CFCONTENT tag, you have to create a new header (named 
content-disposition) to supply the new name, like: 

CFHEADER 
NAME=content-disposition 
VALUE=attachment; filename=something.pdf 
CFCONTENT 
TYPE=application/pdf 
FILE=something.pdf 
DELETEFILE=No 

Make sure that the VALUE attribute of the CFHEADER tag begins with 
attachment instead of inline. 

-- 
Mosh Teitelbaum 
evoch, LLC 
Tel: (301) 625-9191 
Fax: (301) 933-3651 
Email: [EMAIL PROTECTED] 
WWW: http://www.evoch.com/ 

 

 -Original Message- 
 From: ColdFusion (CFTalk) [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, September 26, 2002 10:59 AM 
 To: CF-Talk 
 Subject: CFCONTENT and file downloads 
 
 
 [CF5 Server Pro, Windows 2000] 
 
 I have a feeling I've forgotten something obvious, but... 
 
 In a nutshell: 
 
 I have a template which uses CFCONTENT to download the contents of a
file 
 on the server to the browser.  The file save dialog on the browser
pops 
 up... but the name of the file shown is the name of the template 
 (somename.cfm) not the name of the actual file on the server 
 (something.pdf 
 in this case). Of course, the file then arrives on the other end with
the 
 wrong extension... etc... 
 
 Anyone any ideas on how to get the right filename down to the client.
If 
 necessary, I can use a fixed name - the important thing is 
 getting the .pdf 
 extension (as the files are PDF's). 
 
 Regards, 
 
 SB 
 
 
 
 Scott Bartlett 
 BTA Limited, 100 High Street Wandsworth, London SW18 4LA, United
Kingdom 
 e: [EMAIL PROTECTED]v: +44 (0)20 8871 4240  f: +44 (0)20 8871 4584

 
 Network Consultancy and Support for Windows 9x/NT and MacOS. 
 Internet connectivity, solutions, and business services. 
 http://www.bta.com. 
 
 This message is intended only for the use of the person(s) (The
intended 
 recipient(s)) to whom it is addressed. It may contain 
 information which is 
 privileged and confidential within the meaning of applicable law.  If
you 
 are not the intended recipient, please contact the sender as soon as 
 possible.  The views expressed in this communication may not 
 necessarily be 
 the views held by BTA. 
 
 
 

__
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: Error with a simple expression.

2002-09-27 Thread Adams, Stephen

**
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**

Yep, that's how my page is working. Using the cfqueryparam has fixed the
problem.  I definately need to look into what cfqueryparam can do, thanks
to everyone whos helped me with this.

Stephen
-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 15:10
To: CF-Talk
Subject: Re: Error with a simple expression.


Adams, Stephen wrote:
 
 I tried your idea, and it still didn't work. I am trying to pass a link's
 (URL's) display name, which is What's New so I used your idea like this:
 
  cfset LoopDisplayName = #FormDisplayname[UpdateLoopIdx]#
   
   cfquery name=UpdateLinks datasource=CommonSpot-Wire
 UPDATE CouncilEmployeeLinks 
 SET   UserID  = '#session.CORNTAccount#',
   link_type   = '#FormLinkType[UpdateLoopIdx]#',
   link_address= '#FormLinkAddress[UpdateLoopIdx]#',
   display_name= '#PreserveSingleQuotes(What's New)#',
   myLinks_section = '#Evaluate(form.linkSection 
 UpdateLoopIdx)#',
   date_added  = '#DateFormat(Now(),dd/mm/)#'
 WHERE ID = '#FormLinkID[UpdateLoopIdx]#'  
   /cfquery

Use cfqueryparam. I presume your formfields are actually name linktype1, 
linktype2, linktype3 etc. which would lead to the code below:

cfquery name=UpdateLinks datasource=CommonSpot-Wire
   UPDATE CouncilEmployeeLinks
   SET
 UserID  =cfqueryparam cfsqltype=cf_sql_varchar 
value=#session.CORNTAccount#,
 link_type   = cfqueryparam cfsqltype=cf_sql_varchar 
value=#Form[LinkType  UpdateLoopIdx]#,
 link_address= cfqueryparam cfsqltype=cf_sql_varchar 
value=#Form[LinkAddress  UpdateLoopIdx]#,
 display_name= cfqueryparam cfsqltype=cf_sql_varchar 
value=#Form[Displayname  UpdateLoopIdx]#,
 myLinks_section = cfqueryparam cfsqltype=cf_sql_varchar 
value=#form[linkSection  UpdateLoopIdx]#,
 date_added  = current_date
   WHERE ID = cfqueryparam cfsqltype=cf_sql_varchar 
value=#Form[LinkID  UpdateLoopIdx]#
/cfquery

Jochem


__
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



MM Broken Links

2002-09-27 Thread Stacy Young

http://www.macromedia.com/software/coldfusion/

seems anything pointing to CF is a 404

Stace


AVIS IMPORTANT: 
---
Les informations contenues dans le present document et ses pieces jointes sont 
strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il 
est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, 
distribution, copie, ou autre utilisation de ces informations est strictement 
prohibee.  Si vous avez recu ce document par erreur, veuillez s'il vous plait 
communiquer immediatement avec l'expediteur et detruire ce document sans en faire de 
copie sous quelque forme.

WARNING:  
---
The information contained in this document and attachments is confidential and 
intended only for the person(s) named above.  If you are not the intended recipient 
you are hereby notified that any disclosure, copying, distribution, or any other use 
of the information is strictly prohibited.  If you have received this document by 
mistake, please notify the sender immediately and destroy this document and 
attachments without making any copy of any kind.


__
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: MM Broken Links

2002-09-27 Thread Robertson-Ravo, Neil (REC)

yep, there are a lot fo 404's recently...there must be an upgrade going on
etc..

-Original Message-
From: Stacy Young [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 15:21
To: CF-Talk
Subject: MM Broken Links


http://www.macromedia.com/software/coldfusion/

seems anything pointing to CF is a 404

Stace


AVIS IMPORTANT: 
---
Les informations contenues dans le present document et ses pieces jointes
sont strictement confidentielles et reservees a l'usage de la (des)
personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez
avise que toute divulgation, distribution, copie, ou autre utilisation de
ces informations est strictement prohibee.  Si vous avez recu ce document
par erreur, veuillez s'il vous plait communiquer immediatement avec
l'expediteur et detruire ce document sans en faire de copie sous quelque
forme.

WARNING:  
---
The information contained in this document and attachments is confidential
and intended only for the person(s) named above.  If you are not the
intended recipient you are hereby notified that any disclosure, copying,
distribution, or any other use of the information is strictly prohibited.
If you have received this document by mistake, please notify the sender
immediately and destroy this document and attachments without making any
copy of any kind.



__
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: MM Broken Links

2002-09-27 Thread Stacy Young

Support is also busted from the front page flash portion


-Original Message-
From: Stacy Young 
Sent: Friday, September 27, 2002 10:21 AM
To: '[EMAIL PROTECTED]'
Subject: MM Broken Links


http://www.macromedia.com/software/coldfusion/

seems anything pointing to CF is a 404

Stace


AVIS IMPORTANT: 
---
Les informations contenues dans le present document et ses pieces jointes sont 
strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il 
est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, 
distribution, copie, ou autre utilisation de ces informations est strictement 
prohibee.  Si vous avez recu ce document par erreur, veuillez s'il vous plait 
communiquer immediatement avec l'expediteur et detruire ce document sans en faire de 
copie sous quelque forme.

WARNING:  
---
The information contained in this document and attachments is confidential and 
intended only for the person(s) named above.  If you are not the intended recipient 
you are hereby notified that any disclosure, copying, distribution, or any other use 
of the information is strictly prohibited.  If you have received this document by 
mistake, please notify the sender immediately and destroy this document and 
attachments without making any copy of any kind.


__
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: MM Broken Links

2002-09-27 Thread Robertson-Ravo, Neil (REC)

yeah, I blame it on ASP 


:-p

-Original Message-
From: Stacy Young [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 15:27
To: CF-Talk
Subject: RE: MM Broken Links


Support is also busted from the front page flash portion


-Original Message-
From: Stacy Young 
Sent: Friday, September 27, 2002 10:21 AM
To: '[EMAIL PROTECTED]'
Subject: MM Broken Links


http://www.macromedia.com/software/coldfusion/

seems anything pointing to CF is a 404

Stace


AVIS IMPORTANT: 
---
Les informations contenues dans le present document et ses pieces jointes
sont strictement confidentielles et reservees a l'usage de la (des)
personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez
avise que toute divulgation, distribution, copie, ou autre utilisation de
ces informations est strictement prohibee.  Si vous avez recu ce document
par erreur, veuillez s'il vous plait communiquer immediatement avec
l'expediteur et detruire ce document sans en faire de copie sous quelque
forme.

WARNING:  
---
The information contained in this document and attachments is confidential
and intended only for the person(s) named above.  If you are not the
intended recipient you are hereby notified that any disclosure, copying,
distribution, or any other use of the information is strictly prohibited.
If you have received this document by mistake, please notify the sender
immediately and destroy this document and attachments without making any
copy of any kind.



__
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: Abnormal character display with CF5.0

2002-09-27 Thread CS

Never mind.  It's the IE 6.0 (browse encoding is set
to Auto-select) problem, once set to western european
(ISO|windows), it never has a problem, IE issue.

Don

--- CS [EMAIL PROTECTED] wrote:
 Hi all,
 
 Has it ever occured to you that a string of
 characters
 including mostly letters to be displayed as some
 sort
 of symbols, please take a look at URL,

http://www.hegelsoftware.com/bug/abnormal_display.jpg,
 to see a sample of it.
 
 Background info:
 CF5.0 Enterprise (eval copy, still works as a local
 server);
 Win2k Profesional;
 IE 6.0 (browse encoding is set to Auto-select);
 Backend-DB: MS SQL Server 7.0;
 The column that exhibits strange behavoir:
 varchar(80);
 
 Now, the weird thing is, if I turn debugging on,
 then,
 display is normal, consistently while the abnormal
 character shows up when debugging is off, what's
 happening here?  When I hit refresh button, display
 is
 back to normal.  Any thoughts/ideas?
 
 Thanks.
 
 Don
 
 
 
 __
 Do you Yahoo!?
 New DSL Internet Access from SBC  Yahoo!
 http://sbc.yahoo.com


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



RE: CFLOCATION to external sites - failure

2002-09-27 Thread Dave Wilson

Maybe the server running ColdFusion has difficulty in resolving url's.
Possibly due to incorrectly configured DNS.

Check the links are obtainable when browsing direct to them from the server
if you have access to it.

Dave

-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 14:54
To: CF-Talk
Subject: CFLOCATION to external sites - failure


Hi.  I have a series of pages, each of which points to an offsite link.
These external sites vary in location and nature.  In order to track usage
of these sites, I am passing users through an exit page.  On this exit page,
I pull the external URL from a database and stick it in a CFLOCATION
statement.

Sometimes this works, and sometimes I get a page could not be found/404
error.  I am sure that this is not to do with the exit page's placement: if
I remove it, I get an entirely different error.  So I am sure that the exit
page is being loaded.

To make things stranger: if I paste the URL (pulled by the exit page)
directly into a browser, it works fine.  Or, if I use CFHEADER instead of
CFLOCATION, it works fine.

Anyone know of any reason why CFLOCATION should fail when pointing offsite?

Thanks,
Matthieu

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



OT: Starting PWS Automatically to Run Scheduled Tasks

2002-09-27 Thread Chris Montgomery

Howdy Cf-Talk,

My ISP won't allow it's customers to use CFSchedule to run events[1] and
so I need to execute an event on my remote site from my local dev box. I
am running Personal Web Server on Win2k for development purposes. Can't
remember how to make sure PWS starts automatically when my computer
starts/re-starts. I had it working for awhile where it ran automatically
upon bootup, but now it won't start automatically.

Can anyone remind me of what service makes PWS start and run
automatically? I have the World Wide Web Publishing Service service
set to start automatically, but it must be something else.

Thanks!

[1] My ISP says: I regret that we are unable to support scheduled tasks
in a large shared environment due to the serious performance problems
and crashes that it creates on the servers. I'm sorry for the
misunderstanding about this. We specifically mention on the ColdFusion
page of our website that the Scheduled Tasks feature is not available on
shared servers. Most folks who need to have an automated activity use
their local system to make the call. This avoids the inherent problems
with the task scheduler and does not crash the servers.

The note on their site about not allowing scheduled tasks is new and I
wasn't aware about it. But is this a normal policy for most hosting
companies offering CF on shared services? Just wondering.

Chris Montgomerymonty  airtightweb.com

-- 
Airtight Web Services   http://www.airtightweb.com
Web Development, Web Project Management, Software Sales
210-490-3249/888-745-7603

__
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: MX, IE6 and Client Vars

2002-09-27 Thread Chris Norloff

Sounds like you might be having cookie issues with IE6, with the new P3P privacy 
controls. Search the cf-talk archives for some earlier chat on that. The MM 
Knowledgebase and CF Discussion Forum probably have some info, too.

Chris Norloff

-- Original Message --
from: Robert Polickoski [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Wed, 25 Sep 2002 13:03:22 +0600

No, but I am having the problem that I can't get CLIENT variables to persist beyond 
the page where I set them.  And yes, clientmanagement=yes.  Is there some 
undocumented feature/requirement to using CLIENT vars?

Thank you.



-- Original Message --
From: Andy Ewings [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 25 Sep 2002 17:10:14 +0100

Has anyone had the problem where the standard code you stick in your
application.cfm to kill sessions (when using client vars) does not work for
users on IE6 when your site is being delivered by CFMX?




__
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: OT: Starting PWS Automatically to Run Scheduled Tasks

2002-09-27 Thread Patric Stumpe

Hi Chris,

why don't you setup IIS5 on your machine which always runs as a
service? (It even runs on Win2K-Pro)

So you can be sure it's on boot-time.

Patric


CM Howdy Cf-Talk,

CM My ISP won't allow it's customers to use CFSchedule to run events[1] and
CM so I need to execute an event on my remote site from my local dev box. I
CM am running Personal Web Server on Win2k for development purposes. Can't
CM remember how to make sure PWS starts automatically when my computer
CM starts/re-starts. I had it working for awhile where it ran automatically
CM upon bootup, but now it won't start automatically.

CM Can anyone remind me of what service makes PWS start and run
CM automatically? I have the World Wide Web Publishing Service service
CM set to start automatically, but it must be something else.

CM Thanks!

CM [1] My ISP says: I regret that we are unable to support scheduled tasks
CM in a large shared environment due to the serious performance problems
CM and crashes that it creates on the servers. I'm sorry for the
CM misunderstanding about this. We specifically mention on the ColdFusion
CM page of our website that the Scheduled Tasks feature is not available on
CM shared servers. Most folks who need to have an automated activity use
CM their local system to make the call. This avoids the inherent problems
CM with the task scheduler and does not crash the servers.

CM The note on their site about not allowing scheduled tasks is new and I
CM wasn't aware about it. But is this a normal policy for most hosting
CM companies offering CF on shared services? Just wondering.

CM Chris Montgomerymonty @ airtightweb.com



-- 
Patric Stumpe
mailto:[EMAIL PROTECTED]

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



RE: Slightly OT: Emulation software

2002-09-27 Thread Eric Dawson

there is a new release of VNC out there too, and a couple hybrids like 
tightvnc.com and esVNC.

most recent VNC
http://www.realvnc.com/download.html

Eric


From: John Beynon [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: RE: Slightly OT: Emulation software
Date: Fri, 27 Sep 2002 13:53:05 +0100

You mean like remote control? If you were using a win2k server you could
just use the inbuilt terminal server. If not something like VNC which I
think is free but be aware of the security risks..

John.

-Original Message-
From: Dowdell, Jason G [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 13:49
To: CF-Talk
Subject: Slightly OT: Emulation software


Hi all,

I have a client that needs an extremely low cost solution
to allowing users to access an access database from remote locations using
the web.

My thought is that they could use emulation software to connect to the web
server and open the access db directly.  Since there are only 2 or 3 people
that would open the db at any given time I think it would work.

I don't know if you can use an emulation package to access applications that
reside on the server.

Any thoughts on this one?

Thanks,
Jason

-
Jason Dowdell
IM-AES Web Developer
321.799.6845
[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: CFLOCATION to external sites - failure

2002-09-27 Thread Turetsky, Seth

Would that really matter, doesn't cflocation just tell the browser to relocate to the 
specified url?

-Original Message-
From: Dave Wilson [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 10:37 AM
To: CF-Talk
Subject: RE: CFLOCATION to external sites - failure


Maybe the server running ColdFusion has difficulty in resolving url's.
Possibly due to incorrectly configured DNS.

Check the links are obtainable when browsing direct to them from the server
if you have access to it.

Dave

-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 14:54
To: CF-Talk
Subject: CFLOCATION to external sites - failure


Hi.  I have a series of pages, each of which points to an offsite link.
These external sites vary in location and nature.  In order to track usage
of these sites, I am passing users through an exit page.  On this exit page,
I pull the external URL from a database and stick it in a CFLOCATION
statement.

Sometimes this works, and sometimes I get a page could not be found/404
error.  I am sure that this is not to do with the exit page's placement: if
I remove it, I get an entirely different error.  So I am sure that the exit
page is being loaded.

To make things stranger: if I paste the URL (pulled by the exit page)
directly into a browser, it works fine.  Or, if I use CFHEADER instead of
CFLOCATION, it works fine.

Anyone know of any reason why CFLOCATION should fail when pointing offsite?

Thanks,
Matthieu


__
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: OT: Starting PWS Automatically to Run Scheduled Tasks

2002-09-27 Thread Chris Montgomery

Howdy Patric,

Friday, September 27, 2002, 9:49:31 AM, Patric Stumpe wrote:

PS why don't you setup IIS5 on your machine which always runs as a
PS service? (It even runs on Win2K-Pro)

PS So you can be sure it's on boot-time.

I actually did install IIS5 on my machine after I installed Win2k Pro. I
just can't seem to remember the correct settings to ensure it's running
after booting. The desktop icon actually says Personal Web Manager,
not Personal Web Server. My mistake. Sorry for the confusion.

Thanks.

Chris Montgomerymonty  airtightweb.com 

-- 
Airtight Web Services   http://www.airtightweb.com
Web Development, Web Project Management, Software Sales
210-490-3249/888-745-7603

__
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: Uploading zero-length files

2002-09-27 Thread S . Isaac Dealey

That's what I would expect ... My cms only takes in one file at a time and
there aren't any other inputs on that form, which would make restricting
those file sizes fairly easy. :) On a form with a bunch of textareas would
be a whole other ballgame...

Textareas are great ... You specify on the form 200 characters so they
copy and paste in a 3000 word resume. :)

 Isaac,
   I noticed that the content_length variable wasn't exactly
   the
 size of the uploaded file, but close. I was thinking it
 must also
 included the rest of the form data. Could that be? I think
 if the form
 didn't have a lot of inputs the difference was less than
 1K so it was
 good enough to restrict files over like 100K or less than
 2K.

 Greg


Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

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



Help attaching a dynamic pdf to an email

2002-09-27 Thread Adam Sokolic

I'm attempting to generate a pdf through fields in a database (this part I
have working fine) and then take that pdf file and attach it to an email.
I'm using the Max Paperno tutorial to accomplish this, so the code reads:

CFHEADER NAME=Content-Disposition VALUE=inline; filename=gift.fdf
CFCONTENT TYPE=application/vnd.fdf  
cfinclude template=gift.fdf 

And all my variables fill in.  However when, I then go to attach the file to
an email (using cfmail with a cfmailparam tag) it attaches the original pdf
which shows the cf variable names instead of the actaual dynamic data.  

My fdf file reads as:
cfoutput
%FDF-1.2
%âãÏÓ
1 0 obj
 
/FDF  /Fields [  /V (#expdate#)/T (expdate)  /V (#serialnum#)/T
(serialnum) 
 /V (#clubrenewal.username#)/T (username) ] 
/F (http://www.gostarpower.com/club/coupon/gift.pdf)/ID [
592d65d9f72506dde1135c341d9fdab93b3abd4eb0b65949c24c7ebb37fb1f7f
]  
 
endobj
trailer

/Root 1 0 R 


%%EOF /cfoutput

I know that activepdf would most likely accomplish this, but I'm not at the
point of wanting to spend $$ on it.  

Any help or thoughts would be greatly appreciated.

Thank you,
Adam M. Sokolic

STAR POWER Systems, Inc.
Web Developer
Boulder, CO

Phone:303-209-0219 or 1-800-635-6750 x219
Fax: 303-449-4222

E-Mail: [EMAIL PROTECTED] 

Visit the STAR POWER® Online Network: http://www.GoStarPower.com (Company
Info, Chats, Events, Product Resources)
 
__
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: OT: Starting PWS Automatically to Run Scheduled Tasks

2002-09-27 Thread Jochem van Dieten

Chris Montgomery wrote:
 
 My ISP won't allow it's customers to use CFSchedule to run events[1] and
 so I need to execute an event on my remote site from my local dev box. I
 am running Personal Web Server on Win2k for development purposes. Can't
 remember how to make sure PWS starts automatically when my computer
 starts/re-starts. I had it working for awhile where it ran automatically
 upon bootup, but now it won't start automatically.

Why would you need PWS for that? You want to make a page request to your 
host, not serve pages yourself, right?
I would recommend looking up the AT command in the Windows help and 
using some command line utility to do HTTP requests (search for WGET for 
Windows or something).


 The note on their site about not allowing scheduled tasks is new and I
 wasn't aware about it. But is this a normal policy for most hosting
 companies offering CF on shared services? Just wondering.

We allow it.

Jochem

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



CFMX: perfmon error

2002-09-27 Thread Marcello Frutig

Any idea about this error? I'm running CFMX (updater installed) on Win2k Pro.


Event ID: 1016
Description:
The data buffer created for the ColdFusion MX Application Server service in the 
C:\WINNT\system32\cfperfmon_mx.dll library is not aligned on an 8-byte boundary. 
This may cause problems for applications that are trying to read the performance data 
buffer. Contact the manufacturer of this library or service to have this problem 
corrected or to get a newer version of this library.


Thanks,
Marcello.

__
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: Slightly OT: Emulation software

2002-09-27 Thread Dave Wilson

Jason,

I presume you mean you want the users to be able to open the access db using
access on their local machines, as if they were all on the same network in
an office and using a file server?

If this is the case and you've got the db file residing on the web server
and the web server is permanently connected to the web and is running win2k
server. You could set up VPN using RRAS allowing those few users direct
access to the file. This is fairly straightforward to do and what's more
it's free. You can make it nice and simple for those users by placing a
shortcut to the db on their desktop, which would automatically know to
connect to the remote server.

This is all presuming that the users are either personnel of your client's
organisation, or part of a trusted group of clients of your client. I'm
presuming these users are maintaining the database in question and aren't
using the db for whatever it has been designed.

HTH,
Dave

-Original Message-
From: Eric Dawson [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 15:52
To: CF-Talk
Subject: RE: Slightly OT: Emulation software


there is a new release of VNC out there too, and a couple hybrids like
tightvnc.com and esVNC.

most recent VNC
http://www.realvnc.com/download.html

Eric


From: John Beynon [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: RE: Slightly OT: Emulation software
Date: Fri, 27 Sep 2002 13:53:05 +0100

You mean like remote control? If you were using a win2k server you could
just use the inbuilt terminal server. If not something like VNC which I
think is free but be aware of the security risks..

John.

-Original Message-
From: Dowdell, Jason G [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 13:49
To: CF-Talk
Subject: Slightly OT: Emulation software


Hi all,

I have a client that needs an extremely low cost solution
to allowing users to access an access database from remote locations using
the web.

My thought is that they could use emulation software to connect to the web
server and open the access db directly.  Since there are only 2 or 3 people
that would open the db at any given time I think it would work.

I don't know if you can use an emulation package to access applications that
reside on the server.

Any thoughts on this one?

Thanks,
Jason

-
Jason Dowdell
IM-AES Web Developer
321.799.6845
[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: CFLOCATION to external sites - failure

2002-09-27 Thread Mike Townend

Are you includeing a http:// on the url so the browser knows not to pull
a relative path ?

As I have used code like..

CFLOCATION URL=../foo.htm ADDTOKEN=NO

Plenty of times so that I can keep people out of directories... And if
you arent includeing the http then it could be telling the browser to go
to http://www.yoursite.com//www.newsite.com/   with will 404

HTH



-Original Message-
From: Turetsky, Seth [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 15:55
To: CF-Talk
Subject: RE: CFLOCATION to external sites - failure


Would that really matter, doesn't cflocation just tell the browser to
relocate to the specified url?

-Original Message-
From: Dave Wilson [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 10:37 AM
To: CF-Talk
Subject: RE: CFLOCATION to external sites - failure


Maybe the server running ColdFusion has difficulty in resolving url's.
Possibly due to incorrectly configured DNS.

Check the links are obtainable when browsing direct to them from the
server if you have access to it.

Dave

-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 14:54
To: CF-Talk
Subject: CFLOCATION to external sites - failure


Hi.  I have a series of pages, each of which points to an offsite link.
These external sites vary in location and nature.  In order to track
usage of these sites, I am passing users through an exit page.  On this
exit page, I pull the external URL from a database and stick it in a
CFLOCATION statement.

Sometimes this works, and sometimes I get a page could not be
found/404 error.  I am sure that this is not to do with the exit page's
placement: if I remove it, I get an entirely different error.  So I am
sure that the exit page is being loaded.

To make things stranger: if I paste the URL (pulled by the exit page)
directly into a browser, it works fine.  Or, if I use CFHEADER instead
of CFLOCATION, it works fine.

Anyone know of any reason why CFLOCATION should fail when pointing
offsite?

Thanks,
Matthieu



__
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: Verity

2002-09-27 Thread Adam Reynolds

This doesn't give me information I need.

Say I want to pass in the search criteria

tree NOT oak

To avoid getting any documents that mention oak.

It is this type of clever stuff I am interested in. I need the context for
doing this type of thing and lots of examples.

 -Original Message-
 From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
 Sent: 27 September 2002 14:26
 To: CF-Talk
 Subject: RE: Verity


 Look in the pdfs that come with CF5 (and maybe other versions).
 One of them
 (don't remember which) describes the verity query language in detail.
   Mark

 -Original Message-
 From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 27, 2002 9:20 AM
 To: CF-Talk
 Subject: Verity


 Can anybody give me a link to the type of searches (with examples) that I
 can send to Verity

 And what the difference between explicit and simple searches are.

 If there is an online reference I would greatly appreciate this.

 Adam


 
__
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: CFLOCATION to external sites - failure

2002-09-27 Thread Dave Wilson

I'm not sure exactly how cflocation works. Whether it (as you say) sends the
redirect instruction to the client, leaving the dns resolution up to the
client machine. Or. It is all handled on the server side. I think possibly
the former of the two may be most likely after thinking about it. If this is
the case, then there may be some problems in the instructions being sent by
cflocation. Very stange though as I've not seen this problem occur without
there being a DNS resolution or networking problem occurring.

Sorry I can't help further,
Dave

-Original Message-
From: Turetsky, Seth [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 15:55
To: CF-Talk
Subject: RE: CFLOCATION to external sites - failure


Would that really matter, doesn't cflocation just tell the browser to
relocate to the specified url?

-Original Message-
From: Dave Wilson [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 10:37 AM
To: CF-Talk
Subject: RE: CFLOCATION to external sites - failure


Maybe the server running ColdFusion has difficulty in resolving url's.
Possibly due to incorrectly configured DNS.

Check the links are obtainable when browsing direct to them from the server
if you have access to it.

Dave

-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 14:54
To: CF-Talk
Subject: CFLOCATION to external sites - failure


Hi.  I have a series of pages, each of which points to an offsite link.
These external sites vary in location and nature.  In order to track usage
of these sites, I am passing users through an exit page.  On this exit page,
I pull the external URL from a database and stick it in a CFLOCATION
statement.

Sometimes this works, and sometimes I get a page could not be found/404
error.  I am sure that this is not to do with the exit page's placement: if
I remove it, I get an entirely different error.  So I am sure that the exit
page is being loaded.

To make things stranger: if I paste the URL (pulled by the exit page)
directly into a browser, it works fine.  Or, if I use CFHEADER instead of
CFLOCATION, it works fine.

Anyone know of any reason why CFLOCATION should fail when pointing offsite?

Thanks,
Matthieu



__
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: OT: Starting PWS Automatically to Run Scheduled Tasks

2002-09-27 Thread Patric Stumpe

Hi Chris,

you look in control-panel under services (should be named this way in
english) and there you should find a WWW-service at the bottom of the
list which has to be set to start: automatically.

Hope this helps

Patric


CM Howdy Patric,

CM Friday, September 27, 2002, 9:49:31 AM, Patric Stumpe wrote:

PS why don't you setup IIS5 on your machine which always runs as a
PS service? (It even runs on Win2K-Pro)

PS So you can be sure it's on boot-time.

CM I actually did install IIS5 on my machine after I installed Win2k Pro. I
CM just can't seem to remember the correct settings to ensure it's running
CM after booting. The desktop icon actually says Personal Web Manager,
CM not Personal Web Server. My mistake. Sorry for the confusion.

CM Thanks.

CM Chris Montgomerymonty @ airtightweb.com 



-- 
Patric Stumpe
mailto:[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: Verity

2002-09-27 Thread Stephen Moretti

Adam,


C:\Program Files\Macromedia\ColdFusion Studio 5
Help\Developing_ColdFusion_Applications\indexSearch7.html

Your example is sort of available in SIMPLE type searches.  Your example is
slightly flawed as CFSearch will assume, because you have no commas or
logical operators, that it is a phrase.  tree AND NOT oak will work fine.

Hope this helps

Regards

Stephen

- Original Message -
From: Adam Reynolds [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, September 27, 2002 2:35 PM
Subject: RE: Verity


 This doesn't give me information I need.

 Say I want to pass in the search criteria

 tree NOT oak

 To avoid getting any documents that mention oak.

 It is this type of clever stuff I am interested in. I need the context for
 doing this type of thing and lots of examples.

  -Original Message-
  From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
  Sent: 27 September 2002 14:26
  To: CF-Talk
  Subject: RE: Verity
 
 
  Look in the pdfs that come with CF5 (and maybe other versions).
  One of them
  (don't remember which) describes the verity query language in detail.
  Mark
 
  -Original Message-
  From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
  Sent: Friday, September 27, 2002 9:20 AM
  To: CF-Talk
  Subject: Verity
 
 
  Can anybody give me a link to the type of searches (with examples) that
I
  can send to Verity
 
  And what the difference between explicit and simple searches are.
 
  If there is an online reference I would greatly appreciate this.
 
  Adam
 
 
 
 
__
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: CFLOCATION to external sites - failure

2002-09-27 Thread Turetsky, Seth

yeah, not too sure either.  might be along the lines of what mike is saying.
you should be able to see what the url looks like after the exit page does the 
cflocation.  if it looks like a legit url, and you copy and paste that and it works, 
cflocation must not be properly telling the browser to redirect.
lets see some code.

-Original Message-
From: Dave Wilson [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:08 AM
To: CF-Talk
Subject: RE: CFLOCATION to external sites - failure


I'm not sure exactly how cflocation works. Whether it (as you say) sends the
redirect instruction to the client, leaving the dns resolution up to the
client machine. Or. It is all handled on the server side. I think possibly
the former of the two may be most likely after thinking about it. If this is
the case, then there may be some problems in the instructions being sent by
cflocation. Very stange though as I've not seen this problem occur without
there being a DNS resolution or networking problem occurring.

Sorry I can't help further,
Dave

-Original Message-
From: Turetsky, Seth [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 15:55
To: CF-Talk
Subject: RE: CFLOCATION to external sites - failure


Would that really matter, doesn't cflocation just tell the browser to
relocate to the specified url?

-Original Message-
From: Dave Wilson [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 10:37 AM
To: CF-Talk
Subject: RE: CFLOCATION to external sites - failure


Maybe the server running ColdFusion has difficulty in resolving url's.
Possibly due to incorrectly configured DNS.

Check the links are obtainable when browsing direct to them from the server
if you have access to it.

Dave

-Original Message-
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 14:54
To: CF-Talk
Subject: CFLOCATION to external sites - failure


Hi.  I have a series of pages, each of which points to an offsite link.
These external sites vary in location and nature.  In order to track usage
of these sites, I am passing users through an exit page.  On this exit page,
I pull the external URL from a database and stick it in a CFLOCATION
statement.

Sometimes this works, and sometimes I get a page could not be found/404
error.  I am sure that this is not to do with the exit page's placement: if
I remove it, I get an entirely different error.  So I am sure that the exit
page is being loaded.

To make things stranger: if I paste the URL (pulled by the exit page)
directly into a browser, it works fine.  Or, if I use CFHEADER instead of
CFLOCATION, it works fine.

Anyone know of any reason why CFLOCATION should fail when pointing offsite?

Thanks,
Matthieu




__
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: Uploading zero-length files

2002-09-27 Thread S . Isaac Dealey

Ahh... thanks Jochem, that's really informative...

 Greg Luce wrote:
 Isaac,
  I noticed that the content_length variable wasn't
  exactly the
 size of the uploaded file, but close. I was thinking it
 must also
 included the rest of the form data. Could that be? I
 think if the form
 didn't have a lot of inputs the difference was less than
 1K so it was
 good enough to restrict files over like 100K or less than
 2K.

 I would expect size differences to originate from a
 possible encoding of
 the uploaded file, which in turn makes me believe that the
 Content-Length = file size.

 quote
 14.13 Content-Length

 The Content-Length entity-header field indicates the
 size of the
 entity-body, in decimal number of OCTETs, sent to the
 recipient or,
 in the case of the HEAD method, the size of the
 entity-body that
 would have been sent had the request been a GET.

 Content-Length= Content-Length : 1*DIGIT

 An example is

 Content-Length: 3495

 Applications SHOULD use this field to indicate the
 transfer-length of
 the message-body, unless this is prohibited by the
 rules in section
 4.4.

 Any Content-Length greater than or equal to zero is a
 valid value.
 Section 4.4 describes how to determine the length of a
 message-body
 if a Content-Length is not given.

 Note that the meaning of this field is significantly
 different from
 the corresponding definition in MIME, where it is an
 optional field
 used within the message/external-body content-type.
 In HTTP, it
 SHOULD be sent whenever the message's length can be
 determined prior
 to being transferred, unless this is prohibited by the
 rules in
 section 4.4.

 /quote RFC 2616, HTTP/1.1


Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

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



RE: Apache 2.0.42 - Stay away... stay w/ Apache 2.0.40

2002-09-27 Thread Matt Liotta

I have been running CFMX Enterprise with Apache 1.3.x in production for
a while now with no issues related to Apache.

Matt Liotta
President  CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901

 -Original Message-
 From: Dave Watts [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 26, 2002 5:18 PM
 To: CF-Talk
 Subject: RE: Apache 2.0.42 - Stay away... stay w/ Apache 2.0.40
 
   CF MX does support Apache 2. It also supports Apache
   1.3.x, but there are apparently some problems with
   using 1.3 and CF MX on Linux, from what I've heard.
 
  I thought it was only Solaris not Linux. See Sean's blog
  http://www.corfield.org/blog/2002_09_01_archive.html#82044999.
 
 That's not what I'm seeing on the cf-linux list. I don't know how
 widespread
 the problems are, only that Jesse Noller is investigating them, and
 recommending that people upgrade to Apache 2.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 voice: (202) 797-5496
 fax: (202) 797-5444
 
 : dream :: design :: develop :
 MXDC 02 :: Join us at this all day conference for
 designers  developers to learn tips, tricks, best
 practices and more for the entire Macromedia MX suite.
 
 September 28, 2002  ::  http://www.mxdc02.com/
 (Register today, seats are limited!)
 ::
 
 
__
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



A Flash MX - Cold Fusion Mailing List?

2002-09-27 Thread Rick Faircloth

Hi, all.

I'm really trying to figure out the Flash MX - CF paradigm,
but am struggling.  None of the training materials seem to be
on target.

I was wondering if there's a Flash MX - CF mailing list like this one
for beginning ActionScript / Intermediate CF programmers?

Perhaps I can pick more of what I need there...

Thanks,

Rick


__
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: CFLOCATION to external sites - failure

2002-09-27 Thread Jochem van Dieten

Dave Wilson wrote:
 I'm not sure exactly how cflocation works. Whether it (as you say) sends the
 redirect instruction to the client, leaving the dns resolution up to the
 client machine. Or. It is all handled on the server side.

cflocation sends an HTTP 302 Found statuscode to the browser together 
with a header with the new location (see RFC 2616 or the list archive 
for past discussions). Effectively, it is nothing but:
cfheader statuscode=302
cfheader name=location value=fully qualified URL

Jochem

__
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



Encrypting cfquery

2002-09-27 Thread Michael Ross

I am looking into encrypting the data that goes from the application server to the db 
server.  Does anyone have any experience in doing something like this.  I am searching 
around the net to see whats out there, so anything else I could get here would be 
greatly appreciated.

Thanks

Mike

__
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: A Flash MX - Cold Fusion Mailing List?

2002-09-27 Thread Robertson-Ravo, Neil (REC)

www.flashcfm.com

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 16:29
To: CF-Talk
Subject: A Flash MX - Cold Fusion Mailing List?


Hi, all.

I'm really trying to figure out the Flash MX - CF paradigm,
but am struggling.  None of the training materials seem to be
on target.

I was wondering if there's a Flash MX - CF mailing list like this one
for beginning ActionScript / Intermediate CF programmers?

Perhaps I can pick more of what I need there...

Thanks,

Rick



__
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: Apache 2.0.42 - Stay away... stay w/ Apache 2.0.40

2002-09-27 Thread Jesse Noller

Matt, I'm still trying to figure out what the devil is causing the problem. As we 
know, you're generally the exception to the rule with the linux stuff, k?

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

But I ned tacos! I need them or I will
explode! That happens to me sometimes! -GIR

 -Original Message-
 From: Matt Liotta [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 27, 2002 11:17 AM
 To: CF-Talk
 Subject: RE: Apache 2.0.42 - Stay away... stay w/ Apache 2.0.40
 
 I have been running CFMX Enterprise with Apache 1.3.x in production for
 a while now with no issues related to Apache.
 
 Matt Liotta
 President  CEO
 Montara Software, Inc.
 http://www.montarasoftware.com/
 888-408-0900 x901
 
  -Original Message-
  From: Dave Watts [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 26, 2002 5:18 PM
  To: CF-Talk
  Subject: RE: Apache 2.0.42 - Stay away... stay w/ Apache 2.0.40
 
CF MX does support Apache 2. It also supports Apache
1.3.x, but there are apparently some problems with
using 1.3 and CF MX on Linux, from what I've heard.
  
   I thought it was only Solaris not Linux. See Sean's blog
   http://www.corfield.org/blog/2002_09_01_archive.html#82044999.
 
  That's not what I'm seeing on the cf-linux list. I don't know how
  widespread
  the problems are, only that Jesse Noller is investigating them, and
  recommending that people upgrade to Apache 2.
 
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  voice: (202) 797-5496
  fax: (202) 797-5444
 
  : dream :: design :: develop :
  MXDC 02 :: Join us at this all day conference for
  designers  developers to learn tips, tricks, best
  practices and more for the entire Macromedia MX suite.
 
  September 28, 2002  ::  http://www.mxdc02.com/
  (Register today, seats are limited!)
  ::
 
 
 
__
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: Verity

2002-09-27 Thread S V

From what I have seen the documentation on Verity is poor and wanting. Using 
verity is not as simple from a users perpescptive. The examples for explicit 
searches are poor and sometimes do not work on CFMX. Posting for help on the 
Macromedia site does have givem me very little help. The way I see it is 
that if you cannot figure thing out in the Macromedia documentation and by 
going to verity.com, then your on your own.

I my self went thru the painful process of looking for information, 
contacting Macromedia and even Verity. Ultimately I feel that Macromedia is 
responsible for adequate documentation as the folks of Verity pointed out to 
me.


= = = Original message = = =

Yeah, that's the same basic info that I'll seen before.

-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 9:42 AM
To: CF-Talk
Subject: RE: Verity


Found it...
http://www.verity.com/pdf/white_papers/MK0348a_Discovery_WP.pdf

Look at the appendix

-Original Message-
From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 14:26
To: CF-Talk
Subject: RE: Verity


Look in the pdfs that come with CF5 (and maybe other versions). One of them
(don't remember which) describes the verity query language in detail.
   Mark

-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 9:20 AM
To: CF-Talk
Subject: Verity


Can anybody give me a link to the type of searches (with examples) that I
can send to Verity

And what the difference between explicit and simple searches are.

If there is an online reference I would greatly appreciate this.

Adam





__
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: A Flash MX - Cold Fusion Mailing List?

2002-09-27 Thread Greg Luce

Do you have Ben Forta's Book, Reality ColdFusionMX MM Flash Integration?
I just got it yesterday. It looks like what you might want.

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 11:29 AM
To: CF-Talk
Subject: A Flash MX - Cold Fusion Mailing List?

Hi, all.

I'm really trying to figure out the Flash MX - CF paradigm,
but am struggling.  None of the training materials seem to be
on target.

I was wondering if there's a Flash MX - CF mailing list like this one
for beginning ActionScript / Intermediate CF programmers?

Perhaps I can pick more of what I need there...

Thanks,

Rick



__
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: A Flash MX - Cold Fusion Mailing List?

2002-09-27 Thread Vernon Viehe

I don't know of a mailing list (if there is one, lemme know!), but there is a 
discussion area in the Macromedia forums for this:

http://webforums.macromedia.com/flash/categories.cfm?catid=250

-Vern 

-Original Message-
From: Rick Faircloth
To: CF-Talk
Sent: 9/27/2002 8:28 AM
Subject: A Flash MX - Cold Fusion Mailing List?

Hi, all.

I'm really trying to figure out the Flash MX - CF paradigm,
but am struggling.  None of the training materials seem to be
on target.

I was wondering if there's a Flash MX - CF mailing list like this one
for beginning ActionScript / Intermediate CF programmers?

Perhaps I can pick more of what I need there...

Thanks,

Rick



__
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: Encrypting cfquery

2002-09-27 Thread Jochem van Dieten

Michael Ross wrote:
 I am looking into encrypting the data that goes from the application server to the 
db server.  Does anyone have any experience in doing something like this.  I am 
searching around the net to see whats out there, so anything else I could get here 
would be greatly appreciated.

Do you want to encrypt it just while transfered over the network or 
while stored on disk as well?

Jochem

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



RE: CFLOCATION to external sites - failure

2002-09-27 Thread Dave Wilson

Ahhh, cheers Jochem. Then the problem is the client resolving the url's.
Well I'd taken it for granted that the url's in the db were all fully
qualified, i.e. including http:// etc as Mike had suggested, but it's
starting to sound like Mike is correct, unless the client machine is having
extraneous networking problems (more unlikely).

Dave

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 16:22
To: CF-Talk
Subject: Re: CFLOCATION to external sites - failure


Dave Wilson wrote:
 I'm not sure exactly how cflocation works. Whether it (as you say) sends
the
 redirect instruction to the client, leaving the dns resolution up to the
 client machine. Or. It is all handled on the server side.

cflocation sends an HTTP 302 Found statuscode to the browser together
with a header with the new location (see RFC 2616 or the list archive
for past discussions). Effectively, it is nothing but:
cfheader statuscode=302
cfheader name=location value=fully qualified URL

Jochem


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



Re: A Flash MX - Cold Fusion Mailing List?

2002-09-27 Thread Michael Dinowitz

Figleaf has one. I had one set up but the traffic was so low and figleaf had
the flash lists covered that I just let it drop.
http://chattyfig.figleaf.com/


 Hi, all.

 I'm really trying to figure out the Flash MX - CF paradigm,
 but am struggling.  None of the training materials seem to be
 on target.

 I was wondering if there's a Flash MX - CF mailing list like this one
 for beginning ActionScript / Intermediate CF programmers?

 Perhaps I can pick more of what I need there...

 Thanks,

 Rick


 
__
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: A Flash MX - Cold Fusion Mailing List?

2002-09-27 Thread Turetsky, Seth

for learning more just about actionscripting, flashkit.com really helped me out.
not sure if they have a mailing list though, but the message boards are really good.
once you get past learning the quirks of flash and actionscripting, you should make 
out better.

-Original Message-
From: Robertson-Ravo, Neil (REC)
[mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:23 AM
To: CF-Talk
Subject: RE: A Flash MX - Cold Fusion Mailing List?


www.flashcfm.com

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 16:29
To: CF-Talk
Subject: A Flash MX - Cold Fusion Mailing List?


Hi, all.

I'm really trying to figure out the Flash MX - CF paradigm,
but am struggling.  None of the training materials seem to be
on target.

I was wondering if there's a Flash MX - CF mailing list like this one
for beginning ActionScript / Intermediate CF programmers?

Perhaps I can pick more of what I need there...

Thanks,

Rick




__
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: A Flash MX - Cold Fusion Mailing List?

2002-09-27 Thread Critter

oi Rick!!

http://chattyfig.figleaf.com/


-- 
Critz
 Macromedia Certified Advanced ColdFusion Developer
 CFX_BotMaster Network=Efnet
   Channel=ColdFusion Blog=http://blog.ctzc.com;





Friday, September 27, 2002, 11:28:54 AM, you wrote:

RF Hi, all.

RF I'm really trying to figure out the Flash MX - CF paradigm,
RF but am struggling.  None of the training materials seem to be
RF on target.

RF I was wondering if there's a Flash MX - CF mailing list like this one
RF for beginning ActionScript / Intermediate CF programmers?

RF Perhaps I can pick more of what I need there...

RF Thanks,

RF Rick


RF 
__
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: Verity

2002-09-27 Thread Jeff Garza

Verity has a bit of a funky syntax and can do some smart parsing of your
query string.

To get the NOT operator to work, enclose it in angle brackets NOT

tree NOT oak

That should work.

Cheers,

Jeff Garza

- Original Message -
From: Stephen Moretti [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, September 27, 2002 8:19 AM
Subject: Re: Verity


Adam,


C:\Program Files\Macromedia\ColdFusion Studio 5
Help\Developing_ColdFusion_Applications\indexSearch7.html

Your example is sort of available in SIMPLE type searches.  Your example is
slightly flawed as CFSearch will assume, because you have no commas or
logical operators, that it is a phrase.  tree AND NOT oak will work fine.

Hope this helps

Regards

Stephen

- Original Message -
From: Adam Reynolds [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, September 27, 2002 2:35 PM
Subject: RE: Verity


 This doesn't give me information I need.

 Say I want to pass in the search criteria

 tree NOT oak

 To avoid getting any documents that mention oak.

 It is this type of clever stuff I am interested in. I need the context for
 doing this type of thing and lots of examples.

  -Original Message-
  From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
  Sent: 27 September 2002 14:26
  To: CF-Talk
  Subject: RE: Verity
 
 
  Look in the pdfs that come with CF5 (and maybe other versions).
  One of them
  (don't remember which) describes the verity query language in detail.
  Mark
 
  -Original Message-
  From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
  Sent: Friday, September 27, 2002 9:20 AM
  To: CF-Talk
  Subject: Verity
 
 
  Can anybody give me a link to the type of searches (with examples) that
I
  can send to Verity
 
  And what the difference between explicit and simple searches are.
 
  If there is an online reference I would greatly appreciate this.
 
  Adam
 
 
 


__
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: Encrypting cfquery

2002-09-27 Thread Thomas Chiverton

 I am looking into encrypting the data that goes from the
 application server to the db server.  Does anyone have any
 experience in doing something like this.  I am searching around
 the net to see whats out there, so anything else I could get here
 would be greatly appreciated.

You could use netcat to pipe the raw data via. ssh, similar to an ssh tunnel
for HTTP...

Tom Chiverton
You don't have to be a mad scientist to believe in ColdFusion




__
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: Apache 2.0.42 - Stay away... stay w/ Apache 2.0.40

2002-09-27 Thread Matt Liotta

I'd be curious what the typical setup is of the people having problems.
The following questions come to mind.

What version of Apache 1.3.x has problems?
Just 1.3.24 or others?
Is the Apache installation from source or RPM?
Does the CFMX updater have anything to do with it?

I should note that I am using the latest RPM from RedHat for Apache,
which is 1.3.22 and I haven't updated CFMX yet.

Matt Liotta
President  CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901

 -Original Message-
 From: Jesse Noller [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 27, 2002 8:24 AM
 To: CF-Talk
 Subject: RE: Apache 2.0.42 - Stay away... stay w/ Apache 2.0.40
 
 Matt, I'm still trying to figure out what the devil is causing the
 problem. As we know, you're generally the exception to the rule with
the
 linux stuff, k?
 
 Jesse Noller
 [EMAIL PROTECTED]
 Macromedia Server Development
 Unix/Linux special guy
 
 But I ned tacos! I need them or I will
 explode! That happens to me sometimes! -GIR
 
  -Original Message-
  From: Matt Liotta [mailto:[EMAIL PROTECTED]]
  Sent: Friday, September 27, 2002 11:17 AM
  To: CF-Talk
  Subject: RE: Apache 2.0.42 - Stay away... stay w/ Apache 2.0.40
 
  I have been running CFMX Enterprise with Apache 1.3.x in production
for
  a while now with no issues related to Apache.
 
  Matt Liotta
  President  CEO
  Montara Software, Inc.
  http://www.montarasoftware.com/
  888-408-0900 x901
 
   -Original Message-
   From: Dave Watts [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, September 26, 2002 5:18 PM
   To: CF-Talk
   Subject: RE: Apache 2.0.42 - Stay away... stay w/ Apache 2.0.40
  
 CF MX does support Apache 2. It also supports Apache
 1.3.x, but there are apparently some problems with
 using 1.3 and CF MX on Linux, from what I've heard.
   
I thought it was only Solaris not Linux. See Sean's blog
http://www.corfield.org/blog/2002_09_01_archive.html#82044999.
  
   That's not what I'm seeing on the cf-linux list. I don't know how
   widespread
   the problems are, only that Jesse Noller is investigating them,
and
   recommending that people upgrade to Apache 2.
  
   Dave Watts, CTO, Fig Leaf Software
   http://www.figleaf.com/
   voice: (202) 797-5496
   fax: (202) 797-5444
  
   : dream :: design :: develop :
   MXDC 02 :: Join us at this all day conference for
   designers  developers to learn tips, tricks, best
   practices and more for the entire Macromedia MX suite.
  
   September 28, 2002  ::  http://www.mxdc02.com/
   (Register today, seats are limited!)
   ::
  
  
 
 
__
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: Verity

2002-09-27 Thread Jeff Garza

You can find a ton of documentation in the CF5.0 Studio help files.

For Example: /Help/Developing_ColdFusion_Applications/indexSearch7.html
has a listing the operators and syntax to use for simple and explicit
queries.

This information is also listed on the ColdFusion MX Livedocs site
http://livedocs.macromedia.com

For information on configuring and running Verity K2 as well as using the
advanced tools, check out
http://www.macromedia.com/support/coldfusion/documentation.html

the documentation is there.  You just have to dig some to find it.

Jeff


- Original Message -
From: S V [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, September 27, 2002 8:24 AM
Subject: RE: Verity


From what I have seen the documentation on Verity is poor and wanting.
Using
verity is not as simple from a users perpescptive. The examples for explicit
searches are poor and sometimes do not work on CFMX. Posting for help on the
Macromedia site does have givem me very little help. The way I see it is
that if you cannot figure thing out in the Macromedia documentation and by
going to verity.com, then your on your own.

I my self went thru the painful process of looking for information,
contacting Macromedia and even Verity. Ultimately I feel that Macromedia is
responsible for adequate documentation as the folks of Verity pointed out to
me.


= = = Original message = = =

Yeah, that's the same basic info that I'll seen before.

-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 9:42 AM
To: CF-Talk
Subject: RE: Verity


Found it...
http://www.verity.com/pdf/white_papers/MK0348a_Discovery_WP.pdf

Look at the appendix

-Original Message-
From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 14:26
To: CF-Talk
Subject: RE: Verity


Look in the pdfs that come with CF5 (and maybe other versions). One of them
(don't remember which) describes the verity query language in detail.
 Mark

-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 9:20 AM
To: CF-Talk
Subject: Verity


Can anybody give me a link to the type of searches (with examples) that I
can send to Verity

And what the difference between explicit and simple searches are.

If there is an online reference I would greatly appreciate this.

Adam






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



Re: OT: Starting PWS Automatically to Run Scheduled Tasks

2002-09-27 Thread Chris Montgomery

Howdy Patric,

Friday, September 27, 2002, 10:11:09 AM, Patric Stumpe wrote:

PS you look in control-panel under services (should be named this way in
PS english) and there you should find a WWW-service at the bottom of the
PS list which has to be set to start: automatically.

Yep, that's the way it is set up. Although I have the Personal Web
Manager *not* started at the present time, the WWW Publishing Service is
displayed as started. Must be something else. Anyway, I'm gonna ignore
it for now and move on.

Thanks for your help.

Chris Montgomerymonty  airtightweb.com 

-- 
Airtight Web Services   http://www.airtightweb.com
Web Development, Web Project Management, Software Sales
210-490-3249/888-745-7603

__
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: A Flash MX - Cold Fusion Mailing List?

2002-09-27 Thread Rick Faircloth

I'll check that out at Barnes  Nobles store in Savannah.
They have a lot of books on the shelf.  Maybe that one will be there.

Thanks for the tip!

Rick


-Original Message-
From: Greg Luce [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:29 AM
To: CF-Talk
Subject: RE: A Flash MX - Cold Fusion Mailing List?


Do you have Ben Forta's Book, Reality ColdFusionMX MM Flash Integration?
I just got it yesterday. It looks like what you might want.

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:29 AM
To: CF-Talk
Subject: A Flash MX - Cold Fusion Mailing List?

Hi, all.

I'm really trying to figure out the Flash MX - CF paradigm,
but am struggling.  None of the training materials seem to be
on target.

I was wondering if there's a Flash MX - CF mailing list like this one
for beginning ActionScript / Intermediate CF programmers?

Perhaps I can pick more of what I need there...

Thanks,

Rick




__
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: A Flash MX - Cold Fusion Mailing List?

2002-09-27 Thread Robertson-Ravo, Neil (REC)

They have a lot of books on the shelf

handy...being a bookstore :-)  

sorry couldnt resist; its Friday and its time to hit the bar.

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 17:04
To: CF-Talk
Subject: RE: A Flash MX - Cold Fusion Mailing List?


I'll check that out at Barnes  Nobles store in Savannah.
They have a lot of books on the shelf.  Maybe that one will be there.

Thanks for the tip!

Rick


-Original Message-
From: Greg Luce [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:29 AM
To: CF-Talk
Subject: RE: A Flash MX - Cold Fusion Mailing List?


Do you have Ben Forta's Book, Reality ColdFusionMX MM Flash Integration?
I just got it yesterday. It looks like what you might want.

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:29 AM
To: CF-Talk
Subject: A Flash MX - Cold Fusion Mailing List?

Hi, all.

I'm really trying to figure out the Flash MX - CF paradigm,
but am struggling.  None of the training materials seem to be
on target.

I was wondering if there's a Flash MX - CF mailing list like this one
for beginning ActionScript / Intermediate CF programmers?

Perhaps I can pick more of what I need there...

Thanks,

Rick





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



Re: OT: Starting PWS Automatically to Run Scheduled Tasks

2002-09-27 Thread Chris Montgomery

Howdy Jochem,

Friday, September 27, 2002, 9:57:45 AM, Jochem van Dieten wrote:

JvD Why would you need PWS for that? You want to make a page request to your
JvD host, not serve pages yourself, right?

Yeah, after thinking about it, you're correct. Makes sense now.

JvD I would recommend looking up the AT command in the Windows help and 
JvD using some command line utility to do HTTP requests (search for WGET for 
JvD Windows or something).

With the CF Executive service running, wouldn't it take care of that?

Chris Montgomerymonty  airtightweb.com 

-- 
Airtight Web Services   http://www.airtightweb.com
Web Development, Web Project Management, Software Sales
210-490-3249/888-745-7603

__
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: A Flash MX - Cold Fusion Mailing List?

2002-09-27 Thread Howie Hamlin

If you can wait for a shipment you can get it at www.bookpool.com for $24.95.

Regards,

--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com  - 631-737-4668 x101
*** Please vote for iMS here: 
http://www.sys-con.com/coldfusion/readerschoice2002/nominationform.cfm ***
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: Rick Faircloth [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, September 27, 2002 12:04 PM
Subject: RE: A Flash MX - Cold Fusion Mailing List?


 I'll check that out at Barnes  Nobles store in Savannah.
 They have a lot of books on the shelf.  Maybe that one will be there.
 
 Thanks for the tip!
 
 Rick
 


__
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: A Flash MX - Cold Fusion Mailing List?

2002-09-27 Thread Rick Faircloth

Hi, Seth.

Saw a lot of Flash 4 and 5 on Flashkit.com, but nothing on
MX.  I know some of it will be applicable, but would it be better
just to stick with working through MX tutorials?  I assume a lot has
changed with the new Flash Remoting, etc.

Rick


-Original Message-
From: Turetsky, Seth [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:39 AM
To: CF-Talk
Subject: RE: A Flash MX - Cold Fusion Mailing List?


for learning more just about actionscripting, flashkit.com really helped me
out.
not sure if they have a mailing list though, but the message boards are
really good.
once you get past learning the quirks of flash and actionscripting, you
should make out better.

-Original Message-
From: Robertson-Ravo, Neil (REC)
[mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:23 AM
To: CF-Talk
Subject: RE: A Flash MX - Cold Fusion Mailing List?


www.flashcfm.com

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 16:29
To: CF-Talk
Subject: A Flash MX - Cold Fusion Mailing List?


Hi, all.

I'm really trying to figure out the Flash MX - CF paradigm,
but am struggling.  None of the training materials seem to be
on target.

I was wondering if there's a Flash MX - CF mailing list like this one
for beginning ActionScript / Intermediate CF programmers?

Perhaps I can pick more of what I need there...

Thanks,

Rick





__
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: Verity

2002-09-27 Thread Angel Stewart

I totally agree.

And actually I have another Verity problem.

Trying to index about 71,000 records in an Access database, and it
continuously fails.

How would I go about this, indexing say 10,000 records which works at a
time and then adding new records to the collection by adjusting the
Startrow on the CFQUERY?

It's a custom Index built on a query.

-Angel



-Original Message-
From: S V [mailto:[EMAIL PROTECTED]] 


From what I have seen the documentation on Verity is poor and wanting. 
Using
verity is not as simple from a users perpescptive. The examples for
explicit 
searches are poor and sometimes do not work on CFMX. Posting for help on
the 
Macromedia site does have givem me very little help. The way I see it is

that if you cannot figure thing out in the Macromedia documentation and
by 
going to verity.com, then your on your own.

I my self went thru the painful process of looking for information, 
contacting Macromedia and even Verity. Ultimately I feel that Macromedia
is 
responsible for adequate documentation as the folks of Verity pointed
out to 
me.


__
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



cfhtmlhead

2002-09-27 Thread Critter

oi CF-Talk,!!

  I've got a tag that says this:
  cfhtmlhead text='SCRIPT LANGUAGE=JavaScript 
TYPE=text/javascriptwindow.open(../index.cfm,mainApp,width=+parseInt(screen.availWidth
 * .90)+,height=+parseInt(screen.availHeight * 
.90)+,status=yes,top=0,left=0,resizable);/SCRIPT'

  but when the page is processed all that shows is:
  SCRIPT LANGUAGE=JavaScript TYPE=text/javascriptvoid(0);
   
 /SCRIPT


  any ideas?



  --
  Critz
   Macromedia Certified Advanced ColdFusion Developer
   CFX_BotMaster Network=Efnet
 Channel=ColdFusion Blog=http://blog.ctzc.com;


__
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: Verity

2002-09-27 Thread Robertson-Ravo, Neil (REC)

there is a limit on a Verity collection, I think its even smaller if you
have a restricted IP version [demo]



-Original Message-
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 17:04
To: CF-Talk
Subject: RE: Verity


I totally agree.

And actually I have another Verity problem.

Trying to index about 71,000 records in an Access database, and it
continuously fails.

How would I go about this, indexing say 10,000 records which works at a
time and then adding new records to the collection by adjusting the
Startrow on the CFQUERY?

It's a custom Index built on a query.

-Angel



-Original Message-
From: S V [mailto:[EMAIL PROTECTED]] 


From what I have seen the documentation on Verity is poor and wanting. 
Using
verity is not as simple from a users perpescptive. The examples for
explicit 
searches are poor and sometimes do not work on CFMX. Posting for help on
the 
Macromedia site does have givem me very little help. The way I see it is

that if you cannot figure thing out in the Macromedia documentation and
by 
going to verity.com, then your on your own.

I my self went thru the painful process of looking for information, 
contacting Macromedia and even Verity. Ultimately I feel that Macromedia
is 
responsible for adequate documentation as the folks of Verity pointed
out to 
me.



__
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: A Flash MX - Cold Fusion Mailing List?

2002-09-27 Thread Rick Faircloth

Yuck, yuck...

It's handy to have a real bookshelf to browse,
instead of virtual ones only...

Yes, it's Frday!

Rick

-Original Message-
From: Robertson-Ravo, Neil (REC)
[mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:59 AM
To: CF-Talk
Subject: RE: A Flash MX - Cold Fusion Mailing List?


They have a lot of books on the shelf

handy...being a bookstore :-)

sorry couldnt resist; its Friday and its time to hit the bar.

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 17:04
To: CF-Talk
Subject: RE: A Flash MX - Cold Fusion Mailing List?


I'll check that out at Barnes  Nobles store in Savannah.
They have a lot of books on the shelf.  Maybe that one will be there.

Thanks for the tip!

Rick


-Original Message-
From: Greg Luce [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:29 AM
To: CF-Talk
Subject: RE: A Flash MX - Cold Fusion Mailing List?


Do you have Ben Forta's Book, Reality ColdFusionMX MM Flash Integration?
I just got it yesterday. It looks like what you might want.

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:29 AM
To: CF-Talk
Subject: A Flash MX - Cold Fusion Mailing List?

Hi, all.

I'm really trying to figure out the Flash MX - CF paradigm,
but am struggling.  None of the training materials seem to be
on target.

I was wondering if there's a Flash MX - CF mailing list like this one
for beginning ActionScript / Intermediate CF programmers?

Perhaps I can pick more of what I need there...

Thanks,

Rick






__
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



  1   2   3   >