RE: delivery status notification

2002-01-29 Thread Michiel Boland

 cfmailparam name=Return-Receipt-To value=[EMAIL PROTECTED]
 This causes the mail server that you are sending the email to send a
 delivery receipt.

Return-Receipt-To is obsolete, as far as I know, and won't work as
advertised.

If you want the mail server to generate a receipt you need to modify
the message envelope, which is something cfmail cannot do.

Cheers
Michiel
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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



how to do Google-like search??

2002-01-29 Thread han peng

Hi ppl.. 
is there a built in function or wat in MSSQL to perform search query 
like Google..??

for example.. i need to search for Hello beautiful World...

how to write the query to search thru a column of a table
where the return results can be...

Beautiful Hello World
World Helllo Beautiful
Helllo World beautiful


how to do it??


han

__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: how to do Google-like search??

2002-01-29 Thread Joseph DeVore

Han,

I would suggest taking a look at SQL server's Full Text Searching and the
Verity engine built into CFAS.


HTH,

Joseph DeVore
VeloxWeb Technologies



-Original Message-
From: han peng [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 2:01 AM
To: CF-Talk
Subject: how to do Google-like search??


Hi ppl..
is there a built in function or wat in MSSQL to perform search query
like Google..??

for example.. i need to search for Hello beautiful World...

how to write the query to search thru a column of a table
where the return results can be...

Beautiful Hello World
World Helllo Beautiful
Helllo World beautiful


how to do it??


han


__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: JET

2002-01-29 Thread Jochem van Dieten

Parker, Kevin wrote:

 
 What's the view in the CF Community - should I switch strategies here - is
 this a problem using CF?


Don't switch. Start complaining to Microsoft that they should fix it. 
They have known this long enough but they are just not willing to do 
something about it.

Jochem
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: Login forms

2002-01-29 Thread Jochem van Dieten

Chris Luksha wrote:

 I am new to CF and wondering if there is a way to have a login page that
 would be accessed when a user comes to any page in the application, (Say
 they bookmarked a page deeper than the root,)  and the user would be sent to
 the originally requested page after logging in.
  
 ie.
 User goes to  http://www.webaddress.com/photos/addphoto.cfm
 ww.webaddress.com/photos/addphoto.cfm  or showphots.cfm
 User is sent to to  http://www.webaddress.com/photos
 ww.webaddress.com/photos/login.cfm
 After logging in user is replaced to
 http://www.webaddress.com/photos/addphoto.cfm
 ww.webaddress.com/photos/addphoto.cfm or showphotos.cfm  respectively.

I think this is the wrong approach. Why send him to a different page 
when you can just keep him on the same page and authenticate him there. 
Just use the authentication mechanisms build into HTTP instead of the 
redirect circus.
When the user hits the page, check whether he is logged in. If not, send 
a HTTP statuscode that tells Access denied, please authenticate. User 
types username and password and the browser repeats the original HTTP 
request but now with authentication headers. You log him in using these 
headers and that is all.
Advantage is that the browser takes care of all the locations and 
requests, instead of having to code it explicitly.
For a crude example see
http://jochem.vandieten.net/coldfusion/customtags/login

Jochem
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: multi-page forms

2002-01-29 Thread Andrew Scott

Matt,

I am not sure where you got the back button from, I never mentioned it.
All I am saying is that if you are going to use an anchor to go to the
next section, why not just use one form?


-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 29 January 2002 6:42 PM
To: CF-Talk
Subject: RE: multi-page forms 

Andrew,

The problem you describe with multiple BACKs doesn't happen, actually.
The browser is not using CGI.HTTP_Referer to do its BACK work.  It has
its own internal mechanism that's smarter.  

I built this page to show that designer how he'd screwed up the image
sizes.  I found it still sitting on the server at 

http://lelandwest.com/testing/hopper.cfm

Go ahead and input something at Top, and steps 1-6.  Then press your
BACK button at the end of the process.  In IE 6, and NN 6.1 and 4.7x on
my dev box it properly steps back one stage at a time, regardless of the
fact that its stepping back inside the same template.  

If the decision were left up to me, I'd do one form; but that wasn't the
original poster's question.  He just wanted to break up his
simple-yet-long form.  No special processing in the middle.  Just a long
form.  There's a way to do that without any special coding while
delivering largely the same user experience.  It won't win you any
coding elegance awards, but it does the job as far as I can see.

--Matt Robertson--
MSB Designs, Inc.
http://mysecretbase.com



__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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



browser history and cache: double post

2002-01-29 Thread Will Swain

Hello,

A general question. Is it possible to interact with a browsers history. I
know we can prevent a page from being cached by a browser, but what I need
to know is if it is possible to access and delete a browser's history.

Thanks.

Will Swain
Technical Director
Hot Horse Ltd
www.hothorse.com
[EMAIL PROTECTED]
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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 - CF and Developers Fees

2002-01-29 Thread Michael T. Tangorre

Hello Everyone,

Can I get everyones opinion on something here...
Here at the University, student workers make no more than $6.00/hour 
regardless of type of work. What do you think is a fair wage for someone 
who learns Cold Fusion on the job and applies it at their job on a daily 
basis. Also, what do you think a fair wage is for someone who trains 
staff on basic CF, SQL, and server management stuff? Right now I work 
about 25 hours a week at $6/hr and take 18 credit load semester and 
am frankly working to change a few things, but I need some numbers to 
back me up so I am looking for any averages or thoughts you have.

Thanks,

Mike

PS--- Sorry for the off topic post on CF-Talk.

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: browser history and cache

2002-01-29 Thread Gyrus

 A general question. Is it possible to interact with a browsers
history. I
 know we can prevent a page from being cached by a browser, but what I
need
 to know is if it is possible to access and delete a browser's history.

There's a history object in JavaScript:

http://developer.netscape.com/docs/manuals/js/client/jsref/history.htm

A common use is window.history.back() to go to the last visited page.
You'd have to grab a good book (O'Reilly's Definitive Guide or the
JavaScript Bible) for more detail on manipulating it. I kind of doubt
that you'd be allowed to delete people's history entries willy-nilly
though!

- Gyrus


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

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: SQL query help

2002-01-29 Thread Darren Adams

cfquery name=browse datasource=marketing dbtype=ODBC
select * from main_table
where datestamp  #dateformat(date,dd/mm/)# 
/cfquery

This is really all I want to do.  The Access field is in date format.

This does not seem to work and I know it isnt exactly complex so there 
must
be something really obviously wrong. 

-Original Message-
From: Chris Sinkwitz [mailto:[EMAIL PROTECTED]]
Sent: 28 January 2002 17:25
To: CF-Talk
Subject: RE: SQL query help


Darren, since you are using an Access db go into your Access program.  
Start
to create a query to return the value you want.  Then look at the SQL 
of
this query you created in Access.  Access doesn't use standard SQL and 
has a
lot of different keywords.  So this will get you on the right track of 
what
your SQL statement should look like.

-Original Message-
From: Darren Adams [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 9:56 AM
To: CF-Talk
Subject: RE: SQL query help


I think it was just that id didnt like the value in quotes !!

-Original Message-
From: Michael Blair [mailto:[EMAIL PROTECTED]]
Sent: 28 January 2002 16:54
To: CF-Talk
Subject: RE: SQL query help


Try reversing the mm/dd/yy into the db and see.

-Original Message-
From: Darren Adams [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 10:44 AM
To: CF-Talk
Subject: RE: SQL query help


Even though the datestamp field is a date/time field in access I still
get
this error message.


ODBC Error Code = 22005 (Error in assignment)


[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in
criteria
expression.


Data Source = marketing

SQL = select * from main_table where datestamp  '28/01/02'


The error occurred while processing an element with a general
identifier of
(CFQUERY), occupying document position (1:1) to (1:60) in the template
file
E:\Inetpub\inetsu\menutest\marketing\browse.cfm

-Original Message-
From: Douglas Brown [mailto:[EMAIL PROTECTED]]
Sent: 28 January 2002 16:44
To: CF-Talk
Subject: Re: SQL query help


What error do you get?



There are two major products that come out of Berkeley: LSD and [Unix]
BSD. We don't believe this to be a coincidence.



Doug Brown
- Original Message -
From: Darren Adams [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, January 28, 2002 7:40 AM
Subject: SQL query help


 Hi guys

 Can anyone help,  I just need to check that the date of a record in a
 database is within a specific range.

 cfset today = dateformat(now(),dd/mm/)
 cfoutput#today#/cfoutput

 cfquery name=browse datasource=marketing dbtype=ODBC
 select * from main_table
 where  1=1
 cfif #date# NEQ DD/MM/ and datestamp BETWEEN '#date#' AND
#today#
 /cfif
 cfif region NEQ --- Select --- and region = '#region#'/cfifcfifmaterial NEQ 
--- Select --- and mater='#material#'/cfif cfif vertical NEQ --- Select --- 
and verti=
'#vertical#'/cfif
 cfif target NEQ --- Select --- and target = '#target#'/cfifcfifproduct NEQ 
--- Select --- and product_serv=
'#product#'/cfif
 /cfquery


 This query give me an error in assignment.

 I know that this should be easy but I cant think of it!!!

 Cheers,
 Darren Adams
 Web Developer
 Marketing Department
 Systems Union

 mail: [EMAIL PROTECTED]







__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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?One of Bens Books

2002-01-29 Thread savan . thongvanh

I am contemplating getting the Allaire's Certified ColdFusion Developer
book.  I've read good things about it but it was written w/ 4.5 in mind
wasn't it?  That being said is it still a valid reference for studying for
the exam?

Thanks in advance,
Savan
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: This is a test

2002-01-29 Thread phumes1

test
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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?One of Ben's books

2002-01-29 Thread savan . thongvanh

Sorry,
nevermind i just saw the new CF5 title.

Thanks as always-
Savan
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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?One of Bens Books

2002-01-29 Thread Paul Melanophy

Certified Macromedia Coldfusion 5 Developer Study Guide 

New version

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 29 January 2002 12:47
To: CF-Talk
Subject: OT?One of Bens Books


I am contemplating getting the Allaire's Certified ColdFusion Developer
book.  I've read good things about it but it was written w/ 4.5 in mind
wasn't it?  That being said is it still a valid reference for studying 
for
the exam?

Thanks in advance,
Savan

__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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 - CF and Developers Fees

2002-01-29 Thread Pete Ruckelshaus

Uni jobs are the pits.  They don't distinguish between people who run the
registers at the bookstore and the people who do system maintenance,
networking, and programming.  Moreover, you WILL NOT be able to change the
uni pay scale, etc., I guarantee it.  The difference is, when you're done
school, you will have N years of experience on your resume as having done
Cold Fusion development, and the other people will have N years on their
resumes that they worked a cash register in a retail setting.  Where would
you rather be?

With that said, when I was starting out oh so many years ago (1994), I had
to intern FOR FREE to get some commercial web experience on my resume.
Nowadays, there are a good number of companies that will hire college
student/interns for a pretty decent wage ($12/hr if memory serves), as long
as they have experience.  Maybe you need to look beyond the confines of the
campus?  Apart from that, there's always the independent route, just go out
and find your own clients, that's what I did when I was in school, I had a
full load plus worked 30 hours a week at $25/hr doing design and development
work.

Good luck, and remember, nothing is forever.

Pete
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: how to do Google-like search??

2002-01-29 Thread Brendan Avery

Also, SQL Server supports SOUNDEX phonetic translation searching.  Look 
it
up in MSDN for examples.  This works really well where our client's 
large
entertainment industry database is accessed by an international 
audience --
where people are always mis-spelling things like Veen Raymes and Jon
Trovolda.

brendan avery 2.0 - [EMAIL PROTECTED]
310.779.2211 - santa monica, california

 -Original Message-
 From: Joseph DeVore [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 29, 2002 02:14
 To: CF-Talk
 Subject: RE: how to do Google-like search??
 
 
 Han,
 
 I would suggest taking a look at SQL server's Full Text 
 Searching and the
 Verity engine built into CFAS.
 
 
 HTH,
 
 Joseph DeVore
 VeloxWeb Technologies
 
 
 
 -Original Message-
 From: han peng [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 29, 2002 2:01 AM
 To: CF-Talk
 Subject: how to do Google-like search??
 
 
 Hi ppl..
 is there a built in function or wat in MSSQL to perform search query
 like Google..??
 
 for example.. i need to search for Hello beautiful World...
 
 how to write the query to search thru a column of a table
 where the return results can be...
 
 Beautiful Hello World
 World Helllo Beautiful
 Helllo World beautiful
 
 
 how to do it??
 
 
 han
 
 
 

__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: pdf

2002-01-29 Thread Steven Dworman

Here's the deal.  A client has an extremely important pdf that they want
locked down.  What this means is that they want to burn it on a cd, make the
cd copy protected, and not allow the user to save the file after it's been
opened.  On top of that they want to prevent the user from doing a select
all copy paste.

Can this be done?  Any solution is a consideration.



Thanks,

Steven D Dworman
-
Web Consultant
Systems Administrator

ComSpec International - http://www.comspec-intnl.com
phone: 248.647.8841
cell:  734.972.9676
-
EMPOWER-XL ***Software for Higher Education***
http://www.empower-xl.com
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: JET

2002-01-29 Thread Jeffry Houser

  No as a matter of fact, I believe there is (or at least was) a similar 
write-up in the Allaire knowledge base, which explained how to create an 
OLE data source.

  If you are using functions like CreateODBCDate, you may have to re-write 
them to use the Access native date format instead of the ODBC format.

  plug I talk about this in the first chapter of Instant ColdFusion /plug
  Anotherplug I think the first chapter is the one available on the 
Osborne Site /anotherplug

At 03:22 PM 01/29/2002 +1030, you wrote:
***
When running Microsoft Jet in an IIS environment, it is recommended that you
use the native Jet OLE DB Provider in place of the Microsoft Access ODBC
driver. The Microsoft Access ODBC driver (Jet ODBC driver) can have
stability issues due to the version of Visual Basic for Applications that is
invoked because the version is not thread safe. As a result, when multiple
concurrent users make requests of a Microsoft Access database, unpredictable
results may occur. The native Jet OLE DB Provider includes fixes and
enhancements for stability, performance, and thread pooling (including
calling a thread-safe version of Visual Basic for Applications).


What's the view in the CF Community - should I switch strategies here - is
this a problem using CF?




--
Jeffry Houser | mailto:[EMAIL PROTECTED]
AIM: Reboog711  | ICQ: 5246969 | Fax / Phone: 860-223-7946
--
Need a Web Developer?  Contact me!
My Book: Instant ColdFusion 5  | http://www.instantcoldfusion.com
My New Book: ColdFusion: A Beginner's Guide February 2002
--
Far Cry Fly, Alternative Folk Rock
http://www.farcryfly.com | http://www.mp3.com/FarCryFly
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: Using LDAP

2002-01-29 Thread Adkins, Randy

Anyone know a good reference in using LDAPs?
 
 
 

Randy Adkins 
Tech Lead - Novient 
SRA International 
[EMAIL PROTECTED] 
(703) 803-1677 

 


__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: pdf

2002-01-29 Thread savan . thongvanh

yes,
if you have adobe acrobat, i have v4.05, you can set security options
 when
you save the pdf.

in the save dialog there is a security tab that gives you check boxes f
or

Do Not Allow
[ ]Printing
[ ]Changing the Document
[ ]Selecting Text and Graphics
[ ]Adding or Changing Annotations and Form Fields




Steven Dworman [EMAIL PROTECTED] on 01/29/2002 07:39:10 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk [EMAIL PROTECTED]
cc:

Subject:  OT: pdf


Here's the deal.  A client has an extremely important pdf that they w
ant
locked down.  What this means is that they want to burn it on a cd, m
ake
the
cd copy protected, and not allow the user to save the file after it's b
een
opened.  On top of that they want to prevent the user from doing a s
elect
all copy paste.

Can this be done?  Any solution is a consideration.



Thanks,

Steven D Dworman
-
Web Consultant
Systems Administrator

ComSpec International - http://www.comspec-intnl.com
phone: 248.647.8841
cell:  734.972.9676
-
EMPOWER-XL ***Software for Higher Education***
http://www.empower-xl.com

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: split

2002-01-29 Thread Raymond Camden

Yes. I should give thanks to Thomas Muck for sending in a solution to
this. I've had the fix for a few days but have been too busy to get it
into the site. The UDF is now updated. 

===
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Brent Goldman [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, January 28, 2002 10:22 PM
 To: CF-Talk
 Subject: RE: split
 
 
 Raymond,
 
 Thanks for the RESplit UDF, it works great - ALMOST.
 The UDF will always ignore the bit of text after the last 
 instance of a
 delimeter.
 
 Can you please tell me how to fix this?
 
 Thanks
 -Brent
 
  -Original Message-
  From: Raymond Camden [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, January 23, 2002 6:02 AM
  To: CF-Talk
  Subject: RE: split
 
 
  There is also a RESplit at:
 
  http://www.cflib.org/udf.cfm?ID=424
 
  ==
  =
  Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
 
  Email: [EMAIL PROTECTED]
  Yahoo IM : morpheus
 
  My ally is the Force, and a powerful ally it is. - Yoda
 
   -Original Message-
   From: Steve Oliver [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, January 23, 2002 8:49 AM
   To: CF-Talk
   Subject: RE: split
  
  
   I made this cfscript that does what your wanting, except it
   puts it into
   a query :)
  
   You can change it around I'm sure If you'd rather have an array.
  
   cfset string=PPIblah blah blahPPItest
  2PPItest 3
  
  
   cfscript
  
   entries = QueryNew(data);
   entryloc = 1;
  
   for(i=1; entryloc neq 0; i=i+1){
  
 QueryAddRow(entries);
  
 entrystart = find(PPI,string,entryloc);
 entryloc = find(PPI,string,entrystart+1);
  
 if(entryloc NEQ 0){
 entrylen = entryloc - (entrystart + 9);
 }else{
 entrylen = len(string) - entrystart + 9;
 }
  
 entrytext = mid(string,entrystart+9,entrylen);
 temp=QuerySetCell(entries,data,entrytext);
   }
   /cfscript
  
   !--- Output the data ---
   cfoutput query=entries
   #entries.data#br
   /cfoutput
  
  
  
   -Original Message-
   From: Brent Goldman [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, January 22, 2002 10:01 PM
   To: CF-Talk
   Subject: split
  
  
   Hi everyone,
  
   Is there any equivalent of the Perl function split in
  ColdFusion.  I
   don't
   think that there is, so are there any custom tags that can do
   something
   similar?
  
   My problem is that I need to take a string of HTML, and
  parse out the
   date/time and text values.  Each entry in the journal
   string begins
   with
   PPI, so in Perl all I would need to do is @entries =
   split(/PPI/i, $journal); to get an array of the
   entries contained
   within the journal (except that the first element in the
   array would be
   a
   null string, since there is nothing before the opening
   PPI in the
   journal.
  
   Does anyone have a better idea of parsing the entries from
   the journal,
   rather than using split, since it is unavailable?
  
   Thanks
   -Brent
  
  
  
 
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: cfpop - Is It POOP?

2002-01-29 Thread Peter Dray

The way I have done it in the past is to append message numbers to a list
and then delete the list ie:

cfset undeliverables = 1,2,3,4,5,6,7,8,9,10

CFPOP
   SERVER=mail.blah.com
   USERNAME=[EMAIL PROTECTED]
   PASSWORD=blah-de-blah
   ACTION=DELETE
   NAME= delete
   MESSAGENUMBER = #undeliverables#


Pete Dray

-Original Message-
From: cf-talk [mailto:[EMAIL PROTECTED]]
Sent: 26 January 2002 00:59
To: CF-Talk
Subject: cfpop - Is It POOP?


I'm running a cfpop to grab 10 message headers at a time, then runing them
through a cfquery output to take message with subject=undeliverable and
 run another cfpop to delete that messageNumber. I'm only grabbing 10 at a
time and looping back because when I tried to run more, I got errors and wh
en I created a list of messageNumbers to delete I'd get messageNumber not
found.


I am the only one with access to the mailbox. It is a hosted mailserver. I
alternately get three different error messages:

[IN-USE] failed to lock or parse or multiple access

Cannot determine message count

Request canceled or ignored by serverServer busy or unable to fulfill reque
st.

--

cfset start = 1
cfloop condition = #start# lt 2000
  CFPOP
   SERVER=mail.blah.com
   USERNAME=[EMAIL PROTECTED]
   PASSWORD=blah-de-blah
   ACTION=GETHEADERONLY
   startrow= #start#
   maxrows=10
   NAME=undeliverable
   timeout= 5000
   
cfset delRows = 0
cfoutput query=undeliverable
cfif #undeliverable.SUBJECT# contains Undeliverable
CFPOP
   SERVER=mail.blah.com
   USERNAME=[EMAIL PROTECTED]
   PASSWORD=blah-de-blah
   ACTION=DELETE
   NAME= delete
   maxrows=1
   MESSAGENUMBER = #undeliverable.MESSAGENUMBER#
 
 cfset delRows = (#delRows# + 1)
deleted: #undeliverable.messageNumber# #undeliverable.subject#br
/cfif
/cfoutput
 cfset start = #start# + 10 - #delRows#

/cfloop


__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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



quick font input question

2002-01-29 Thread Janine Jakim

I have a text area for comments.  People often do a cut and paste from
another program/computer and put them in the field.  It saves fine and looks
good on the screen but when the information is sent to a pdf it gets a TM
trademark sign by some of the characters.
For example:
John's= JohnTMs
Highlighting the character and retyping it in fixes the problem for the
short term.  Obviously we can't ask people to replace all their 's or
whatever.

I'm thinking the best solution is to actually set it so it saves as a
certain font. 
Is there a generic font type that would work best for this?
And the font tag is deprecated in html so instead of font what should I
use.
Thanks in advance.
J
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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



javascript issue

2002-01-29 Thread John McCosker

HiYA,

I'm sorry for having a silly little problem like this but its just doing my
nut in.

I have a page with multible form buttons with multible actions,

form name=interfacing onSubmit=return false;

..
so for each button I would have an event handler like so,

input type=submit name=viewSelection value=View Selection On Map
onClick=viewSelect('#REQUEST.virtualRoot#secure/map/index.cfm?fuseaction=ma
pView','multipart/form-data')

..

/form

in the header I have

function viewSelect(action,encoding){
if(document.interfacing.viewSelection){
document.interfacing.action = action;
document.interfacing.encoding = encoding;
}
return true;
}

I've checked action and encoding by doing a document.write and their fine. 
The post just isn't being pushed.

Also I'm using ie5+ I know this concept won't work in nn3 or below ie4,

but jesus, we're are not in the business of dinosaurs.

mmm..

Thank You advancing...

Respectfully

J

..
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: how to do Google-like search??

2002-01-29 Thread Tony Schreiber

CFSCRIPT
// Assemble Search Queryif (NOT LEN(Keyword)) { Keyword = 'none'; } else { Keyword=
Replace(Keyword,',,ALL); }
Delimiters = ' ,;:'; SearchName = ''; SearchDesc = '';
L = ListLen(Keyword, Delimiters);
for(k=1 ; k LTE L; k=k+1) {
SearchName = SearchName  LOWER(p.description) LIKE
'%#LCase(ListGetAt(KeyWord,k,Delimiters))#%';
SearchDesc = SearchDesc  LOWER(p.details) LIKE
'%#LCase(ListGetAt(KeyWord,k,Delimiters))#%';
if (k neq L) { SearchName = SearchName  ' AND ';
SearchDesc = SearchDesc  ' AND '; }
}
/CFSCRIPT

CFQUERY NAME=Product DATASOURCE=#PrimaryDB#
SELECT whatever
FROM product
WHERE ((#PreserveSingleQuotes(SearchName)#)
CFIF IsDefined('Desc')OR (#PreserveSingleQuotes(SearchDesc)#)/CFIF)
/CFQUERY



 Hi ppl..
 is there a built in function or wat in MSSQL to perform search query
 like Google..??

 for example.. i need to search for Hello beautiful World...

 how to write the query to search thru a column of a table
 where the return results can be...

 Beautiful Hello World
 World Helllo Beautiful
 Helllo World beautiful


 how to do it??


 han

 
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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



Client Variables and CFlocation

2002-01-29 Thread Neil H.

I knew that if you set a cookie and then cflocate in the same page the
cookie isn't set.  I realize that client variables could be affected if
their default storage was cookie, however if I was using an DB for the
variable storage I would suspect otherwise.  My theory is incorrect for some
reason and Client variables using a DB can not be set with a cflocate on the
same page.   Is this the common behavior?

Thanks,

Neil
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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 issue

2002-01-29 Thread Gyrus

 I have a page with multible form buttons with multible actions,

 form name=interfacing onSubmit=return false;

 ..
 so for each button I would have an event handler like so,

 input type=submit name=viewSelection value=View Selection On
Map

onClick=viewSelect('#REQUEST.virtualRoot#secure/map/index.cfm?fuseactio
n=ma
 pView','multipart/form-data')

You didn't really describe the problem - at a guess pushing the
buttons just do nothing? For this job - where there's no real
form to be posted, just buttons triggering JS, I would just
use input type=button onclick=etc. /. Using this input
type without a form tag is perfectly valid, only NS 4 (and
maybe other crummy older browsers) won't show the button
without a form tag, so maybe wrap

form action= name=form id=form/form

around all the buttons.

HTH,


__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: I need some smart pills for my HTML text boxes...

2002-01-29 Thread Tyler Silcox

I'm got a problem with my input type=text name=MyTextBox 
style=width: 100% form fields...
The form displays correctly if the input box is empty, but if I return 
to the form for an edit, and the value=#MyOutput# is longer than the 
textbox should be for display, it pushes out the text box past the 
screen width and everything above it.  I'd like it to behave, and just 
go to 100% of the screen (and not past it.)  Does anyone know of any 
nifty tricks to get the text within the input to display as normal, 
like it does when I set the width to a certain pixel width, and just 
hide behind the end of the text box?  This app is iExplorer only, so any 
of MS crazy attributes/properties would work for me, I just can't find 
any that WILL work for me on text boxes, I've checked MSDN up and 
down...thanks-

Tyler
email | [EMAIL PROTECTED]

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: cfqueryparam error w/ oracle

2002-01-29 Thread Dave Watts

 That almost fixed it -- I tweaked the quotes in the VALUE 
 param and now it works, *thank you!*. If I do VALUE=#trim(x)#, 
 I get the same error. But if I do VALUE=#trim(x)#, it 
 works.
 
 But wtf? The user_id field is Oracle field type number(6). 
 It looks like Oracle is misinterpreting #x# as a string 
 (STR?). There can't be any spaces/nulls in a number(6) field!
 
 So... this works:
 cfloop list=#valuelist(get_user_ids.user_id)# index=x
  cfquery datasource=my_dsn name=with_cfqp
  select * from v_user
  where user_id = CFQUERYPARAM VALUE=#trim(x)#
 CFSQLTYPE=CF_SQL_NUMERIC
  /cfquery
 /cfloop

Well, that's weird. It might be a problem with the database drivers you're
using, but beyond that, I don't have a clue why it appears to be treating
the value as a string.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: delivery status notification

2002-01-29 Thread Steve Oliver

Return-Receipt-To is obsolete, as far as I know, and won't work as
advertised.

If you want the mail server to generate a receipt you need to modify
the message envelope, which is something cfmail cannot do.

Cheers
Michiel

Outlook 2000 as well as Outlook XP uses Return-Receipt-To

__
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-Original Message-
From: Michiel Boland [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 4:39 AM
To: CF-Talk
Subject: RE: delivery status notification


 cfmailparam name=Return-Receipt-To value=[EMAIL PROTECTED]
 This causes the mail server that you are sending the email to send a
 delivery receipt.

Return-Receipt-To is obsolete, as far as I know, and won't work as
advertised.

If you want the mail server to generate a receipt you need to modify
the message envelope, which is something cfmail cannot do.

Cheers
Michiel

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: pdf

2002-01-29 Thread Jochem van Dieten

Steven Dworman wrote:

 Here's the deal.  A client has an extremely important pdf that they want
 locked down.  What this means is that they want to burn it on a cd, make the
 cd copy protected, and not allow the user to save the file after it's been
 opened.  On top of that they want to prevent the user from doing a select
 all copy paste.


Don't think that making a CD copy protected will work. Generally this 
protects the complete CD from being copied, not the individual files. It 
works through one of the executables that is on the CD. Since a .pdf is 
not an executable and is opened using the executable (Acrobat Reader) 
from the user I don't think that making the CD copy protected and the 
file readable will work.


 Can this be done?  Any solution is a consideration.


User makes screenshot, runs screenshot through OCR and has the text 
back. It can't be done. You can keep honest people honest, but that is it.

Jochem
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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



Regex question.

2002-01-29 Thread Jeff Fongemie

Tuesday, January 29, 2002, 9:34:58 AM
Hello CF-Talk,

  I'm using the replacelist function to alter a string.

  I'm altering a weather forcast that gives this absurdly long list of
  counties before the actual forecast.

  So, I would like to do something like:

 Replace(cfhttp.fileContent, everything that comes before and
 including 2002, br)

 I'm trying all sorts of things, but nothing seems to be picking up
 the *2002 part.


 


Best regards,
 Jeff Fongemie  mailto:[EMAIL PROTECTED]
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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



https requests from CF

2002-01-29 Thread Howie Hamlin

Does anyone know how many simultaneous https requests can be performed using cfhttp?  
Also, has anyone ever used cfx_tcpclient for
an https transaction - if so, is that a better solution than cfhttp?

Thanks!

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

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: SQL query help

2002-01-29 Thread Steve Oliver

Well since your using ODBC, just use CreateODBCDate

cfquery name=browse datasource=marketing dbtype=ODBC
select * from main_table
where datestamp  #CreateODBCDate(date,dd/mm/)# 
/cfquery
__
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-Original Message-
From: Darren Adams [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 7:11 AM
To: CF-Talk
Subject: RE: SQL query help


cfquery name=browse datasource=marketing dbtype=ODBC
select * from main_table
where datestamp  #dateformat(date,dd/mm/)# 
/cfquery

This is really all I want to do.  The Access field is in date format.

This does not seem to work and I know it isnt exactly complex so there 
must
be something really obviously wrong. 

-Original Message-
From: Chris Sinkwitz [mailto:[EMAIL PROTECTED]]
Sent: 28 January 2002 17:25
To: CF-Talk
Subject: RE: SQL query help


Darren, since you are using an Access db go into your Access program.  
Start
to create a query to return the value you want.  Then look at the SQL 
of
this query you created in Access.  Access doesn't use standard SQL and 
has a
lot of different keywords.  So this will get you on the right track of 
what
your SQL statement should look like.

-Original Message-
From: Darren Adams [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 9:56 AM
To: CF-Talk
Subject: RE: SQL query help


I think it was just that id didnt like the value in quotes !!

-Original Message-
From: Michael Blair [mailto:[EMAIL PROTECTED]]
Sent: 28 January 2002 16:54
To: CF-Talk
Subject: RE: SQL query help


Try reversing the mm/dd/yy into the db and see.

-Original Message-
From: Darren Adams [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 10:44 AM
To: CF-Talk
Subject: RE: SQL query help


Even though the datestamp field is a date/time field in access I still
get
this error message.


ODBC Error Code = 22005 (Error in assignment)


[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in
criteria
expression.


Data Source = marketing

SQL = select * from main_table where datestamp  '28/01/02'


The error occurred while processing an element with a general
identifier of
(CFQUERY), occupying document position (1:1) to (1:60) in the template
file
E:\Inetpub\inetsu\menutest\marketing\browse.cfm

-Original Message-
From: Douglas Brown [mailto:[EMAIL PROTECTED]]
Sent: 28 January 2002 16:44
To: CF-Talk
Subject: Re: SQL query help


What error do you get?



There are two major products that come out of Berkeley: LSD and [Unix]
BSD. We don't believe this to be a coincidence.



Doug Brown
- Original Message -
From: Darren Adams [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, January 28, 2002 7:40 AM
Subject: SQL query help


 Hi guys

 Can anyone help,  I just need to check that the date of a record in a
 database is within a specific range.

 cfset today = dateformat(now(),dd/mm/)
 cfoutput#today#/cfoutput

 cfquery name=browse datasource=marketing dbtype=ODBC
 select * from main_table
 where  1=1
 cfif #date# NEQ DD/MM/ and datestamp BETWEEN '#date#' AND
#today#
 /cfif
 cfif region NEQ --- Select --- and region =
'#region#'/cfifcfifmaterial NEQ --- Select --- and
mater='#material#'/cfif cfif vertical NEQ --- Select --- and
verti=
'#vertical#'/cfif
 cfif target NEQ --- Select --- and target =
'#target#'/cfifcfifproduct NEQ --- Select --- and product_serv=
'#product#'/cfif
 /cfquery


 This query give me an error in assignment.

 I know that this should be easy but I cant think of it!!!

 Cheers,
 Darren Adams
 Web Developer
 Marketing Department
 Systems Union

 mail: [EMAIL PROTECTED]








__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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



Form entry checking

2002-01-29 Thread Thane Sherrington

I have a form that allows entry of the time without the colon (the customer 
wants to be able to enter data from the numeric keypad.)  I therefore check 
to see if the length of the string is equal to four, that the first two 
digits of the number entered are greater than 0 and less than 24, and that 
the last two two digits are greater than 0 and less than 60.  If they 
aren't, I pop a Javascript Alert to explain the problem and when they click 
OK, use the history.back() command to return to the form.  This works ok on 
the first error, but when I fix the error and click Post, the same error 
comes up (though it works if I enter the form correctly the first 
time.)  Could it be that the same page is coming up because it hasn't been 
refreshed?  How do I handle this?

T
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: delivery status notification

2002-01-29 Thread Michiel Boland

 Return-Receipt-To is obsolete, as far as I know, and won't work as
 advertised.
 
 If you want the mail server to generate a receipt you need to modify
 the message envelope, which is something cfmail cannot do.
 
 Cheers
 Michiel
 
 Outlook 2000 as well as Outlook XP uses Return-Receipt-To

Those are user agents, not servers.
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: I need some smart pills for my HTML text boxes...

2002-01-29 Thread savan . thongvanh

i'm trying to reproduce the prob in IE 5.5 but can't...what ver
sion are u
using?




Tyler Silcox [EMAIL PROTECTED] on 01/29/2002 08:37:30 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk [EMAIL PROTECTED]
cc:

Subject:  OT: I need some smart pills for my HTML text boxes...


I'm got a problem with my input type=text name=MyTextBox
style=width: 100% form fields...
The form displays correctly if the input box is empty, but if I return
to the form for an edit, and the value=#MyOutput# is longer than th
e
textbox should be for display, it pushes out the text box past the
screen width and everything above it.  I'd like it to behave, and jus
t
go to 100% of the screen (and not past it.)  Does anyone know of any
nifty tricks to get the text within the input to display as normal,
like it does when I set the width to a certain pixel width, and just
hide behind the end of the text box?  This app is iExplorer only, so an
y
of MS crazy attributes/properties would work for me, I just can't find
any that WILL work for me on text boxes, I've checked MSDN up and
down...thanks-

Tyler
email | [EMAIL PROTECTED]


__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: Session Swapping incident

2002-01-29 Thread Chris Bohill

Thanks to everyone who gave their views and advice regarding this 
problem I posted yesterday. The more we investigate, the more we feel 
that is down to the proxy settings of the problem users below. 

Has anyone else had bad experiences with proxies/firewalls and session 
variables swapping?

Thanks again

Chris.

-Original Message-
From: Chris Bohill 
Sent: 28 January 2002 15:04
To: CF-Talk
Subject: Session Swapping incident


We are developing an web based application, and have recently been 
experiencing a number of Session swapping incidents. On two occasions 
a user has been navigating the system, only to Swap sessions with 
another user, who (we are not 100% sure) may also be viewing the site at 

the same time. 

Because a lot of the site is user-profile based, the user can tell 
straight away that they have Swapped. The user in question returned to 

the welcome page, but another users name and details were there. This 
other user was in the same building but different floors, so they may 
have been on the same network.

For this to happen is pretty awkward, as much of the data is of a 
sensitive nature, but we feel we have done as much as we can to reduce 
the chance of this happening.

We have locked all session variables and only refer to them as local 
variables on pages that need them. see below:

cflock timeout=10 type=READONLY scope=SESSION
cfset Variables.VarOne= session.VarOne
cfset Variables.VarTwo= session.VarTwo
/cflock

When writing to a Session Variable we again use cflock, with type set to 

Exclusive.

All Session variables are locked when created on the Application page, 
and are set to Exclusive.

When the user logs out of the system we use the following code to kill 
all the session variables:

cflock timeout=20 throwontimeout=No type=EXCLUSIVE 
scope=SESSION
CFCOOKIE NAME=CFID VALUE= expires=NOW
CFCOOKIE NAME=CFTOKEN VALUE= expires=NOW

cfscript
StructDelete(Session, VarOne);
StructDelete(Session, VarTwo);
StructClear(Session);
/cfscript
/cflock

Are there known issues with session variables or is there something 
vital that we are missing? 
Is there something we should be doing on the Administrator to protect 
session swapping? 

For this to happen, even once is not acceptable to our client, so it is 
essential that we resolve this issue. Speed is an important issue with 
this application so using single thread sessions would not be a 
straightforward solution for us.

Any responses would be greatly appreciated.

Thanks,


__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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 question.

2002-01-29 Thread savan . thongvanh

i'm not sure what CF's regex syntax is exactly but in other quasi-stand
ard
types i would use

/*\W*\w*2002/




Jeff Fongemie [EMAIL PROTECTED] on 01/29/2002 08:44:02 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk [EMAIL PROTECTED]
cc:

Subject:  Regex question.


Tuesday, January 29, 2002, 9:34:58 AM
Hello CF-Talk,

  I'm using the replacelist function to alter a string.

  I'm altering a weather forcast that gives this absurdly long list of
  counties before the actual forecast.

  So, I would like to do something like:

 Replace(cfhttp.fileContent, everything that comes before and
 including 2002, br)

 I'm trying all sorts of things, but nothing seems to be picking up
 the *2002 part.





Best regards,
 Jeff Fongemie  mailto:[EMAIL PROTECTED]

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: https requests from CF

2002-01-29 Thread Dave Watts

 Does anyone know how many simultaneous https requests can be 
 performed using cfhttp?  

I would guess that you can perform as many simultaneous HTTPS requests with
CFHTTP as you can plain old HTTP requests. Of course, each of them will
typically be serviced slower.

 Also, has anyone ever used cfx_tcpclient for an https 
 transaction - if so, is that a better solution than cfhttp?

I don't think the current version supports HTTPS or any SSL/TLS type
encryption. There are third-party components which do, of course, such as
the Mabry HTTP/X library. In general, my complaints with CFHTTP haven't been
performance-related, but rather that it limits what you can do. That's not
an endorsement of CFHTTP's performance, though; I haven't been in a
situation where I'm using it so much that its performance is that important.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: I need some smart pills for my HTML text boxes...

2002-01-29 Thread Tyler Silcox

I'm using iE 6.0 ...and the input's width is 100%, so is the table that
surrounds it, and the table that surrounds that table.  It's really a pain
in the arse, because an image or a blank input set to 100% doesn't cause a
problem, just if the text inside is too long...

Tyler
email | [EMAIL PROTECTED]

- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 9:48 AM
Subject: Re: OT: I need some smart pills for my HTML text boxes...


i'm trying to reproduce the prob in IE 5.5 but can't...what ver
sion are u
using?




Tyler Silcox [EMAIL PROTECTED] on 01/29/2002 08:37:30 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk [EMAIL PROTECTED]
cc:

Subject:  OT: I need some smart pills for my HTML text boxes...


I'm got a problem with my input type=text name=MyTextBox
style=width: 100% form fields...
The form displays correctly if the input box is empty, but if I return
to the form for an edit, and the value=#MyOutput# is longer than th
e
textbox should be for display, it pushes out the text box past the
screen width and everything above it.  I'd like it to behave, and jus
t
go to 100% of the screen (and not past it.)  Does anyone know of any
nifty tricks to get the text within the input to display as normal,
like it does when I set the width to a certain pixel width, and just
hide behind the end of the text box?  This app is iExplorer only, so an
y
of MS crazy attributes/properties would work for me, I just can't find
any that WILL work for me on text boxes, I've checked MSDN up and
down...thanks-

Tyler
email | [EMAIL PROTECTED]



__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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 question.

2002-01-29 Thread savan . thongvanh

oops, omit the first * and slap a $ on there to terminate the string
/\w*\W*2002$/




[EMAIL PROTECTED] on 01/29/2002 08:52:16 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk [EMAIL PROTECTED]
cc:

Subject:  Re: Regex question.


i'm not sure what CF's regex syntax is exactly but in other quasi-stand

ard
types i would use

/*\W*\w*2002/




Jeff Fongemie [EMAIL PROTECTED] on 01/29/2002 08:44:02 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk [EMAIL PROTECTED]
cc:

Subject:  Regex question.


Tuesday, January 29, 2002, 9:34:58 AM
Hello CF-Talk,

  I'm using the replacelist function to alter a string.

  I'm altering a weather forcast that gives this absurdly long list of
  counties before the actual forecast.

  So, I would like to do something like:

 Replace(cfhttp.fileContent, everything that comes before and
 including 2002, br)

 I'm trying all sorts of things, but nothing seems to be picking up
 the *2002 part.





Best regards,
 Jeff Fongemie  mailto:[EMAIL PROTECTED]


__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: pdf

2002-01-29 Thread Matthew R. Small

I think the closest you can come to making it secure is to make use
Adobe's Electronic book system.  It's a PDF that can be read only in a
special application and does not allow for copying at all.  The only
glitch in the system is

User makes screenshot, runs screenshot through OCR and has the text 
back. It can't be done. You can keep honest people honest, but that is
it.

But I've read an online book with it.  I think it will accomplish most
of what you are looking to do - casual copying.

- Matt Small



-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 9:42 AM
To: CF-Talk
Subject: Re: OT: pdf

Steven Dworman wrote:

 Here's the deal.  A client has an extremely important pdf that they
want
 locked down.  What this means is that they want to burn it on a cd,
make the
 cd copy protected, and not allow the user to save the file after it's
been
 opened.  On top of that they want to prevent the user from doing a
select
 all copy paste.


Don't think that making a CD copy protected will work. Generally this 
protects the complete CD from being copied, not the individual files. It

works through one of the executables that is on the CD. Since a .pdf is 
not an executable and is opened using the executable (Acrobat Reader) 
from the user I don't think that making the CD copy protected and the 
file readable will work.


 Can this be done?  Any solution is a consideration.


User makes screenshot, runs screenshot through OCR and has the text 
back. It can't be done. You can keep honest people honest, but that is
it.

Jochem

__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: pdf

2002-01-29 Thread Dave Watts

 Don't think that making a CD copy protected will work. 
 Generally this protects the complete CD from being copied, 
 not the individual files. It works through one of the 
 executables that is on the CD.

And, even that is subject to question:
http://www.elby.de/CloneCD/english/

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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 issue

2002-01-29 Thread John McCosker

Cheers Gyrus,

I've had this working before, but now I've done something, thats 
bollocks
it.

J
..
..

-Original Message-
From: Gyrus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 2:23 PM
To: CF-Talk
Subject: Re: javascript issue


 I have a page with multible form buttons with multible actions,

 form name=interfacing onSubmit=return false;

 ..
 so for each button I would have an event handler like so,

 input type=submit name=viewSelection value=View Selection 
On
Map

onClick=viewSelect('#REQUEST.virtualRoot#secure/map/index.cfm?fuseact
io
n=ma
 pView','multipart/form-data')

You didn't really describe the problem - at a guess pushing the
buttons just do nothing? For this job - where there's no real
form to be posted, just buttons triggering JS, I would just
use input type=button onclick=etc. /. Using this input
type without a form tag is perfectly valid, only NS 4 (and
maybe other crummy older browsers) won't show the button
without a form tag, so maybe wrap

form action= name=form id=form/form

around all the buttons.

HTH,



__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: delivery status notification

2002-01-29 Thread Steve Oliver

 Return-Receipt-To is obsolete, as far as I know, and won't work as
 advertised.
 
 If you want the mail server to generate a receipt you need to modify
 the message envelope, which is something cfmail cannot do.
 
 Cheers
 Michiel
 
 Outlook 2000 as well as Outlook XP uses Return-Receipt-To

Those are user agents, not servers.

The user agent sends the Return-Receipt-To header, the end Server that
you send the mail to uses that header to send you a receipt.  Exchange
Server supports it, Qmail supports it, and many, many other mail server
support it. (unless they have it turned off that is)

__
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-Original Message-
From: Michiel Boland [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 9:48 AM
To: CF-Talk
Subject: RE: delivery status notification


 Return-Receipt-To is obsolete, as far as I know, and won't work as
 advertised.
 
 If you want the mail server to generate a receipt you need to modify
 the message envelope, which is something cfmail cannot do.
 
 Cheers
 Michiel
 
 Outlook 2000 as well as Outlook XP uses Return-Receipt-To

Those are user agents, not servers.

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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 - CF and Developers Fees

2002-01-29 Thread Alex

If you don't like it quit. Why do you have to work at the university?


On Tue, 29 Jan 2002, Michael T. Tangorre wrote:

 Hello Everyone,
 
 Can I get everyones opinion on something here...
 Here at the University, student workers make no more than $6.00/hour 
 regardless of type of work. What do you think is a fair wage for someone
 
 who learns Cold Fusion on the job and applies it at their job on a daily
 
 basis. Also, what do you think a fair wage is for someone who trains 
 staff on basic CF, SQL, and server management stuff? Right now I work 
 about 25 hours a week at $6/hr and take 18 credit load semester and
 
 am frankly working to change a few things, but I need some numbers to 
 back me up so I am looking for any averages or thoughts you have.
 
 Thanks,
 
 Mike
 
 PS--- Sorry for the off topic post on CF-Talk.
 
 
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: pdf

2002-01-29 Thread Alex

What if the user takes a screen shot of the file? What you are trying to
do can't be done. If you think it can; I am available at a modest fee to
disprove you.

On Tue, 29 Jan 2002, Steven Dworman wrote:

 Here's the deal.  A client has an extremely important pdf that they want
 locked down.  What this means is that they want to burn it on a cd, make 
the
 cd copy protected, and not allow the user to save the file after it's bee
n
 opened.  On top of that they want to prevent the user from doing a selec
t
 all copy paste.
 
 Can this be done?  Any solution is a consideration.
 
 
 
 Thanks,
 
 Steven D Dworman
 -
 Web Consultant
 Systems Administrator
 
 ComSpec International - http://www.comspec-intnl.com
 phone: 248.647.8841
 cell:  734.972.9676
 -
 EMPOWER-XL ***Software for Higher Education***
 http://www.empower-xl.com
 
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: I need some smart pills for my HTML text boxes...

2002-01-29 Thread savan . thongvanh

i tried it on 6 and saw what you're referring to.  looks like  a defa
ult
behavior.  i'd suggest you create the form field and populate it as f
ollows

cfoutput
head
script
function init(){
document.myForm.myTextField.value=#myOutPut#;
}
/script
/head
body onload=init()
form name=myForm
input type=text style=width:100% name=myTextField
/form
/body
/cfoutput


or something similar




Tyler Silcox [EMAIL PROTECTED] on 01/29/2002 09:01:05 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk [EMAIL PROTECTED]
cc:

Subject:  Re: OT: I need some smart pills for my HTML text boxes...



I'm using iE 6.0 ...and the input's width is 100%, so is the ta
ble that
surrounds it, and the table that surrounds that table.  It's really a
 pain
in the arse, because an image or a blank input set to 100% doesn't caus
e a
problem, just if the text inside is too long...

Tyler
email | [EMAIL PROTECTED]

- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 9:48 AM
Subject: Re: OT: I need some smart pills for my HTML text boxes...



i'm trying to reproduce the prob in IE 5.5 but can't...what ver

sion are u
using?




Tyler Silcox [EMAIL PROTECTED] on 01/29/2002 08:37:30 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk [EMAIL PROTECTED]
cc:

Subject:  OT: I need some smart pills for my HTML text boxes...


I'm got a problem with my input type=text name=MyTextBox
style=width: 100% form fields...
The form displays correctly if the input box is empty, but if I return
to the form for an edit, and the value=#MyOutput# is longer than th

e
textbox should be for display, it pushes out the text box past the
screen width and everything above it.  I'd like it to behave, and jus

t
go to 100% of the screen (and not past it.)  Does anyone know of any
nifty tricks to get the text within the input to display as normal,
like it does when I set the width to a certain pixel width, and just
hide behind the end of the text box?  This app is iExplorer only, so an

y
of MS crazy attributes/properties would work for me, I just can't find
any that WILL work for me on text boxes, I've checked MSDN up and
down...thanks-

Tyler
email | [EMAIL PROTECTED]




__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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



CFPOP, Exchange from proxy to ISA

2002-01-29 Thread Paul Sizemore

We just switched our Exchange server from Proxy to ISA. My CFPOP code now
doesn't work. Anyone have any Ideas why (or how to fix it)? 

The CF Server is configured to use ISA. I tried to connect to the exchange
server through the proxy, but that didn't work either. The Guy who switched
to ISA is on a week vacation and drop dead on my project is Friday. 

The Exchange server is not logging any failures, so I'm not even getting to
that point. I want my Net Admin to check the ISA logs to see if my requests
are in there, but he is telling me that my CF server is going strait to the
Exchange server (not through the ISA) - makes sense, but I just want to find
where the problem is. Where else can I look for an error?
Paul

Error Code as Follows 

Error Diagnostic Information
Connection Failure 
The error occurred while processing an element with a general identifier of
(CFPOP), occupying document position (101:1) to (105:27) in the template
file c:\inetpub\wwwroot\Intranet-Test\index7.cfm.
Date/Time: 01/29/02 09:59:24
Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Remote Address: 10.0.3.75

__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CF and Remedy

2002-01-29 Thread Haggerty, Michael A.

Hi folks;

Anyone have any experience integrating CF and Remedy (now Peregrine)?

I am working in an environment where we are using Remedy to enter trouble
tickets and would like to be able to do this over the Web. I understand
there is a new version which is entirely Web based, unfortunately, the
client is the Federal government and they might upgrade ten years from
now...

Anyways, I was wondering if anyone had any experience working with the
product and could contact me here or off list with some notes about any
issues they ran into.

Thanks,
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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 - CF and Developers Fees

2002-01-29 Thread savan . thongvanh

wow 18 creds and 25 hours/week of admin work?  don't know how you're do
in
it but good luck.




Alex [EMAIL PROTECTED] on 01/29/2002 08:50:23 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk [EMAIL PROTECTED]
cc:

Subject:  Re: Slightly OT - CF and Developers Fees


If you don't like it quit. Why do you have to work at the university?



On Tue, 29 Jan 2002, Michael T. Tangorre wrote:

 Hello Everyone,

 Can I get everyones opinion on something here...
 Here at the University, student workers make no more than $6.00/hou
r
 regardless of type of work. What do you think is a fair wage for so
meone

 who learns Cold Fusion on the job and applies it at their job on a da
ily

 basis. Also, what do you think a fair wage is for someone who train
s
 staff on basic CF, SQL, and server management stuff? Right now I work

 about 25 hours a week at $6/hr and take 18 credit load semester..
. and

 am frankly working to change a few things, but I need some numbers to

 back me up so I am looking for any averages or thoughts you have.

 Thanks,

 Mike

 PS--- Sorry for the off topic post on CF-Talk.



__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: delivery status notification

2002-01-29 Thread Michiel Boland

 The user agent sends the Return-Receipt-To header, the end Server that
 you send the mail to uses that header to send you a receipt.  Exchange
 Server supports it, Qmail supports it, and many, many other mail server
 support it. (unless they have it turned off that is)

AFAIK postfix and sendmail do not support it any longer. So you have
absolutely no guarantee that you get notifications by using that header.
The Return-Receipt-To header has never been an official standard. If you
want to use Delivery Status Notifications, use something that adheres to
RFC1891.

Anyway this is getting way off-topic so I'll shut up now. :)
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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



Jet default property

2002-01-29 Thread Mark A. Kruger - CFG

Does anyone remember how to set a default value when using CREATE Table on a
JET database? I can't the find SQL language reference for Jet anywhere.  I
want to do something like...

CREATE TABLE Foo
(foo_id  COUNTER,
Ordinal int NOT NULL DEFAULT (0),
groupOrdinal int NOT NULL )

Everthing else is working, but the default (0) is not  anyone?

Mark


Mark A. Kruger, MCSE, CFG
www.cfwebtools.com
..no more brochures!

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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 question.

2002-01-29 Thread Kola Oyedeji

Try

ReplaceNoCase(cfhttp.fileContent, [ a-zA-Z0-9]+2002, br)

Not sure how to broaden this to include symbols (?/;'@) etc..new to regex
myself
HTH

Kola Oyedeji
Web developer
Macromedia Certified Advanced ColdFusion 5 Developer
ekeda ltd
http://www.ekeda.co.uk
(+44)020-8429-7300


 -Original Message-
 From: Jeff Fongemie [mailto:[EMAIL PROTECTED]]
 Sent: 29 January 2002 14:44
 To: CF-Talk
 Subject: Regex question.


 Tuesday, January 29, 2002, 9:34:58 AM
 Hello CF-Talk,

   I'm using the replacelist function to alter a string.

   I'm altering a weather forcast that gives this absurdly long list of
   counties before the actual forecast.

   So, I would like to do something like:

  Replace(cfhttp.fileContent, everything that comes before and
  including 2002, br)

  I'm trying all sorts of things, but nothing seems to be picking up
  the *2002 part.





 Best regards,
  Jeff Fongemie  mailto:[EMAIL PROTECTED]
 
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: CF and Remedy

2002-01-29 Thread Norman Elton

Michael,

We have integrated CF and Remedy to a degree. We made a web front end
to monitor tickets and to run web-based surveys to customers to gauge
customer satisfaction. In our case, Remedy stores its data in a MS SQL
database, so I just poked around until I figured out what tables were
interesting, and found that I could poll the data from there. We do
update one or two fields, but we don't create tickets on the fly. You
may be able to figure out what tables to tamper with to create
tickets, but be sure to keep a backup when you're trying everything out.
As I recall, the table we found most interesting was T25, or something
along those lines. A Remedy admin may know more.

Good luck

Norman Elton
College of William  Mary

-Original Message-
From: Haggerty, Michael A. [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 10:22 AM
To: CF-Talk
Subject: CF and Remedy


Hi folks;

Anyone have any experience integrating CF and Remedy (now Peregrine)?

I am working in an environment where we are using Remedy to enter
trouble tickets and would like to be able to do this over the Web. I
understand there is a new version which is entirely Web based,
unfortunately, the client is the Federal government and they might
upgrade ten years from now...

Anyways, I was wondering if anyone had any experience working with the
product and could contact me here or off list with some notes about any
issues they ran into.

Thanks,

__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: Optional UDF arguments

2002-01-29 Thread Raymond Camden

In order to use optional UDF parameters, you must not specify them in
the function declaration. See below:

function sayHello(first) {
  var last = ;
  if(arrayLen(arguments) gte 2) last =arguments[2];
  return Hello,   first  last;
}

Notice I changed your writeOutput to a return. You should always return
something in a UDF.
  

===
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Jamie Jackson [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, January 29, 2002 10:59 AM
 To: CF-Talk
 Subject: Optional UDF arguments
 
 
 Is it possible to have optional UDF arguments (such as last in the
 following example)?
 
 AFAIK, this doesn't work.
 function sayHello (first, last) {
   if (notisdefined('last')) {var last = '';}
   writeoutput('Hello, '  first  ' '  last);
 }
 
 Thanks,
 
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: Client Variables and CFlocation

2002-01-29 Thread Jeffry Houser

At 09:10 AM 01/29/2002 -0500, you wrote:
I knew that if you set a cookie and then cflocate in the same page the
cookie isn't set.  I realize that client variables could be affected if
their default storage was cookie, however if I was using an DB for the
variable storage I would suspect otherwise.  My theory is incorrect for some
reason and Client variables using a DB can not be set with a cflocate on the
same page.   Is this the common behavior?

  Yes, this is common behavior.  You see, there is no state management on 
the web.  There is no correlation between page requests.  The server can't 
tell one request from the other.

  To overcome this, ColdFusion creates some values: CFID and CFTOKEN.  (If 
you are using clustered servers, I believe it also uses a third cookie 
called CFMAGIC if you set domain cookies ).

  The values must be available on every page request to keep track of 
session and client variables.  Without the cookies, ColdFusion can't align 
the client variables in your client variable database with the current 
user.  You can either make the CFID / CFTOKEN values available by setting 
cookies (Which is the preferred method) or passing them in the 
URL.  Passing them in the URL can be a pain, although it is the only way to 
go if you want to avoid using cookies.


--
Jeffry Houser | mailto:[EMAIL PROTECTED]
AIM: Reboog711  | ICQ: 5246969 | Fax / Phone: 860-223-7946
--
Need a Web Developer?  Contact me!
My Book: Instant ColdFusion 5  | http://www.instantcoldfusion.com
My New Book: ColdFusion: A Beginner's Guide February 2002
--
Far Cry Fly, Alternative Folk Rock
http://www.farcryfly.com | http://www.mp3.com/FarCryFly
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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



more on regex question...

2002-01-29 Thread Jeff Fongemie

Tuesday, January 29, 2002, 10:59:49 AM
Hello cf-talk,

  cfhttp url = http://met-www.cit.cornell.edu/cgi-bin/fcst?NH004

  I've tried:

  reReplacenocase(cfhttp.fileContent, /\w*\W*2002$/, br)

  and

  ReplaceNoCase(cfhttp.fileContent, [ a-zA-Z0-9]+2002, br)

  Neither even touches the string!

  I'm resorting to replacing each word, and checking to see if they
  add more words so I can add them to the list. Eventually, I'll get
  all the counties.

  If anyone else can take a shot at replacing any and all characters
  before and including the 2002, give it a go. And thank you.

  Otherwise, I'll just keep filtering each word out as I see them.


Best regards,
 Jeff Fongemie  mailto:[EMAIL PROTECTED]
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: Optional UDF arguments

2002-01-29 Thread Jamie Jackson

Great, thanks.

Jamie

On Tue, 29 Jan 2002 11:10:29 -0500, in cf-talk you wrote:

In order to use optional UDF parameters, you must not specify them in
the function declaration. See below:

function sayHello(first) {
  var last = ;
  if(arrayLen(arguments) gte 2) last =arguments[2];
  return Hello,   first  last;
}

Notice I changed your writeOutput to a return. You should always return
something in a UDF.
  

Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Jamie Jackson [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, January 29, 2002 10:59 AM
 To: CF-Talk
 Subject: Optional UDF arguments
 
 
 Is it possible to have optional UDF arguments (such as last in the
 following example)?
 
 AFAIK, this doesn't work.
 function sayHello (first, last) {
  if (notisdefined('last')) {var last = '';}
  writeoutput('Hello, '  first  ' '  last);
 }
 
 Thanks,
 

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: Client Variables and CFlocation

2002-01-29 Thread ksuh

It shouldn't be doing this.  If you're storing client variables in 
the 

DB, you can set client vars all you want and then cflocate.  I do it 

all the time.

  Yes, this is common behavior.  You see, there is no state 

 management on 

 the web.  There is no correlation between page requests.  The 

 server can't 

 tell one request from the other.
 

  To overcome this, ColdFusion creates some values: CFID and 

 CFTOKEN.  (If 

 you are using clustered servers, I believe it also uses a third 

 cookie 

 called CFMAGIC if you set domain cookies ).
 

  The values must be available on every page request to keep track 

 of 

 session and client variables.  Without the cookies, ColdFusion 

 can't align 

 the client variables in your client variable database with the 

 current 

 user.  You can either make the CFID / CFTOKEN values available by 

 setting 

 cookies (Which is the preferred method) or passing them in the 

 URL.  Passing them in the URL can be a pain, although it is the 

 only way to 

 go if you want to avoid using cookies.
 

 

 --
 Jeffry Houser | mailto:[EMAIL PROTECTED]
 AIM: Reboog711  | ICQ: 5246969 | Fax / Phone: 860-223-7946
 --
 Need a Web Developer?  Contact me!
 My Book: Instant ColdFusion 5  | http://www.instantcoldfusion
com
 My New Book: ColdFusion: A Beginner's Guide February 2002
 --
 Far Cry Fly, Alternative Folk Rock
 http://www.farcryfly.com | http://www.mp3.com/FarCryFly

 ___
_
__
 Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona

 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?sideb
ar=lists
 
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: more on regex question...

2002-01-29 Thread Steve Oliver

Since the beginning will be garbled html, try this.

ReReplaceNoCase(cfhttp.fileContent, (.*?)*2000, br)
Or
ReReplaceNoCase(cfhttp.fileContent, (.*?)+2000, br)

__
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-Original Message-
From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 11:06 AM
To: CF-Talk
Subject: more on regex question...


Tuesday, January 29, 2002, 10:59:49 AM
Hello cf-talk,

  cfhttp url = http://met-www.cit.cornell.edu/cgi-bin/fcst?NH004

  I've tried:

  reReplacenocase(cfhttp.fileContent, /\w*\W*2002$/, br)

  and

  ReplaceNoCase(cfhttp.fileContent, [ a-zA-Z0-9]+2002, br)

  Neither even touches the string!

  I'm resorting to replacing each word, and checking to see if they
  add more words so I can add them to the list. Eventually, I'll get
  all the counties.

  If anyone else can take a shot at replacing any and all characters
  before and including the 2002, give it a go. And thank you.

  Otherwise, I'll just keep filtering each word out as I see them.


Best regards,
 Jeff Fongemie  mailto:[EMAIL PROTECTED]

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: more on regex question...

2002-01-29 Thread Steve Oliver

Oops, make that 2002 (living in the past) heh

ReReplaceNoCase(cfhttp.fileContent, (.*?)*2002, br)
Or
ReReplaceNoCase(cfhttp.fileContent, (.*?)+2002, br)

__
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-Original Message-
From: Steve Oliver [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 11:19 AM
To: CF-Talk
Subject: RE: more on regex question...


Since the beginning will be garbled html, try this.

ReReplaceNoCase(cfhttp.fileContent, (.*?)*2000, br)
Or
ReReplaceNoCase(cfhttp.fileContent, (.*?)+2000, br)

__
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-Original Message-
From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 11:06 AM
To: CF-Talk
Subject: more on regex question...


Tuesday, January 29, 2002, 10:59:49 AM
Hello cf-talk,

  cfhttp url = http://met-www.cit.cornell.edu/cgi-bin/fcst?NH004

  I've tried:

  reReplacenocase(cfhttp.fileContent, /\w*\W*2002$/, br)

  and

  ReplaceNoCase(cfhttp.fileContent, [ a-zA-Z0-9]+2002, br)

  Neither even touches the string!

  I'm resorting to replacing each word, and checking to see if they
  add more words so I can add them to the list. Eventually, I'll get
  all the counties.

  If anyone else can take a shot at replacing any and all characters
  before and including the 2002, give it a go. And thank you.

  Otherwise, I'll just keep filtering each word out as I see them.


Best regards,
 Jeff Fongemie  mailto:[EMAIL PROTECTED]


__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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 - CF and Developers Fees

2002-01-29 Thread Billy Cravens

Fair can only be defined by your experience level, the quality of your work,
and costs of living.

When I was in college, I worked for minimum wage ($5.25 an hour at that
point, I believe).  That's how it is in college - you work dirt cheap.
Typically wages are determined by the higher-ups in the school (Dean level
or higher).  I seriously doubt they'll be swayed by some mailing list that
the public can contribute to.

If it weren't for poor college students, would they bring in someone at
full price?  I doubt it.  Also, suck it up and ignore the $$ factor:
you're in college, and unless you had significant experience before school,
the college job is your best shot at getting experience.  You need the
experience far more than you need the $$$; consider that unless things
improve dramatically, when you graduate, you'll be competing with developers
with years of *real-world* experience.

Considering the state of the economy, I know many developers who'd be happy
to make what you're making - $6/hour beats being unemployed.

I would suggest that we all take a look at the CF-Talk guidelines
(http://www.houseoffusion.com/hof/lists/faq.htm).  Keep in mind that
discussion of prices among peers in a public forum constitutes price
fixing - this places the operators of this list (Dinowitz and company) at
risk.

- Original Message -
From: Michael T. Tangorre [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 6:11 AM
Subject: Slightly OT - CF and Developers Fees


 Hello Everyone,

 Can I get everyones opinion on something here...
 Here at the University, student workers make no more than $6.00/hour
 regardless of type of work. What do you think is a fair wage for someone
 who learns Cold Fusion on the job and applies it at their job on a daily
 basis. Also, what do you think a fair wage is for someone who trains
 staff on basic CF, SQL, and server management stuff? Right now I work
 about 25 hours a week at $6/hr and take 18 credit load semester and
 am frankly working to change a few things, but I need some numbers to
 back me up so I am looking for any averages or thoughts you have.

 Thanks,

 Mike

 PS--- Sorry for the off topic post on CF-Talk.

 
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: more on regex question...

2002-01-29 Thread Steve Oliver

Wow, I just tried that to make sure it worked, and it gave me 100%
server utilization :)

This way works, I just tried it.

ReReplace(string,(.*2002),br)

__
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-Original Message-
From: Steve Oliver [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 11:21 AM
To: CF-Talk
Subject: RE: more on regex question...


Oops, make that 2002 (living in the past) heh

ReReplaceNoCase(cfhttp.fileContent, (.*?)*2002, br)
Or
ReReplaceNoCase(cfhttp.fileContent, (.*?)+2002, br)

__
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-Original Message-
From: Steve Oliver [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 11:19 AM
To: CF-Talk
Subject: RE: more on regex question...


Since the beginning will be garbled html, try this.

ReReplaceNoCase(cfhttp.fileContent, (.*?)*2000, br)
Or
ReReplaceNoCase(cfhttp.fileContent, (.*?)+2000, br)

__
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-Original Message-
From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 11:06 AM
To: CF-Talk
Subject: more on regex question...


Tuesday, January 29, 2002, 10:59:49 AM
Hello cf-talk,

  cfhttp url = http://met-www.cit.cornell.edu/cgi-bin/fcst?NH004

  I've tried:

  reReplacenocase(cfhttp.fileContent, /\w*\W*2002$/, br)

  and

  ReplaceNoCase(cfhttp.fileContent, [ a-zA-Z0-9]+2002, br)

  Neither even touches the string!

  I'm resorting to replacing each word, and checking to see if they
  add more words so I can add them to the list. Eventually, I'll get
  all the counties.

  If anyone else can take a shot at replacing any and all characters
  before and including the 2002, give it a go. And thank you.

  Otherwise, I'll just keep filtering each word out as I see them.


Best regards,
 Jeff Fongemie  mailto:[EMAIL PROTECTED]



__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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 - CF and Developers Fees

2002-01-29 Thread Bryan Stevenson

Well alot depends on how much CF you have learned and what level of CF you are using 
(i.e. just
outputting data or full blown web applications).  That said either way $6.00/hr. is a 
major kick in
the pants (especially if you are training people as well).  Now I'm in Canada, so our 
rates are
probably different, but from what I've heard most US rates are higher than those in 
Canada (and I'm
not just talking exchange rate).

We typically hire a junior developer for about $20-$25/hr CDN for their first project 
or 2if
they pan out then we go up from there topping out aroun $65/hr. CDN

HTH

Bryan Stevenson
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
p. 250.920.8830
e. [EMAIL PROTECTED]
-
Macromedia Associate Partner
www.macromedia.com

- Original Message -
From: Michael T. Tangorre [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 4:11 AM
Subject: Slightly OT - CF and Developers Fees


 Hello Everyone,

 Can I get everyones opinion on something here...
 Here at the University, student workers make no more than $6.00/hour
 regardless of type of work. What do you think is a fair wage for someone
 who learns Cold Fusion on the job and applies it at their job on a daily
 basis. Also, what do you think a fair wage is for someone who trains
 staff on basic CF, SQL, and server management stuff? Right now I work
 about 25 hours a week at $6/hr and take 18 credit load semester and
 am frankly working to change a few things, but I need some numbers to
 back me up so I am looking for any averages or thoughts you have.

 Thanks,

 Mike

 PS--- Sorry for the off topic post on CF-Talk.

 
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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 - CF and Developers Fees

2002-01-29 Thread Michael Dinowitz

I'll have to update that. There have been many conversations on what
 constitutes price fixing in the past and what doesn't. If we tell him that
 he has to charge X amount because everyone else does, then that's price
 fixing. If we make general statements like you can get more or a jobs a
 job or I make X but I'm not you, then we're safe. The laws on this are
 very convoluted but the chance of being caught in them are really slim,
 especially in this market. 
We have maybe 5000 readers all together using different means. There's at
 least 10 times that many CF programmers. If I say everyone should be
 charging $100/hour, it's not affecting more than 10% and that's only if
 everyone listens. In truth, less than 1% would listen and that goes no
 where near price fixing.
But again, this is OT for CF-Talk. You might want to move this to the new
 [EMAIL PROTECTED] list. It was set up for just these sort of
 things. You can subscribe by sending a subscribe request to
 [EMAIL PROTECTED]
BTW, That list was set up to separate the job posts and requests of CF-Jobs
 from the job related banter. There has been a nice upswing in job offers on
 that list and hopefully there will be more.

I would suggest that we all take a look at the CF-Talk guidelines
(http://www.houseoffusion.com/hof/lists/faq.htm).  Keep in mind that
discussion of prices among peers in a public forum constitutes price
fixing - this places the operators of this list (Dinowitz and company) at
risk.

- Original Message -
From: Michael T. Tangorre [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 6:11 AM
Subject: Slightly OT - CF and Developers Fees


 Hello Everyone,

 Can I get everyones opinion on something here...
 Here at the University, student workers make no more than $6.00/hour
 regardless of type of work. What do you think is a fair wage for someone
 who learns Cold Fusion on the job and applies it at their job on a daily
 basis. Also, what do you think a fair wage is for someone who trains
 staff on basic CF, SQL, and server management stuff? Right now I work
 about 25 hours a week at $6/hr and take 18 credit load semester and
 am frankly working to change a few things, but I need some numbers to
 back me up so I am looking for any averages or thoughts you have.

 Thanks,

 Mike

 PS--- Sorry for the off topic post on CF-Talk.

 

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: browser history and cache

2002-01-29 Thread Bryan Stevenson

Ya on the surface I think that kind of control would scream security violation.  If 
you can delete
the history then you could probably read it and see where your site visitors have 
beenthis as
Worf once said would be bad ;-)

Bryan Stevenson
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
p. 250.920.8830
e. [EMAIL PROTECTED]
-
Macromedia Associate Partner
www.macromedia.com

- Original Message -
From: Gyrus [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 4:14 AM
Subject: Re: browser history and cache


  A general question. Is it possible to interact with a browsers
 history. I
  know we can prevent a page from being cached by a browser, but what I
 need
  to know is if it is possible to access and delete a browser's history.

 There's a history object in JavaScript:

 http://developer.netscape.com/docs/manuals/js/client/jsref/history.htm

 A common use is window.history.back() to go to the last visited page.
 You'd have to grab a good book (O'Reilly's Definitive Guide or the
 JavaScript Bible) for more detail on manipulating it. I kind of doubt
 that you'd be allowed to delete people's history entries willy-nilly
 though!

 - Gyrus

 
 - [EMAIL PROTECTED]
 work: http://www.tengai.co.uk
 play: http://www.norlonto.net
 - PGP key available
 
 
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: CFPOP, Exchange from proxy to ISA

2002-01-29 Thread Paul Sizemore

Our Net Mon shows POP isn't running on the exchange server. Classic.

-Original Message-
From: Paul Sizemore 
Sent: Tuesday, January 29, 2002 10:10 AM
To: CF-Talk
Subject: CFPOP, Exchange from proxy to ISA

We just switched our Exchange server from Proxy to ISA. My CFPOP code 
now
doesn't work. Anyone have any Ideas why (or how to fix it)?

The CF Server is configured to use ISA. I tried to connect to the 
exchange
server through the proxy, but that didn't work either. The Guy who 
switched
to ISA is on a week vacation and drop dead on my project is Friday.

The Exchange server is not logging any failures, so I'm not even 
getting to
that point. I want my Net Admin to check the ISA logs to see if my 
requests
are in there, but he is telling me that my CF server is going strait to 
the
Exchange server (not through the ISA) - makes sense, but I just want to 
find
where the problem is. Where else can I look for an error?
Paul

Error Code as Follows 

Error Diagnostic Information
Connection Failure
The error occurred while processing an element with a general 
identifier of
(CFPOP), occupying document position (101:1) to (105:27) in the 
template
file c:\inetpub\wwwroot\Intranet-Test\index7.cfm.
Date/Time: 01/29/02 09:59:24
Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Remote Address: 10.0.3.75


__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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 - CF and Developers Fees

2002-01-29 Thread Michael T. Tangorre

Id rather attempt to get a new pay rate than to just quit..its easy to quit,
its not as easy to get what you believe in... it takes work, that is why I
polled the list for thoughts on rates.




- Original Message -
From: Alex [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 9:50 AM
Subject: Re: Slightly OT - CF and Developers Fees


 If you don't like it quit. Why do you have to work at the university?


 On Tue, 29 Jan 2002, Michael T. Tangorre wrote:

  Hello Everyone,
 
  Can I get everyones opinion on something here...
  Here at the University, student workers make no more than $6.00/hour
  regardless of type of work. What do you think is a fair wage for someone

  who learns Cold Fusion on the job and applies it at their job on a daily

  basis. Also, what do you think a fair wage is for someone who trains
  staff on basic CF, SQL, and server management stuff? Right now I work
  about 25 hours a week at $6/hr and take 18 credit load semester and

  am frankly working to change a few things, but I need some numbers to
  back me up so I am looking for any averages or thoughts you have.
 
  Thanks,
 
  Mike
 
  PS--- Sorry for the off topic post on CF-Talk.
 
 
 
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: I need some smart pills for my HTML text boxes...

2002-01-29 Thread Joshua Miller

I'm doing something similar with textarea, but I'm writing them dynamical
ly
with JavaScript populated by a CF variable:

document.write('textarea name=\this\ cols=20 rows=5
style=\width:100%\#cfvar#/textarea');

Joshua Miller
Web Development::Programming
Eagle Technologies Group, Inc.
www.eagletgi.com
[EMAIL PROTECTED]
(304) 622-4499 x320 (VMail)

CONFIDENTIALITY NOTICE
The information contained in this e-mail is intended only for the use of 
the
individual or entity to which it is addressed.
This e-mail may contain information that is privileged, confidential, and
/or
personal. If the reader of this message is not the intended recipient (or
the employee or agent responsible to deliver it to the intended recipient
),
you are hereby notified that any dissemination, distribution, or copying 
of
this communication is prohibited.
If you have received this communication in error, please notify us by
telephone call at the number listed above.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 10:13 AM
To: CF-Talk
Subject: Re: OT: I need some smart pills for my HTML text boxes...


i tried it on 6 and saw what you're referring to.  looks like  a defa
ult
behavior.  i'd suggest you create the form field and populate it as f
ollows

cfoutput
head
script
function init(){
document.myForm.myTextField.value=#myOutPut#;
}
/script
/head
body onload=init()
form name=myForm
input type=text style=width:100% name=myTextField
/form
/body
/cfoutput


or something similar




Tyler Silcox [EMAIL PROTECTED] on 01/29/2002 09:01:05 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk [EMAIL PROTECTED]
cc:

Subject:  Re: OT: I need some smart pills for my HTML text boxes...



I'm using iE 6.0 ...and the input's width is 100%, so is the ta
ble that
surrounds it, and the table that surrounds that table.  It's really a
 pain
in the arse, because an image or a blank input set to 100% doesn't caus
e a
problem, just if the text inside is too long...

Tyler
email | [EMAIL PROTECTED]

- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 9:48 AM
Subject: Re: OT: I need some smart pills for my HTML text boxes...



i'm trying to reproduce the prob in IE 5.5 but can't...what ver

sion are u
using?




Tyler Silcox [EMAIL PROTECTED] on 01/29/2002 08:37:30 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk [EMAIL PROTECTED]
cc:

Subject:  OT: I need some smart pills for my HTML text boxes...


I'm got a problem with my input type=text name=MyTextBox
style=width: 100% form fields...
The form displays correctly if the input box is empty, but if I return
to the form for an edit, and the value=#MyOutput# is longer than th

e
textbox should be for display, it pushes out the text box past the
screen width and everything above it.  I'd like it to behave, and jus

t
go to 100% of the screen (and not past it.)  Does anyone know of any
nifty tricks to get the text within the input to display as normal,
like it does when I set the width to a certain pixel width, and just
hide behind the end of the text box?  This app is iExplorer only, so an

y
of MS crazy attributes/properties would work for me, I just can't find
any that WILL work for me on text boxes, I've checked MSDN up and
down...thanks-

Tyler
email | [EMAIL PROTECTED]





__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: Client Variables and CFlocation

2002-01-29 Thread Dave Watts

  I knew that if you set a cookie and then cflocate in the 
  same page the cookie isn't set. I realize that client 
  variables could be affected if their default storage was 
  cookie, however if I was using an DB for the variable 
  storage I would suspect otherwise. My theory is incorrect 
  for some reason and Client variables using a DB can not be 
  set with a cflocate on the same page. Is this the common 
  behavior?
 
 Yes, this is common behavior. You see, there is no state 
 management on the web. There is no correlation between page 
 requests. The server can't tell one request from the other.

While there is no state management built into the HTTP protocol, it's
incorrect to state that you can't set Client variables in a database and use
CFLOCATION in the same page in most cases, even if you're using CFID and
CFTOKEN cookies to associate the browser with the Client scope.

Typically, when you set Client variables in a database, the CFID and CFTOKEN
cookies have already been accepted. So, even if you use CFLOCATION, the
browser will still subsequently send the two cookies to the page to which
you've redirected (assuming that you've redirected to a page within the same
site). The only time when this may not occur is on the initial page request
- if you use CFLOCATION there, the browser may not receive the cookies
created by the CFAPPLICATION tag.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: Client Variables and CFlocation

2002-01-29 Thread Neil H.

I realized I has ClientCookies=yes

Neil

- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 11:17 AM
Subject: Re: Client Variables and CFlocation


 It shouldn't be doing this.  If you're storing client variables in
 the

 DB, you can set client vars all you want and then cflocate.  I do it

 all the time.

   Yes, this is common behavior.  You see, there is no state

  management on

  the web.  There is no correlation between page requests.  The

  server can't

  tell one request from the other.
 

   To overcome this, ColdFusion creates some values: CFID and

  CFTOKEN.  (If

  you are using clustered servers, I believe it also uses a third

  cookie

  called CFMAGIC if you set domain cookies ).
 

   The values must be available on every page request to keep track

  of

  session and client variables.  Without the cookies, ColdFusion

  can't align

  the client variables in your client variable database with the

  current

  user.  You can either make the CFID / CFTOKEN values available by

  setting

  cookies (Which is the preferred method) or passing them in the

  URL.  Passing them in the URL can be a pain, although it is the

  only way to

  go if you want to avoid using cookies.
 

 

  --
  Jeffry Houser | mailto:[EMAIL PROTECTED]
  AIM: Reboog711  | ICQ: 5246969 | Fax / Phone: 860-223-7946
  --
  Need a Web Developer?  Contact me!
  My Book: Instant ColdFusion 5  | http://www.instantcoldfusion
 com
  My New Book: ColdFusion: A Beginner's Guide February 2002
  --
  Far Cry Fly, Alternative Folk Rock
  http://www.farcryfly.com | http://www.mp3.com/FarCryFly

  ___
 _
 __
  Dedicated Windows 2000 Server
   PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
   Instant Activation · $99/Month · Free Setup
   http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona

  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?sideb
 ar=lists
 
 
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: Client Variables and CFlocation

2002-01-29 Thread Mark A. Kruger - CFG

Rats Dave, I had a nice emailing explaining how this could only happen on
the same request that the cfid/cftoken where set on... and you pre-empted me
ha. I'll have to learn to type faster.
-mk

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 9:11 AM
To: CF-Talk
Subject: RE: Client Variables and CFlocation


  I knew that if you set a cookie and then cflocate in the
  same page the cookie isn't set. I realize that client
  variables could be affected if their default storage was
  cookie, however if I was using an DB for the variable
  storage I would suspect otherwise. My theory is incorrect
  for some reason and Client variables using a DB can not be
  set with a cflocate on the same page. Is this the common
  behavior?

 Yes, this is common behavior. You see, there is no state
 management on the web. There is no correlation between page
 requests. The server can't tell one request from the other.

While there is no state management built into the HTTP protocol, it's
incorrect to state that you can't set Client variables in a database and use
CFLOCATION in the same page in most cases, even if you're using CFID and
CFTOKEN cookies to associate the browser with the Client scope.

Typically, when you set Client variables in a database, the CFID and CFTOKEN
cookies have already been accepted. So, even if you use CFLOCATION, the
browser will still subsequently send the two cookies to the page to which
you've redirected (assuming that you've redirected to a page within the same
site). The only time when this may not occur is on the initial page request
- if you use CFLOCATION there, the browser may not receive the cookies
created by the CFAPPLICATION tag.

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

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: Client Variables and CFlocation

2002-01-29 Thread Jeffry Houser

At 12:10 PM 01/29/2002 -0500, you wrote:
   I knew that if you set a cookie and then cflocate in the
   same page the cookie isn't set. I realize that client
   variables could be affected if their default storage was
   cookie, however if I was using an DB for the variable
   storage I would suspect otherwise. My theory is incorrect
   for some reason and Client variables using a DB can not be
   set with a cflocate on the same page. Is this the common
   behavior?
 
  Yes, this is common behavior. You see, there is no state
  management on the web. There is no correlation between page
  requests. The server can't tell one request from the other.

While there is no state management built into the HTTP protocol, it's
incorrect to state that you can't set Client variables in a database and use
CFLOCATION in the same page in most cases, even if you're using CFID and
CFTOKEN cookies to associate the browser with the Client scope.

  I do not believe that is what I stated, although after re-reading his 
original post and my response I realize I did not address his issue.



The only time when this may not occur is on the initial page request
- if you use CFLOCATION there, the browser may not receive the cookies
created by the CFAPPLICATION tag.

  This was the situation I assumed the original poster was running into.



--
Jeffry Houser | mailto:[EMAIL PROTECTED]
AIM: Reboog711  | ICQ: 5246969 | Fax / Phone: 860-223-7946
--
Need a Web Developer?  Contact me!
My Book: Instant ColdFusion 5  | http://www.instantcoldfusion.com
My New Book: ColdFusion: A Beginner's Guide February 2002
--
Far Cry Fly, Alternative Folk Rock
http://www.farcryfly.com | http://www.mp3.com/FarCryFly
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: multi-page forms

2002-01-29 Thread Cornillon, Matthieu

Thanks to everyone for feedback on this issue.  This point that Matt
Robertson raises is an interesting one.  It does seem logical to me 
that the
completion rate for a long single-page form would be different from 
that of
a multi-page form.  I am a little confused, though, because the long 
form
that you propose, Matt, even though it is actually one long form, 
appears to
the user as though it is a multi-page form.  So the difference in 
completion
rate cannot fairly be attributed to difference in user experience.  
Does
that sound right to you?  If not, please let me know.  I may have
misunderstood something.

In any case, as I said, it's a very interesting point.  I was wondering
whether anyone else had any experience in comparing the two methods 
(long
single form vs. multi-part form) that they would mind relating for the 
list.

Thanks,
Matthieu

-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 12:13 AM
To: CF-Talk
Subject: RE: multi-page forms 


A required field (client side) would put a quick stop to that.  

Personally, I've found people dislike multipart forms... They want the
opportunity to evaluate whether a kitchen-sink form is worth their time
before beginning the process.  In split-run tests I've run the big form
has always had a higher completion rate over a multipart (where the 
user
fills the form voluntarily).

On this particular project I changed the rules and shortened the form
dramatically, taking it to bare essentials needed to generate a price
quote.  Completion rate in the last five weeks rose to a solid average
of 26% of all site visitors; hard for a graphic designer trying to 
apply
their 'vision' to argue with.

--Matt Robertson--
MSB Designs, Inc.
http://mysecretbase.com



-Original Message-
From: Andrew Scott [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 28, 2002 7:06 PM
To: CF-Talk
Subject: RE: multi-page forms 


Except that the user like I did could scroll down the page and skip the
previous selections. I personally consider this bad, only because I can
skip sections and got right to the last page. Maybe using hidden divs,
and the display them would be more beneficial.


-Original Message-
From: stas [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 29 January 2002 1:23 PM
To: CF-Talk
Subject: RE: multi-page forms 

Do I feel silly... I kind of skipped the bottom of your original
message. It is indeed an interesting approach then!




__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: multi-page forms

2002-01-29 Thread Matt Robertson

Andrew,

Looks like I mis-read your last post.  You're right.  Client-side
validation would be a bad thing.  I've always liked CF's native
server-side validation, although a lot of people dislike it.  You'd have
to write the messages carefully, keeping in mind the confusion factor.
If there were a lot of required fields I'd drop this idea entirely and
go with Choice B from the original poster's question, validating as I go
along. 

--Matt Robertson--
MSB Designs, Inc.
http://mysecretbase.com



-Original Message-
From: Andrew Scott [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 3:03 AM
To: CF-Talk
Subject: RE: multi-page forms 


Matt,

I am not sure where you got the back button from, I never mentioned it.
All I am saying is that if you are going to use an anchor to go to the
next section, why not just use one form?


-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 29 January 2002 6:42 PM
To: CF-Talk
Subject: RE: multi-page forms 

Andrew,

The problem you describe with multiple BACKs doesn't happen, actually.
The browser is not using CGI.HTTP_Referer to do its BACK work.  It has
its own internal mechanism that's smarter.  

I built this page to show that designer how he'd screwed up the image
sizes.  I found it still sitting on the server at 

http://lelandwest.com/testing/hopper.cfm

Go ahead and input something at Top, and steps 1-6.  Then press your
BACK button at the end of the process.  In IE 6, and NN 6.1 and 4.7x on
my dev box it properly steps back one stage at a time, regardless of the
fact that its stepping back inside the same template.  

If the decision were left up to me, I'd do one form; but that wasn't the
original poster's question.  He just wanted to break up his
simple-yet-long form.  No special processing in the middle.  Just a long
form.  There's a way to do that without any special coding while
delivering largely the same user experience.  It won't win you any
coding elegance awards, but it does the job as far as I can see.

--Matt Robertson--
MSB Designs, Inc.
http://mysecretbase.com




__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: more on regex question...

2002-01-29 Thread Jeff Fongemie

 Hello cf-talk,

 On Tue, 29 Jan 2002, at 11:35:15 you carefully wrote:
SO Wow, I just tried that to make sure it worked, and it gave me 100%
SO server utilization :)

SO This way works, I just tried it.

SO ReReplace(string,(.*2002),br)


Me too! 100% CPU!

But the above works perfectly! Thanks!!

Funny, (.*2002) looks so obvious now. I think I tried everything but
that.

Steve, Thanks again!
 


Best regards,
 Jeff Fongemie  mailto:[EMAIL PROTECTED]
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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



Another RegEx question

2002-01-29 Thread Shawn Grover

I find myself needing to find all the HREF values on a given page.  Regular
Expressions are the answer, but I haven't nailed the pattern yet.

Any help???

I've tried the following:
   \w+:\/\/[^/:]+:\d*?[^# ]*
   (\w+)://([^/:]+)(:\d+)?/(.*)[\s|]
   href=\S.*[\S|]

They tend to give me more than just the href value, like the next 3 tags and
text between em.
The first two patterns are directly from a microsoft article on this (I'm
working in VB too), with the first being the same as the second but no
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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 - CF and Developers Fees

2002-01-29 Thread Alex

Yes, it's easy to quit and get a job that pays at the very least 3 times
as much. You are worth what you are paid. You being paid $6/hr tells
future employers that you are inexperienced, desperate, or easily
taken advantage of. 

On Tue, 29 Jan 2002, Michael T. Tangorre wrote:

 Id rather attempt to get a new pay rate than to just quit..its easy to qu
it,
 its not as easy to get what you believe in... it takes work, that is why 
I
 polled the list for thoughts on rates.
 
 
 
 
 - Original Message -
 From: Alex [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, January 29, 2002 9:50 AM
 Subject: Re: Slightly OT - CF and Developers Fees
 
 
  If you don't like it quit. Why do you have to work at the university?
 
 
  On Tue, 29 Jan 2002, Michael T. Tangorre wrote:
 
   Hello Everyone,
  
   Can I get everyones opinion on something here...
   Here at the University, student workers make no more than $6.00/hour
   regardless of type of work. What do you think is a fair wage for some
one
 
   who learns Cold Fusion on the job and applies it at their job on a da
ily
 
   basis. Also, what do you think a fair wage is for someone who trains
   staff on basic CF, SQL, and server management stuff? Right now I work
   about 25 hours a week at $6/hr and take 18 credit load semester a
nd
 
   am frankly working to change a few things, but I need some numbers to
   back me up so I am looking for any averages or thoughts you have.
  
   Thanks,
  
   Mike
  
   PS--- Sorry for the off topic post on CF-Talk.
  
  
  
 
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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 - CF and Developers Fees

2002-01-29 Thread Michael T. Tangorre

good point...
but this job is a great reference for me.. in your opinion, how does that
play in?
I have had 2 great intenrships..one in DC and one in NYC that both paid
$25/hr.
Thsoe we each summer jobs, this webteam job has been mine for 4 years..what
if I lose the reference?  Im new to the finding a full time  job game  :-)
so any advice is greatly appreciated.


- Original Message -
From: Alex [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 12:49 PM
Subject: Re: Slightly OT - CF and Developers Fees


 Yes, it's easy to quit and get a job that pays at the very least 3 times
 as much. You are worth what you are paid. You being paid $6/hr tells
 future employers that you are inexperienced, desperate, or easily
 taken advantage of.

 On Tue, 29 Jan 2002, Michael T. Tangorre wrote:

  Id rather attempt to get a new pay rate than to just quit..its easy to
qu
 it,
  its not as easy to get what you believe in... it takes work, that is why
 I
  polled the list for thoughts on rates.
 
 
 
 
  - Original Message -
  From: Alex [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Tuesday, January 29, 2002 9:50 AM
  Subject: Re: Slightly OT - CF and Developers Fees
 
 
   If you don't like it quit. Why do you have to work at the university?
  
  
   On Tue, 29 Jan 2002, Michael T. Tangorre wrote:
  
Hello Everyone,
   
Can I get everyones opinion on something here...
Here at the University, student workers make no more than $6.00/hour
regardless of type of work. What do you think is a fair wage for
some
 one
  
who learns Cold Fusion on the job and applies it at their job on a
da
 ily
  
basis. Also, what do you think a fair wage is for someone who trains
staff on basic CF, SQL, and server management stuff? Right now I
work
about 25 hours a week at $6/hr and take 18 credit load semester
a
 nd
  
am frankly working to change a few things, but I need some numbers
to
back me up so I am looking for any averages or thoughts you have.
   
Thanks,
   
Mike
   
PS--- Sorry for the off topic post on CF-Talk.
   
   
  
 
 
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: Another RegEx question

2002-01-29 Thread Steve Oliver

If you just want the value of href, do something like:

Rereplacenocase(string, a href=([^]*), \1, ALL)

__
steve oliver
cresco technologies, inc.
http://www.crescotech.com


-Original Message-
From: Shawn Grover [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 1:10 PM
To: CF-Talk
Subject: Another RegEx question


I find myself needing to find all the HREF values on a given page.
Regular
Expressions are the answer, but I haven't nailed the pattern yet.

Any help???

I've tried the following:
   \w+:\/\/[^/:]+:\d*?[^# ]*
   (\w+)://([^/:]+)(:\d+)?/(.*)[\s|]
   href=\S.*[\S|]

They tend to give me more than just the href value, like the next 3 tags
and
text between em.
The first two patterns are directly from a microsoft article on this
(I'm
working in VB too), with the first being the same as the second but no

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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



CFQUERYPARAM, decimals and SQL Server

2002-01-29 Thread ksuh

Arrgg.

I'm trying to insert a number like 99.99 into SQL Server via 
cfqueryparam.  However, I'm getting an Unknown Data Access Error.

The code is:

UPDATE  tCompVC
SET dtASDate = getDate(),
tmASTime = getDate(),
fGSTRate1 = cfqueryparam value=#val
(form.fGSTRate1)# cfsqltype=CF_SQL_DECIMAL scale=2,
fGSTRate2 = cfqueryparam value=#val
(form.fGSTRate2)# cfsqltype=CF_SQL_DECIMAL scale=2,

The fields in SQL Server are of datatype decimal(24, 2).

Any ideas?
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: multi-page forms

2002-01-29 Thread Matt Robertson

Matthieu penned:
 It does seem logical to me that the completion rate for a long 
 single-page form would be different from that of a multi-page form.  
 I am a little confused, though, because the long form that you 
 propose, Matt, even though it is actually one long form, appears 
 to the user as though it is a multi-page form.  So the difference 
 in completion rate cannot fairly be attributed to difference in 
 user experience.  Does that sound right to you?  If not, please 
 let me know.  I may have misunderstood something.

The long form I referenced was the one found at
http://64.37.102.68/online/onlinequote.html.  The designer took my big
single form and broke it up.  When I saw the designer's work I objected
to it, and wanted to prove it was a bad idea, though I thought his
method of accomplishing the job -- the single long hoppity-hopping form
bit -- was interesting (he did this, BTW, to make his multipart concept
work with the existing CF coding).

The form was running on several sites.  I built a multipart ver and put
it on some of them.  Completion rates promptly collapsed.  

Your users may not object to this the way mine did.  I don't know what
your application is, but for my particular one being up-front about all
the info required to get a result was a better idea.

If you *want* a multi-page form, that method may be a simple solution as
long as your needs are also simple. As Andrew pointed out, field
validation and user confusion are issues you have to consider as well.
It may make more sense to validate at each step, and that means this
long-form bit won't work.

--Matt Robertson--
MSB Designs, Inc.
http://mysecretbase.com

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: JET

2002-01-29 Thread Mike Alberts

I think the article you mention gives the answer to 'what's the view in the 
cf community':

The Access ODBC Driver and Microsoft OLE DB Provider for Microsoft Jet are 
not intended to be used with high-stress, high-concurrency, 24x7 server 
applications, such as web, commerce, transactional, messaging servers, and 
so on.

Why use Access at all? If a commercial DBMS isn't a viable solution, why not 
use MySQL or Postgre or Interbase (or it's open source cousin, Firebird).

My .02



Date: Tue, 29 Jan 2002 15:22:28 +1030
From: Parker, Kevin [EMAIL PROTECTED]
Subject: JET
Message-ID: 
 [EMAIL PROTECTED].au

This was drawn to my attention today (extract below) and I traditionally 
use
Access via an ODBC connection for small apps. The full article can be 
 found
at http://support.microsoft.com/default.aspx?scid=kb;EN-US;q222135

***
When running Microsoft Jet in an IIS environment, it is recommended that 
you use the native Jet OLE DB Provider in place of the Microsoft Access 
ODBC driver. The Microsoft Access ODBC driver (Jet ODBC driver) can have 
stability issues due to the version of Visual Basic for Applications that 
is invoked because the version is not thread safe. As a result, when 
multiple concurrent users make requests of a Microsoft Access database, 
unpredictable results may occur. The native Jet OLE DB Provider includes 
fixes and enhancements for stability, performance, and thread pooling 
(including calling a thread-safe version of Visual Basic for 
Applications).


What's the view in the CF Community - should I switch strategies here - is 
this a problem using CF?





_
Send and receive Hotmail on your mobile device: http://mobile.msn.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



Studio makes me log in to 127.0.0.1

2002-01-29 Thread Jeff Fongemie

Tuesday, January 29, 2002, 1:38:47 PM
Hello cf-talk,

  Just recently, when I browse in studio, it makes me log in to my
  local domain 127.0.0.1. Not always, but sometimes. It seems almost
  random. Anyone else get this?




Best regards,
 Jeff Fongemie  mailto:[EMAIL PROTECTED]
 
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: https requests from CF

2002-01-29 Thread Lewis Sellers

On Tue, 29 Jan 2002 09:59:28 -0500, Dave Watts [EMAIL PROTECTED]
wrote:

 Also, has anyone ever used cfx_tcpclient for an https 
 transaction - if so, is that a better solution than cfhttp?

I don't think the current version supports HTTPS or any SSL/TLS type

True.

See ... http://www.intrafoundation.com/forums.cfm?id=78. It's a forum
post that describes everything that is to be in version 3.x of the
tcpclient. Well, the COM version anyway.

The current 2.x version does not contain the cryptographic code to
support https.

--min
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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 - CF and Developers Fees

2002-01-29 Thread Kreig Zimmerman

There's no point in getting paid less than you're worth.

References are anyone you know who knows your work/you've worked with in a
professional setting.  Don't get hung up on them, especially for $6/hr.

For that money, you could work in a record store and have a helluva lot more
fun!

- Original Message -
From: Michael T. Tangorre [EMAIL PROTECTED]


 good point...
 but this job is a great reference for me.. in your opinion, how does that
 play in?
 I have had 2 great intenrships..one in DC and one in NYC that both paid
 $25/hr.
 Thsoe we each summer jobs, this webteam job has been mine for 4
years..what
 if I lose the reference?  Im new to the finding a full time  job game  :-)
 so any advice is greatly appreciated.


__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: Studio makes me log in to 127.0.0.1

2002-01-29 Thread Joseph DeVore

I would check your development mappings.

In Studio hit F8 and then click Browse
then click the Development mappings button


HTH,

Joseph DeVore
VeloxWeb Technologies



-Original Message-
From: Jeff Fongemie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 10:41 AM
To: CF-Talk
Subject: Studio makes me log in to 127.0.0.1


Tuesday, January 29, 2002, 1:38:47 PM
Hello cf-talk,

  Just recently, when I browse in studio, it makes me log in to my
  local domain 127.0.0.1. Not always, but sometimes. It seems almost
  random. Anyone else get this?




Best regards,
 Jeff Fongemie  mailto:[EMAIL PROTECTED]


__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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 - CF and Developers Fees

2002-01-29 Thread Alex

You quit a job not a reference. Hey, send in some UDFs to cflib.org
if they are usable I am sure anyone who uses them could be your reference.
 

On Tue, 29 Jan 2002, Michael T. Tangorre wrote:

 good point...
 but this job is a great reference for me.. in your opinion, how does that
 play in?
 I have had 2 great intenrships..one in DC and one in NYC that both paid
 $25/hr.
 Thsoe we each summer jobs, this webteam job has been mine for 4 years..wh
at
 if I lose the reference?  Im new to the finding a full time  job game  :-
)
 so any advice is greatly appreciated.
 
 
 - Original Message -
 From: Alex [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, January 29, 2002 12:49 PM
 Subject: Re: Slightly OT - CF and Developers Fees
 
 
  Yes, it's easy to quit and get a job that pays at the very least 3 time
s
  as much. You are worth what you are paid. You being paid $6/hr tells
  future employers that you are inexperienced, desperate, or easily
  taken advantage of.
 
  On Tue, 29 Jan 2002, Michael T. Tangorre wrote:
 
   Id rather attempt to get a new pay rate than to just quit..its easy t
o
 qu
  it,
   its not as easy to get what you believe in... it takes work, that is 
why
  I
   polled the list for thoughts on rates.
  
  
  
  
   - Original Message -
   From: Alex [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Tuesday, January 29, 2002 9:50 AM
   Subject: Re: Slightly OT - CF and Developers Fees
  
  
If you don't like it quit. Why do you have to work at the universit
y?
   
   
On Tue, 29 Jan 2002, Michael T. Tangorre wrote:
   
 Hello Everyone,

 Can I get everyones opinion on something here...
 Here at the University, student workers make no more than $6.00/h
our
 regardless of type of work. What do you think is a fair wage for
 some
  one
   
 who learns Cold Fusion on the job and applies it at their job on 
a
 da
  ily
   
 basis. Also, what do you think a fair wage is for someone who tra
ins
 staff on basic CF, SQL, and server management stuff? Right now I
 work
 about 25 hours a week at $6/hr and take 18 credit load semester..
.
 a
  nd
   
 am frankly working to change a few things, but I need some number
s
 to
 back me up so I am looking for any averages or thoughts you have.

 Thanks,

 Mike

 PS--- Sorry for the off topic post on CF-Talk.


   
  
  
 
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: Studio makes me log in to 127.0.0.1

2002-01-29 Thread Jennifer Larkin

At 01:41 PM 1/29/02 -0500, you wrote:
Tuesday, January 29, 2002, 1:38:47 PM
Hello cf-talk,

   Just recently, when I browse in studio, it makes me log in to my
   local domain 127.0.0.1. Not always, but sometimes. It seems almost
   random. Anyone else get this?

Are you logging onto Windows as a user? If you logged in as a different 
user it wouldn't surprise me if you had to put in a password.


Now available in a San Francisco Bay Area near you!
http://www.blivit.org/mr_urc/index.cfm
http://www.blivit.org/mr_urc/resume.cfm
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: multi-page forms

2002-01-29 Thread Cornillon, Matthieu

In my application, the users have no choice but to go through the 
system, so
I don't need to worry about driving off customers, but I certainly 
don't
want to complicate the user experience any more than I have to.  I see 
the
problem with presenting form after form to a user who thought it would 
only
take a few minutes to go through.  In my own experience, I've always
appreciated the wizard style forms that indicated what step I was on 
with
tabs or something.  Even if it just says Step 2 of 4 or something, I 
think
it gives a cleaner idea.  Since my steps are each very simple, I think 
that
I'll avoid irking the majority of the masses.  At least I hope so.  
Gulp.

Thanks again for your input.

Matthieu

-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 1:27 PM
To: CF-Talk
Subject: RE: multi-page forms 


Matthieu penned:
 It does seem logical to me that the completion rate for a long 
 single-page form would be different from that of a multi-page form.  
 I am a little confused, though, because the long form that you 
 propose, Matt, even though it is actually one long form, appears 
 to the user as though it is a multi-page form.  So the difference 
 in completion rate cannot fairly be attributed to difference in 
 user experience.  Does that sound right to you?  If not, please 
 let me know.  I may have misunderstood something.

The long form I referenced was the one found at
http://64.37.102.68/online/onlinequote.html.  The designer took my big
single form and broke it up.  When I saw the designer's work I objected
to it, and wanted to prove it was a bad idea, though I thought his
method of accomplishing the job -- the single long hoppity-hopping form
bit -- was interesting (he did this, BTW, to make his multipart concept
work with the existing CF coding).

The form was running on several sites.  I built a multipart ver and put
it on some of them.  Completion rates promptly collapsed.  

Your users may not object to this the way mine did.  I don't know what
your application is, but for my particular one being up-front about all
the info required to get a result was a better idea.

If you *want* a multi-page form, that method may be a simple solution 
as
long as your needs are also simple. As Andrew pointed out, field
validation and user confusion are issues you have to consider as well.
It may make more sense to validate at each step, and that means this
long-form bit won't work.

--Matt Robertson--
MSB Designs, Inc.
http://mysecretbase.com


__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: CFQUERYPARAM, decimals and SQL Server

2002-01-29 Thread Chris Norloff

Does it error if you use cfsqltype=cf_sql_numeric?

Chris Norloff

-- Original Message --
from: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Tue, 29 Jan 2002 11:24:10 -0700

Arrgg.

I'm trying to insert a number like 99.99 into SQL Server via 
cfqueryparam.  However, I'm getting an Unknown Data Access Error.

The code is:

UPDATE tCompVC
   SET dtASDate = getDate(),
   tmASTime = getDate(),
   fGSTRate1 = cfqueryparam value=#val
(form.fGSTRate1)# cfsqltype=CF_SQL_DECIMAL scale=2,
   fGSTRate2 = cfqueryparam value=#val
(form.fGSTRate2)# cfsqltype=CF_SQL_DECIMAL scale=2,

The fields in SQL Server are of datatype decimal(24, 2).

Any ideas?

__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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: Changing access

2002-01-29 Thread Janine Jakim

That's what I decided on.  But then the question arised on which table
should it be in- the user table or the group table...I figured it 
better be
the user table since they may be in more than one group.

-Original Message-
From: Gyrus [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 5:29 PM
To: CF-Talk
Subject: Re: Changing access


 Actually the admin would open it back up to the original
 user to edit/make changes.

Why not stick a field in the table storing each bit of info:
if null/0, info can only be edited if it's from current quarter;
if not, it's the ID of the user who's allowed to edit it
at any time. The admin could have access to altering
this permission field as and when.

- Gyrus


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


__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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



pausing

2002-01-29 Thread Adrian Cesana

I have a template that updates a few records then a backend process grabs
the information and also performs an update.  The backend process usually
takes between 5-20 seconds.  Whats the best method of pausing?  I want to
pause for 5 seconds issue a message and then after 5 seconds run query to
see if the backend process completed, if NO issue another message, pause
again for 5 etc..  Ill do this up to 30 seconds if no response than I will
end the pause/loop and issue a message.

I was thinking about just running a cfloop but I am told this will pin my
CPU at 100%.  There is a CFX_sleep I see, anyone use this? is it production
safe?

Thanks,Adrian
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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: Studio makes me log in to 127.0.0.1-fixed!

2002-01-29 Thread Jeff Fongemie

 Hello cf-talk,

 On Tue, 29 Jan 2002, at 11:20:43 you carefully wrote:
JD I would check your development mappings.


 I found the problem, and fixed it, but have no idea why it was a
 problem.

 I have a random picture on a display page. The location of all the
 random images was in a subdirectory of images directory. I moved the
 random image directory out and to root, and changed the img source=
 to reflect that.

 So, from images/random

 to random.

 For what appears to me a simple organizational change,
 studio/CFserver loved.

 Who knows, but now no more logging in, and studio pops the file open
 immediately.


Best regards,
 Jeff Fongemie  mailto:[EMAIL PROTECTED]
 
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: Changing access

2002-01-29 Thread Gyrus

 That's what I decided on.  But then the question arised on which table
 should it be in- the user table or the group table...I figured it 
 better be the user table since they may be in more than one group.

I was actually suggesting you put the field in the table that
stores the info records - a record can be set to be editable
by the user whose ID is in this field.

Not sure what you're doing with users/groups - the way I use
them with permissions, each user is only in one group.

- Steve


- [EMAIL PROTECTED]
- http://www.tengai.co.uk/steve
- tel: (020) 8533 3830
- mobile: (07939) 824 530

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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 - CF and Developers Fees

2002-01-29 Thread Billy Cravens

Yeah, but it's pretty hard to do that and maintain an 18 hour load in school
(if you were lucky enough to find a place that would hire a full-time
college student and pay them market)

Also, there's something to be said for sticking it out - it's by no means a
rule, but some companies don't like job hoppers (even though the situation
was well justified - some hiring manager are too dense to see between the
lines of your resume)

- Original Message -
From: Alex [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 11:49 AM
Subject: Re: Slightly OT - CF and Developers Fees


 Yes, it's easy to quit and get a job that pays at the very least 3 times
 as much. You are worth what you are paid. You being paid $6/hr tells
 future employers that you are inexperienced, desperate, or easily
 taken advantage of.

 On Tue, 29 Jan 2002, Michael T. Tangorre wrote:

  Id rather attempt to get a new pay rate than to just quit..its easy to
qu
 it,
  its not as easy to get what you believe in... it takes work, that is why
 I
  polled the list for thoughts on rates.
 
 
 
 
  - Original Message -
  From: Alex [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Tuesday, January 29, 2002 9:50 AM
  Subject: Re: Slightly OT - CF and Developers Fees
 
 
   If you don't like it quit. Why do you have to work at the university?
  
  
   On Tue, 29 Jan 2002, Michael T. Tangorre wrote:
  
Hello Everyone,
   
Can I get everyones opinion on something here...
Here at the University, student workers make no more than $6.00/hour
regardless of type of work. What do you think is a fair wage for
some
 one
  
who learns Cold Fusion on the job and applies it at their job on a
da
 ily
  
basis. Also, what do you think a fair wage is for someone who trains
staff on basic CF, SQL, and server management stuff? Right now I
work
about 25 hours a week at $6/hr and take 18 credit load semester
a
 nd
  
am frankly working to change a few things, but I need some numbers
to
back me up so I am looking for any averages or thoughts you have.
   
Thanks,
   
Mike
   
PS--- Sorry for the off topic post on CF-Talk.
   
   
  
 
 
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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 - CF and Developers Fees

2002-01-29 Thread Billy Cravens

I'd agree.  It sounds like a decent gig for college (I would have loved this
when I was in school, far more than working for a record store or any other
typical college job).  However, you might want to look to some other
resources - economics for a student working for the college are
significantly different than a seasoned developer working in the private
sector.  I think the closest match would be the non-profit market sector.


- Original Message -
From: Michael T. Tangorre [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 10:55 AM
Subject: Re: Slightly OT - CF and Developers Fees


 Id rather attempt to get a new pay rate than to just quit..its easy to
quit,
 its not as easy to get what you believe in... it takes work, that is why I
 polled the list for thoughts on rates.




 - Original Message -
 From: Alex [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, January 29, 2002 9:50 AM
 Subject: Re: Slightly OT - CF and Developers Fees


  If you don't like it quit. Why do you have to work at the university?
 
 
  On Tue, 29 Jan 2002, Michael T. Tangorre wrote:
 
   Hello Everyone,
  
   Can I get everyones opinion on something here...
   Here at the University, student workers make no more than $6.00/hour
   regardless of type of work. What do you think is a fair wage for
someone
 
   who learns Cold Fusion on the job and applies it at their job on a
daily
 
   basis. Also, what do you think a fair wage is for someone who trains
   staff on basic CF, SQL, and server management stuff? Right now I work
   about 25 hours a week at $6/hr and take 18 credit load semester
and
 
   am frankly working to change a few things, but I need some numbers to
   back me up so I am looking for any averages or thoughts you have.
  
   Thanks,
  
   Mike
  
   PS--- Sorry for the off topic post on CF-Talk.
  
  
 
 
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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



Getting the id of the row you just inserted...

2002-01-29 Thread Voris, Jim

It seems to me that there are three basic ways to get the id of the row you
just inserted.
1)  @@identity
and
2)  cflocking the insert statement and the select max(id) statement.
and
3)  qualifying the select max(id) statement to avoid problems caused by
multiple threads.

I'm curious which method people use and which they find to be the best.

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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   >