RE: Referencing an array item

2001-05-29 Thread Steve Vosloo

But I have 3 arrays, so it will really need to look like:

Application.SM1[n][element]
Application.SM2[n][element]
Application.SM3[n][element]

I can't see how else to work around this.



 -Original Message-
 From: Christopher Olive, CIO [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 28, 2001 8:31 PM
 To: CF-Talk
 Subject: RE: Referencing an array item


 ray has an excellent point.  however, why not exploit the nature
 of arrays?
 if you make Application.Sm an array with three elements, each one
 the arrays
 sm1..3, then you can reference an element in SM(n) by
 Application.SM[n][element].  you don't have to futz with string evaluation
 at all.

 chris olive, cio
 cresco technologies
 [EMAIL PROTECTED]
 http://www.crescotech.com



 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 28, 2001 8:41 AM
 To: CF-Talk
 Subject: Referencing an array item


 I have 3 arrays, which are assigned to the application scope:

 cfset Application.SM1 = SM1
 cfset Application.SM2 = SM2
 cfset Application.SM3 = SM3

 My custom tag receives a number (1,2 or 3), and with that I reference the
 correct array. I need to dynamically use this number to reference the
 correct array, e.g.

 #ArrayLen(application.SM  attributes.Num)#

 (The above code does not work.) Any help would be much
 appreciated!! Thanks
 in advance.

 Steve


 Development Manager
 Vardus Internet Solutions (SA)

 Tel: (+27) 21 670 9880
 Fax: (+27) 21 674 4549

 Email: [EMAIL PROTECTED]
 Website: www.vardus.com

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

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



Re: SSL, IIS CF...

2001-05-29 Thread Brandon Wood

Jim,

Right now, I have only 2 IP Addresses available to use.  1 for the machine,
and 1 for the site.  Right now, I am using the machine's IP and the site's
for the regular http site.  I haven't dedicated one of those for the SSL
key, which I could.

Right now, when I click advanced, I only see port 80 attached to the site's
IP.  What dould you recommend?  I do have two IPs available to use.  So are
you saying that I create a single site in the MMC and then create 2 virtual
directories each having a different IP or are you saying to create 2 sites
with each pointing to the same home directory but with different ports and
different IPs bound to the same?

You are really helping me out here...I haven't message with virtual hosting
and leave most of the hosting side of things to those who know better...but
in this case, I am the only one holding the bag.

If you can be specific in what should go in the site parameters, the IP
config for both the ports and sites, advanced properties and possible host
header places, I think I might just be on my way...for the record, I guess I
do have two IPs I can use, I can point the Key to either of them in the Key
Manager and have nothing more to losehehe

Thanks a ton,
Brandon

- Original Message -
From: Jim McAtee [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 12:24 AM
Subject: Re: SSL, IIS  CF...


 That sounds like the way I usually set it up.  Under the virtual site's
 properties you have TCP port 80 and SSL port 443 specified.  If you click
 'Advanced' you should see both ports bound to their respective IP address
or
 host header.

 Are you using host headers (IPless domains) on your web server?  If you're
 using host headers, remember that for SSL you need to have an IP address
to
 which you bind the certificate.  So, you could use host headers for the
 non-SSL (port 80) site, but you need an IP for SSL.  Since you need a
 (dedicated) IP address for SSL on this site anyway, I'd just set up the
 http/port80 side using standard IP-based domain resolution as well and not
 use host headers at all for this particular virtual site.

 Have you completed installation of the certificate in Key Manager and
 pointed it to the correct IP address?

 Jim


 - Original Message -
 From: Brandon Wood [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Monday, May 28, 2001 11:03 PM
 Subject: Re: SSL, IIS  CF...


  Jim,
 
  I issued the cert under the standard www.mysite.com.  I haven't set up
two
  virtual sites using different ports.  Is that the key?  And if so, how
can
  you set them up to both use the same dir?
 
  I have tried to just use a single site with both ports open and that
 doesn't
  seem to work.  Every time I try to connect to the https URL, I get a
page
  not found error--for the same template I can call with no problem using
 the
  standard http request.
 
  Thanks for your help, by the way.  I think you are on thr right track to
  getting me edumacated...or as Stan says, You must no ssl sites good.
 
  Cheers and clarification,
  Brandon



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

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



Request vs application scope

2001-05-29 Thread Steve Vosloo

I am using the following line of code in my application.cfm

cfset request.HomeDir = http://127.0.0.1/work/ACME/may2001/website;

Then elsewhere in the site I refer all links and images to:

cfoutput#request.HomeDir#/cfoutput

Is this OK to do? I'm trying to avoid using the application scope. Are there
any known of issues with this method?

Thanks.
Steve





Development Manager
Vardus Internet Solutions (SA)

Tel: (+27) 21 670 9880
Fax: (+27) 21 674 4549

Email: [EMAIL PROTECTED]
Website: www.vardus.com


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

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



Logon Attempts

2001-05-29 Thread Jerry Staple

Could anyone inform tell me what would be the best way to implement a
logon page where the user gets 3 attempts to logon,after the 3 attempts
the user is directed elsewhere.I have tried setting a variable on the
application page then adding +1 when it goes to the Logon_Action.cfm but
to no avail.

Help


Regards
Jerry Staple
Web Applications Developer 
Biznet Solutions 
133 - 137 Lisburn Road 
Belfast 
BT9 7AG 
www.biznet-solutions.com 
Tel: +44 (0)28 90205652
Fax: +44 (0)28 9022 3223 



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

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



Re: Logon Attempts

2001-05-29 Thread Bryan LaPlante

To resolve the problem put this code into login.cfm
cfif isDefined(client.counterVar)
cfset client.counterVar = IncrementValue(client.counterVar)
cfelse
cfset client.counterVar = 1
/cfif

You can use cfinclude or call the login.cfm as a custom tag, either way the
client scope will persist to the next page load where you can check it for
the appropriate action.

- Original Message -
From: Jerry Staple [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 2:35 AM
Subject: Logon Attempts


 Could anyone inform tell me what would be the best way to implement a
 logon page where the user gets 3 attempts to logon,after the 3 attempts
 the user is directed elsewhere.I have tried setting a variable on the
 application page then adding +1 when it goes to the Logon_Action.cfm but
 to no avail.

 Help


 Regards
 Jerry Staple
 Web Applications Developer
 Biznet Solutions
 133 - 137 Lisburn Road
 Belfast
 BT9 7AG
 www.biznet-solutions.com
 Tel: +44 (0)28 90205652
 Fax: +44 (0)28 9022 3223




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

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



Curious about CFIF

2001-05-29 Thread Tony Hicks

When you have a CFIF with a CFELSE or CFELSE IF... does cold fusion only
read the code inside the matching condition?

For instance

cfif name is 'bob'
Name = Bob
cfelseif name is 'joe'
Name = Joe
/cfif

If the name is 'bob' does CF pay any attention to the content to be
processed if the name is joe? and if the name is joe, does it pay any
attention to bob's content since it comes first...?

Curious,
Tony Hicks
- Original Message -
From: Bryan LaPlante [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 3:12 AM
Subject: Re: Logon Attempts


 To resolve the problem put this code into login.cfm
 cfif isDefined(client.counterVar)
 cfset client.counterVar = IncrementValue(client.counterVar)
 cfelse
 cfset client.counterVar = 1
 /cfif

 You can use cfinclude or call the login.cfm as a custom tag, either way
the
 client scope will persist to the next page load where you can check it for
 the appropriate action.

 - Original Message -
 From: Jerry Staple [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2001 2:35 AM
 Subject: Logon Attempts


  Could anyone inform tell me what would be the best way to implement a
  logon page where the user gets 3 attempts to logon,after the 3 attempts
  the user is directed elsewhere.I have tried setting a variable on the
  application page then adding +1 when it goes to the Logon_Action.cfm but
  to no avail.
 
  Help
 
 
  Regards
  Jerry Staple
  Web Applications Developer
  Biznet Solutions
  133 - 137 Lisburn Road
  Belfast
  BT9 7AG
  www.biznet-solutions.com
  Tel: +44 (0)28 90205652
  Fax: +44 (0)28 9022 3223
 
 
 
 

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

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



RE: Spectra still going?

2001-05-29 Thread Thomas Chiverton

Its still being bug fixed, iirc, and will eventualy be rolled into the
mainstream CF server, and/or community sourced.

 -Original Message-
 From: JoshMEagle [mailto:[EMAIL PROTECTED]]
 Sent: 25 May 2001 13:22
 To: CF-Talk
 Subject: Spectra still going?
 
 
 I heard recently that Spectra is falling by the wayside and 
 will not be
 developed past v1.5, but now I'm seeing all kinds of articles 
 on Spectra in
 the Fusion Authority Newsletter, CFDJ, Macromedia's site, 
 etc. What gives?
 Are they cancelling it or is Spectra just such a great product that it
 doesn't need to go past 1.5 ?
 
 Joshua Miller
 Web Development
 Eagle Technologies Group
 Technology Solutions for the Next Generation
 www.eagletgi.com
 [EMAIL PROTECTED] 
 
 
 

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

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



RE: rules for random phrase generators

2001-05-29 Thread Daniel Kemp

 -Original Message-
 From: Rich Wild [mailto:[EMAIL PROTECTED]]

 Has anyone developed (in CF or otherwise) a random phrase or
sentence
 generator?

I did a simple hack, which proved fun (but v.slow) for a while.
(look at http://www.sincity.com/penn-n-teller/pcc/shaney.html, and do
a search for Mark V. Shaney on google)

Set up a table as such, with the following field,

word1, word2, word3, word4.

Now scan through a large block of text (Poems, Wordsworth, usenet
etc), start with the first word, put it, and the following three words
into the table.  So for something like Once upon a time, in a land
far, far away You'd end up with...

word1   word2   word3   word4
~ ~ ~ ~
Onceupona   time,
upona   time,   in
a   time,   in  a
time,   in  a   land
in  a   landfar,
a   landfar,far
landfar,far away


The code that generates the text works along the following lines
(tweaked if you don't get any matches)...

Give it three words (i.e.. Once, upon  a)

cfset word1 = Once  //  Set the first three words here
cfset word2 = upon  //
cfset word3 = a //

cfoutput#word1# #word2# #word3#/cfoutput

!--- Starting a loop here would be a good idea ---
cfquery name=getWord
  SELECT word4
  FROM wordCollection1
  WHERE word1 = '#word1#'
  AND word2 = '#word2#'
  AND word3 = '#word3#'
/cfquery

!--- pick a random word 4 from the records returned (add checking for
no records ---
cfset word4 = getWord.word4[randRange(1,getWord.recordCount)]

cfoutput#word4#/cfoutput

!--- shift the words to get a new set of three ---
cfset word1 = word2
cfset word2 = word3
cfset word3 = word4

!--- Go and do it all again, until you die, or some such ---

-

With a very small amount of sample text, you basically get spat back
at you exactly what go put in.  If you use too much text, then the
results will seem too much like random waffle.  With a sample text
size of about 2000-3000 you can get a very interesting result, which
sounds it should make some kinda of sense.

I did this with Jeff Noons books, the results while different, did
seem to be in the style of Jeff Noon :)

I stopped the project as there was too many hits to the database (as
you can see).  I've been waiting until I install CF5, so I can cache a
query pulling all the rows out of the table, and then query that.



This message is intended only for the use of the person(s) (the intended 
recipient(s)) to whom it is addressed.

It may contain information which is privileged and confidential within the meaning of 
the applicable law. 
If you are not the intended recipient, please contact the sender as soon as possible.
The views expressed in this communication may not necessarily be the views held by 
Live Information Systems Limited.



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

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



RE: Paste Screen Capture into a browser and submit it

2001-05-29 Thread Mark Warrick

The web is a stateless environment.  While a person browses the web with a
standard web browser, connections to a website are only opened long enough
to process a client request to or from a server.  It is therefore impossible
to use standard HTML to maintain a connection between the client and server.
Without some sort of 3rd-party browser enhancement that coincidentally
cannot be installed without the users's knowledge and approval, what you are
proposing would simply be impossible.

A printscreen probably wouldn't do you any good anyway to capture that kind
of information because based upon the users's screen resolution, how large a
window their browser was in, and what part of the error page they may have
not scrolled to may or not include all the information you want to capture.

A better way to handle errors is by using error-trapping techniques.  Errors
write to the server log files, and you could parse through those.  Or you
could read into how ColdFusion can handle and report errors to you.  Some
people use custom error message templates.

http://127.0.0.1/cfdocs/Developing_Web_Applications_with_ColdFusion/08_Debug
ging_and_Error_Handling/dwa08_05.htm

---mark



Mark Warrick - Fusioneers.com
Email: [EMAIL PROTECTED]
Phone: 714-547-5386
http://www.fusioneers.com
http://www.warrick.net


 -Original Message-
 From: Don VanMeter [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 28, 2001 11:00 PM
 To: CF-Talk
 Subject: Paste Screen Capture into a browser and submit it


 I am stumped.  Are there any CF Gods out there?

 I need to add the capability of a user to paste a screen capture(alt -
 print screen) of a windows application error,  into a browser form
 without the user having to open another application, save the
 image , close
 the application, find the saved file, select it and then upload it.  I am
 not talking about text, I am talking about the bitmap created
 from a screen
 capture .  I don't know if it resides in the clipboard.  The user needs to
 be able to paste it into a browser page and submit it.

 I tried CFX_DynamicImage and it brought my server to it's knees.

 Any Ideas?

 Thanks,
 Don



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

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



RE: Logon Attempts

2001-05-29 Thread Mark Warrick

Try putting this in the top of your template.  Make sure your session
variables are turned on in the application.cfm file.

cfparam name=session.login_attempts default=0

cfset session.login_attempts=session.login_attempts+1

cfif session.login_attempts gt 3

cflocation url = whatever.cfm

/cfif



Mark Warrick - Fusioneers.com
Email: [EMAIL PROTECTED]
Phone: 714-547-5386
http://www.fusioneers.com
http://www.warrick.net


 -Original Message-
 From: Jerry Staple [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 12:36 AM
 To: CF-Talk
 Subject: Logon Attempts


 Could anyone inform tell me what would be the best way to implement a
 logon page where the user gets 3 attempts to logon,after the 3 attempts
 the user is directed elsewhere.I have tried setting a variable on the
 application page then adding +1 when it goes to the Logon_Action.cfm but
 to no avail.

 Help


 Regards
 Jerry Staple
 Web Applications Developer
 Biznet Solutions
 133 - 137 Lisburn Road
 Belfast
 BT9 7AG
 www.biznet-solutions.com
 Tel: +44 (0)28 90205652
 Fax: +44 (0)28 9022 3223




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

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



RE: Spectra still going?

2001-05-29 Thread Andrew Scott

The reports that I have read and some are officially from Macromedia, is
that they have indicated that Spectra will no longer be maintained in
its current format...

But that doesn't mean Spectra is gone, I think Macromedia have realised
that the overheads Spectra have introduced will be swallowed by CF and
become part of the core as functions and cftags that should have
happened right from the start.

Anyway that is how I have read it, anyone else!!



 -Original Message-
 From: Thomas Chiverton [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, 29 May 2001 6:38 PM
 To: CF-Talk
 Subject: RE: Spectra still going?
 
 Its still being bug fixed, iirc, and will eventualy be rolled into the
 mainstream CF server, and/or community sourced.
 
  -Original Message-
  From: JoshMEagle [mailto:[EMAIL PROTECTED]]
  Sent: 25 May 2001 13:22
  To: CF-Talk
  Subject: Spectra still going?
 
 
  I heard recently that Spectra is falling by the wayside and
  will not be
  developed past v1.5, but now I'm seeing all kinds of articles
  on Spectra in
  the Fusion Authority Newsletter, CFDJ, Macromedia's site,
  etc. What gives?
  Are they cancelling it or is Spectra just such a great product that
it
  doesn't need to go past 1.5 ?
 
  Joshua Miller
  Web Development
  Eagle Technologies Group
  Technology Solutions for the Next Generation
  www.eagletgi.com
  [EMAIL PROTECTED]
 
 
 
 

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

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



RE: Curious about CFIF

2001-05-29 Thread Mark Warrick

The conditional statement is evaluated in order.

In this case, if the value of the var name was bob, then Name = Bob
would be displayed.

If the value of the var name was bob's content, then neither of these
conditions would be true, therefore, nothing would display.

---mark


Mark Warrick - Fusioneers.com
Email: [EMAIL PROTECTED]
Phone: 714-547-5386
http://www.fusioneers.com
http://www.warrick.net


 -Original Message-
 From: Tony Hicks [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 1:14 AM
 To: CF-Talk
 Subject: Curious about CFIF


 When you have a CFIF with a CFELSE or CFELSE IF... does cold fusion only
 read the code inside the matching condition?

 For instance

 cfif name is 'bob'
 Name = Bob
 cfelseif name is 'joe'
 Name = Joe
 /cfif

 If the name is 'bob' does CF pay any attention to the content to be
 processed if the name is joe? and if the name is joe, does it pay any
 attention to bob's content since it comes first...?

 Curious,
 Tony Hicks
 - Original Message -
 From: Bryan LaPlante [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2001 3:12 AM
 Subject: Re: Logon Attempts


  To resolve the problem put this code into login.cfm
  cfif isDefined(client.counterVar)
  cfset client.counterVar = IncrementValue(client.counterVar)
  cfelse
  cfset client.counterVar = 1
  /cfif
 
  You can use cfinclude or call the login.cfm as a custom tag, either way
 the
  client scope will persist to the next page load where you can
 check it for
  the appropriate action.
 
  - Original Message -
  From: Jerry Staple [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Tuesday, May 29, 2001 2:35 AM
  Subject: Logon Attempts
 
 
   Could anyone inform tell me what would be the best way to implement a
   logon page where the user gets 3 attempts to logon,after the
 3 attempts
   the user is directed elsewhere.I have tried setting a variable on the
   application page then adding +1 when it goes to the
 Logon_Action.cfm but
   to no avail.
  
   Help
  
  
   Regards
   Jerry Staple
   Web Applications Developer
   Biznet Solutions
   133 - 137 Lisburn Road
   Belfast
   BT9 7AG
   www.biznet-solutions.com
   Tel: +44 (0)28 90205652
   Fax: +44 (0)28 9022 3223
  
  
  
  
 

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

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



RE: Spectra still going?

2001-05-29 Thread Neil Clark

Agreed - I think it should have been in CF from the beginning (well as part
of the server anyhow!)



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

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



RE: Logon Attempts

2001-05-29 Thread Jerry Staple

Cheers

Jerry Staple

-Original Message-
From: Mark Warrick [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 10:39
To: CF-Talk
Subject: RE: Logon Attempts


Try putting this in the top of your template.  Make sure your session
variables are turned on in the application.cfm file.

cfparam name=session.login_attempts default=0

cfset session.login_attempts=session.login_attempts+1

cfif session.login_attempts gt 3

cflocation url = whatever.cfm

/cfif



Mark Warrick - Fusioneers.com
Email: [EMAIL PROTECTED]
Phone: 714-547-5386
http://www.fusioneers.com
http://www.warrick.net
===
 -Original Message-
 From: Jerry Staple [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 12:36 AM
 To: CF-Talk
 Subject: Logon Attempts


 Could anyone inform tell me what would be the best way to implement a
 logon page where the user gets 3 attempts to logon,after the 3
attempts
 the user is directed elsewhere.I have tried setting a variable on the
 application page then adding +1 when it goes to the Logon_Action.cfm
but
 to no avail.

 Help


 Regards
 Jerry Staple
 Web Applications Developer
 Biznet Solutions
 133 - 137 Lisburn Road
 Belfast
 BT9 7AG
 www.biznet-solutions.com
 Tel: +44 (0)28 90205652
 Fax: +44 (0)28 9022 3223




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

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



cfhttp still has bugs?

2001-05-29 Thread Michael Lugassy

I installed SP2 on my cf 4.5.1 and I'm still experincing problems with cfhttp
very slow, very unstable, cause my server to hung etc.

doesn't the SP2 fixed that? is there a good CFX replacement? I need it to be
fast and reliable enough for extensive use (just for fetching html from remote servers 
into a cf variable).

help, please.

Thanks,

Michael Lugassy


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

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



RE: Curious about CFIF

2001-05-29 Thread Daniel Lancelot

What I have heard, is that when using CFIF, the code within the CFIF is
parsed, even if the condition is not met.

However, when using cfswitch, only the section matching the criteria is
parsed.

(this is second hand from some notes from a presentation given by Ben Forta
- I am only 95% certain this is correct - I may have got the wrong end of
the stick...)

HTH

Dan

-Original Message-
From: Tony Hicks [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 09:14
To: CF-Talk
Subject: Curious about CFIF


When you have a CFIF with a CFELSE or CFELSE IF... does cold fusion only
read the code inside the matching condition?

For instance

cfif name is 'bob'
Name = Bob
cfelseif name is 'joe'
Name = Joe
/cfif

If the name is 'bob' does CF pay any attention to the content to be
processed if the name is joe? and if the name is joe, does it pay any
attention to bob's content since it comes first...?

Curious,
Tony Hicks
- Original Message -
From: Bryan LaPlante [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 3:12 AM
Subject: Re: Logon Attempts


 To resolve the problem put this code into login.cfm
 cfif isDefined(client.counterVar)
 cfset client.counterVar = IncrementValue(client.counterVar)
 cfelse
 cfset client.counterVar = 1
 /cfif

 You can use cfinclude or call the login.cfm as a custom tag, either way
the
 client scope will persist to the next page load where you can check it for
 the appropriate action.

 - Original Message -
 From: Jerry Staple [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2001 2:35 AM
 Subject: Logon Attempts


  Could anyone inform tell me what would be the best way to implement a
  logon page where the user gets 3 attempts to logon,after the 3 attempts
  the user is directed elsewhere.I have tried setting a variable on the
  application page then adding +1 when it goes to the Logon_Action.cfm but
  to no avail.
 
  Help
 
 
  Regards
  Jerry Staple
  Web Applications Developer
  Biznet Solutions
  133 - 137 Lisburn Road
  Belfast
  BT9 7AG
  www.biznet-solutions.com
  Tel: +44 (0)28 90205652
  Fax: +44 (0)28 9022 3223
 
 
 
 

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

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



Re: Curious about CFIF

2001-05-29 Thread Bud

On 5/29/01, Tony Hicks penned:
When you have a CFIF with a CFELSE or CFELSE IF... does cold fusion only
read the code inside the matching condition?

For instance

cfif name is 'bob'
Name = Bob
cfelseif name is 'joe'
Name = Joe
/cfif

If the name is 'bob' does CF pay any attention to the content to be
processed if the name is joe? and if the name is joe, does it pay any
attention to bob's content since it comes first...?

I believe CF starts with the beginning of the cfif and stops 
processing the statement when it hits TRUE.

cfif name is Bob
Bob is here. Hi Bob!
cfelseif name is Bob or name is Frank
Frank is here. If Bob was here, we'd have never gotten this far. Hi Frank!
/cfif

Consequently, when I write a long cfif, cfelseif, cfelseif, cfelseif, 
cfelseif, cfelseif, cfelseif, cfelseif, cfelseif, I try and put the 
expressions that are most likely to hit at the beginning.

Like if your checking if a variable is defined and it's a variable 
that gets defined on the first page and stays defined, I do:

cfif isdefined('myvariable')
Do this
cfelse
Create the variable or whatever
/cfif

If it's a variable that is usually not defined but causes something 
to happen when it is:

cfif not isdefined('myvariable')
Go about your business
cfelse
Do something
/cfif

To test this I made a little thing:

cfif myvariable is 11
cfelseif myvariable is 22
cfelseif myvariable is 33
cfelseif myvariable is 44
etc, thru 100

When setting the variable to 1, the first time I loaded the page it 
executed in 150 ms. Reloads are from 0 to 2 ms. Set at 50, the first 
page load is executed in 170 ms and reloads are in 5 to 7 ms. Set at 
100, the first page load is executed in 180 ms and reloads are in 8 
to 10 ms.

Certainly not a huge difference, but when all of a sudden you find a 
page with 1,000 lines of code and cfif, cfelseif all over the place, 
every little bit helps.

And the same test running cfswitch had pretty similar results on the 
initial load, but reloads were always 0 or 1 ms.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452

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

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



Night mare on Elm.. domain? lol (cfif thread)

2001-05-29 Thread Tony Hicks

I am the chief webmaster for a static html website and no matter how hard I
try, cannot convince the boss to use CF.. but anyway..

index.htm was 102k of code and I couldn't figure out why... there are many
webmasters on the site, I just happen to take care of most of the site..
well someone else was doing index.htm and one night I looked at the code (in
word because i wanted the page count) and i was figuring 50 or 60 pages for
102k of code.. I was wrong...

552 pages...

It seems the last webmaster had left a bunch of emply carriage returns so I
just told word to replace ^p^p^p^p^p with ^p and when it ran out of 5
carriage returns i went to 3 (^p^p^p) and then down to two..

In the end, there was 40k of code... what a nightmare!

lol

Tony



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

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



Re: IE4.5 Mac form problem issue! Help.

2001-05-29 Thread Bud

On 5/28/01, Jeff Fongemie penned:
Hello cf-talk,

A mac user (HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 4.5;
Mac_PowerPC))

This error message is caused by the second line of a page called
authenticate.cfm!


An error occurred while evaluating the expression:

  #button# is  L O G I N 

I'm not sure about with IE 4.5, but using NN (Mac and Windows), if 
you submit a form by hitting Enter, the button form variable doesn't 
get passed. If you have 2 buttons the form doesn't submit, and if you 
have 2 fields, the form doesn't submit.

Testing in IE 5, the form submits with 1 or more buttons, and/or 1 or 
more fields and the form variable of the first button gets passed.

IE 4 on Mac may have been a combination of the 2, where the form 
would submit with 1 or more fields, but the form variable of the 
button didn't get passed.

Out of habit, I only use the buttons to pass form variables when 
there is more than one button, (more than one action based on the 
button you click). Try using a hidden input field since you only have 
1 button and the variable should get passed.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452

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

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



CF 5 is out..

2001-05-29 Thread Erki Esken

yep.. it's out, download the eval:

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

-erki


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

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



RE: Request vs application scope

2001-05-29 Thread Daniel Lancelot

Absolutely no problem... I do it regularly...

-Original Message-
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 08:34
To: CF-Talk
Subject: Request vs application scope


I am using the following line of code in my application.cfm

cfset request.HomeDir = http://127.0.0.1/work/ACME/may2001/website;

Then elsewhere in the site I refer all links and images to:

cfoutput#request.HomeDir#/cfoutput

Is this OK to do? I'm trying to avoid using the application scope. Are there
any known of issues with this method?

Thanks.
Steve





Development Manager
Vardus Internet Solutions (SA)

Tel: (+27) 21 670 9880
Fax: (+27) 21 674 4549

Email: [EMAIL PROTECTED]
Website: www.vardus.com
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: Request vs application scope

2001-05-29 Thread Steve Vosloo

Thanks.

Can I put any data in there that I want to use across the site? And I don't
have to apply CFLOCKs do I?



 -Original Message-
 From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 2:32 PM
 To: CF-Talk
 Subject: RE: Request vs application scope


 Absolutely no problem... I do it regularly...

 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: 29 May 2001 08:34
 To: CF-Talk
 Subject: Request vs application scope


 I am using the following line of code in my application.cfm

 cfset request.HomeDir = http://127.0.0.1/work/ACME/may2001/website;

 Then elsewhere in the site I refer all links and images to:

 cfoutput#request.HomeDir#/cfoutput

 Is this OK to do? I'm trying to avoid using the application
 scope. Are there
 any known of issues with this method?

 Thanks.
 Steve





 Development Manager
 Vardus Internet Solutions (SA)

 Tel: (+27) 21 670 9880
 Fax: (+27) 21 674 4549

 Email: [EMAIL PROTECTED]
 Website: www.vardus.com

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

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



RE: Request vs application scope

2001-05-29 Thread Daniel Lancelot

Yes thats right.

-Original Message-
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 13:51
To: CF-Talk
Subject: RE: Request vs application scope


Thanks.

Can I put any data in there that I want to use across the site? And I don't
have to apply CFLOCKs do I?



 -Original Message-
 From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 2:32 PM
 To: CF-Talk
 Subject: RE: Request vs application scope


 Absolutely no problem... I do it regularly...

 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: 29 May 2001 08:34
 To: CF-Talk
 Subject: Request vs application scope


 I am using the following line of code in my application.cfm

 cfset request.HomeDir = http://127.0.0.1/work/ACME/may2001/website;

 Then elsewhere in the site I refer all links and images to:

 cfoutput#request.HomeDir#/cfoutput

 Is this OK to do? I'm trying to avoid using the application
 scope. Are there
 any known of issues with this method?

 Thanks.
 Steve





 Development Manager
 Vardus Internet Solutions (SA)

 Tel: (+27) 21 670 9880
 Fax: (+27) 21 674 4549

 Email: [EMAIL PROTECTED]
 Website: www.vardus.com

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

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



Form Caching

2001-05-29 Thread Greg Luce

I'm having problems with people's browsers caching form-pages. I'm using CF
4.5/sybase/apache and of course Fusebox. If I change the way a form page
works, users start getting errors which I see are caused by submitting older
versions of that form which don't work now. Is there a way to auto-refresh
the page for them, say in the index perhaps? The only way I can come up with
right now is to include a page with a link in the index.cfm before the qry_
and dsp_ pages for that fuseaction. The page will just say Click to go to
, then Click your browser's Refresh Button before filling out form. My
webmaster said something about IE noticing major changes in a page before
using the cached version. Does using Fusebox make this impossible for the
browser to do?

Greg



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

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



Jeff replying to message: 'IE4.5 Mac form problem issue! Help.', dated Tuesday, May 29, 2001, at 7:16 AM

2001-05-29 Thread Jeff Fongemie

 Hi Bud, On Tue, 29 May 2001, at 07:16:13 [GMT -0400] you carefully wrote:


B I'm not sure about with IE 4.5, but using NN (Mac and Windows), if 
B you submit a form by hitting Enter, the button form variable doesn't 
B get passed. If you have 2 buttons the form doesn't submit, and if you 
B have 2 fields, the form doesn't submit.

B Testing in IE 5, the form submits with 1 or more buttons, and/or 1 or 
B more fields and the form variable of the first button gets passed.

B IE 4 on Mac may have been a combination of the 2, where the form 
B would submit with 1 or more fields, but the form variable of the 
B button didn't get passed.

B Out of habit, I only use the buttons to pass form variables when 
B there is more than one button, (more than one action based on the 
B button you click). Try using a hidden input field since you only have 
B 1 button and the variable should get passed.
 
   Thanks, I think you may have it! I tried to submit the form w/o the
   button value on my local drive and got the exact same error.

   I removed the button value and replaced the needed value with a
   hidden field. Works on my machine, I'll get the Mac 4.5 IE user to
   try again.

   One of these days I'll get a Mac for development checking.

   Thanks!

Best regards,
 Jeff Fongemie  mailto:[EMAIL PROTECTED]
 
Internet Guns For Hire
(603) 356-0768



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

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



Re: Excluding Time in Date/Time db Query

2001-05-29 Thread Dave f

Have you tried DateFormat()

- Original Message -
From: Mark Leder [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 2:12 AM
Subject: Excluding Time in Date/Time db Query


 I'm doing a query where I want to get values from a date/time field
 (Access). I want the date (for grouping), but not the time portion.

 I've tried datepart, but I would need to do several dateparts, for
weekdate,
 month, day and year - then I can't group by date.

 Any ideas on how to write the query select statement?  Is there sdth=hing
I
 need to do in the CFOUTPUT QUERY area?

 Thanks,
 Mark



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

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



Correctly using CFOUTPUT

2001-05-29 Thread J Winter

Hi, I've always been curious about this. What is the correct way? Does it
matter?

Listing 1:

CFOUTPUT
TABLE
TR
TD#var1#/TD
/TR
TR
TD#var2#/TD
/TR
/TABLE
/CFOUTPUT

Listing 2:

TABLE
TR
TDCFOUTPUT#var1#/CFOUTPUT/TD
/TR
TR
TDCFOUTPUT#var2#/CFOUTPUT/TD
/TR
/TABLE

Is there an unwritten rule; if there are more than 4 (or ?) vars in a page
Listing 1 is a good way to do it else Listing 2 is recommended? I'm assuming
when using CFOUTPUT QUERY=q1/CFOUTPUT Listing 1 would always be
applicable.

Thanks for any help!

Josh


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

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



Re: Paste Screen Capture into a browser and submit it

2001-05-29 Thread Bryan LaPlante

If you are on an intranet and you just need to get to the users screen, you
may want to look at this kind of solution.
http://www.uk.research.att.com/vnc/

- Original Message -
From: Don VanMeter [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 1:00 AM
Subject: Paste Screen Capture into a browser and submit it


 I am stumped.  Are there any CF Gods out there?

 I need to add the capability of a user to paste a screen capture(alt -
 print screen) of a windows application error,  into a browser form
 without the user having to open another application, save the image ,
close
 the application, find the saved file, select it and then upload it.  I am
 not talking about text, I am talking about the bitmap created from a
screen
 capture .  I don't know if it resides in the clipboard.  The user needs to
 be able to paste it into a browser page and submit it.

 I tried CFX_DynamicImage and it brought my server to it's knees.

 Any Ideas?

 Thanks,
 Don



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

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



RE: Request vs application scope

2001-05-29 Thread Steve Vosloo

Brilliant! So what's the downside? The variables are not persistent across
pages are they?



 -Original Message-
 From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 2:56 PM
 To: CF-Talk
 Subject: RE: Request vs application scope


 Yes thats right.

 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: 29 May 2001 13:51
 To: CF-Talk
 Subject: RE: Request vs application scope


 Thanks.

 Can I put any data in there that I want to use across the site?
 And I don't
 have to apply CFLOCKs do I?



  -Original Message-
  From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, May 29, 2001 2:32 PM
  To: CF-Talk
  Subject: RE: Request vs application scope
 
 
  Absolutely no problem... I do it regularly...
 
  -Original Message-
  From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
  Sent: 29 May 2001 08:34
  To: CF-Talk
  Subject: Request vs application scope
 
 
  I am using the following line of code in my application.cfm
 
  cfset request.HomeDir = http://127.0.0.1/work/ACME/may2001/website;
 
  Then elsewhere in the site I refer all links and images to:
 
  cfoutput#request.HomeDir#/cfoutput
 
  Is this OK to do? I'm trying to avoid using the application
  scope. Are there
  any known of issues with this method?
 
  Thanks.
  Steve
 
 
 
 
 
  Development Manager
  Vardus Internet Solutions (SA)
 
  Tel: (+27) 21 670 9880
  Fax: (+27) 21 674 4549
 
  Email: [EMAIL PROTECTED]
  Website: www.vardus.com
 

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

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



Re: whitespace

2001-05-29 Thread stas

Nate Weiss's CF_StripWhiteSpace can compact all of the code on one line,
more dramatically than Bjork's tag... or it can left-adjust everything. With
proper using of cfinclude you could eliminate all white space, but I've
noticed it slows down pages quite a bit.

http://www.nateweiss.com/taggallery/

There are quite a few gems there!

- Original Message -
From: nagesh [EMAIL PROTECTED]


Hi bryan,

thanks for the response. But i used even that tag too. And i tried with
option available in settings in the administrator to suppress the
whitespace. Is there any otherway around to overcome this problem.

Because, the textfile is going to generated by the outputs of the 3 to 4
coldfusion files.

-Original Message-
From: Bryan LaPlante [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 3:50 PM
To: CF-Talk
Subject: Re: whitespace


I use cf_LessWhiteSpace from the tag gallery
http://devex.allaire.com/developer/gallery/info.cfm?ID=CA34784E-2830-11D4-AA
9700508B94F380method=Full



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

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



RE: Correctly using CFOUTPUT

2001-05-29 Thread Scott Wolf

I personally have a tendency to use Listing 1's format more often than I use
the one in Listing 2.  The only difference is that I put in my table tags
BEFORE my CFOUTPUT tags, that way if I'm looping through a query's results,
I don't have a new table being created for each record.  :)

Scott Wolf
Goodfriend Computer Training

-Original Message-
From: J Winter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 9:48 AM
To: CF-Talk
Subject: Correctly using CFOUTPUT


Hi, I've always been curious about this. What is the correct way? Does it
matter?

Listing 1:

CFOUTPUT
TABLE
TR
TD#var1#/TD
/TR
TR
TD#var2#/TD
/TR
/TABLE
/CFOUTPUT

Listing 2:

TABLE
TR
TDCFOUTPUT#var1#/CFOUTPUT/TD
/TR
TR
TDCFOUTPUT#var2#/CFOUTPUT/TD
/TR
/TABLE

Is there an unwritten rule; if there are more than 4 (or ?) vars in a page
Listing 1 is a good way to do it else Listing 2 is recommended? I'm assuming
when using CFOUTPUT QUERY=q1/CFOUTPUT Listing 1 would always be
applicable.

Thanks for any help!

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

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



retrieving files using cfhttp

2001-05-29 Thread Chris Rice

Does anybody know if there is a way to output a binary image file retrieved using 
CFHTTP without first saving it to disk? I am attempting to serialize the image into 
WDDX, and have managed to do it by using the file and path attributes of CFHTTP (then 
using CFFILE), but would prefer not to have to. Unfortunately, using 
cfhttp.filecontent does not seem to do it.

Thanks for any help,

Chris Rice
[EMAIL PROTECTED]


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

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



RE: Curious about CFIF

2001-05-29 Thread Ken Beard

Take this with a grain of salt.. i could be wrong:

CF server first passes over the entire template(s) to be processed, not 
evaluating the logic.  This is when it finds blatant syntax errors, i 
believe this is also when it compiles the pcode from the cf code you have 
written.  Then the server runs the compiled pcode, evaluating and 
following the path of coded logic and performing the actions as it 
goes.  This is when the server finds a different sort of error.. 
listgetat(thisList,0) would throw an error at this point, i believe.

So basically the answer is cf server looks at code twice.  The first look 
it would see the name=joe part, but the second time, it wouldn't.

any allaire representatives care to contradict me or elaborate on this one?

-Original Message-
From: Tony Hicks [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 09:14
To: CF-Talk
Subject: Curious about CFIF


When you have a CFIF with a CFELSE or CFELSE IF... does cold fusion only
read the code inside the matching condition?

For instance

cfif name is 'bob'
Name = Bob
cfelseif name is 'joe'
Name = Joe
/cfif

If the name is 'bob' does CF pay any attention to the content to be
processed if the name is joe? and if the name is joe, does it pay any
attention to bob's content since it comes first...?

Curious,
Tony Hicks
- Original Message -
From: Bryan LaPlante [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 3:12 AM
Subject: Re: Logon Attempts


  To resolve the problem put this code into login.cfm
  cfif isDefined(client.counterVar)
  cfset client.counterVar = IncrementValue(client.counterVar)
  cfelse
  cfset client.counterVar = 1
  /cfif
 
  You can use cfinclude or call the login.cfm as a custom tag, either way
the
  client scope will persist to the next page load where you can check it for
  the appropriate action.
 
  - Original Message -
  From: Jerry Staple [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Tuesday, May 29, 2001 2:35 AM
  Subject: Logon Attempts
 
 
   Could anyone inform tell me what would be the best way to implement a
   logon page where the user gets 3 attempts to logon,after the 3 attempts
   the user is directed elsewhere.I have tried setting a variable on the
   application page then adding +1 when it goes to the Logon_Action.cfm but
   to no avail.
  
   Help
  
  
   Regards
   Jerry Staple
   Web Applications Developer
   Biznet Solutions
   133 - 137 Lisburn Road
   Belfast
   BT9 7AG
   www.biznet-solutions.com
   Tel: +44 (0)28 90205652
   Fax: +44 (0)28 9022 3223
  
  
  
  
 

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

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



RE: Correctly using CFOUTPUT

2001-05-29 Thread Katherine Maltby

It depends how you want the results to be displayed, but I'd recommend
putting the cfoutput tags inside the table before the tr as otherwise
you'll open a new table for each line of results, which isn't good if you're
pulling rows and rows back from a database.

Kath

Web Production Director

--
United Kingdom
http://www.thoughtbubble.co.uk/
Ph: +44 (0) 20 7387 8890
--
New Zealand
http://www.thoughtbubble.co.nz/
Ph: +64 (0) 9 488 9131

The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s) . Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0) 20 7387 8890



-Original Message-
From: J Winter [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 14:48
To: CF-Talk
Subject: Correctly using CFOUTPUT


Hi, I've always been curious about this. What is the correct way? Does it
matter?

Listing 1:

CFOUTPUT
TABLE
TR
TD#var1#/TD
/TR
TR
TD#var2#/TD
/TR
/TABLE
/CFOUTPUT

Listing 2:

TABLE
TR
TDCFOUTPUT#var1#/CFOUTPUT/TD
/TR
TR
TDCFOUTPUT#var2#/CFOUTPUT/TD
/TR
/TABLE

Is there an unwritten rule; if there are more than 4 (or ?) vars in a page
Listing 1 is a good way to do it else Listing 2 is recommended? I'm assuming
when using CFOUTPUT QUERY=q1/CFOUTPUT Listing 1 would always be
applicable.

Thanks for any help!

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

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



RE: Request vs application scope

2001-05-29 Thread Dave Watts

 I am using the following line of code in my application.cfm
 
 cfset request.HomeDir = http://127.0.0.1/work/ACME/may2001/website;
 
 Then elsewhere in the site I refer all links and images to:
 
 cfoutput#request.HomeDir#/cfoutput
 
 Is this OK to do? I'm trying to avoid using the application 
 scope. Are there any known of issues with this method?

There's nothing wrong with that at all. I use this approach very often
myself, when creating variables to represent data that doesn't change over
the life of the application.

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

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

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



RE: Excluding Time in Date/Time db Query

2001-05-29 Thread Mark Leder

I'm using date format in the CFOUTPUT area.  However, I need to filter the
query select statement so that it does not return the time - then I can
group by date, regardless of time on a particular date.

Thanks,
Mark

-Original Message-
From: Dave f [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 9:43 AM
To: CF-Talk
Subject: Re: Excluding Time in Date/Time db Query


Have you tried DateFormat()

- Original Message -
From: Mark Leder [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 2:12 AM
Subject: Excluding Time in Date/Time db Query


 I'm doing a query where I want to get values from a date/time field
 (Access). I want the date (for grouping), but not the time portion.

 I've tried datepart, but I would need to do several dateparts, for
weekdate,
 month, day and year - then I can't group by date.

 Any ideas on how to write the query select statement?  Is there sdth=hing
I
 need to do in the CFOUTPUT QUERY area?

 Thanks,
 Mark



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

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



RE: Request vs application scope

2001-05-29 Thread alistair . davidson

That's the downside! Also, they are unique to each request, so memory 
processor usage will increase by a set amount for each page request.

e.g.

APPLICATION scope


cflock scope=APPLICATION .
cfif NOT IsDefined( APPLICATION.TestVar )
!--- Set up (say) 2KB of application variables ---
/cfif
/cflock

- First request, you get a CPU performance hit while you set up the app.
variables, and 2KB of memory is taken up by the variables.
- Subsequent requests will detect the existence of APPLICATION.TestVar, and
not bother setting the variables up again.
- Total memory usage - 2KB for the application variables, however many page
requests are made.


REQUEST scope
-

cfset REQUEST.(whatever) = (whatever)



!--- set up the same 2KB of variables in the request scope ---

- Every single request will use the CPU while setting up the variables, and
need the 2KB of memory for itself. 
- If you're in a frameset, that's (say) 3 times the CPU usage and an extra
4KB of memory per client, per hit.
- Total memory usage - 2KB * number of frames * number of simultaneous
users.

If you're using the scope to store queries or other complex objects, or even
long strings, you're going to end up with a fairly hefty performance hit.


Alistair Davidson
Senior Developer
Rocom New Media
www.rocomx.net



-Original Message-
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 14:43
To: CF-Talk
Subject: RE: Request vs application scope


Brilliant! So what's the downside? The variables are not persistent across
pages are they?



 -Original Message-
 From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 2:56 PM
 To: CF-Talk
 Subject: RE: Request vs application scope


 Yes thats right.

 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: 29 May 2001 13:51
 To: CF-Talk
 Subject: RE: Request vs application scope


 Thanks.

 Can I put any data in there that I want to use across the site?
 And I don't
 have to apply CFLOCKs do I?



  -Original Message-
  From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, May 29, 2001 2:32 PM
  To: CF-Talk
  Subject: RE: Request vs application scope
 
 
  Absolutely no problem... I do it regularly...
 
  -Original Message-
  From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
  Sent: 29 May 2001 08:34
  To: CF-Talk
  Subject: Request vs application scope
 
 
  I am using the following line of code in my application.cfm
 
  cfset request.HomeDir = http://127.0.0.1/work/ACME/may2001/website;
 
  Then elsewhere in the site I refer all links and images to:
 
  cfoutput#request.HomeDir#/cfoutput
 
  Is this OK to do? I'm trying to avoid using the application
  scope. Are there
  any known of issues with this method?
 
  Thanks.
  Steve
 
 
 
 
 
  Development Manager
  Vardus Internet Solutions (SA)
 
  Tel: (+27) 21 670 9880
  Fax: (+27) 21 674 4549
 
  Email: [EMAIL PROTECTED]
  Website: www.vardus.com
 

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

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



Re: retrieving files using cfhttp

2001-05-29 Thread Michael Lugassy

Chris Hi,
are u using CF's built in tag = CFHTTP?
don't you have problems with it?
It keeps on eating ram on my server and hunging it frequently, although
I installed the latest SP2 for my CF 4.5.1

are u using a diffrent com/cfx?

Thanks,

Michael Lugassy

- Original Message -
From: Chris Rice [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 3:54 PM
Subject: retrieving files using cfhttp


 Does anybody know if there is a way to output a binary image file
retrieved using CFHTTP without first saving it to disk? I am attempting to
serialize the image into WDDX, and have managed to do it by using the file
and path attributes of CFHTTP (then using CFFILE), but would prefer not to
have to. Unfortunately, using cfhttp.filecontent does not seem to do it.

 Thanks for any help,

 Chris Rice
 [EMAIL PROTECTED]



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

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



WhoIs tag that returns a variable

2001-05-29 Thread Russel Madere

Hey all, I need a free WhoIs tag that will return the results as a variable,
not as part of the HTML page.  I looked at Lewis Sellars CFX_TCPIPClient tag
and thought it was too complicated for what I need.  The existing CFX_WhoIs
by Distributed Data System is perfect, except it doesn't return the results
as a variable.

As an alternative, if someone who has written on that returns the HTML
stream can provide the source, I can modify it myself to return a variable.

TIA.

Russel

  Russel Madere, Jr. Senior Web Developer
  ICQ: 5446158   http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.






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

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



RE: IP lookup

2001-05-29 Thread Dave Livingston

*This message was transferred with a trial version of CommuniGate(tm) Pro*
www.arin.net for North America
www.ripe.net for Europe
www.apnic.net for Asia-Pacific
www.nic.mil for Military

Hope that helps.

Dave Livingston
512-694-1669
[EMAIL PROTECTED]

-Original Message-
From: Guy McDowell [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 28, 2001 10:35 AM
To: CF-Talk
Subject: IP lookup


*This message was transferred with a trial version of CommuniGate(tm) Pro*
Hello,

If I have a numeric IP address how can I look up who it
is registered to?
Just curious, because I'm getting some weird traffic
that might be related to Poison Box.

Yours In Conservation,

Guy J. McDowell
Webmaster
Ontario Federation of Anglers  Hunters
(705) 748-6324 ext. 262
www.OFAH.org


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

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

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



RE: Request vs application scope

2001-05-29 Thread Daniel Lancelot

But using request vars means the memory is released immediately the request
has finished...

I would agree if you are planning to store large/complex data (esp query
result sets etc) then its probably best to use app scope...

But would you consider it best if there are just a few simple vars (maybe
100B)?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 15:07
To: CF-Talk
Subject: RE: Request vs application scope


That's the downside! Also, they are unique to each request, so memory 
processor usage will increase by a set amount for each page request.

e.g.

APPLICATION scope


cflock scope=APPLICATION .
cfif NOT IsDefined( APPLICATION.TestVar )
!--- Set up (say) 2KB of application variables ---
/cfif
/cflock

- First request, you get a CPU performance hit while you set up the app.
variables, and 2KB of memory is taken up by the variables.
- Subsequent requests will detect the existence of APPLICATION.TestVar, and
not bother setting the variables up again.
- Total memory usage - 2KB for the application variables, however many page
requests are made.


REQUEST scope
-

cfset REQUEST.(whatever) = (whatever)
.
.
.
!--- set up the same 2KB of variables in the request scope ---

- Every single request will use the CPU while setting up the variables, and
need the 2KB of memory for itself. 
- If you're in a frameset, that's (say) 3 times the CPU usage and an extra
4KB of memory per client, per hit.
- Total memory usage - 2KB * number of frames * number of simultaneous
users.

If you're using the scope to store queries or other complex objects, or even
long strings, you're going to end up with a fairly hefty performance hit.


Alistair Davidson
Senior Developer
Rocom New Media
www.rocomx.net



-Original Message-
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 14:43
To: CF-Talk
Subject: RE: Request vs application scope


Brilliant! So what's the downside? The variables are not persistent across
pages are they?



 -Original Message-
 From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 2:56 PM
 To: CF-Talk
 Subject: RE: Request vs application scope


 Yes thats right.

 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: 29 May 2001 13:51
 To: CF-Talk
 Subject: RE: Request vs application scope


 Thanks.

 Can I put any data in there that I want to use across the site?
 And I don't
 have to apply CFLOCKs do I?



  -Original Message-
  From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, May 29, 2001 2:32 PM
  To: CF-Talk
  Subject: RE: Request vs application scope
 
 
  Absolutely no problem... I do it regularly...
 
  -Original Message-
  From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
  Sent: 29 May 2001 08:34
  To: CF-Talk
  Subject: Request vs application scope
 
 
  I am using the following line of code in my application.cfm
 
  cfset request.HomeDir = http://127.0.0.1/work/ACME/may2001/website;
 
  Then elsewhere in the site I refer all links and images to:
 
  cfoutput#request.HomeDir#/cfoutput
 
  Is this OK to do? I'm trying to avoid using the application
  scope. Are there
  any known of issues with this method?
 
  Thanks.
  Steve
 
 
 
 
 
  Development Manager
  Vardus Internet Solutions (SA)
 
  Tel: (+27) 21 670 9880
  Fax: (+27) 21 674 4549
 
  Email: [EMAIL PROTECTED]
  Website: www.vardus.com
 

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

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



RE: WhoIs tag that returns a variable

2001-05-29 Thread Dylan Bromby

try one of these?

http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywords=whois

-Original Message-
From: Russel Madere [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 7:22 AM
To: CF-Talk
Subject: WhoIs tag that returns a variable


Hey all, I need a free WhoIs tag that will return the results as a variable,
not as part of the HTML page.  I looked at Lewis Sellars CFX_TCPIPClient tag
and thought it was too complicated for what I need.  The existing CFX_WhoIs
by Distributed Data System is perfect, except it doesn't return the results
as a variable.

As an alternative, if someone who has written on that returns the HTML
stream can provide the source, I can modify it myself to return a variable.

TIA.

Russel

  Russel Madere, Jr. Senior Web Developer
  ICQ: 5446158   http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.

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

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



VeRy tricky evaluate()

2001-05-29 Thread Michael Lugassy

I'm in a complex situation here which gives NO ERRORS but doesn't seem to work right.
please help.

My project has several unique sections (where the key=grid)
Every user can upload several images to each group.
everytime he uploads at least 1 file to a new group, I'm assigning him a session array 
variable
that is called: session.my#url.grid#:

cfif NOT isDefined(session.my#url.grid#)
cflock timeout=10 throwontimeout=Yes type=EXCLUSIVE scope=SESSION
cfset session.my#url.grid#=Arraynew(1)
/cflock
/cfif

then I give him the upload form.

after each upload, I'm appending the array with the new file:

cflock timeout=10 throwontimeout=Yes type=EXCLUSIVE scope=SESSION
cfset temp=ArrayPrepend(evaluate(session.my#url.grid#),file.serverfile)
/cflock

and now I want to display back the upload form, but with a list of the files he 
already uploaded:

first I'm moving the session array into a local variable:

cfif isDefined(session.my#url.grid#)
cflock timeout=10 throwontimeout=Yes type=READONLY scope=SESSION
cfset a=evaluate(session.my#url.grid#)
/cflock

then I'm looping without worrying for locking:

Files that were uploaded to #url.grid#:
cfloop index=i from=1 to=#arraylen(a)#
#a[i]#
/cfloop

the a array keeps being EMPTY all the time.
I'm checking that with this:

cfif NOT isDefined(a) or arraylen(a) eq 0
You haven't uploaded any pictures to #url.grid# yet.
/cfif


note that I don't want to :

a. query the db everytime to get the list of files that was uploaded.
b. limit the session timout to 1 minute


Thanks,

Michael Lugassy
IT/WEB Specialist
Interactive Music Ltd.
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



Re: WhoIs tag that returns a variable

2001-05-29 Thread savan . thongvanh


usage question:
Can you assign the output of a cfexecute to a variable? (i.e., whois,
nslookup, ping, etc)




Russel Madere [EMAIL PROTECTED] on 05/29/2001 09:22:05 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk [EMAIL PROTECTED]
cc:

Subject:  WhoIs tag that returns a variable


Hey all, I need a free WhoIs tag that will return the results as a
variable,
not as part of the HTML page.  I looked at Lewis Sellars CFX_TCPIPClient
tag
and thought it was too complicated for what I need.  The existing CFX_WhoIs
by Distributed Data System is perfect, except it doesn't return the results
as a variable.

As an alternative, if someone who has written on that returns the HTML
stream can provide the source, I can modify it myself to return a variable.

TIA.

Russel

  Russel Madere, Jr. Senior Web Developer
  ICQ: 5446158   http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.

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

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



URL Decrypt and Encrypt

2001-05-29 Thread Gordon Burns



Passing values in the URL and would like to hide the true values.

Can someone give me an example of using encrypt and decrypt and any 
tips, problems with this method.

Thanks

Gordon 


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

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



Re: WhoIs tag that returns a variable

2001-05-29 Thread Howie Hamlin

We have one that may suit your needs:

www.coolfusion.com/downloads.cfm

HTH,

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

- Original Message - 
From: Russel Madere [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 10:22 AM
Subject: WhoIs tag that returns a variable


 Hey all, I need a free WhoIs tag that will return the results as a variable,
 not as part of the HTML page.  I looked at Lewis Sellars CFX_TCPIPClient tag
 and thought it was too complicated for what I need.  The existing CFX_WhoIs
 by Distributed Data System is perfect, except it doesn't return the results
 as a variable.
 
 As an alternative, if someone who has written on that returns the HTML
 stream can provide the source, I can modify it myself to return a variable.
 
 TIA.
 
 Russel
 
   Russel Madere, Jr. Senior Web Developer
   ICQ: 5446158   http://www.TurboSquid.com
 
 Some days you eat the bear; some days the bear eats you.
 
 
 
 
 
 

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

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



RE: Paste Screen Capture into a browser and submit it

2001-05-29 Thread Dave Watts

 I am stumped. Are there any CF Gods out there?

No, there aren't any CF gods. The whole point of CF, to me, is that you
don't have to be a god to be a good CF programmer.

 I need to add the capability of a user to paste a screen capture
 (alt - print screen) of a windows application error, into a 
 browser form without the user having to open another application, 
 save the image, close the application, find the saved file, select 
 it and then upload it. I am not talking about text, I am talking 
 about the bitmap created from a screen capture. I don't know if it 
 resides in the clipboard. The user needs to be able to paste it 
 into a browser page and submit it.
 
 I tried CFX_DynamicImage and it brought my server to it's knees.

This doesn't really have anything to do with CF - it's a client-side
programming issue. You'd really need some sort of client-side executable
which could take the screen capture from the clipboard and work with it. You
could write such an executable as an ActiveX component or perhaps a Java
applet.

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

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

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



Re: WhoIs tag that returns a variable

2001-05-29 Thread Tony Schreiber

Not the perfect solution, but in the meantime, you could right the
resulting output of CFX_Whois to a file and then read it in with CFFILE as
a variable...

 Hey all, I need a free WhoIs tag that will return the results as a variable,
 not as part of the HTML page.  I looked at Lewis Sellars CFX_TCPIPClient tag
 and thought it was too complicated for what I need.  The existing CFX_WhoIs
 by Distributed Data System is perfect, except it doesn't return the results
 as a variable.
 
 As an alternative, if someone who has written on that returns the HTML
 stream can provide the source, I can modify it myself to return a variable.
 
 TIA.
 
 Russel
 
   Russel Madere, Jr. Senior Web Developer
   ICQ: 5446158   http://www.TurboSquid.com
 
 Some days you eat the bear; some days the bear eats you.
 
 
 
 
 
 

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

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



new Logo

2001-05-29 Thread Neil Clark

Is is me or does anyone like the new CF logo?  I know it is an xtension of
the old but come on at least before it looked good with the hand et al.

did Neville B have a hand in this re-jig?  you look at how cool and dynamic
the other logos are and CF seriously, seriously lets the stable down.

:-(

just my $0.02

!-
Neil Clark
Senior Web Applications Engineer
Spectra / ColdFusion / XML / Cerebro
MCB Digital
Macromedia Alliance Member
Tel: 020 8941 3232
Fax: 020 8941 4333
Mobile : 07719 448 227
e-mail: [EMAIL PROTECTED]




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

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



RE: WhoIs tag that returns a variable

2001-05-29 Thread Russel Madere

It doesn't look like you can.

You can redirect the output to a file and use CFFILE to read it in as a
variable though.

For reasons I would rather not discuss, we want to use a CFX or a DCOM for
this.

What I might do for now is put the CFX_WhoIs call in another template and
use CFHTTP to catch the data as a variable.


  Russel Madere, Jr. Senior Web Developer
  ICQ: 5446158   http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 09:52
 To: CF-Talk
 Subject: Re: WhoIs tag that returns a variable



 usage question:
 Can you assign the output of a cfexecute to a variable? (i.e., whois,
 nslookup, ping, etc)




 Russel Madere [EMAIL PROTECTED] on 05/29/2001 09:22:05 AM

 Please respond to [EMAIL PROTECTED]

 To:   CF-Talk [EMAIL PROTECTED]
 cc:

 Subject:  WhoIs tag that returns a variable


 Hey all, I need a free WhoIs tag that will return the results as a
 variable,
 not as part of the HTML page.  I looked at Lewis Sellars CFX_TCPIPClient
 tag
 and thought it was too complicated for what I need.  The existing
 CFX_WhoIs
 by Distributed Data System is perfect, except it doesn't return
 the results
 as a variable.

 As an alternative, if someone who has written on that returns the HTML
 stream can provide the source, I can modify it myself to return a
 variable.

 TIA.

 Russel
 
   Russel Madere, Jr. Senior Web Developer
   ICQ: 5446158   http://www.TurboSquid.com

 Some days you eat the bear; some days the bear eats you.
 

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

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



RE: WhoIs tag that returns a variable

2001-05-29 Thread Russel Madere

I did.  It seems all these tags do is return the results into the HTML
stream.

If any of the authors of these are here and are willing to share the source,
I can modify the CFX to meet our needs.


  Russel Madere, Jr. Senior Web Developer
  ICQ: 5446158   http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.



 -Original Message-
 From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 09:44
 To: CF-Talk
 Subject: RE: WhoIs tag that returns a variable


 try one of these?

 http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywo
 rds=whois

 -Original Message-
 From: Russel Madere [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 7:22 AM
 To: CF-Talk
 Subject: WhoIs tag that returns a variable


 Hey all, I need a free WhoIs tag that will return the results as
 a variable,
 not as part of the HTML page.  I looked at Lewis Sellars
 CFX_TCPIPClient tag
 and thought it was too complicated for what I need.  The existing
 CFX_WhoIs
 by Distributed Data System is perfect, except it doesn't return
 the results
 as a variable.

 As an alternative, if someone who has written on that returns the HTML
 stream can provide the source, I can modify it myself to return a
 variable.

 TIA.

 Russel
 
   Russel Madere, Jr. Senior Web Developer
   ICQ: 5446158   http://www.TurboSquid.com

 Some days you eat the bear; some days the bear eats you.
 

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

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



RE: Executing a CF page

2001-05-29 Thread Rich Boekweg

I've heard about being able to decode/decrypt encrypted pages, but never
seen it done.  Where can I find more info?

Rich Boekweg

-Original Message-
From: Jeffry Houser [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 28, 2001 11:15 PM
To: CF-Talk
Subject: Re: Executing a CF page



   Just a thought, but isn't there a button in the CF Administrator to run
a scheduled task?
   Does it run it immediately in a browser, or just queue it up?  I thought
it just queued it up (but not sure), doing exactly what you want it to do.
If so, you can decode the CF Administrator and see how they did it...

At 11:51 AM 05/29/2001 +1000, you wrote:

Hi all,

Is there a way to run a Cold Fusion page not through a browser, but spawned
from a browser... confused.. imagine this...

I want to give my user a button to click on a web page that runs a very
lengthy process, say exporting the entire database to a CSV file, but I
dont
want to do the processing in a browser window, because if my user closes
that window halfway through, it might cancel the processing. Is there a way
to get the server processing something but not relying on a browser window
for it?

One way I can think of is to set up a one off CFSCHEDULE command to execute
a page in 5 seconds time, which then removes itself from the schedule, but
that seems a little messy.. any better way?

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



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

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



RE: Correctly using CFOUTPUT

2001-05-29 Thread J Winter

Hi, let's assume that there is no query for the CFOUTPUT tag. Which would be
better coding style?
I've seen it done both ways: CFOUTPUTing each variable and
CFOUTPUTing/encapsulating the entire
template. Sometimes when I run into things I think what do the pros do?.

What would the pros do in this situation?

Josh

-Original Message-
From: Katherine Maltby [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 10:00 AM
To: CF-Talk
Subject: RE: Correctly using CFOUTPUT


It depends how you want the results to be displayed, but I'd recommend
putting the cfoutput tags inside the table before the tr as otherwise
you'll open a new table for each line of results, which isn't good if you're
pulling rows and rows back from a database.

Kath

Web Production Director

--
United Kingdom
http://www.thoughtbubble.co.uk/
Ph: +44 (0) 20 7387 8890
--
New Zealand
http://www.thoughtbubble.co.nz/
Ph: +64 (0) 9 488 9131

The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s) . Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0) 20 7387 8890



-Original Message-
From: J Winter [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 14:48
To: CF-Talk
Subject: Correctly using CFOUTPUT


Hi, I've always been curious about this. What is the correct way? Does it
matter?

Listing 1:

CFOUTPUT
TABLE
TR
TD#var1#/TD
/TR
TR
TD#var2#/TD
/TR
/TABLE
/CFOUTPUT

Listing 2:

TABLE
TR
TDCFOUTPUT#var1#/CFOUTPUT/TD
/TR
TR
TDCFOUTPUT#var2#/CFOUTPUT/TD
/TR
/TABLE

Is there an unwritten rule; if there are more than 4 (or ?) vars in a page
Listing 1 is a good way to do it else Listing 2 is recommended? I'm assuming
when using CFOUTPUT QUERY=q1/CFOUTPUT Listing 1 would always be
applicable.

Thanks for any help!

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

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



RE: Referencing an array item

2001-05-29 Thread Christopher Olive, CIO

well, you collapse the three arrays into an uber array, called SM.  so
your original statement might be..

CFSET Application.SM = ArrayNew()
cfset Application.SM[1] = SM1
cfset Application.SM[2] = SM2
cfset Application.SM[3] = SM3

then use your number as an index into your outer array.

chris olive, cio
cresco technologies
[EMAIL PROTECTED]
http://www.crescotech.com



-Original Message-
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 2:21 AM
To: CF-Talk
Subject: RE: Referencing an array item


But I have 3 arrays, so it will really need to look like:

Application.SM1[n][element]
Application.SM2[n][element]
Application.SM3[n][element]

I can't see how else to work around this.



 -Original Message-
 From: Christopher Olive, CIO [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 28, 2001 8:31 PM
 To: CF-Talk
 Subject: RE: Referencing an array item


 ray has an excellent point.  however, why not exploit the nature
 of arrays?
 if you make Application.Sm an array with three elements, each one
 the arrays
 sm1..3, then you can reference an element in SM(n) by
 Application.SM[n][element].  you don't have to futz with string evaluation
 at all.

 chris olive, cio
 cresco technologies
 [EMAIL PROTECTED]
 http://www.crescotech.com



 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 28, 2001 8:41 AM
 To: CF-Talk
 Subject: Referencing an array item


 I have 3 arrays, which are assigned to the application scope:

 cfset Application.SM1 = SM1
 cfset Application.SM2 = SM2
 cfset Application.SM3 = SM3

 My custom tag receives a number (1,2 or 3), and with that I reference the
 correct array. I need to dynamically use this number to reference the
 correct array, e.g.

 #ArrayLen(application.SM  attributes.Num)#

 (The above code does not work.) Any help would be much
 appreciated!! Thanks
 in advance.

 Steve


 Development Manager
 Vardus Internet Solutions (SA)

 Tel: (+27) 21 670 9880
 Fax: (+27) 21 674 4549

 Email: [EMAIL PROTECTED]
 Website: www.vardus.com

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

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



RE: WhoIs tag that returns a variable

2001-05-29 Thread Dylan Bromby

there's a version of CFX_ShellExec or something similar that lets you return
the output in a var.

let me hunt around and see if i can find which tag it was.



-Original Message-
From: Russel Madere [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 8:39 AM
To: CF-Talk
Subject: RE: WhoIs tag that returns a variable


It doesn't look like you can.

You can redirect the output to a file and use CFFILE to read it in as a
variable though.

For reasons I would rather not discuss, we want to use a CFX or a DCOM for
this.

What I might do for now is put the CFX_WhoIs call in another template and
use CFHTTP to catch the data as a variable.


  Russel Madere, Jr. Senior Web Developer
  ICQ: 5446158   http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 09:52
 To: CF-Talk
 Subject: Re: WhoIs tag that returns a variable



 usage question:
 Can you assign the output of a cfexecute to a variable? (i.e., whois,
 nslookup, ping, etc)




 Russel Madere [EMAIL PROTECTED] on 05/29/2001 09:22:05 AM

 Please respond to [EMAIL PROTECTED]

 To:   CF-Talk [EMAIL PROTECTED]
 cc:

 Subject:  WhoIs tag that returns a variable


 Hey all, I need a free WhoIs tag that will return the results as a
 variable,
 not as part of the HTML page.  I looked at Lewis Sellars CFX_TCPIPClient
 tag
 and thought it was too complicated for what I need.  The existing
 CFX_WhoIs
 by Distributed Data System is perfect, except it doesn't return
 the results
 as a variable.

 As an alternative, if someone who has written on that returns the HTML
 stream can provide the source, I can modify it myself to return a
 variable.

 TIA.

 Russel
 
   Russel Madere, Jr. Senior Web Developer
   ICQ: 5446158   http://www.TurboSquid.com

 Some days you eat the bear; some days the bear eats you.
 

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

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



RE: WhoIs tag that returns a variable

2001-05-29 Thread mherbene

You could use wrap one of these text-emitting tags inside a module and use
the generatedcontent attribute to catch the emitted text and put it in a
variable.

-Original Message-
From: Russel Madere [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 11:39 AM
To: CF-Talk
Subject: RE: WhoIs tag that returns a variable


I did.  It seems all these tags do is return the results into the HTML
stream.

If any of the authors of these are here and are willing to share the source,
I can modify the CFX to meet our needs.


  Russel Madere, Jr. Senior Web Developer
  ICQ: 5446158   http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.



 -Original Message-
 From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 09:44
 To: CF-Talk
 Subject: RE: WhoIs tag that returns a variable


 try one of these?

 http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywo
 rds=whois

 -Original Message-
 From: Russel Madere [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 7:22 AM
 To: CF-Talk
 Subject: WhoIs tag that returns a variable


 Hey all, I need a free WhoIs tag that will return the results as
 a variable,
 not as part of the HTML page.  I looked at Lewis Sellars
 CFX_TCPIPClient tag
 and thought it was too complicated for what I need.  The existing
 CFX_WhoIs
 by Distributed Data System is perfect, except it doesn't return
 the results
 as a variable.

 As an alternative, if someone who has written on that returns the HTML
 stream can provide the source, I can modify it myself to return a
 variable.

 TIA.

 Russel
 
   Russel Madere, Jr. Senior Web Developer
   ICQ: 5446158   http://www.TurboSquid.com

 Some days you eat the bear; some days the bear eats you.
 

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

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



request scope confusion

2001-05-29 Thread sebastian palmigiani


I am trying to understand the request scope.

What is the difference between putting

cfset DSN = 'foo'

vs.

cfset request.DSN = 'foo'

in the application.cfm template or in any template?

Thanks,
Sebastian


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

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



RE: WhoIs tag that returns a variable

2001-05-29 Thread Rich Wild


 I did.  It seems all these tags do is return the results into the HTML
 stream.
 
 If any of the authors of these are here and are willing to 
 share the source,
 I can modify the CFX to meet our needs.

You don't get much more low-level than Lewis' TCPIP *COM* object (new and
improved - even gets your whites whiter!), and this returns your results as
a variable.

Its not as complex as it looks, there's a lot of functionality there that
you won't need. For pure WHOIS calls you can't beat it.


---
Rich Wild
Senior Web Designer

---
e-mango.com ltd  Tel: 01202 587 400
Lansdowne Place  Fax: 01202 587 401
17 Holdenhurst Road
Bournemouth   Mailto:[EMAIL PROTECTED]
BH8 8EW, UK  http://www.e-mango.com
---
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of e-mango.com ltd,
unless otherwise explicitly and independently indicated
by an authorised representative of e-mango.com ltd.
---




 -Original Message-
 From: Russel Madere [mailto:[EMAIL PROTECTED]]
 Sent: 29 May 2001 16:39
 To: CF-Talk
 Subject: RE: WhoIs tag that returns a variable
 
 
 I did.  It seems all these tags do is return the results into the HTML
 stream.
 
 If any of the authors of these are here and are willing to 
 share the source,
 I can modify the CFX to meet our needs.
 
 
   Russel Madere, Jr. Senior Web Developer
   ICQ: 5446158   http://www.TurboSquid.com
 
 Some days you eat the bear; some days the bear eats you.
 
 
 
  -Original Message-
  From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, May 29, 2001 09:44
  To: CF-Talk
  Subject: RE: WhoIs tag that returns a variable
 
 
  try one of these?
 
  http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywo
  rds=whois
 
  -Original Message-
  From: Russel Madere [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, May 29, 2001 7:22 AM
  To: CF-Talk
  Subject: WhoIs tag that returns a variable
 
 
  Hey all, I need a free WhoIs tag that will return the results as
  a variable,
  not as part of the HTML page.  I looked at Lewis Sellars
  CFX_TCPIPClient tag
  and thought it was too complicated for what I need.  The existing
  CFX_WhoIs
  by Distributed Data System is perfect, except it doesn't return
  the results
  as a variable.
 
  As an alternative, if someone who has written on that 
 returns the HTML
  stream can provide the source, I can modify it myself to return a
  variable.
 
  TIA.
 
  Russel
  
Russel Madere, Jr. Senior Web Developer
ICQ: 5446158   http://www.TurboSquid.com
 
  Some days you eat the bear; some days the bear eats you.
  
 

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

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



RE: WhoIs tag that returns a variable

2001-05-29 Thread Russel Madere

Thank You Howie.

That looks like exactly what we need.

I'm going to set it up and test it.

Thanks again.

Russel


  Russel Madere, Jr. Senior Web Developer  
  ICQ: 5446158   http://www.TurboSquid.com   

Some days you eat the bear; some days the bear eats you.

 

 -Original Message-
 From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 10:03
 To: CF-Talk
 Subject: Re: WhoIs tag that returns a variable
 
 
 We have one that may suit your needs:
 
 www.coolfusion.com/downloads.cfm
 
 HTH,
 
 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
 
 - Original Message - 
 From: Russel Madere [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2001 10:22 AM
 Subject: WhoIs tag that returns a variable
 
 
  Hey all, I need a free WhoIs tag that will return the results 
 as a variable,
  not as part of the HTML page.  I looked at Lewis Sellars 
 CFX_TCPIPClient tag
  and thought it was too complicated for what I need.  The 
 existing CFX_WhoIs
  by Distributed Data System is perfect, except it doesn't return 
 the results
  as a variable.
  
  As an alternative, if someone who has written on that returns the HTML
  stream can provide the source, I can modify it myself to return 
 a variable.
  
  TIA.
  
  Russel
  
Russel Madere, Jr. Senior Web Developer
ICQ: 5446158   http://www.TurboSquid.com
  
  Some days you eat the bear; some days the bear eats you.
  
  
  
  
  
  
 

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

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



RE: Form Caching

2001-05-29 Thread Mark Warrick

Greg,

First of all, Fusebox has absolutely nothing to do with this problem.

How often are you changing this form?

The simplest thing you can do to make sure that a user cannot cache that
form is to append a random number to the URL or form path to the fuseaction.
That way the browser will always have to check for a new version of the form
and since the URL will always be different, the form will not cache.
(Unless of course by some great chance they happen to get the same random ID
twice!)

The next thing you should do is make sure that you have all your vars
defined so that a user cannot either intentionally or unintentionally cause
an error because of missing variables.

Another thing you can do is change the fuseaction to the form.  (By the way,
this is a great example of where the Fusebox style shines.)

You could also put a pragma-nocache tag into the HEAD of the specific
document to prevent it from being cached - although that doesn't always
work.

---mark


Mark Warrick - Fusioneers.com
Email: [EMAIL PROTECTED]
Phone: 714-547-5386
http://www.fusioneers.com
http://www.warrick.net


 -Original Message-
 From: Greg Luce [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 6:25 AM
 To: CF-Talk
 Subject: Form Caching


 I'm having problems with people's browsers caching form-pages.
 I'm using CF
 4.5/sybase/apache and of course Fusebox. If I change the way a form page
 works, users start getting errors which I see are caused by
 submitting older
 versions of that form which don't work now. Is there a way to auto-refresh
 the page for them, say in the index perhaps? The only way I can
 come up with
 right now is to include a page with a link in the index.cfm
 before the qry_
 and dsp_ pages for that fuseaction. The page will just say Click to go to
 , then Click your browser's Refresh Button before filling out
 form. My
 webmaster said something about IE noticing major changes in a page before
 using the cached version. Does using Fusebox make this impossible for the
 browser to do?

 Greg




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

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



RE: Correctly using CFOUTPUT

2001-05-29 Thread Mark Warrick

You should never add extraeneous code into your templates, therefore Listing
1 would be the better candidate.

---mark


Mark Warrick - Fusioneers.com
Email: [EMAIL PROTECTED]
Phone: 714-547-5386
http://www.fusioneers.com
http://www.warrick.net


 -Original Message-
 From: J Winter [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 6:48 AM
 To: CF-Talk
 Subject: Correctly using CFOUTPUT


 Hi, I've always been curious about this. What is the correct way? Does it
 matter?

 Listing 1:

 CFOUTPUT
 TABLE
   TR
   TD#var1#/TD
   /TR
   TR
   TD#var2#/TD
   /TR
 /TABLE
 /CFOUTPUT

 Listing 2:

 TABLE
   TR
   TDCFOUTPUT#var1#/CFOUTPUT/TD
   /TR
   TR
   TDCFOUTPUT#var2#/CFOUTPUT/TD
   /TR
 /TABLE

 Is there an unwritten rule; if there are more than 4 (or ?) vars in a page
 Listing 1 is a good way to do it else Listing 2 is recommended?
 I'm assuming
 when using CFOUTPUT QUERY=q1/CFOUTPUT Listing 1 would always be
 applicable.

 Thanks for any help!

 Josh



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

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



RE: WhoIs tag that returns a variable

2001-05-29 Thread Russel Madere

That's an idea I'll have to keep stashed away.

I forgot about that attribute.

Thanks


  Russel Madere, Jr. Senior Web Developer
  ICQ: 5446158   http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 11:01
 To: CF-Talk
 Subject: RE: WhoIs tag that returns a variable


 You could use wrap one of these text-emitting tags inside a module and use
 the generatedcontent attribute to catch the emitted text and put it in a
 variable.

 -Original Message-
 From: Russel Madere [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 11:39 AM
 To: CF-Talk
 Subject: RE: WhoIs tag that returns a variable


 I did.  It seems all these tags do is return the results into the HTML
 stream.

 If any of the authors of these are here and are willing to share
 the source,
 I can modify the CFX to meet our needs.

 
   Russel Madere, Jr. Senior Web Developer
   ICQ: 5446158   http://www.TurboSquid.com

 Some days you eat the bear; some days the bear eats you.
 


  -Original Message-
  From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, May 29, 2001 09:44
  To: CF-Talk
  Subject: RE: WhoIs tag that returns a variable
 
 
  try one of these?
 
  http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywo
  rds=whois
 
  -Original Message-
  From: Russel Madere [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, May 29, 2001 7:22 AM
  To: CF-Talk
  Subject: WhoIs tag that returns a variable
 
 
  Hey all, I need a free WhoIs tag that will return the results as
  a variable,
  not as part of the HTML page.  I looked at Lewis Sellars
  CFX_TCPIPClient tag
  and thought it was too complicated for what I need.  The existing
  CFX_WhoIs
  by Distributed Data System is perfect, except it doesn't return
  the results
  as a variable.
 
  As an alternative, if someone who has written on that returns the HTML
  stream can provide the source, I can modify it myself to return a
  variable.
 
  TIA.
 
  Russel
  
Russel Madere, Jr. Senior Web Developer
ICQ: 5446158   http://www.TurboSquid.com
 
  Some days you eat the bear; some days the bear eats you.
  
 

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

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



RE: CF 5 is out..

2001-05-29 Thread Janssen Dolores Y (Contractor)

are there plans for a new version of studio or a new sp to 4.5? i didn't see
anything in the cf5 announcement on macromedia's site...


--
Dee Janssen
Web Developer
LESCO/LOGSA
256-955-9579
[EMAIL PROTECTED]


-Original Message-
From: Erki Esken [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 7:32 AM
To: CF-Talk
Subject: CF 5 is out..


yep.. it's out, download the eval:

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

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

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



RE: request scope confusion

2001-05-29 Thread Andrew Tyrone

 -Original Message-
 From: sebastian palmigiani [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 12:01 PM
 To: CF-Talk
 Subject: request scope confusion
 
 
 
 I am trying to understand the request scope.
 
 What is the difference between putting
 
 cfset DSN = 'foo'
 
 vs.
 
 cfset request.DSN = 'foo'
 
 in the application.cfm template or in any template?


When you set a without a scope, it is put in the VARIABLES scope, which can only be 
accessed by the current page after it has been set, as well as in any cfincludes you 
might have in that page, that come afterwards.  Using the request scope is basically 
the same thing, since the variable will still be lost after the current page is 
processed, EXCEPT variables in the request scope are accessible within custom tags, 
whereas regular variables are not.  Note that scoped variables such as SERVER, 
APPLICATION, SESSION, FORM, URL and ATTRIBUTES are available within custom tags as 
well.

So to clarify and relate to your question, setting a variable with the request scope 
in your application.cfm is different in that all pages and called tags will have 
access to that variable (provided you read/write it as REQUEST.DSN), whereas only the 
current page being processed would be able to read the variable DSN.  Custom tags have 
a separate memory space allocated to them, but the aforementioned scopes are 
accessible to the called tag even though they are outside the memory space of the 
custom tag.

-Andy


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

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



RE: WhoIs tag that returns a variable

2001-05-29 Thread Russel Madere

I'm having some problems installing the DLL (my box, not the tag) and I have
a quick question.

Will the tag accept an IP address in the Domain attribute?


  Russel Madere, Jr. Senior Web Developer
  ICQ: 5446158   http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.



 -Original Message-
 From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 10:03
 To: CF-Talk
 Subject: Re: WhoIs tag that returns a variable


 We have one that may suit your needs:

 www.coolfusion.com/downloads.cfm

 HTH,

 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

 - Original Message -
 From: Russel Madere [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2001 10:22 AM
 Subject: WhoIs tag that returns a variable


  Hey all, I need a free WhoIs tag that will return the results
 as a variable,
  not as part of the HTML page.  I looked at Lewis Sellars
 CFX_TCPIPClient tag
  and thought it was too complicated for what I need.  The
 existing CFX_WhoIs
  by Distributed Data System is perfect, except it doesn't return
 the results
  as a variable.
 
  As an alternative, if someone who has written on that returns the HTML
  stream can provide the source, I can modify it myself to return
 a variable.
 
  TIA.
 
  Russel
  
Russel Madere, Jr. Senior Web Developer
ICQ: 5446158   http://www.TurboSquid.com
 
  Some days you eat the bear; some days the bear eats you.
  
 
 
 
 
 
 

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

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



Re: WhoIs tag that returns a variable

2001-05-29 Thread Howie Hamlin

No problem.  I could probably get you the source code as well if you need it (no 
promises, though).

Regards,

Howie

- Original Message - 
From: Russel Madere [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 12:11 PM
Subject: RE: WhoIs tag that returns a variable


 Thank You Howie.
 
 That looks like exactly what we need.
 
 I'm going to set it up and test it.
 
 Thanks again.
 
 Russel
 
 
   Russel Madere, Jr. Senior Web Developer  
   ICQ: 5446158   http://www.TurboSquid.com   
 
 Some days you eat the bear; some days the bear eats you.
 
  
 


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

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



RE: Request vs application scope

2001-05-29 Thread Dave Watts

 Brilliant! So what's the downside? The variables are not 
 persistent across pages are they?

Request variables aren't persistent across pages, as Session, Application
and Server variables are. However, you're using them in Application.cfm, so
they'll be available on every page. They'll simply be recreated for every
page. Since you're using them as constants, there isn't really any downside
to using them.

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

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

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



RE: CF 5 is out..

2001-05-29 Thread Andrew Tyrone

 -Original Message-
 From: Janssen Dolores Y (Contractor)
 [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 12:28 PM
 To: CF-Talk
 Subject: RE: CF 5 is out..
 
 
 are there plans for a new version of studio or a new sp to 4.5? i 
 didn't see
 anything in the cf5 announcement on macromedia's site...

No word on that yet, as far as I know.

HOWEVER...

There is an addon for the current version of studio here:

http://www.macromedia.com/software/coldfusion/resources/cf_tag_update/contents.html

Synopsis:

The ColdFusion Studio Tag Update allows users of ColdFusion Studio 4.5.2 to take 
advantage of the new features of ColdFusion 5 by installing new ColdFusion 5 tag 
definitions and help files on workstations currently running Studio. 


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

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



RE: Request vs application scope

2001-05-29 Thread alistair . davidson

Depends on a lot of things - complexity of variables, how often they're
going to change, how many users you're expecting, how performance-critical
the app is, how long it takes to obtain the values that you're going to
store (e.g. if you're storing, say, a five-value array, but populating that
array takes twenty queries), etc. etc. etc.

Both are valid ways of doing it, I just always try to design data structures
in terms of what feels right, for instance, the Home directory of a site
feels more like a property of the application, rather than an individual
page request, so it goes in the application scope. Besides, if you use app.
scope to begin with, you've then got expansibility built in for that
horrible day whwn the client says Great, that's just what I asked for, but
what I actually WANT is..





-Original Message-
From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 15:37
To: CF-Talk
Subject: RE: Request vs application scope


But using request vars means the memory is released immediately the request
has finished...

I would agree if you are planning to store large/complex data (esp query
result sets etc) then its probably best to use app scope...

But would you consider it best if there are just a few simple vars (maybe
100B)?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 15:07
To: CF-Talk
Subject: RE: Request vs application scope


That's the downside! Also, they are unique to each request, so memory 
processor usage will increase by a set amount for each page request.

e.g.

APPLICATION scope


cflock scope=APPLICATION .
cfif NOT IsDefined( APPLICATION.TestVar )
!--- Set up (say) 2KB of application variables ---
/cfif
/cflock

- First request, you get a CPU performance hit while you set up the app.
variables, and 2KB of memory is taken up by the variables.
- Subsequent requests will detect the existence of APPLICATION.TestVar, and
not bother setting the variables up again.
- Total memory usage - 2KB for the application variables, however many page
requests are made.


REQUEST scope
-

cfset REQUEST.(whatever) = (whatever)
..
..
..
!--- set up the same 2KB of variables in the request scope ---

- Every single request will use the CPU while setting up the variables, and
need the 2KB of memory for itself. 
- If you're in a frameset, that's (say) 3 times the CPU usage and an extra
4KB of memory per client, per hit.
- Total memory usage - 2KB * number of frames * number of simultaneous
users.

If you're using the scope to store queries or other complex objects, or even
long strings, you're going to end up with a fairly hefty performance hit.


Alistair Davidson
Senior Developer
Rocom New Media
www.rocomx.net



-Original Message-
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2001 14:43
To: CF-Talk
Subject: RE: Request vs application scope


Brilliant! So what's the downside? The variables are not persistent across
pages are they?



 -Original Message-
 From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 2:56 PM
 To: CF-Talk
 Subject: RE: Request vs application scope


 Yes thats right.

 -Original Message-
 From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
 Sent: 29 May 2001 13:51
 To: CF-Talk
 Subject: RE: Request vs application scope


 Thanks.

 Can I put any data in there that I want to use across the site?
 And I don't
 have to apply CFLOCKs do I?



  -Original Message-
  From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, May 29, 2001 2:32 PM
  To: CF-Talk
  Subject: RE: Request vs application scope
 
 
  Absolutely no problem... I do it regularly...
 
  -Original Message-
  From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
  Sent: 29 May 2001 08:34
  To: CF-Talk
  Subject: Request vs application scope
 
 
  I am using the following line of code in my application.cfm
 
  cfset request.HomeDir = http://127.0.0.1/work/ACME/may2001/website;
 
  Then elsewhere in the site I refer all links and images to:
 
  cfoutput#request.HomeDir#/cfoutput
 
  Is this OK to do? I'm trying to avoid using the application
  scope. Are there
  any known of issues with this method?
 
  Thanks.
  Steve
 
 
 
 
 
  Development Manager
  Vardus Internet Solutions (SA)
 
  Tel: (+27) 21 670 9880
  Fax: (+27) 21 674 4549
 
  Email: [EMAIL PROTECTED]
  Website: www.vardus.com
 

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

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



RE: CF 5 is out..

2001-05-29 Thread Garza, Jeff

I think that currently the only thing available is the new set of VTM's and
TagDefs for CF5.0.  You can find them at the Macromedia site as well.  Kinda
nice to have an interface for all those CFGRAPH parameters!!!

Jeff Garza
Web Developer/Webmaster
Spectrum Astro, Inc.
480.892.8200

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



-Original Message-
From: Janssen Dolores Y (Contractor) [mailto:[EMAIL PROTECTED]]

Sent: Tuesday, May 29, 2001 9:28 AM
To: CF-Talk
Subject: RE: CF 5 is out..


are there plans for a new version of studio or a new sp to 4.5? i didn't see
anything in the cf5 announcement on macromedia's site...


--
Dee Janssen
Web Developer
LESCO/LOGSA
256-955-9579
[EMAIL PROTECTED]


-Original Message-
From: Erki Esken [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 7:32 AM
To: CF-Talk
Subject: CF 5 is out..


yep.. it's out, download the eval:

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

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

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



RE: CF 5 is out..

2001-05-29 Thread Mike Sprague

Get the tag update here:

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

*** REPLY SEPARATOR  ***
On 5/29/2001 at 11:28 AM Janssen Dolores Y (Contractor) wrote:

|are there plans for a new version of studio or a new sp to 4.5? i didn't
|see
|anything in the cf5 announcement on macromedia's site...
|
|
|--
|Dee Janssen
|Web Developer
|LESCO/LOGSA
|256-955-9579
|[EMAIL PROTECTED]
|
|
|-Original Message-
|From: Erki Esken [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, May 29, 2001 7:32 AM
|To: CF-Talk
|Subject: CF 5 is out..
|
|
|yep.. it's out, download the eval:
|
|http://www.macromedia.com/software/coldfusion/
|
|-erki
|
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: CF 5 is out..

2001-05-29 Thread John Wilker

From what I've heard Studio 5 is due out a ways from now. It'll be Studio
Ultra Dev I think, but several months or more out I think was the projection
I heard.

J.

John Wilker
Web Applications Consultant
Macromedia Certified ColdFusion Developer

www.red-omega.com http://www.red-omega.com

Pepsi's Come Alive With the Pepsi Generation translated into Pepsi Brings
Your Ancestors Back From the Grave in Chinese.


-Original Message-
From: Janssen Dolores Y (Contractor)
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 9:28 AM
To: CF-Talk
Subject: RE: CF 5 is out..


are there plans for a new version of studio or a new sp to 4.5? i didn't see
anything in the cf5 announcement on macromedia's site...


--
Dee Janssen
Web Developer
LESCO/LOGSA
256-955-9579
[EMAIL PROTECTED]


-Original Message-
From: Erki Esken [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 7:32 AM
To: CF-Talk
Subject: CF 5 is out..


yep.. it's out, download the eval:

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

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

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



RE: Using IE5 HTTP com object

2001-05-29 Thread Howarth, Craig (IBK-NY)

I use this all the time for intranet development.  It is really useful for client-side 
validation and dynamic page building.  For validation, use the object to post values 
to a page and then wait for the results.  In one application, I use this to validate 
state/country/postal code combinations.  This is great because it doesn't require 
posting the actual data entry form until it is totally validated.

For dynamic page building, I use the object in conjuction with a DHTML tab control 
that I created.  Waiting for the entire page to load with all of the tabs populated 
can take a long time.  I get around this by loading the page with only the first tab 
populated and then the onLoad event of the body tag fires off successive calls to 
XMLHTTP to get the content for the other tabs.  This content is assigned to the 
innerHTML of each tab.

Here is a JS function which wraps the calls.  The paramater sContent contains pair 
values that will be posted to sPage (seperate multiple values with an ampersand).

function postPage( sContent, sPage )
{
var oHTTP;
var sRetVal;

oHTTP = new ActiveXObject('Microsoft.XMLHTTP');
oHTTP.Open('POST', sPage, false);
oHTTP.setRequestHeader('Content-type','application/x-www-form-urlencoded');
oHTTP.Send(sContent);
sRetVal = oHTTP.responseText;
oHTTP = '';

// This will remove all tags from the output, which may be added by
// application.cfm.
return sRetVal.replace(/[^]*/g,'');
}

See this article at M$ for more info:

http://support.microsoft.com/support/kb/articles/Q290/5/91.ASP

Hope this helps.

Craig Howarth


 -Original Message-
 From: Robert Everland III [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 28, 2001 10:08 PM
 To:   CF-Talk
 Subject:  Using IE5 HTTP com object
 
 I have looked on cfcomet.com and have not found an answer to this, does
 anyone have any example code for using IE5 http com object. I would like to
 do some things with it.
 
 
 Bob Everland
 
 

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

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



RE: CF 5 is out..

2001-05-29 Thread Matthew Fusfield

Macromedia's site lists the ColdFusion Studio Tag Infusion Pack/Studio
Update which has the new tag definitions.
(http://www.macromedia.com/software/coldfusion/downloads/)

Matt

-Original Message-
From: Janssen Dolores Y (Contractor)
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 12:28 PM
To: CF-Talk
Subject: RE: CF 5 is out..


are there plans for a new version of studio or a new sp to 4.5? i didn't see
anything in the cf5 announcement on macromedia's site...


--
Dee Janssen
Web Developer
LESCO/LOGSA
256-955-9579
[EMAIL PROTECTED]


-Original Message-
From: Erki Esken [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 7:32 AM
To: CF-Talk
Subject: CF 5 is out..


yep.. it's out, download the eval:

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

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

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



RE: CF 5 is out..

2001-05-29 Thread Raymond Camden

There will be a new version of Studio. For now, however, you can download a
Studio update that will enable your Studio  editor to recognize CF5 tags. It
is in the CF5 Server installer and I'm pretty sure you can download it
separately as well.

Ah, here we go:

http://www.macromedia.com/software/coldfusion/resources/cf_tag_update/conten
ts.html


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

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

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

 -Original Message-
 From: Janssen Dolores Y (Contractor)
 [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 12:28 PM
 To: CF-Talk
 Subject: RE: CF 5 is out..


 are there plans for a new version of studio or a new sp to 4.5? i
 didn't see
 anything in the cf5 announcement on macromedia's site...

 
 --
 Dee Janssen
 Web Developer
 LESCO/LOGSA
 256-955-9579
 [EMAIL PROTECTED]


 -Original Message-
 From: Erki Esken [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 7:32 AM
 To: CF-Talk
 Subject: CF 5 is out..


 yep.. it's out, download the eval:

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

 -erki

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

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



RE: CF 5 is out..

2001-05-29 Thread pcosta

There is a free update to ColdFusion Studio that adds VTML and help for the
CF5 tags. You can download it at
http://www.macromedia.com/software/coldfusion/resources/cf_tag_update/conten
ts.html and it's on the CD if you purchase it.

CF Studio 5 is in the works. See the FAQ for more info
http://www.macromedia.com/software/coldfusion/productinfo/faq/

Phil Costa 
Sr. Product Marketing Manager / Macromedia
[EMAIL PROTECTED] 




 -Original Message-
 From: Janssen Dolores Y (Contractor)
 [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 12:28 PM
 To: CF-Talk
 Subject: RE: CF 5 is out..
 
 
 are there plans for a new version of studio or a new sp to 
 4.5? i didn't see
 anything in the cf5 announcement on macromedia's site...
 
 --
 --
 --
 Dee Janssen
 Web Developer
 LESCO/LOGSA
 256-955-9579
 [EMAIL PROTECTED]
 
 
 -Original Message-
 From: Erki Esken [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 29, 2001 7:32 AM
 To: CF-Talk
 Subject: CF 5 is out..
 
 
 yep.. it's out, download the eval:
 
 http://www.macromedia.com/software/coldfusion/
 
 -erki

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

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



Re: URL Decrypt and Encrypt

2001-05-29 Thread Joseph Thompson


!---Page1.cfm---
cfset YourID=13

!---Set an encryption key---
cfset thekey = AnyKey001

!---Encrypt the value---
cfset EncryptedID=#URLEncodedFormat(Encrypt(YourID, thekey))#

cfoutput
a href=Page2.cfm?ID=#EncryptedID#Link/a
/cfoutput

!---Page2.cfm---

!---Use Same Key---
cfset thekey = AnyKey001

!---Decrypt the ID---
cfset YourID=Decrypt(URL.ID, thekey)

!---All done---
cfoutput
#YourID#
/cfoutput


 Passing values in the URL and would like to hide the true values.

 Can someone give me an example of using encrypt and decrypt and any
 tips, problems with this method.

 Thanks

 Gordon



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

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



Re: WhoIs tag that returns a variable

2001-05-29 Thread Tony Schreiber

Actually, there's a CF_EXECUTE tag that wraps CFEXECUTE so that it returns
the output as a variable. Genius. Forgot about that!

 usage question:
 Can you assign the output of a cfexecute to a variable? (i.e., whois,
 nslookup, ping, etc)
 
 
 
 
 Russel Madere [EMAIL PROTECTED] on 05/29/2001 09:22:05 AM
 
 Please respond to [EMAIL PROTECTED]
 
 To:   CF-Talk [EMAIL PROTECTED]
 cc:
 
 Subject:  WhoIs tag that returns a variable
 
 
 Hey all, I need a free WhoIs tag that will return the results as a
 variable,
 not as part of the HTML page.  I looked at Lewis Sellars CFX_TCPIPClient
 tag
 and thought it was too complicated for what I need.  The existing CFX_WhoIs
 by Distributed Data System is perfect, except it doesn't return the results
 as a variable.
 
 As an alternative, if someone who has written on that returns the HTML
 stream can provide the source, I can modify it myself to return a variable.
 
 TIA.
 
 Russel
 
   Russel Madere, Jr. Senior Web Developer
   ICQ: 5446158   http://www.TurboSquid.com
 
 Some days you eat the bear; some days the bear eats you.
 

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

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



RE: CF 5 is out..

2001-05-29 Thread Jeffry Houser


   I've heard that development hasn't started yet, but Studio 5.0 should be 
out around December.  The VTM for CF 5.0 will be included on the CF 5 and 
be available for download via the web.  None of this constitutes an 
official word from Allaire, it's just information that I've heard.


At 11:28 AM 05/29/2001 -0500, you wrote:
are there plans for a new version of studio or a new sp to 4.5? i didn't see
anything in the cf5 announcement on macromedia's site...


--
Dee Janssen
Web Developer
LESCO/LOGSA
256-955-9579
[EMAIL PROTECTED]


-Original Message-
From: Erki Esken [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 7:32 AM
To: CF-Talk
Subject: CF 5 is out..


yep.. it's out, download the eval:

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

-erki

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

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



Re: CF 5 is out..

2001-05-29 Thread Erki Esken

Btw, I just noticed something. The CF5 Feature Comparison Matrix says that
Merant Wire Protocol Database Drivers are available to all versions of CF5
(Pro and Ent) but ColdFusion 5 General Information FAQ states that Wire
Protocol Database Drivers are available only with ColdFusion Server
Enterprise Edition.

So which way is it then?

-erki


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

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



RE: Request vs application scope

2001-05-29 Thread Patricia Lee

no they aren't.  If you set a request variable in the application.cfm it's
pretty much the same as setting a local variable in terms of persistence...
every page will recreate the variable anew.

Request variables are different, though, from local variables in that they
can be seen inside of custom tags without specifically passing the
parameter.

One tecnique used often is to set the variable in the application scope in
the application.cfm page (using proper locking, of course) and then to copy
the variable into the request scope immediately after.  This way you save
the cost of creating the variable every page load and/or locking a shared
scope every time the variable is used... and trade it for the smaller
footprint caused by copying the variable from the persistent shared scope to
the request scope.

|-Original Message-
|From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, May 29, 2001 9:43 AM
|To: CF-Talk
|Subject: RE: Request vs application scope
|
|
|Brilliant! So what's the downside? The variables are not 
|persistent across
|pages are they?
|
|
|
| -Original Message-
| From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
| Sent: Tuesday, May 29, 2001 2:56 PM
| To: CF-Talk
| Subject: RE: Request vs application scope
|
|
| Yes thats right.
|
| -Original Message-
| From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
| Sent: 29 May 2001 13:51
| To: CF-Talk
| Subject: RE: Request vs application scope
|
|
| Thanks.
|
| Can I put any data in there that I want to use across the site?
| And I don't
| have to apply CFLOCKs do I?
|
|
|
|  -Original Message-
|  From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
|  Sent: Tuesday, May 29, 2001 2:32 PM
|  To: CF-Talk
|  Subject: RE: Request vs application scope
| 
| 
|  Absolutely no problem... I do it regularly...
| 
|  -Original Message-
|  From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
|  Sent: 29 May 2001 08:34
|  To: CF-Talk
|  Subject: Request vs application scope
| 
| 
|  I am using the following line of code in my application.cfm
| 
|  cfset request.HomeDir = 
http://127.0.0.1/work/ACME/may2001/website;
 
  Then elsewhere in the site I refer all links and images to:
 
  cfoutput#request.HomeDir#/cfoutput
 
  Is this OK to do? I'm trying to avoid using the application
  scope. Are there
  any known of issues with this method?
 
  Thanks.
  Steve
 
 
 
 
 
  Development Manager
  Vardus Internet Solutions (SA)
 
  Tel: (+27) 21 670 9880
  Fax: (+27) 21 674 4549
 
  Email: [EMAIL PROTECTED]
  Website: www.vardus.com
 

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

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



Re: SSL, IIS CF...

2001-05-29 Thread Brandon Wood

Yes, it is definitely the code calling Web Trends Live that is messing up
the SSL page.  I am trying to trap for the existence of https: in a page
request but cannot seem to find any CGI or request variable that will return
whether or not a page request is requesting http or https.  Has anyone
run across this?

All I want to do is to not call the Web Trends Live code if the site
requests an https page.  That should solve my problem.  Any help would be
appreciated.

Cheers,
Brandon

- Original Message -
From: Jim McAtee [EMAIL PROTECTED]
To: Brandon Wood [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 2:51 AM
Subject: Re: SSL, IIS  CF...


 Do you have stuff like img src=http://www.someothersite.com; on the
page?
 That'll definitely cause stuff like this.  I'm not familiar with the Web
 Trends Live code that you're talking about.  Is this a java class or
 somesuch?

 Jim


 - Original Message -
 From: Brandon Wood [EMAIL PROTECTED]
 To: Jim McAtee [EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2001 1:42 AM
 Subject: Re: SSL, IIS  CF...


  Jim,
 
  Darn it, I bet the secure and nonsecure message is coming up due to
the
  existence of Web Trends Live code I have on all of my pages.  Hmm...any
  suggestions?
 
  Cheers,
  BW
 
  - Original Message -
  From: Jim McAtee [EMAIL PROTECTED]
  To: Brandon Wood [EMAIL PROTECTED]
  Sent: Tuesday, May 29, 2001 1:57 AM
  Subject: Re: SSL, IIS  CF...
 
 
   Brandon,
  
   Are you using IIS4 (NT4) or IIS5 (Windows 2000)?  Just to let you
 know...
  my
   only experience is with IIS4.  The following describes what I see in
one
  of
   my sites with a certificate installed.
  
   Select the virtual site and go to Properties (right click, then
   Properties, or click the finger/hand icon above.  On the 'Web Site'
tab,
  it
   shows the IP address, which I'd setup with the second of your two IP
   addresses.  There's a box labeled 'TCP Port' which should have '80' in
 it.
   The 'SSL Port' box should have 443 in it.  Clicking on the 'Advanced'
  button
   should show two areas, the above showing the port 80 configuration,
the
   bottom one showing the port 443 config.
  
   If the 'SSL Port' box on the 'Web Site' tab is greyed out, I belive
it's
   because there's no certificate is installed on the machine (not
certain
   about this, however).  Therefore, it may be necessary to correctly
 install
   the cert before doing the above.
  
   Not sure where you are with the certificate, so excuse me if you
already
   know this: Under key manager your certificate must be installed and
 bound
  to
   the IP address that you're going to use for SSL.  Double check this.
   Installing the certificate is a two part deal.  First you generate a
   certificate request, which you send off to Thawte, Verisign, etc.
They
   issue you a certificate which you then install in key manager.  You go
  back
   to the request in key manager and install it there.  Only after you've
   installed the certificate (just a block of encrypted text) will the
   certificate be active.
  
   Beyond the above, there shouldn't be anything you need to do with
 virtual
   directories or special directory permissions, etc.  In fact, you
 probably
   don't want to mess with them unless for some other purpose.  The
entire
  site
   should be enabled for SSL.
  
   Which brings up some other issues.  Once you get this far, I'll tell
you
   about those.
  
   Jim
  
   - Original Message -
   From: Brandon Wood [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Tuesday, May 29, 2001 12:24 AM
   Subject: Re: SSL, IIS  CF...
  
  
Jim,
   
Right now, I have only 2 IP Addresses available to use.  1 for the
   machine,
and 1 for the site.  Right now, I am using the machine's IP and the
  site's
for the regular http site.  I haven't dedicated one of those for the
 SSL
key, which I could.
   
Right now, when I click advanced, I only see port 80 attached to the
   site's
IP.  What dould you recommend?  I do have two IPs available to use.
 So
   are
you saying that I create a single site in the MMC and then create 2
   virtual
directories each having a different IP or are you saying to create 2
  sites
with each pointing to the same home directory but with different
ports
  and
different IPs bound to the same?
   
You are really helping me out here...I haven't message with virtual
   hosting
and leave most of the hosting side of things to those who know
   better...but
in this case, I am the only one holding the bag.
   
If you can be specific in what should go in the site parameters, the
 IP
config for both the ports and sites, advanced properties and
possible
  host
header places, I think I might just be on my way...for the record, I
  guess
   I
do have two IPs I can use, I can point the Key to either of them in
 the
   Key
Manager and have nothing more to losehehe
   
Thanks a ton,
Brandon
   

FieldNames from a CFQUERY

2001-05-29 Thread David Sterling

I have seen this before, I have even used it before, but right now I just
cant recal the code to cfoutput the fieldnames from a Cfquery  can
anybody help?

David Sterling

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

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



CFMAIL HTML Images

2001-05-29 Thread David Adams

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--_=_NextPart_001_01C0E86E.EC4A41F0
Content-Type: text/plain;
charset=iso-8859-1

Hello.  I'm trying to create html mail using cfmail.  Specifically, I'd like
to put in images that are normally attachments.

Take this situation.  Using Outlook you can create emails and paste in
graphics (they are converted to bmp files on the other end, but show up as
images in the otherwise 'normal' html document.  This is the image tag that
is used:
IMG src=cid:552454817@29052001-0ca6;

My question is, does anyone know how to attach an image so that it show up
in place in the email?

Yes, I could put in images as links to my web pages, but this isn't the same
thing.  What if my web site is inside a firewall or whatever.

Thank you!



  _  

David Adams [EMAIL PROTECTED]  mailto:[EMAIL PROTECTED] 
Web Applications Developer
   (425) 519-2046

   Marconi PLCBellevue, Wa  







--_=_NextPart_001_01C0E86E.EC4A41F0
Content-Type: text/html;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META HTTP-EQUIV=3DContent-Type CONTENT=3Dtext/html; =
charset=3Diso-8859-1
TITLE/TITLE

META content=3DMSHTML 5.50.4522.1800 name=3DGENERATOR/HEAD
BODY
PFONT size=3D2Hello.nbsp; I'm trying to create html mail using =
cfmail.nbsp;=20
Specifically, I'd like to put in images that are normally=20
attachments.BRBRTake this situation.nbsp; Using Outlook you can =
create=20
emails and paste in graphics (they are converted to bmp files on the =
other end,=20
but show up as images in the otherwise 'normal' html document.nbsp; =
This is the=20
image tag that is used:BRlt;IMG=20
src=3Dcid:552454817@29052001-0ca6gt;BRBRMy question is, does =
anyone know=20
how to attach an image so that it show up in place in the =
email?BRBRYes, I=20
could put in images as links to my web pages, but this isn't the same=20
thing.nbsp; What if my web site is inside a firewall or =
whatever.BRBRThank=20
you!BRBR/P
DIV
HR style=3DWIDTH: 400px; COLOR: #0099ff; HEIGHT: 1px; TEXT-ALIGN: =
left

MARQUEE id=3DMarquee1 style=3DWIDTH: 300px; FONT-FAMILY: Tahoma; =
HEIGHT: 20px=20
trueSpeed scrollAmount=3D1 scrollDelay=3D40 direction=3Ddown =
behavior=3Dslide loop=3D1=20
BORDER=3D0!-- Name --FONT style=3DFONT-WEIGHT: bold =
color=3Dnavy size=3D2David=20
Adams /FONT!-- Email Address --FONT color=3D#80 size=3D1A=20
href=3Dmailto:[EMAIL PROTECTED];[EMAIL PROTECTED]=20
/A/FONT/MARQUEEBR!-- Job Title Marquee --
MARQUEE id=3DMarquee2=20
style=3DFONT-SIZE: 10pt; WIDTH: 175px; COLOR: black; FONT-FAMILY: =
Tahoma; HEIGHT: 17px=20
trueSpeed scrollAmount=3D1 scrollDelay=3D3 direction=3Dright =
behavior=3Dslide loop=3D1=20
ORDER=3D0Web Applications Developer/MARQUEEBR!-- Phone Number =
Marquee --
MARQUEE id=3DMarquee3=20
style=3DFONT-WEIGHT: bold; FONT-SIZE: 10pt; WIDTH: 198px; COLOR: =
black; FONT-STYLE: italic; FONT-FAMILY: Tahoma; HEIGHT: 19px=20
trueSpeed scrollAmount=3D1 scrollDelay=3D3 behavior=3Dslide loop=3D1 =
height=3D5=20
BORDER=3D0nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp=
; (425)=20
519-2046/MARQUEEBR!-- Company Marquee --
MARQUEE id=3DMarquee4 style=3DWIDTH: 220px; HEIGHT: 16px trueSpeed =
scrollAmount=3D1=20
scrollDelay=3D50 direction=3Dup behavior=3Dslide loop=3D1 BORDER=3D0
TABLE cellSpacing=3D0 cellPadding=3D0 width=3D170
  TBODY
  TR
TD=20
style=3DBORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; FONT-SIZE: =
8pt; BORDER-LEFT: 1px solid; COLOR: white; BORDER-BOTTOM: 1px solid=20
noWrap borderColor=3Dblack bgColor=3D#003366FONT =
style=3DFONT-WEIGHT: bold=20
  face=3Dtahoma color=3Dwhitenbsp;nbsp;nbsp;nbsp;nbsp;nbsp; =
Marconi=20
  PLCnbsp; /FONT/TD
TD=20
style=3DBORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; FONT-SIZE: =
8pt; COLOR: black; BORDER-BOTTOM: 1px solid=20
noWrap borderColor=3Dblack bgColor=3D#bce2f8FONT =
style=3DFONT-WEIGHT: bold=20
  face=3Dtahoma color=3D#003366nbsp; Bellevue, Wanbsp; =
nbsp;nbsp;=20
  /FONT/TD/TR/TBODY/TABLE/MARQUEEBR/DIV
PBRBR/FONT/P/BODY/HTML

--_=_NextPart_001_01C0E86E.EC4A41F0--

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



serving jsp

2001-05-29 Thread Adrian Cesana

I am running WebsitePro and CF 4.01 and need to serve some JSP pages.  What
do I need to do this.  I have the JSP being served thru Tomcat currently but
need to integrate it into out production website (SSL) which uses the above
configuration. Is there some method that I can pull the page from Tomcat
thru my WSP/CF server?

TIA Adrian


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

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



SLightly OT: Certification

2001-05-29 Thread Scott Mulholland

What was the deadline for taking the exam and having it cover 5.0
certification?
 
Thanks,
Scott


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

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



RE: CF 5 is out..

2001-05-29 Thread Janssen Dolores Y (Contractor)

thanks, i got down to the fine print area and found that the solaris
version isn't due out until august - wish they would clarify it a bit more
on the initial announcement page, not everybody uses nt for a server ;P
some of us get to play on the big servers


--
Dee Janssen
Web Developer
LESCO/LOGSA
256-955-9579
[EMAIL PROTECTED]


-Original Message-
From: John Wilker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 12:11 PM
To: CF-Talk
Subject: RE: CF 5 is out..


From what I've heard Studio 5 is due out a ways from now. It'll be Studio
Ultra Dev I think, but several months or more out I think was the projection
I heard.

J.

John Wilker
Web Applications Consultant
Macromedia Certified ColdFusion Developer

www.red-omega.com http://www.red-omega.com

Pepsi's Come Alive With the Pepsi Generation translated into Pepsi Brings
Your Ancestors Back From the Grave in Chinese.


-Original Message-
From: Janssen Dolores Y (Contractor)
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 9:28 AM
To: CF-Talk
Subject: RE: CF 5 is out..


are there plans for a new version of studio or a new sp to 4.5? i didn't see
anything in the cf5 announcement on macromedia's site...


--
Dee Janssen
Web Developer
LESCO/LOGSA
256-955-9579
[EMAIL PROTECTED]


-Original Message-
From: Erki Esken [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 7:32 AM
To: CF-Talk
Subject: CF 5 is out..


yep.. it's out, download the eval:

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

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

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



Need Help with CF/W2K/Access2000 Memory Leak Problem

2001-05-29 Thread Gary Robertson

html
Thanks for listening:br
br
A recent development: It appears that after each page load memory gets
allocated and never de-allocated.nbsp; When I run the CYCLE.BAT sequence
of programs all gets better (for 5 to 8 minutes) and then system starts
to run out of RAM again.nbsp; Using the Windows Task Manager I can see
the Memory Usage History scale off the chart.br
br
I have 1 GIG of RAM, Dual 850 Mhz processors.nbsp; I'm seeing between 80
and 120 or so simultaneous users, about a 20% increase over usual.nbsp;
I have been running this configuration successfully for about 4 months
now.br
br
Here is my font face=Helvetica, Helvetica size=4bServer
Information:br
br
/fontfont face=Helvetica, HelveticaServer Product/bColdFusion
Serverbr
bVersion/b4, 5, 1, SP2br
bEdition/bProfessionalbr
bOperating System/bWindows NTbr
bOS Version/b5.0, Service Pack 2br
bOS Build Number/b2195br
br
Thanks for your help.nbsp; -grbr
x-sigsepp/x-sigsep
hr
/fontdiv align=center
ttnbsp; lt;[EMAIL PROTECTED]gt;br
nbsp; 5575B Chamblee Dunwoody Road #427br
nbsp;Atlanta, Georgianbsp;nbsp; USAnbsp;nbsp; 30338-4128br
Voice:(770)512-0600nbsp; Fax:(770)512-7216br
/div
/html


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

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



RealAudio and ColdFusion

2001-05-29 Thread David Grabbe

Howdy folks,

I'm running CF 4.5.1.  The organization I work for has a weekly program
which we stream via RealAudio.  The RealAudio aspect is working just fine,
but I'm wondering if there is a way for CF to detect whether or not the
RealAudio stream is active or not (i.e. check for the existence of the .rm
file).  I looked into using CFHTTP, but couldn't get that to work --
probably because of the media type.  I'm not actually wanting to download,
just see if the stream exists.  If there an easy way to do this?  Are there
any RA gurus out there  :)

Thanks in advance!

Cheers,
David


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

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



Re: Request vs application scope

2001-05-29 Thread stas

Isn't it a bit illogical to use request scope for storing constants if they
can be overwritten? I understand that there is no sense in doing cfif
isdefined(request.myvar) as the variable will be destroyed no matter
what, so you have to always re-initialize it. Does that carry more or less
penalty than checking for existence of an application scope variable with
isdefined()?


- Original Message -
From: Dave Watts [EMAIL PROTECTED]


 Brilliant! So what's the downside? The variables are not
 persistent across pages are they?

Request variables aren't persistent across pages, as Session, Application
and Server variables are. However, you're using them in Application.cfm, so
they'll be available on every page. They'll simply be recreated for every
page. Since you're using them as constants, there isn't really any downside
to using them.

Dave Watts, CTO, Fig Leaf Software



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

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



RE: OT DBMS select distinct

2001-05-29 Thread Sima Lee


Hi John,

where r.name in (select distinct name from resources)

Is this working?  If there are 30 records in all , the select distinct
clause may return 20
but when execute the where r.name in.. , the statement still return 30
records, because the other 10 name is also meet the criteria : where
r.name in... .
I had this problem before when I got a flat data file from a client and
try to make a set of relational tables. If anyone has a good sulotion
and willing to share with me, I would  very much appreciate.

Thanks.

Sima 

 
-Original Message-
From: John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 11:21 PM
To: CF-Talk
Subject: RE: OT DBMS select distinct


The key word distinct does not work that way.  It will only allow
duplicate
record sets but does nothing for individual fields unless it is a one
field
query.  A work around is as follows but depending on the data set .
Hope
this helps.

John


select
 r.ResourceID,
 r.Name,
 r.Description,
 p.ApplicationID
from
 Resources as r LEFT OUTER JOIN
 Policies as p
ON
 r.ResourceID = p.ResourceID
where r.name in (select distinct name from resources)

-Original Message-
From: Bryan LaPlante [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 10:04 PM
To: CF-Talk
Subject: OT DBMS select distinct


Sorry for the off topic but how do you select distinct only on one of
several items in a select statement.
I only want the unique names from the query below but this doesn't seem
to
be working.

Winnt 4 sp6
CF 4.5.2
Access or SQL 6.5

select
 r.ResourceID,
distinct  r.Name,
 r.Description,
 p.ApplicationID
from
 Resources as r LEFT OUTER JOIN
 Policies as p
ON
 r.ResourceID = p.ResourceID
The error message
Error Diagnostic Information
ODBC Error Code = 37000 (Syntax error or access violation)


[Microsoft][ODBC Microsoft Access Driver] Cannot include Memo, OLE, or
Hyperlink Object when you select unique values (r.Description).

Thanks in advance for your help

Bryan LaPlante
816-347-8220
[EMAIL PROTECTED]
http://www.netwebapps.com
Web Development
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



Re: SSL, IIS CF...

2001-05-29 Thread Brandon Wood

Jim,

Yes, I got it to work...

Here is the code I used to keep the Web Trends code from showing.  I sure
hope this helps people out who might be going through these problems
themselves.

cfparam name=CGI.HTTPS default=off

cfif #CGI.HTTPS# IS off
 cfinclude template=stats/Web_Trends_Live_Stats.cfm
/cfif

Thanks a ton,
Brandon

P.S.
BTW, what were some of the caveats you were going to mention once the SSL
worked?  I am curious to find out if they are ones I have already come
across.



- Original Message -
From: Jim McAtee [EMAIL PROTECTED]
To: Brandon Wood [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 2:22 PM
Subject: Re: SSL, IIS  CF...


 If you can turn CF debugging on you should see a cgi variable called
HTTPS,
 with a value of on.  Do something like:

 cfparam name=CGI.HTTPS default=off

 ...

 cfif not CGI.HTTPS
   ... put your outside site references, Web Trends stuff, etc. here.
 /cfif


 Jim


 - Original Message -
 From: Brandon Wood [EMAIL PROTECTED]
 To: Jim McAtee [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2001 12:23 PM
 Subject: Re: SSL, IIS  CF...


  Yes, it is definitely the code calling Web Trends Live that is messing
up
  the SSL page.  I am trying to trap for the existence of https: in a
page
  request but cannot seem to find any CGI or request variable that will
 return
  whether or not a page request is requesting http or https.  Has
anyone
  run across this?
 
  All I want to do is to not call the Web Trends Live code if the site
  requests an https page.  That should solve my problem.  Any help would
 be
  appreciated.
 
  Cheers,
  Brandon
 
  - Original Message -
  From: Jim McAtee [EMAIL PROTECTED]
  To: Brandon Wood [EMAIL PROTECTED]
  Sent: Tuesday, May 29, 2001 2:51 AM
  Subject: Re: SSL, IIS  CF...
 
 
   Do you have stuff like img src=http://www.someothersite.com; on the
  page?
   That'll definitely cause stuff like this.  I'm not familiar with the
Web
   Trends Live code that you're talking about.  Is this a java class or
   somesuch?
  
   Jim
  
  
   - Original Message -
   From: Brandon Wood [EMAIL PROTECTED]
   To: Jim McAtee [EMAIL PROTECTED]
   Sent: Tuesday, May 29, 2001 1:42 AM
   Subject: Re: SSL, IIS  CF...
  
  
Jim,
   
Darn it, I bet the secure and nonsecure message is coming up due
to
  the
existence of Web Trends Live code I have on all of my pages.
 Hmm...any
suggestions?
   
Cheers,
BW
   
- Original Message -
From: Jim McAtee [EMAIL PROTECTED]
To: Brandon Wood [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 1:57 AM
Subject: Re: SSL, IIS  CF...
   
   
 Brandon,

 Are you using IIS4 (NT4) or IIS5 (Windows 2000)?  Just to let you
   know...
my
 only experience is with IIS4.  The following describes what I see
in
  one
of
 my sites with a certificate installed.

 Select the virtual site and go to Properties (right click, then
 Properties, or click the finger/hand icon above.  On the 'Web
Site'
  tab,
it
 shows the IP address, which I'd setup with the second of your two
IP
 addresses.  There's a box labeled 'TCP Port' which should have
'80'
 in
   it.
 The 'SSL Port' box should have 443 in it.  Clicking on the
 'Advanced'
button
 should show two areas, the above showing the port 80
configuration,
  the
 bottom one showing the port 443 config.

 If the 'SSL Port' box on the 'Web Site' tab is greyed out, I
belive
  it's
 because there's no certificate is installed on the machine (not
  certain
 about this, however).  Therefore, it may be necessary to correctly
   install
 the cert before doing the above.

 Not sure where you are with the certificate, so excuse me if you
  already
 know this: Under key manager your certificate must be installed
and
   bound
to
 the IP address that you're going to use for SSL.  Double check
this.
 Installing the certificate is a two part deal.  First you generate
a
 certificate request, which you send off to Thawte, Verisign, etc.
  They
 issue you a certificate which you then install in key manager.
You
 go
back
 to the request in key manager and install it there.  Only after
 you've
 installed the certificate (just a block of encrypted text) will
the
 certificate be active.

 Beyond the above, there shouldn't be anything you need to do with
   virtual
 directories or special directory permissions, etc.  In fact, you
   probably
 don't want to mess with them unless for some other purpose.  The
  entire
site
 should be enabled for SSL.

 Which brings up some other issues.  Once you get this far, I'll
tell
  you
 about those.

 Jim

 - Original Message -
 From: Brandon Wood [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2001 12:24 AM
 Subject: Re: SSL, IIS  CF...


  Jim,
 
  

Advices on dynamic SQL, please

2001-05-29 Thread Julia Phu

Hi, guru,

I'm seeking your advices for a better solution on dynamic SQL (I guess).

Users want to select ABC from a form to view anything under ABC. What is your
advices on how to handle it?

Table A:
col1  col2  col3  col4
aaABC   XYdescription1
abABC   XYdescription2
acABC   XXdescription3
adABC   00description4
aeDEF   XYdescription1
afDEF   YZdescription2
agDEF   00description3

Your input is greatly appreciated.

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

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



SQL Question...

2001-05-29 Thread coldfusion

ok, this is probably a simple question, but i'm hoping somebody out there
can help me.

i have a database of articles and i am trying to join the article table with
the author table, but i also have a table that has all the individual pages
of an article (articles can be mulitple pages long). i am trying to write a
query that will get all the articles in the table joined with all the author
names as well as the number of pages that the article is (assuming that
somebody has added a page to the article already).

so ideally i want to display the following in my results:

article name author name number of pages article active
article 1   author A  3YES
article 2   author B  9YES
article 3   author B  0NO


here are my tables/columns that i have so far:

ARTICLES
 ArticleID
 AuthorID
 ArticleName
 ArticleDateTime
 ArticleActive

ARTICLEPAGES
 ArticlePageID
 ArticleID
 ArticlePageOrderID
 ArticlePageText
 ArticlePageName

AUTHORS
 AuthorID
 AuthorName
 AuthorEmail
 AuthorActive


and this is the query that i have so far.

cfquery name=getarticles datasource=#datasource#
SELECT ar.articleid, ar.articlename, au.authorfirstname, au.authorlastname,
count(articlepageID) as numpages, ar.articleactive
FROM articles ar, authors au, articlepages ap
WHERE ar.authorID = AU.authorID
AND ar.articleid = ap.articleid
GROUP BY ar.articleid, ar.articlename, au.authorfirstname,
au.authorlastname, ar.articledatetime, ar.articleactive
ORDER BY articledateTime desc
/cfquery

the obvious error right away is that it doesnt show articles with zero pages
because of my join. also this query is giving me an error (using SQL server
7) because apparently you cant group on BIT fields.

sorry to write a long question and monopolize bandwidth but i couldnt see
this question answered in any of my saved CF-Talk emails

peter


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

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



Re: FieldNames from a CFQUERY

2001-05-29 Thread Christopher Porter

cfoutput#queryname.columnlist#/cfoutput

-chris


On Tue, 29 May 2001, David Sterling wrote:

 I have seen this before, I have even used it before, but right now I just
 cant recal the code to cfoutput the fieldnames from a Cfquery  can
 anybody help?
 
 David Sterling
 

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

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



RE: SSL, IIS CF...

2001-05-29 Thread Bill Holloway


Two solutions:

If you don't care about tracking the secure pages, you can take
advantage of the cgi.server_port_secure variable and include or exclude
the web trends code accordingly.  Also, I know you can generate a
https:// version of the web trends tag from the webtrendslive.com site
under the customize your code section.

HTH
Bill

-Original Message-
From: Brandon Wood [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, May 29, 2001 11:23 AM
To: CF-Talk
Subject: Re: SSL, IIS  CF...

Yes, it is definitely the code calling Web Trends Live that is messing
up
the SSL page.  I am trying to trap for the existence of https: in a
page
request but cannot seem to find any CGI or request variable that will
return
whether or not a page request is requesting http or https.  Has
anyone
run across this?

All I want to do is to not call the Web Trends Live code if the site
requests an https page.  That should solve my problem.  Any help would
be
appreciated.

Cheers,
Brandon

- Original Message -
From: Jim McAtee [EMAIL PROTECTED]
To: Brandon Wood [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 2:51 AM
Subject: Re: SSL, IIS  CF...


 Do you have stuff like img src=http://www.someothersite.com; on the
page?
 That'll definitely cause stuff like this.  I'm not familiar with the
Web
 Trends Live code that you're talking about.  Is this a java class or
 somesuch?

 Jim


 - Original Message -
 From: Brandon Wood [EMAIL PROTECTED]
 To: Jim McAtee [EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2001 1:42 AM
 Subject: Re: SSL, IIS  CF...


  Jim,
 
  Darn it, I bet the secure and nonsecure message is coming up due
to
the
  existence of Web Trends Live code I have on all of my pages.
Hmm...any
  suggestions?
 
  Cheers,
  BW
 
  - Original Message -
  From: Jim McAtee [EMAIL PROTECTED]
  To: Brandon Wood [EMAIL PROTECTED]
  Sent: Tuesday, May 29, 2001 1:57 AM
  Subject: Re: SSL, IIS  CF...
 
 
   Brandon,
  
   Are you using IIS4 (NT4) or IIS5 (Windows 2000)?  Just to let you
 know...
  my
   only experience is with IIS4.  The following describes what I see
in
one
  of
   my sites with a certificate installed.
  
   Select the virtual site and go to Properties (right click, then
   Properties, or click the finger/hand icon above.  On the 'Web
Site'
tab,
  it
   shows the IP address, which I'd setup with the second of your two
IP
   addresses.  There's a box labeled 'TCP Port' which should have
'80' in
 it.
   The 'SSL Port' box should have 443 in it.  Clicking on the
'Advanced'
  button
   should show two areas, the above showing the port 80
configuration,
the
   bottom one showing the port 443 config.
  
   If the 'SSL Port' box on the 'Web Site' tab is greyed out, I
belive
it's
   because there's no certificate is installed on the machine (not
certain
   about this, however).  Therefore, it may be necessary to correctly
 install
   the cert before doing the above.
  
   Not sure where you are with the certificate, so excuse me if you
already
   know this: Under key manager your certificate must be installed
and
 bound
  to
   the IP address that you're going to use for SSL.  Double check
this.
   Installing the certificate is a two part deal.  First you generate
a
   certificate request, which you send off to Thawte, Verisign, etc.
They
   issue you a certificate which you then install in key manager.
You go
  back
   to the request in key manager and install it there.  Only after
you've
   installed the certificate (just a block of encrypted text) will
the
   certificate be active.
  
   Beyond the above, there shouldn't be anything you need to do with
 virtual
   directories or special directory permissions, etc.  In fact, you
 probably
   don't want to mess with them unless for some other purpose.  The
entire
  site
   should be enabled for SSL.
  
   Which brings up some other issues.  Once you get this far, I'll
tell
you
   about those.
  
   Jim
  
   - Original Message -
   From: Brandon Wood [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Tuesday, May 29, 2001 12:24 AM
   Subject: Re: SSL, IIS  CF...
  
  
Jim,
   
Right now, I have only 2 IP Addresses available to use.  1 for
the
   machine,
and 1 for the site.  Right now, I am using the machine's IP and
the
  site's
for the regular http site.  I haven't dedicated one of those for
the
 SSL
key, which I could.
   
Right now, when I click advanced, I only see port 80 attached to
the
   site's
IP.  What dould you recommend?  I do have two IPs available to
use.
 So
   are
you saying that I create a single site in the MMC and then
create 2
   virtual
directories each having a different IP or are you saying to
create 2
  sites
with each pointing to the same home directory but with different
ports
  and
different IPs bound to the same?
   
You are really helping me out here...I haven't message with
virtual
   hosting
and leave most of the hosting side of things to those who know
   

RE: CF 5 is out..

2001-05-29 Thread Lee Fuller

The Enterprise version is the only one with the Merant drivers.


Lee Fuller
Chief Technical Officer
PrimeDNA Corporation / AAA Web Hosting Corporation
We ARE the net.
http://www.aaawebhosting.com



-Original Message-
From: Erki Esken [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 11:14 AM
To: CF-Talk
Subject: Re: CF 5 is out..


Btw, I just noticed something. The CF5 Feature Comparison Matrix says that
Merant Wire Protocol Database Drivers are available to all versions of CF5
(Pro and Ent) but ColdFusion 5 General Information FAQ states that Wire
Protocol Database Drivers are available only with ColdFusion Server
Enterprise Edition.

So which way is it then?

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

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



problem with CFFTP on hosted server

2001-05-29 Thread Marc Garrett

Hi,

I am having problems getting CFFTP to work on a shared server hosted at
Intermedia. The following code works on localhost (I have already
established the connection):

CFFTP ACTION=GetFile
   STOPONERROR=Yes
   NAME=GetBR_Res
   DIRECTORY=Database/
   CONNECTION=my_query
localfile=[the local path here]\Cities.txt
remotefile=Cities.txt
timeout=60
transfermode=ASCII

When I run it on the shared host I get the error below. I have verified that
the physical path for LOCALFILE is correct:

Attribute set validation error in tag CFFTP
The tag has an invalid attribute combination: the value of the tag switch
attribute 'ACTION' which is now 'GETFILE' requires a different combination
of attributes. For the same switch attribute value the following unknown
attributes have been provided: (DIRECTORY,NAME).
The error occurred while processing an element with a general identifier of
(CFFTP), occupying document position (52:1) to (60:25).

Thanks for any assistance.

Marc Garrett



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

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



Re: SSL, IIS CF...

2001-05-29 Thread Kevin Miller


IIS 4.0 sets a CGI variable called HTTPS that is set to either On or Off.  I 
haven't done any testing with IIS 5.0 yet.

Kevin

 [EMAIL PROTECTED] 05/29/01 11:23AM 
Yes, it is definitely the code calling Web Trends Live that is messing up
the SSL page.  I am trying to trap for the existence of https: in a page
request but cannot seem to find any CGI or request variable that will return
whether or not a page request is requesting http or https.  Has anyone
run across this?

All I want to do is to not call the Web Trends Live code if the site
requests an https page.  That should solve my problem.  Any help would be
appreciated.

Cheers,
Brandon

- Original Message -
From: Jim McAtee [EMAIL PROTECTED]
To: Brandon Wood [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 2:51 AM
Subject: Re: SSL, IIS  CF...


 Do you have stuff like img src=http://www.someothersite.com; on the
page?
 That'll definitely cause stuff like this.  I'm not familiar with the Web
 Trends Live code that you're talking about.  Is this a java class or
 somesuch?

 Jim


 - Original Message -
 From: Brandon Wood [EMAIL PROTECTED]
 To: Jim McAtee [EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2001 1:42 AM
 Subject: Re: SSL, IIS  CF...


  Jim,
 
  Darn it, I bet the secure and nonsecure message is coming up due to
the
  existence of Web Trends Live code I have on all of my pages.  Hmm...any
  suggestions?
 
  Cheers,
  BW
 
  - Original Message -
  From: Jim McAtee [EMAIL PROTECTED]
  To: Brandon Wood [EMAIL PROTECTED]
  Sent: Tuesday, May 29, 2001 1:57 AM
  Subject: Re: SSL, IIS  CF...
 
 
   Brandon,
  
   Are you using IIS4 (NT4) or IIS5 (Windows 2000)?  Just to let you
 know...
  my
   only experience is with IIS4.  The following describes what I see in
one
  of
   my sites with a certificate installed.
  
   Select the virtual site and go to Properties (right click, then
   Properties, or click the finger/hand icon above.  On the 'Web Site'
tab,
  it
   shows the IP address, which I'd setup with the second of your two IP
   addresses.  There's a box labeled 'TCP Port' which should have '80' in
 it.
   The 'SSL Port' box should have 443 in it.  Clicking on the 'Advanced'
  button
   should show two areas, the above showing the port 80 configuration,
the
   bottom one showing the port 443 config.
  
   If the 'SSL Port' box on the 'Web Site' tab is greyed out, I belive
it's
   because there's no certificate is installed on the machine (not
certain
   about this, however).  Therefore, it may be necessary to correctly
 install
   the cert before doing the above.
  
   Not sure where you are with the certificate, so excuse me if you
already
   know this: Under key manager your certificate must be installed and
 bound
  to
   the IP address that you're going to use for SSL.  Double check this.
   Installing the certificate is a two part deal.  First you generate a
   certificate request, which you send off to Thawte, Verisign, etc.
They
   issue you a certificate which you then install in key manager.  You go
  back
   to the request in key manager and install it there.  Only after you've
   installed the certificate (just a block of encrypted text) will the
   certificate be active.
  
   Beyond the above, there shouldn't be anything you need to do with
 virtual
   directories or special directory permissions, etc.  In fact, you
 probably
   don't want to mess with them unless for some other purpose.  The
entire
  site
   should be enabled for SSL.
  
   Which brings up some other issues.  Once you get this far, I'll tell
you
   about those.
  
   Jim
  
   - Original Message -
   From: Brandon Wood [EMAIL PROTECTED]
   To: CF-Talk [EMAIL PROTECTED]
   Sent: Tuesday, May 29, 2001 12:24 AM
   Subject: Re: SSL, IIS  CF...
  
  
Jim,
   
Right now, I have only 2 IP Addresses available to use.  1 for the
   machine,
and 1 for the site.  Right now, I am using the machine's IP and the
  site's
for the regular http site.  I haven't dedicated one of those for the
 SSL
key, which I could.
   
Right now, when I click advanced, I only see port 80 attached to the
   site's
IP.  What dould you recommend?  I do have two IPs available to use.
 So
   are
you saying that I create a single site in the MMC and then create 2
   virtual
directories each having a different IP or are you saying to create 2
  sites
with each pointing to the same home directory but with different
ports
  and
different IPs bound to the same?
   
You are really helping me out here...I haven't message with virtual
   hosting
and leave most of the hosting side of things to those who know
   better...but
in this case, I am the only one holding the bag.
   
If you can be specific in what should go in the site parameters, the
 IP
config for both the ports and sites, advanced properties and
possible
  host
header places, I think I might just be on my way...for the record, I
  guess
   I
do have 

RE: serving jsp

2001-05-29 Thread Lee Fuller

Hello Adrian,

Take a look at Macromedia's JRun.

http://allaire11.allaire.com/download/showfamily.cfm?DownloadType=Evaluation
FamilyID=1953B5EC-7AC0-11D4-849E0010B547F60A



Lee Fuller
Chief Technical Officer
PrimeDNA Corporation / AAA Web Hosting Corporation
We ARE the net.
http://www.aaawebhosting.com



-Original Message-
From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 11:52 AM
To: CF-Talk
Subject: serving jsp


I am running WebsitePro and CF 4.01 and need to serve some JSP pages.  What
do I need to do this.  I have the JSP being served thru Tomcat currently but
need to integrate it into out production website (SSL) which uses the above
configuration. Is there some method that I can pull the page from Tomcat
thru my WSP/CF server?

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

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



  1   2   >