RE: Forced logout

2001-05-14 Thread Terry Bader

I would try something like this:

BODY ONUNLOAD=javascript:redirectToLogout();

the redirectToLogout() would use a location to send the page to a CFM page
to do the logout and then another script to close the current window.


Terry Bader
IT/Web Specialist
Macromedia Certified Coldfusion Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: sebastian palmigiani [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, May 13, 2001 8:32 AM
 To: CF-Talk
 Subject: Forced logout
 
 
 
 How can I use javascript to make a member logout if they go 
 to a different
 web site? Is this possible to do with javascript.
 
 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: [cold_fusion] Unusual Results, help

2001-05-04 Thread Terry Bader

:huh?:   Why would you expect an outer loop control variable to 
 increment in the inner loop?  It doesn't seem to make any sense to me.

well, since LOOPING refers to the ability to go through each recordset and
use its data in the code with in the beginning and ending of the loop
controls, you would assume that the current pointer of the outside loop
would be available to the inner loop...

thus on a sequential numbering ID, on the 2nd iteration when qry_test.ID = 2
that the inner LOOP would see that the pointer was pointed to the 2nd row
and thusly qry_test.ID should return 2 and not 1.


maybe my logic of looping is terrible and my years of programming logic
education was wasted

   But you can easily change that to:  queryname[10].myfield 
 to return the 
 10th row, if you wish.

maybe, but the CFLOOP with the QUERY option should be removed and just
use the TO FROM INDEX options with qry.recordset...  why have the QUERY if
it is buggy and Yes, I plan to use the TO FROM INDEX with
queryname[index].myfield from now on...



Thanks...


Terry Bader
IT/Web Specialist
Macromedia Certified Coldfusion Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: Jeffry Houser [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 04, 2001 10:44 AM
 To: CF-Talk
 Subject: RE: [cold_fusion] Unusual Results, help
 
 
 At 11:31 AM 05/04/2001 +0100, you wrote:
   This has always been the behavior of CF.  I can agree 
 that it at first
   glances appears to be counter intuitive, but at the same
   time, any reference
   to queryname.fieldname outside the context of a CFLOOP 
 or CFOUTPUT
   results in a reference to the value of the field in the first
   row of the
   query.  The functionality is such that there is no 
 inheritance of
   references.
 
 Well, I think you're at risk of sounding like an apologist 
 for Allaire.
 
 There are a couple of things that I feel need fixing in 
 ColdFusion, and
 this is one of them (the other one that springs to mind is 
 the inability to
 optionally specify that empty list elements aren't ignored - 
 really useful
 if you are populating database tables from delimited lists).
 
 CFOUTPUT QUERY=GetParents
 
 *Crappy CFSET GetParents.ParentID code required here*
 
 CFOUTPUT QUERY=GetChildren
 
#GetParents.ParentID# doesn't increment properly with each
iteration of the outer loop WHY NOT ALLAIRE?!?!
 
 /CFOUTPUT
 /CFOUTPUT
 
:huh?:   Why would you expect an outer loop control variable to 
 increment in the inner loop?  It doesn't seem to make any sense to me.
 
I haven't been following this thread, but I will point out 
 that a query 
 object is an array of structures.
 
   queryname.myfield will return the first row, true.
 
   But you can easily change that to:  queryname[10].myfield 
 to return the 
 10th row, if you wish.
 
 
 
 Jeffry Houser | mailto:[EMAIL PROTECTED]
 AIM: Reboog711  | ICQ: 5246969 | Phone: 860-229-2781
 --
 Instant ColdFusion 5.0  | ISBN: 0-07-213238-8
 Due out June 2001
 --
 DotComIt, LLC
 database driven web data using ColdFusion, Lotus Notes/Domino
 --
 Half of the Alternative Folk Duo called Far Cry Fly
 http://www.farcryfly.com | http://www.mp3.com/FarCryFly
 
 

~~
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



Unusual Results, help

2001-05-03 Thread Terry Bader

Ok, i'm having some problems with the below code here's the problem...
in the loop CFLOOP QUERY=qry_missioncomm it is always seeing
qry_missions.mission_id being 1

if you notice the test code i put in just before it, i see that
qry_missions.mission_id is and check to make sure the previous query has
records...  then i set a test variable to qry_missions.mission_id
as such:

CFOUTPUT#qry_missions.mission_id#,#qry_missioncomm.recordcount#/CFOUTPUT
-beforeBR
CFSET test = qry_missions.mission_id

so in the 2nd iteration of this loop, i get:
2,9-before

with test being set to 2

now comes the loop:
CFLOOP QUERY=qry_missioncomm

followed by:
CFOUTPUT#test# should equal #qry_missions.mission_id#/CFOUTPUT-testBR

and wtf???  i get:
2 should equal 1-test

??  why isnt the qry_missions.mission_id equal to 2 inside the
second loop???  there are no other declarations here and after the loop,
qry_missions.mission_id is equal to 2


CODE HERE:

---

CFQUERY NAME=qry_missions DATASOURCE=#request.mainDSN#
SELECT *
FROM tbl_mission
WHERE mission_id  0
/CFQUERY

CFLOOP QUERY=qry_missions

CFQUERY NAME=qry_missioncomm DATASOURCE=#request.mainDSN#
SELECT *
FROM tbl_node
WHERE node_id IN
(
SELECT node_id
FROM tbl_mission_comm
WHERE mission_id = #qry_missions.mission_id#
)
/CFQUERY


CFOUTPUT#qry_missions.mission_id#,#qry_missioncomm.recordcount#/CFOUTPUT
-beforeBR
CFSET test = qry_missions.mission_id

CFLOOP QUERY=qry_missioncomm

CFOUTPUT#test# should equal
#qry_missions.mission_id#/CFOUTPUT-testBR

CFQUERY NAME=qry_missionq DATASOURCE=#request.mainDSN#
SELECT *
FROM tbl_question
WHERE q_node = #qry_missioncomm.node_id#
AND q_mission = #qry_missions.mission_id#
AND q_deleted = 0
/CFQUERY

CFOUTPUT#qry_missioncomm.node_id#-node
#qry_missions.mission_id#-mission/CFOUTPUTBR

/CFLOOP
/CFLOOP


Terry Bader
IT/Web Specialist
Macromedia Certified Coldfusion Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





~~
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: [cold_fusion] Unusual Results, help

2001-05-03 Thread Terry Bader

well, i got some feedback from the yahoo group and i had to use a variable
which was set before entering the inner loop...

hope you MM folks got this on the plate for CF5...  very frustrating


Terry Bader
IT/Web Specialist
Macromedia Certified Coldfusion Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: Terry Bader [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 03, 2001 10:26 AM
 To: Cf-Talk (E-mail); HRCF user group (E-mail); ColdFusion - 
 Yahoo Group
 (E-mail)
 Subject: [cold_fusion] Unusual Results, help
 
 
 Ok, i'm having some problems with the below code here's 
 the problem...
 in the loop CFLOOP QUERY=qry_missioncomm it is always seeing
 qry_missions.mission_id being 1
 
 if you notice the test code i put in just before it, i see that
 qry_missions.mission_id is and check to make sure the 
 previous query has
 records...  then i set a test variable to qry_missions.mission_id
 as such:
   
 CFOUTPUT#qry_missions.mission_id#,#qry_missioncomm.recordcou
 nt#/CFOUTPUT
 -beforeBR
   CFSET test = qry_missions.mission_id
 
 so in the 2nd iteration of this loop, i get:
 2,9-before
 
 with test being set to 2
 
 now comes the loop:
 CFLOOP QUERY=qry_missioncomm
 
 followed by:
 CFOUTPUT#test# should equal 
 #qry_missions.mission_id#/CFOUTPUT-testBR
 
 and wtf???  i get:
 2 should equal 1-test
 
 ??  why isnt the qry_missions.mission_id equal to 2 inside the
 second loop???  there are no other declarations here and 
 after the loop,
 qry_missions.mission_id is equal to 2
 
 
 CODE HERE:
 --
 --
 ---
 
 CFQUERY NAME=qry_missions DATASOURCE=#request.mainDSN#
   SELECT *
   FROM tbl_mission
   WHERE mission_id  0
 /CFQUERY
 
 CFLOOP QUERY=qry_missions
 
   CFQUERY NAME=qry_missioncomm DATASOURCE=#request.mainDSN#
   SELECT *
   FROM tbl_node
   WHERE node_id IN
   (
   SELECT node_id
   FROM tbl_mission_comm
   WHERE mission_id = #qry_missions.mission_id#
   )
   /CFQUERY
 
   
 CFOUTPUT#qry_missions.mission_id#,#qry_missioncomm.recordcou
 nt#/CFOUTPUT
 -beforeBR
   CFSET test = qry_missions.mission_id
 
   CFLOOP QUERY=qry_missioncomm
 
   CFOUTPUT#test# should equal
 #qry_missions.mission_id#/CFOUTPUT-testBR
 
   CFQUERY NAME=qry_missionq 
 DATASOURCE=#request.mainDSN#
   SELECT *
   FROM tbl_question
   WHERE q_node = #qry_missioncomm.node_id#
   AND q_mission = 
 #qry_missions.mission_id#
   AND q_deleted = 0
   /CFQUERY
   
   CFOUTPUT#qry_missioncomm.node_id#-node
 #qry_missions.mission_id#-mission/CFOUTPUTBR
 
   /CFLOOP
 /CFLOOP
 
 
   Terry Bader
   IT/Web Specialist
   Macromedia Certified Coldfusion Developer
   EDO Corp - Combat Systems
   (757) 424-1004 ext 361 - Work
   [EMAIL PROTECTED]   
 
 
   (757)581-5981 - Mobile
   [EMAIL PROTECTED]
   icq: 5202487   aim: lv2bounce
   http://www.cs.odu.edu/~bader
 
 
 
 
 
  
 
 Your use of Yahoo! Groups is subject to 
 http://docs.yahoo.com/info/terms/ 
 
 

~~
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 Studio and UltraDev Merging!

2001-05-03 Thread Terry Bader

NNOOO


Terry Bader
IT/Web Specialist
Macromedia Certified Coldfusion Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: Nathan Stanford [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 03, 2001 11:29 AM
 To: CF-Talk
 Subject: CF Studio and UltraDev Merging!
 
 
 
 Read This:
 http://www.allaire.com/products/ColdFusion/productinformation/
 tools.cfm
 
 Nathan Stanford
 Senior Programmer/Analyst
 [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: Forcing matching selections

2001-04-25 Thread Terry Bader

well, im just going to give ya some JS code...  not necessarily the
answer...

to check a box:
document.formname.checkboxname.checked = 1;

to call a function when something is selected from a dropdown:
onChange=javascript:functionname();

to get which index is selected and what that value is:
index = document.formname.dropdownname.selectedIndex;
value = document.formname.dropdownname.options[index].value;


so you could create a JS function that checks whichever box you want...

function checkBoxes() {
index = document.formname.dropdownname.selectedIndex;
value = document.formname.dropdownname.options[index].value;

if (value == whatever) {
document.formname.checkboxname.checked = 1;
}
}



Terry Bader
IT/Web Specialist
Macromedia Certified Coldfusion Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 25, 2001 8:11 AM
 To: CF-Talk
 Subject: Forcing matching selections
 
 
 
 Here is something that's puzzling me, and if I knew 
 Javascript better I
 could probably figure it out, but maybe one of you know... I 
 have a page
 where a user can select (a) What columns from the DB they 
 want displayed,
 and (b) Up to 4 sort order columns. The Sort Order selections are in a
 series of 4 dropdowns, each populated from a query. The checkboxes for
 Columns To Display are also obtained by looping through a query. My
 question is, how can I force a checkbox to become checked based on a
 selection from a dropdown box? For example, if they select 
 MAIN ACCOUNT
 from the first dropdown under Sort Order, can I make the MAIN ACCOUNT
 checkbox under Columns To Display become checked? What I want 
 to avoid is
 having them select a Sort Order item when they have not selected the
 corresponding Columns To Display item.
 
 Relevant code:
 
 CFOUTPUT QUERY=GetCategories
 TR
TD#FIELDDESC1#/TD
TD
   CFIF SELECTED IS 1
  INPUT TYPE=checkbox NAME=Display 
 VALUE=#FIELDNAME1# CHECKED
   CFELSE
  INPUT TYPE=checkbox NAME=Display VALUE=#FIELDNAME1#
   /CFIF
/TD
 /TR
 /CFOUTPUT
 
 
 BSort by:/BBR
 SELECT NAME=Sort1 (there are 4 of these, Sort1 through Sort4)
OPTION VALUE=0 SELECTEDSelect sort item
CFOUTPUT QUERY=GetCategories
   OPTION VALUE=#FIELDNAME1##FIELDDESC1#
/CFOUTPUT
 /SELECT
 
 Any help appreciated!
 
 Gina Shillitani
 Technical Officer
 JPMorgan Chase  Co.
 [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: Character code for a TAB

2001-04-24 Thread Terry Bader

char(09), will that work???

**sits back and waits for fireworks


Terry Bader
IT/Web Specialist
Macromedia Certified Coldfusion Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 24, 2001 12:57 PM
 To: CF-Talk
 Subject: Re: Character code for a TAB
 
 
 If anyone else says char(09) I'm gonna frakk :)
 CHAT SOLUTION NOW
 
 
 - Original Message -
 From: Steven A. del Sol [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, April 24, 2001 5:37 PM
 Subject: Re: Character code for a TAB
 
 
  I THINK IT IS CHAR(09)
 
 
 
 
  At 05:10 PM 4/24/2001 +0200, you wrote:
  There must be a way to let us know the question has been answered!
  Let's think about it!
  
  - Original Message -
  From: C. Hatton Humphrey [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Tuesday, April 24, 2001 3:51 PM
  Subject: RE: Character code for a TAB
  
  
I think the problem is more due to the fact that the 
 responses are
 more
hey, I know the answer to this!!! repetitions than 
 meant to clog the
  list.
It's one of the downsides of using an e-mail list 
 versus some other
  message
base format.  All of the replies probably got sent out 
 at the same
 time
  and
the delay the list actually getting them is more due 
 to email lag
 than
anything else.
   
It's great to get a response and frustrating not to, 
 and I think all
 of us
have experienced both sides of that coin.  So to make 
 up for it, when
 we
know how to help someone we reflexively hit reply.  The 
 cascade effect
 is
what we all see.
   
Hatton Humphrey
   
Barbara remains in the hospital and needs blood donors for more
transfusions. She is also having trouble sleeping and 
 requests tapes
 of
Pastor Jack's sermons. - From Real Church Bulletin Bloopers
   
 -Original Message-
 From: Erika L Walker [mailto:[EMAIL PROTECTED]]

 How about everyone bookmarks this page 
 (http://www.asciitable.com/),
 now...then no-one should ever have to ask again. Except of
 course
  the
 newcomers. And those we'll beat into submission with 
 a big ole CF
 book
  or
 something...?

 :)

 Erika

 -Original Message-
 From: Michael Lugassy [mailto:[EMAIL PROTECTED]]

 I JUST LOVE IT WHEN 1203483409875 PEOPLE answer the 
 same answer
 to a pretty easy question.

 I think we gotta sort this out somehow... :)

 Thanks,

 Michael Lugassy
 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: Looking for a Good Search Solution

2001-04-24 Thread Terry Bader

huh?

actually WHY isnt verity good for you?

you said your pages are dynamic BUT you do not want to re-index often.  That
sounds like it is counter productive.  dynamic pages should be indexed
often.  However, you can index whenever you want...  every day, week, year,
hour, min...  (though i wouldnt recommend doing it in terms of minutes)
but whenever you want...


i think you need to explain your requirements a bit more in-depth to let ppl
help you out, but verity is very flexible...  its all about the code...


Terry Bader
IT/Web Specialist
Macromedia Certified Coldfusion Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: Michael Ross [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 24, 2001 4:19 PM
 To: CF-Talk
 Subject: Looking for a Good Search Solution
 
 
 Hi all...
 
 I have been scratching my head trying to figure out a good 
 searching solution.  Verity just doesn't seem to work for 
 me  Most of the pages are dynamic and new content pages 
 are added daily.  I don't want to re index the site all the 
 time(or is that normal).
 
 Anyone have any good idea's on how to have a search function 
 that searchs all the content and page's with db content other 
 than verity?  Or some good tips to utilize verity better?
 
 Thanks
 
 

~~
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: ANNOUNCE: CF-TALK on CHAT! (BETA)

2001-04-24 Thread Terry Bader

it was char(9)


Terry Bader
IT/Web Specialist
Macromedia Certified Coldfusion Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 24, 2001 6:22 PM
 To: CF-Talk
 Subject: ANNOUNCE: CF-TALK on CHAT! (BETA)
 
 
 Ok, it's official.
 Testing for cf-talk members: chat applet
 NO MORE CHAR(8)
 
 Log into chat.imvamp.com and let's try to discuss there
 more efficiently.
 
 

~~
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: Offline forms

2001-04-23 Thread Terry Bader

that wont work because the person is working offline, thusly no CF server to
process the request...  I would recommend using a Office template that could
be uploaded when done and processed by the server...


Terry Bader
IT/Web Specialist
Macromedia Certified Coldfusion Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 23, 2001 10:21 AM
 To: CF-Talk
 Subject: Re: Offline forms
 
 
 Try saving all the form vars as client vars.
 
 HTH,
 
 Howie Hamlin - inFusion Project Manager
 On-Line Data Solutions, Inc.
 www.CoolFusion.com
 631-737-4668 x101
 inFusion Mail Server (iMS) - the World's most configurable mail server
 
 - Original Message -
 From: Eric V. Hodge [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Monday, April 23, 2001 10:16 AM
 Subject: Offline forms
 
 
  I have an application that has a series of long multi-page 
 forms so that a
 user can construct a lengthy document.
 
  What are some of my options to allow them to save their 
 work offline and
 come back to it later and continue where they left off.
 
  Thanks,
  Eric
 
 
 
 

~~
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: JS-question- transferring text from one template to another

2001-04-23 Thread Terry Bader

something like:

opener.parent_form.inputfield.value = document.child_form.inputfield.value;

but if you reload the data is not submitted and thusly it comes back as a
reset form...  so you will need to submit it...

opener.parent_form.submit();

//this will reload the parent page: opener.location.reload(true);

then...

self.close()



Terry Bader
IT/Web Specialist
Macromedia Certified Coldfusion Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 23, 2001 12:31 PM
 To: CF-Talk
 Subject: OT: JS-question- transferring text from one template to
 another
 
 
 Hi, I want to do the following:
 
 I have an Input-template with five text-fields.
 On on text field (memory-field, text area) I want to call a 
 small browser
 window via
 JS (wiht a hyperlink). So far so good. I know how I can do 
 that. In the
 called template I have another
 Input-field which gets filled by the user. What I want to do 
 is transferring
 the text in this text-area back to the calling page and 
 reloading, but the
 text
 already filled in the four ohter input-boxes shouldn't be 
 touched/changed.
 How can I do this.
 Does s.o. has his code available ?
 
 Thank you.
 
 Uwe
 
 

~~
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: WARNING: PCAnywhere

2001-04-22 Thread Terry Bader

on a related note about SP6a...  if you're primary drive is on a scsi chain,
I wouldn't upgrade...  when we installed 6a, our scsi drivers were killed...
had to spend a day build the machine with a IDE drive and taking the scsi to
another machine to pull off all our data

thank god is was only our development server


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Richard Colman [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, April 21, 2001 7:18 PM
 To: CF-Talk
 Subject: WARNING: PCAnywhere
 
 
 A failed installation (attempting to upgrade ver. 8 to ver. 
 10) on an NT4,
 sp6 server literally destroyed the server OS, making it 
 impossible to boot
 the OS without a "blue screen." This just happened to be an important
 production server without a ghosted system partition. We had 
 to rebuild from
 scratch on another box. Almost lost a Very Important Client or two.
 
 When I contacted Symantec, they charged me $29.95 to tell me 
 that I was
 "hosed."
 
 If you are not using PCAnywhere, do not start. If you have an 
 older version,
 upgrade with the greatest of risk.
 
 
 
 Rick Colman
 
 

~~
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: New File Extension....

2001-04-20 Thread Terry Bader

im going to guess you are using windows and thusly and more then likely,
IIS...

so in ISS...  open the IIS manager, rickt-click on the main/default website
and click properties...
click on the home directory Tab
click configuration
click add...
type in the extension, and the executable (which should be the same as the
..cfm extenstion, iscf.dll)..
hit ok... 

not sure if you have to restart or not, but that should do ya...

this is a good practice if you dont want ppl to know what type of systems
you are running  i like the idea of having the .htm extension being used
for CF and .html for real HTML documents


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Neil Clark [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 20, 2001 10:22 AM
 To: CF-Talk
 Subject: New File Extension
 
 
 Anyone know how to set up their Web server (in this case IIS 
 4 and 5) to
 accept any file with the extension .xxx and then pass it to 
 the CF server
 for processing as if it was anyother .cfm file?
 
 I have had a few replies from good sources from other sources 
 indication
 that this is easy, but I am unsure on how to go about it; any 
 one give me
 the instructions for a test?
 
 Neil
 
 !-
 Neil Clark
 Senior Web Applications Engineer
 Spectra / CF / XML
 MCB Digital
 Premier Allaire [Macromedia] Partner
 Tel: 020 8941 3232
 Fax: 020 8941 4333
 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: Javascript turned off

2001-04-19 Thread Terry Bader

one way is to place a javascipt on the opening page that would open a link
in a child window and would set lets say session.javascript = 1, then close
that window

if javascript wasnt enabled, your CFPARAM would have kept session.javascript
= 0

thus whenever you want to know, just check session.javascript...

i have not tested this but it makes logical sense...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: MIKE GEORGE [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 19, 2001 7:18 AM
 To: CF-Talk
 Subject: Javascript turned off
 
 
 Can you tell me how I can check if the person has javascript 
 disabled in their browser.
 
 Thanks
 
 
 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: CFExcute doesn't run EXEs

2001-04-19 Thread Terry Bader

got code?


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 19, 2001 9:12 AM
 To: CF-Talk
 Subject: CFExcute doesn't run EXEs
 
 
 I'm having problems with CFEXCUTE.
 apperntly I can run stricly bat files that contains
 commands like: move, copy and such..
 
 but I can't seem to run .exe files (not directly with
 cfexcute, nor with .bat that runs them).
 
 The exe file is stored on a foder where
 INTERNET USER/SYSTEM have both full rights.
 Also, I've set IIS to run scriptsexcutebals on this
 directory and the directroy that runs the CF template.
 
 
 Anyone?
 
 Thanks,
 
 Michael Lugassy
 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: CFExcute doesn't run EXEs

2001-04-19 Thread Terry Bader

does the CF system user have access to the .exe and the logs directory?
you said the internet user which im assuming you mean the IIS service does,
but the CF system user would be the one running the exe...  

if nothing else, try and make them Everyone rwx and see if it runs...

Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 19, 2001 9:33 AM
 To: CF-Talk
 Subject: Re: CFExcute doesn't run EXEs
 
 
 Very simple Code:
 cfexecute name="c:\inetpub\logs\arjlogs.bat"/cfexecute
 
 the arjlogs.bat contains this line (which works great when I 
 double click it
 from explorer):
 
 c:\inetpub\arj\arj32.exe a -e -hm1 -i -jm -y 
 c:\inetpub\logs\summary.arj
 c:\inetpub\logs\*.log
 
 
 
 - Original Message -
 From: "Terry Bader" [EMAIL PROTECTED]
 To: "CF-Talk" [EMAIL PROTECTED]
 Sent: Thursday, April 19, 2001 2:23 PM
 Subject: RE: CFExcute doesn't run EXEs
 
 
  got code?
 
 
  Terry Bader
  IT/Web Specialist
  EDO Corp - Combat Systems
  (757) 424-1004 ext 361 - Work
  [EMAIL PROTECTED]
 
 
  (757)581-5981 - Mobile
  [EMAIL PROTECTED]
  icq: 5202487   aim: lv2bounce
  http://www.cs.odu.edu/~bader
 
 
 
 
 
 
   -Original Message-
   From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, April 19, 2001 9:12 AM
   To: CF-Talk
   Subject: CFExcute doesn't run EXEs
  
  
   I'm having problems with CFEXCUTE.
   apperntly I can run stricly bat files that contains
   commands like: move, copy and such..
  
   but I can't seem to run .exe files (not directly with
   cfexcute, nor with .bat that runs them).
  
   The exe file is stored on a foder where
   INTERNET USER/SYSTEM have both full rights.
   Also, I've set IIS to run scriptsexcutebals on this
   directory and the directroy that runs the CF template.
  
  
   Anyone?
  
   Thanks,
  
   Michael Lugassy
   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: Javascript turned off

2001-04-19 Thread Terry Bader

that actually bothers me...
you dont know what your code is doing??  

if you mean that it has problems with certian browsers you can either write
seperate JS code for each browser and have the CF server to determine what
browser is being supported at the moment and output the correct JS code or
do the check in the JS code itself

i agree with holger, code that you know is going to cause problems shouldnt
even be there



Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Holger Lockertsen [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 19, 2001 8:37 AM
 To: CF-Talk
 Subject: RE: Javascript turned off
 
 
 If you have a template where javascript would cause problems 
 then why have
 javascript there in the first place?
 
 It is not possible to alter security settings in the 
 browser... fortunately.
 :)
 
 rgds
 
 || Holger Lockertsen - [EMAIL PROTECTED]
 || Sentralbord: +47 23 00 53 00
 || Direkte: +47 23 00 53 04 
 || Mobil  : +47 91 83 20 51
 || http://www.pixelduck.com/
 
 
  -Original Message-
  From: Larry W. Virden [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, April 19, 2001 2:27 PM
  To: CF-Talk
  Subject: Re: Javascript turned off
  
  
  Is there a way, from a web page, to turn OFF a user's javascript,
  in the case where a server knows that it will cause problems...
  
  -- 
  Larry W. Virden URL: mailto:[EMAIL PROTECTED] 
  URL: http://www.purl.org/net/lvirden/
  Even if explicitly stated to the contrary, nothing in this 
  posting
  should be construed as representing my employer's opinions.
  
  
  
 

~~
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: help

2001-04-19 Thread Terry Bader

make sure you have your encrypt type set:

FORM ENCTYPE="multipart/form-data"


    Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Susan Matthews [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 19, 2001 10:02 AM
 To: CF-Talk
 Subject: help
 
 
 Hi-
 
 I have a form that allows users to upload files using:
 input type="file" name="newsPrint"
 
 On the receiving form I upload the file:
 CFFILE DESTINATION="#dir.root#newsletter\"
   ACTION="UPLOAD"
   nameConflict = "overwrite"
   FILEFIELD="newsPrint"
 
 
 The above works fine in Netscape, but in IE I get the following error:
 Error in CFFILE tag
 
 The form field specified in the CFFILE tag (NEWSPRINT) does 
 not contain an
 uploaded file. Please be sure that you have specified the 
 correct form field
 name.
 
 The error occurred while processing an element with a general 
 identifier of
 (CFFILE), occupying document position (165:2) to (168:23).
 
 
 Does anyone know what I need to do to fix this?
 
 Thanks!!
 -Susan
 
 

~~
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



4.5 Certification

2001-04-19 Thread Terry Bader

just wanted to express some knowledge about the exam  which I just
passed...   =^)
my stats: 45 mins, 75% score...  not bad, will shoot for 85-90% on the 5.0
one when it comes out...

but what I just wanted to share was some of the stuff that was or really
what WASN'T on the exam

first off, I spotted about 8-10 questions that I would have hesitated on
more if I hadn't gone through Ben's Cert Study guide... So 8-10 questions on
a 61 question test is a big difference  and it reinforced other issues
as well...
However, if you are only interested in the book to pass the exam, then
concentrate on Chapters 1-25 and Chapters 32, 35 (only the stored procedures
area)...  

I was slightly surprised that the I didn't see one cfobject, cfexecute,
wddx, verity, cfmail or any SQL harder then the keyword HAVING  guess
they cant all be impossibly hard...

but don't get me wrong, you do have to know your stuff...  some of the
questions were tricky and try to trip ya up...  I just wish I could get a
printout of the ones I did missed...  oh well

does anyone know if their are any other Allaire certifications beyond the
developer level available?



so I guess im going to Disney World now  

=^)

p.s. do I get any goodies from Allaire for being certifiable?? hehe...


Terry Bader
IT/Web Specialist
Certified CF 4.5 Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






~~
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: NEED HELP!

2001-04-18 Thread Terry Bader

find out how you either misspelled or what table you are actually trying to
insert into...
or make sure you are using the correct datasource...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Heidi Belal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 8:09 AM
 To: CF-Talk
 Subject: NEED HELP!
 
 
 can some one tell me the reason for this error and how
 i can solve the problem?
 Thanks!
 
 Error Diagnostic Information
 ODBC Error Code = S0002 (Base table not found)
 
 
 [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid
 object name 'PeopleDirectory'.
 
 
 SQL = "INSERT into PeopleDirectory (FirstName,
 LastName, HomeAddress, HomePhone, Mobile,
 JobDescription, Department) VALUES ('Heidi', 'Belal',
 'whatever', 23232, 23232, 'whatever', 'whatever')"
 
 Data Source = "YALLA"
 
 
 The error occurred while processing an element with a
 general identifier of (CFQUERY), occupying document
 position (8:1) to (8:27) in the template file
 C:\INETPUB\WWWROOT\YALLANESA3ED\ADMIN\SQL_ADDPERSON.CFM.
 
 
 Date/Time: 04/18/01 13:02:47
 Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows
 NT 5.0)
 Remote Address: 217.52.80.114
 HTTP Referer:
 http://217.52.80.114/yallanesa3ed/admin/index.cfm?method=Peopl
eDirectory
Query String: method=AddPerson


=
Heidi Belal
ICQ# 32127109
http://m3.easyspace.com/hmbelal

A bus stops at a bus station.
A train stops at a train station.  On my desk
I have a work station...
~~
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: Event List

2001-04-18 Thread Terry Bader

select firstname
from tbl_whatever
where dateofbirth  #createodbcdate(now())#
order by dateofbirth DESC

i think this should do ya  but if not, then it is something real
similiar...

Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Carlo van Wyk [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 7:35 AM
 To: CF-Talk
 Subject: Event List
 
 
 I have a Staff Table in SQL with the following columns: 
 FirstName, LastName, DateofBirth
 
 I would like Coldfusion to select the name of staffmembers 
 birthday that
 will be next, and on which day it will be.
 
 How would one go about it? 
 Perhaps there is an example on the web somewhere?
 
 Regards
 Carlo 
 
 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: Waiting:: CFApplet tag...?

2001-04-18 Thread Terry Bader

if the name of the file is CFAPPLET.cfm then you would use it as
CF_CFAPPLET
if the file is APPLET.cfm then you would use it as CF_APPLET


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 6:58 AM
 To: CF-Talk
 Subject: Waiting:: CFApplet tag...?
 
 
 
 Any one know about it?
 
 I want to use CFAPPLET tag.
 I have registered it in administrator.
 The following syntax does not work.
 
 
 
 cfform action=action.cfm method="post"
 CFAPPLET APPLETSOURCE="MoveVBA"
 NAME="var_name"
 HEIGHT="200"
 WIDTH="200"
 VSPACE="10"
 HSPACE="10"
 ALIGN="Left"
 NOTSUPPORTED="message_to_display_for_nonJava_browser"
 
 /cfform
 
 

~~
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: Macs and CFFILE! WHY????

2001-04-18 Thread Terry Bader

ok, i saw this before and did a search on my archieved emails, you might
want to try using TRIM()...  here is the email msg i am refering to:



The answer is:

Mac IE sends some bytes in a blank file field.  So to get around this I 
needed to create another field which onChange  of the file field takes the 
name of the field to be uploaded.  If nothing is uploaded that field is
blank.

A true pain in the ass but it works.

The answer was provided by: Don Burnstein

Thanks for all the help
kaigler

ps here is the code:

This is the action code:
 CFSET ief=#Trim(iefilename)#
 CFIF #Ief# IS NOT ""
 cffile destination="c:\temp\cfmail\"
 action="upload"
 filefield="filename"
 nameconflict="overwrite"

 cfset tempfile='#file.serverfile#'
 /cfif

Here is the form code:
INPUT TYPE=FILE NAME="filename" 
onchange="this.form.iefilename.value=this.value;"
br
input type="hidden" name="iefilename" 
onchange="this.value=this.form.filename.value;"




There was mention that Mac browsers add on a return charcter at the end of
the form field...
so, try the above and use TRIM() and see what ya get


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Jeff Fongemie [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 10:09 AM
 To: CF-Talk
 Subject: Macs and CFFILE! WHY
 
 
 Hello cf-talk,
 
   I'm becoming very frustrated with Mac Browsers.
 
   I use CFFILE and the client in using MAC Internet Explorer. He gets
   errors when uploading a picture.
 
   I've got:
 
 cffile Destination="#Application.Filedir#"
 Action="upload"
 
 ACCEPT="image/gif, image/pjpg, image/pjpeg, image/jpg"
 Nameconflict="overwrite"
 FileField="photofile"
 
 
 CFQUERY NAME="UPDATE_NEWS" dataSource="#application.DSN#"
 update news
 Set photo='#trim(file.serverfile)#' 
 Where newsID=#form.newsID#
 /cfquery
 
 
 
 
 This is what he says"
 
  If I use the "Browse" button to select the image from my 
 hard drive, I get
  "HTTP/1.1 500 Server Error" once I hit "upload the photo." 
 I'm using IE5,
  and the image is a 120x116 .jpg.
 
 
 He is using explorer 5 so I don't think it is the Mac Binary setting
 issue I've read of in this group. We had that problem, and even that
 allowed the upload to go through, but then would not display on the
 page.
 
 Anyone have any ideas here? it is the 500 error that has me stumped.
 
 
 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: Sort of OT - F*cked Company slamming CF ??

2001-04-18 Thread Terry Bader

i cant believe you brought it here...  leave this stuff off this list... 
CF-talk


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Jason [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 3:39 PM
 To: CF-Talk
 Subject: Sort of OT - F*cked Company slamming CF ??
 
 
 
 http://www.fuckedcompany.com/comments/html/10760220471-1.html
 
 
 I can't believe people buy this crap?
 

~~
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: Access 2000 SQL 'between ... and ...'

2001-04-18 Thread Terry Bader

no '' around dates


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Bill Davies [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 12:50 PM
 To: CF-Talk
 Subject: Access 2000 SQL 'between ... and ...'
 
 
 Can any1 tell me whats wrong with this this?
 
 CFQUERY NAME="checkWorkerTimes" DATASOURCE="#Application.DSN#"
 SELECT id
 FROM timeChunks
 WHERE (worker = #Attributes.worker#) AND ('#Attributes.startDateTime#'
 BETWEEN ##[timeChunks.start]## AND ##[timeChunks.end]##)
 /CFQUERY
 
 Returns -
 
 ODBC Error Code = 37000 (Syntax error or access violation)
 
 [Microsoft][ODBC Microsoft Access Driver] Syntax error in 
 date in query
 expression '(worker = 2) AND ( ('18/04/01 12:15:00' BETWEEN
 #[timeChunks.start]# AND #[timeChunks.end]#) )'.
 
 
 WHERE (worker = #Attributes.worker#) AND ('#Attributes.startDateTime#'
 BETWEEN ##1/1/01## AND ##1/1/01##)
 works fine
 
 Many thanks.
 
 
 

~~
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: Netscape Layers, I need a dynamically Drawn line

2001-04-18 Thread Terry Bader


(skip this if you dont care about the intro)
Ok, I have this very complex interface created (lets see it is a based off a
5 dimensional structure using arrays and structures)
Now every cell has a certain dimension (x/y value)...  thus creating a
grid.
well some cells refer to other cells located in the page.  Now I have
already created a LAYER for each relationship where 2 cells that should be
connected are at the corners of the layer.  I am currently using a messed up
way of connecting the corners by using a diagonal line on a transparent GIF
background and setting the WIDTH=100% and HEIGHT=100% thusly stretching it
to the corners  but as you now, when images are stretched, they become
distorted

(what i'm really looking for here)
SOO...  I was wondering if anyone has worked with drawing lines from one
coordinate to another on a page or Layer

THANKS 


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






~~
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



OT: RE: Netscape equivalent of iframe

2001-04-18 Thread Terry Bader

cant you just wait till netscape is depreciated
i cant...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Brook Davies [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 18, 2001 4:38 PM
 To: CF-Talk
 Subject: Re: Netscape equivalent of iframe
 
 
 The LAYER tag is very buggy. The ILAYER tag is also 
 buggy. You will 
 have difficulty embedding them within a table.
 
 
 
 At 02:01 PM 18/04/01 -0500, you wrote:
 Closest thing to the iframe in NS is the layer tag.  
 Don't know if it can
 embed files in it like the iframe tag can.
 
 "Rosa, Issac" [EMAIL PROTECTED] wrote:
   Does anyone know of an equivalent in Netscape to the IE 
 tag iframe.  NS6
   supports the tag, but we are currently using NS4 as corp 
 standard.  I need
   to embed documents(.doc, .ppt, .xls, .pdf) that 
 automatically load when the
   page loads.  Any help or suggestions would be greatly appreciated.
  
   Thank you,
  
Issac Rosa
   
IT - National Sales  Marketing
OLAP Specialist Team Lead
Ofc: 407-658-3111
Cell: 407-342-0644
Fax: 407-971-2374
[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: check this please

2001-04-17 Thread Terry Bader

remove the single quotes around key_issues


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: paul . [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 17, 2001 10:34 AM
 To: CF-Talk
 Subject: check this please
 
 
 Hi Guys !
 this is the SQl
 
 select * from UHC.PCA_SPECIAL where team_idx=1 and 
 quarter_idx=5 ORDER BY 'key_issues' DESC
  
 --
 "key_issues" field has characters  and i want the table  to 
 be sorted by the key_issues alpahebeticaly .
 kindly sugest
 -paul
 
 --
 
 On Tue, 17 Apr 2001 09:16:27  
  Hayes, David wrote:
 If you're trying to sort by the 4th item in the columns 
 list, omit the
 single quotes around 4.
 
 Given that you are using the * to select all the columns, I suggest
 specifying the column name in your order by clause.  The 
 next programmer
 (maybe you) who looks at the code will be glad you did; 
 also, if the column
 order in the table is changed, you'll get unexpected results.
 
 -Original Message-
 From: paul . [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 17, 2001 8:53 AM
 To: CF-Talk
 Subject: order by not working
 
 
 Hi guys am using orderby to sort the fields to get the sort order
 alphabetically am finding taht is not working please suggest
 ---
 select * from UHC.PCA_SPECIAL where team_idx=1 and 
 quarter_idx=5 ORDER BY
 '4' ASC
 
 the above is the SQL whats wrong
 -paul
 
 
 Get 250 color business cards for FREE!
 http://businesscards.lycos.com/vp/fastpath/
 
 

~~
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: Setting up Access Datasources

2001-04-17 Thread Terry Bader

alot of times people forget to clear out the username field that is normally
populated with the default "admin"  just a suggestion...


    Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Curtis C. Layton [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 17, 2001 11:10 AM
 To: CF-Talk
 Subject: Setting up Access Datasources
 
 
 Here's an interesting question:
 
 We recently set up a server cluster that is configured in 
 this fashion:
 
 Web1/Web2 Boxes:  Win 2K Advanced Server SP1, CF Enterprise 
 4.5, MDAC 2.5
 SQL Box: Win 2K Advanced Server SP1, SQL Server 7.0
 
 NowI can get SQL Server databases to verify on both Web 
 boxes with no problem.  I've mapped a drive onto the Web 
 boxes to add Access databases but I cannot get them to 
 verify.  Any help with be appreciated. 
 
 
 
 Curtis C. Layton
 Senior Web Applications Developer
 Words In Progress Inc.
 [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: Order of Display/Page Rendering Question

2001-04-16 Thread Terry Bader

there will be a flush tag in CF5 that will allow you to do that... 
what you will have to do then is use JS to open a new window with the
indicator and then close it once the search is complete


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Les Mizzell [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 16, 2001 11:38 AM
 To: CF-Talk
 Subject: Order of Display/Page Rendering Question
 
 
 I have a page that was originally ASP that I've converted 
 over to CF.  This
 was a "Find a Rep near you" type search that has a huge 
 database behind it
 (eight different countries) - so the search could take up to 10 or 15
 seconds.
 
 On the ASP version, so the user wouldn't get too bored during 
 the process,
 I placed a small "Progress Indicator" animated gif on the page that
 displayed until the search results came up.
 
 On the CF page, I've got my chuck of HTML code with the 
 "Progress Gif" FIRST
 on the page, before any of the CF code that searches the database and
 displays the results. However, the CF pages refuses to 
 display the page at
 all until the search is complete, leaving you enough time to 
 go refresh your
 cup of coffee after you click "Submit" on the "Find Your Rep" 
 form on the
 initial search page.
 
 So, Cold Fusion doesn't display a page "top down"? Any way to 
 get the search
 to run in the background so you can still stare at the 
 "Progress Gif" while
 you wait on the results to come up?
 
 Thanks!
 
 --
 Les Mizzell
 
 Who Needs Intel?
 ATHLON INSIDE!
 
 
 

~~
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: disabling back or second insert

2001-04-12 Thread Terry Bader

expire your pages...
I also do a JS location on the action page after the submission page so that
if they hit the reload button, then it wont re=post the form data...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Smith, Daron [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 9:17 AM
 To: CF-Talk
 Subject: disabling back or second insert 
 
 
 I have a registration form, that queries initially to make 
 sure that the
 registrant is not already registered, so it eliminates people from
 registering more than one time if they come back to the site, 
 however if
 they submit the form and do not think anything has happened, 
 they can use
 their back button, hit the submit button and the query does 
 another insert
 and I end up with multiple records in my DB.  What is the best way of
 keeping them from doing this?  An expiring cookie? Or is 
 there javascript to
 eliminate the ability to go back? 
 
 Thanks
 
 Daron J. Smith
 
 
 
 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: COM Problem

2001-04-12 Thread Terry Bader

well, have you checked how much memory your system is eating up??


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Kurt Ward [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 12:04 PM
 To: CF-Talk
 Subject: COM Problem
 
 
 Anyone ever seen this error and know what the problem might be?
 
 "An unexpected system error was detected. (Error code is 4294934528)
 
 This type of error will most likely occur when the server 
 running ColdFusion
 is low on memory and/or system resources.
 If you continue to experience this error in a reproducible fashion you
 should contact Allaire technical support."
 
 The COM interface is ServerObject's ASPMail V4.0
 
 I get the error when calling ANY method.
 
 
 Kurt Ward
 Senior Web Developer
 SailNet.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: Converting/creating .htaccess (UNIX crypt) passwords help nee ded.

2001-04-12 Thread Terry Bader

don't quote me on this but i do not think it is possible... even using perl
on both systems to create the encryption...  both platforms perform the
encrypt functionality differently...

well, in my experience, once tried to do the same thing...  but i too may
have missed something.

my only recommendation to too run a password breaker on the unix encrypted
passwords, save it to a file like ID::CLEARTEXTPASSWORD
then take it to your windows platform and use cfml to parse the file and
re-encrypt...
but this isnt gaurrenteed due to that not all passwords are figured out by
the breaker...

good-luck and if there is an easy solution, let me know PLZ...



Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Peter Janett [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 4:05 PM
 To: CF-Talk
 Subject: Converting/creating .htaccess (UNIX crypt) passwords help
 needed.
 
 
 Converting/creating .htaccess (UNIX crypt) password help needed.
 
 I'm moving a site over from UNIX to Win2k with CF.  I need to 
 duplicate a
 password protected directory that used .htaccess passwords on 
 the old UNIX
 system.
 
 The issue is, there is a large number of username/password 
 combinations.  I
 don't have the passwords anywhere, so I need to duplicate the 
 process of
 crypt, so I can crypt the new password, and test it against 
 the one crypted
 on the old UNIX account.
 
 Any help appreciated,
 
 Peter Janett
 
 New Media One Web Services
 
 WEB HOSTING FOR WEB DEVELOPERS
 
 Sun, IRIX, Windows 2000, Linux;
 PHP, MySQL, Perl, Cold Fusion,
 MS SQL, ASP, SSI, SSL
 http://www.newmediaone.net
 [EMAIL PROTECTED]
 (303)828-9882
 
 
 

~~
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: cannot display

2001-04-12 Thread Terry Bader

he said any .cfm...  you are referring to the default page only... 

however you can check to see if IIS has the .cfm extension setup and
pointing to...  hold on, let me check...

C:\CFUSION\bin\iscf.dll

well, that's for me...  CF4.5 server on a NT4.0 box...

good look...  i would recommend a full CF server reinstall if that doesnt
work...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Mike Brunt [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 4:49 PM
 To: CF-Talk
 Subject: RE: cannot display
 
 
 Check in the document area on your web server if IIS right click the
 default web site select properties documents make sure 
 index.cfm is shown
 there, if not add it, all should then be OK.
 
 Kind Regards - Mike Brunt
 Macromedia Consulting
 Tel 562.243.6255
 Fax 401.696.4335
 http://www.allaire.com/services/consulting/
 
 
 -Original Message-
 From: Robert Orlini [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 1:36 PM
 To: CF-Talk
 Subject: cannot display
 
 
 This may be an easy one but...
 
 Right out of the blue my development machine refuses to 
 display any .CFM
 pages. All I get is "Page cannot be displayed". All .htm 
 pages work. CF
 Server is started and running. Permissions should be OK.
 
 Any suggestions?
 
 Thanks.
 
 Roberto O.

~~
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



LOCKING

2001-04-11 Thread Terry Bader

ok, question about locking

let's say I have code like this:

CFLOCK SCOPE="SESSION" TYPE="READONLY" TIMEOUT="10"
CFIF session.value EQ 0
CFINCLUDE TEMPLATE="somecfml.cfm"
/CFIF
/CFLOCK

And somecfml.cfm might possible need to write to the session scope.

Now, my question is, does the Lock in the calling cfm page follow down into
the included page?


just wondering because with a complex Conditional statement checking against
session variables, though you may be only reading from the session scope
while running the checks, you might just have to write to the session scope
somewhere inside
so if the lock does follow the INCLUDES then I guess the whole thing will
have to be EXECLUSIVELY locked...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






~~
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: LOCKING

2001-04-11 Thread Terry Bader


that would be way too much work you are putting on yourself...

looks at the email from mjones

Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Hayes, David [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 11, 2001 2:54 PM
 To: CF-Talk
 Subject: RE: LOCKING
 
 
 I think you want to handle it more like this:
 
 CFSET includeItP = false
 CFLOCK SCOPE="SESSION" TYPE="READONLY" TIMEOUT="10"
   CFIF session.value EQ 0
   CFSET includeItP = true
   /CFIF
 /CFLOCK
 
 CFIF includeItP
   CFINCLUDE TEMPLATE="somecfml.cfm"
 /CFIF
 
 
 -Original Message-
 From: Terry Bader [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 11, 2001 1:32 PM
 To: CF-Talk
 Subject: LOCKING
 
 
 ok, question about locking
 
 let's say I have code like this:
 
 CFLOCK SCOPE="SESSION" TYPE="READONLY" TIMEOUT="10"
   CFIF session.value EQ 0
   CFINCLUDE TEMPLATE="somecfml.cfm"
   /CFIF
 /CFLOCK
 
 And somecfml.cfm might possible need to write to the session scope.
 
 Now, my question is, does the Lock in the calling cfm page 
 follow down into
 the included page?
 
 
 just wondering because with a complex Conditional statement 
 checking against
 session variables, though you may be only reading from the 
 session scope
 while running the checks, you might just have to write to the 
 session scope
 somewhere inside
 so if the lock does follow the INCLUDES then I guess the 
 whole thing will
 have to be EXECLUSIVELY locked...
 
 
   Terry Bader
   IT/Web Specialist
   EDO Corp - Combat Systems
   (757) 424-1004 ext 361 - Work
   [EMAIL PROTECTED]   
 
 
   (757)581-5981 - Mobile
   [EMAIL PROTECTED]
   icq: 5202487   aim: lv2bounce
   http://www.cs.odu.edu/~bader

~~
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: LOCKING

2001-04-11 Thread Terry Bader

yeah, that looks good...  

but does anyone know if it follows down the include??


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 11, 2001 2:52 PM
 To: CF-Talk
 Subject: RE: LOCKING
 
 
 this would be better
 
 CFLOCK SCOPE="SESSION" TYPE="READONLY" TIMEOUT="10"
   cfset locValue = session.value
 /CFLOCK
 
 CFIF locValue EQ 0
   CFINCLUDE TEMPLATE="somecfml.cfm"
 /CFIF
 
 -Original Message-
 From: Terry Bader [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 11, 2001 1:32 PM
 To: CF-Talk
 Subject: LOCKING
 
 
 ok, question about locking
 
 let's say I have code like this:
 
 CFLOCK SCOPE="SESSION" TYPE="READONLY" TIMEOUT="10"
   CFIF session.value EQ 0
   CFINCLUDE TEMPLATE="somecfml.cfm"
   /CFIF
 /CFLOCK
 
 And somecfml.cfm might possible need to write to the session scope.
 
 Now, my question is, does the Lock in the calling cfm page 
 follow down into
 the included page?
 
 
 just wondering because with a complex Conditional statement 
 checking against
 session variables, though you may be only reading from the 
 session scope
 while running the checks, you might just have to write to the 
 session scope
 somewhere inside
 so if the lock does follow the INCLUDES then I guess the 
 whole thing will
 have to be EXECLUSIVELY locked...
 
 
   Terry Bader
   IT/Web Specialist
   EDO Corp - Combat Systems
   (757) 424-1004 ext 361 - Work
   [EMAIL PROTECTED]   
 
 
   (757)581-5981 - Mobile
   [EMAIL PROTECTED]
   icq: 5202487   aim: lv2bounce
   http://www.cs.odu.edu/~bader

~~
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: LOCKING

2001-04-11 Thread Terry Bader

looks good.. thanks...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Andrew Tyrone [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 11, 2001 3:11 PM
 To: CF-Talk
 Subject: RE: LOCKING
 
 
  -Original Message-
  From: Terry Bader [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, April 11, 2001 2:32 PM
  To: CF-Talk
  Subject: LOCKING
  
  
  ok, question about locking
  
  let's say I have code like this:
  
  CFLOCK SCOPE="SESSION" TYPE="READONLY" TIMEOUT="10"
  CFIF session.value EQ 0
  CFINCLUDE TEMPLATE="somecfml.cfm"
  /CFIF
  /CFLOCK
  
  And somecfml.cfm might possible need to write to the session scope.
  
  Now, my question is, does the Lock in the calling cfm page follow 
  down into
  the included page?
  
 
 The file somecfml.cfm will get included before the page is 
 processed, so basically when using an include it is as if you 
 are executing the whole template as one file.
 
  
  just wondering because with a complex Conditional statement 
  checking against
  session variables, though you may be only reading from the 
 session scope
  while running the checks, you might just have to write to the 
  session scope
  somewhere inside
  so if the lock does follow the INCLUDES then I guess the 
 whole thing will
  have to be EXECLUSIVELY locked...
 
 Depending on how much code you are talking about running in 
 the included file, you might want to set local variables 
 wherever possible that hold the data from session variables 
 you will be reading from or writing to.  Once you have these 
 all set you could do another lock at the end of your page and 
 write them back to the appropriate session variables.
 
 - 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: redirect based on URL

2001-04-10 Thread Terry Bader


CFSET templen = LISTLEN(PATH_INFO, "/")
CFSET tempfilename = TRIM(LISTGETAT(get_index.url, templen, "/"))

tempfilename now equals whatever follows the last /
you might want to write another line to remove anyfiles names,
incase they add on /index.cfm on the end or something like that....


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Art Broussard [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 10, 2001 1:25 PM
 To: CF-Talk
 Subject: redirect based on URL
 
 
 I need to do this.
 Allow someone to use an address like this:
 http://tracker.dealers.com/fishinhole 
 
 and have it redirect to a page like this
 http://tracker.dealers.com/dealers.cfm?blah=blahblah=blah
 
 I cant dynamicly create a directory on the sever because of 
 security issues.
 They dont want to create the directories them self because 
 it's to much "work" for them.
 
 Any idea on how to do this.
 
 I know yahoo does something like this but I don't know if 
 that would help or how to do it.
 
 TIA,
 
 Art
 
 

~~
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: Certified ColdFusion Developer Study Guide

2001-04-09 Thread Terry Bader

i got it... 

it is nicely put together... 
it also has a 15% discount for the Cert Test through VUE.com...  so, you
spend $40+ on the book, but save $22.50 on the test...  so for about $20,
you can't beat picking it up


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Kelly [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, April 07, 2001 12:31 PM
 To: CF-Talk
 Subject: Certified ColdFusion Developer Study Guide
 
 
 Has anyone picked it up yet?  I  think I am going to get a 
 copy today. Just 
 wanted
 to hear your thoughts if you got it.
 Kelly
 
 

~~
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 Cert: wait for 5.0?

2001-04-09 Thread Terry Bader

$150..

www.vue.com/allaire


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Marc Garrett [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 09, 2001 9:15 AM
 To: CF-Talk
 Subject: CF Cert: wait for 5.0?
 
 
 Does anyone know how long after CF 5 is released before the 
 certification
 exam becomes available? Is it better to take it now, or wait 
 for the new
 exam?
 
 Also, I could not find pricing information on Allaire's site. 
 Does anyone
 know the price?
 
 Thanks,
 
 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: Certified ColdFusion Developer Study Guide

2001-04-09 Thread Terry Bader

guess i didnt need to repeat everything you just said...
but it is worth repeating...

=^)


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Michailov, Dimitar [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 09, 2001 9:47 AM
 To: CF-Talk
 Subject: RE: Certified ColdFusion Developer Study Guide
 
 
 Nick:
 
 I preordered mine 10 days ago from Amazon and I had it 
 delivered to my door
 last Thursday (Apr. 5). You should be getting yours soon.
 
 In addition to the useful exam preparation material, I like 
 the 15% off
 coupon from the exam fee (150$) which makes the book almost free.
 
 Dimo Michailov
 Cold Fusion 4.5 Web Developer
 USA-IT, Inc.
 [EMAIL PROTECTED]
 
 
 -Original Message-
 From: Nick Betts [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 09, 2001 9:07 AM
 To: CF-Talk
 Subject: RE: Certified ColdFusion Developer Study Guide
 
 
 You can order it on Amazon.  Its due to ship very shortly, if its not
 already.  I ordered a copy about a month ago, but am yet to 
 have delivery of
 it...
 
 Nick.
 
 -Original Message-
 From: Richard L Smith [mailto:[EMAIL PROTECTED]]
 Sent: 09 April 2001 13:37
 To: CF-Talk
 Subject: Re: Certified ColdFusion Developer Study Guide
 
 
 Kelly,
 
 This is the first I have heard of it.
 Where do you get it.
 
 Rick
 - Original Message -
 From: "Kelly" [EMAIL PROTECTED]
 To: "CF-Talk" [EMAIL PROTECTED]
 Sent: Saturday, April 07, 2001 12:30 PM
 Subject: Certified ColdFusion Developer Study Guide
 
 
  Has anyone picked it up yet?  I  think I am going to get a 
 copy today.
 Just
  wanted
  to hear your thoughts if you got it.
  Kelly
 
 
 

~~
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: Little OT: Security on NT, IIS, and CF

2001-04-09 Thread Terry Bader

can ppl upload files to your site??
if so are they restricted on the file types? (dont want any cfm or any other
executables uploaded)
if not, have you restricted the REGISTRY, CFDIRECTORY adn CFFILE in CF
ADMIN??

are you on NT4 with IIS??  make sure the Update for the .htr has been
installed (i.e. try: http://domainname/index.cfm+.htr and look at the
source, if it contains CF code, better go get the update)


when pages are accessed with url variables, and doing queries, look for
correct datatypes being passed and that semi-colons arent in the url
variable being used in the query

hmm...  thats a few...



Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Robert Everland [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 09, 2001 4:14 PM
 To: CF-Talk
 Subject: Little OT: Security on NT, IIS, and CF
 
 
   Ok we are about to go live here soon and am looking at 
 Security to
 really lock down the servers. Now I know people can append 
 things to the url
 I check for that, or add things to a form, I check for that 
 also. Only thing
 I need to know is if there is still a security lax with MDAC 
 where someone
 could send a query to a url and drop a table. Can that still 
 be done? I am
 slowly going through Microsoft's checklist for everything. Is there an
 allair err Macromedia checklist? Also anyone have any 
 recomendations for a
 security scanner so I can double check everything after I am done.
 
 Robert Everland III
 Web Developer
 Dixon Ticonderoga
 

~~
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: Seeing who's logged in - but a question on application variab les between applications

2001-03-31 Thread Terry Bader

is it possible to read variables from one application from another...

lets say you had an administrator page that was separate from the main site,
thusly a separate application name, but you wanted to see who was on...
could you actually read the mainsite.appliaction.user struct from the admin
site??

so far, i have used 5-10 min cached database queries to do this... but
wonder about the above...  could have other value as well...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Raymond B. [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, March 31, 2001 2:03 PM
 To: CF-Talk
 Subject: RE: Seeing who's logged in
 
 
 /* in the Application.cfm */
 
 // if user logging struct isn't there, make it so
 if (not isDefined('application.user')) {
   application.user = structNew() ;
   }
 
 // insert user's id and current time (for last access calcs)
 structInsert(application.user, session.uuid, now()) ;
 
 
 
 
 /* on the display page */
 
 // run through all the users that are logged in
 for (u in application.user) {
 
   // if user's last access is older than their session 
 timeout, remove them
   if (dateCompare(application.user[u], dateAdd('n', -20, 
 now()), 'n') lt 1) {
   structDelete(application.user, u) ;
 
   // else they might still be logged in, show them as such
   }else{
   writeOutput(u  application.user[u]) ;
   }
   }
 
 
 This is only to illustrate the concept, you'll want to do 
 some heavy editing
 before you use it: Locking, copying to local vars for 
 display, etc. are all
 things to consider. I have no idea the number of users you 
 expect, etc. so
 you'll have to decide if this is right for you.
 
 
 -Original Message-
 From: W Luke [mailto:[EMAIL PROTECTED]]
 Sent: March 31, 2001 08:41
 To: CF-Talk
 Subject: Re: Seeing who's logged in
 
 
 
 Not sure I fully understand - could you show me an example 
 bit of code?  I'm
 still not familiar with structures.
 
 Cheers
 
 Will
 
  Yep, using the application scope just set a var in a struct 
 (their id as
  key, now() as value) then clean it up for all entries
 dateAdd('n', -session
  timeout, now()) and you'll have a pretty good idea of 
 who's logged in
 (w/in
  the session timeout limit). Just make sure to lock the 
 scope properly, you
  can also do this db in the client vars if you want.
 
  -Original Message-
  From: Yoshi Melrose [mailto:[EMAIL PROTECTED]]
  Sent: March 30, 2001 16:17
  To: CF-Talk
  Subject: Re: Seeing who's logged in
 
 
  Wouldn't session variables work for this? That's what I've 
 used in the
 past
  for anything that was sensitive to browser sessions. I know 
 they're kinda
  flaky sometimes, which is why I try not to use them.
 
  Any other ideas? I'd like to know any other suggestions as 
 well, sounds
 like
  something I could integrate into one of my own apps.
 
  - Original Message -
  From: "W Luke" [EMAIL PROTECTED]
  To: "CF-Talk" [EMAIL PROTECTED]
  Sent: Friday, March 30, 2001 5:29 PM
  Subject: Seeing who's logged in
 
 
   Hi,
  
   On one of my sites users log in, and client.email is set - for the
   members-only sections, it then checks to see if 
 client.email is set and
  lets
   them in (or tells them to login) accordingly.  How can I 
 add a "Who's
   online" section..to display which users are currently 
 logged in? Because
   even if the user closes their browser, won't their 
 token/cfid still be
 in
   the Database and therefore they'll appear "online" even 
 though they're
  not?
   Or have I lost the plot...(run out of Red Bull...coffee 
 just doesn't do
   it...)
  
   Will
   --
   [EMAIL PROTECTED] -=- www.lukrative.com
   Local-Advertising -=- www.localbounty.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: Cold Fusion Forums

2001-03-29 Thread Terry Bader

hello...
well, im not sure what you want exactly, but i have been working on a phorum
system and I'm just about to take it into Alpha release.  anyway, if you are
interested, please check out http://www.cfphorum.com



Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: S R [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 29, 2001 11:31 AM
 To: CF-Talk
 Subject: Cold Fusion Forums
 
 
 Hi Everyone,
 
 Can anyone recommend a good software package either from 
 Allaire or someone 
 else that can be used for web forums, sort of like this cf-talk forum?
 
 Thank 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: Javascirpt problem on CF

2001-03-29 Thread Terry Bader

I have not tested this, but I think this is a generic form or what you
want...
the main thing i see that can be wrong in your code is here:
len = parseFloat(obj.clen.value)
is this the length??  obj.clen.value??  maybe obj.clen.length

hope this helps

len=document.checkboxes.length
cnt = 0

for(i=1; i=len; i++) {
if (document.checkboxes[i].checked == 1)
{
cnt++;
}
}

//cnt should be equal to the number that are checked



Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: PEREZ, RICHARD RINGO (SBCSI) [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 29, 2001 12:33 PM
 To: CF-Talk
 Subject: Javascirpt problem on CF
 
 
 This is my code with Javascript can you pelase help me figure 
 out what's
 wrong? i know that Javascript is a client side while CF is 
 server side. Can
 you please help me out to figure what changes do i need  to 
 do on my code?
 
 What i'm trying to do on my code is they need to click on the 
 checkbox and i
 will count how many checkboxes they already clicked on and 
 they should have
 a max of 13 clicks.
 
 !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
 
 html
 head
   title/title
   
   link href="../Styles/css.css" rel="stylesheet" type="text/css"
   
   script language="JavaScript"
   var cnt_chk = 0;
   var cnt_sel = 0;
 
   function validate(obj){
   len = parseFloat(obj.clen.value)
 
   cnt_chk = 0
   for(i=1; i=len; i++)
   {
   byVal = eval("obj.o" + i + ".checked")
   if(byVal == true)
   {
   cnt_chk++
   }
   }
   
   if(cnt_chk == 0)
   {
   alert("You must select a Candidate");
   return false;
   }
   
   if(cnt_chk = 14 OR cnt_chk =12)
   {
   alert("You must select exactly 13 Candidates");
   return false;
   }
   }
 
   function fnCountNatin(obj){
   cnt_sel = 0;
   len = parseFloat(document.frmVote.clen.value)
 
   for(i=1; i=len; i++)
   {
   byVal = eval("document.frmVote.o" + i + 
 ".checked")
   if(byVal == true)
   {
   cnt_sel++
   }
   }
   document.frmvote.total_sel.value = cnt_sel++
   }
 
   function fnTotal(obj){
   alert("number of Candidates selected: " + 
 obj.value + " ")
   return false;
   }
   /script
   
 /head
 
 body VLINK="#990099" LINK="Blue" TEXT="Black" 
 ALINK="#7204C3" leftmargin=0
 topmargin=0
 
 
 
 cfquery name="GetC" datasource="xxx" dbtype="ODBC"
 Select CID, CFirstName, CLastName, CNickName, CParty
 From Candidate
 /cfquery
 
 
 form action="Update/add_vote_form.cfm" method="post" name="frmVote"
 onSubmit="return validate(this)"
 
 Unang Hakbang: Email input type="Text" name="Email" 
 required="No" size="30"
 maxlength="50"
 
 P
 Pangalawang Hakbang:br
 table align="center"
 tr
   td/td
   tdMga Kandidato/td
   tdParty/td
 /tr
 cfoutput query="GetC"
 tr
   tdinput type="Checkbox" name="o#GetC.CID#" value="#GetC.CID#"
 onClick="fnCountNatin(this)"/td
   td#GetC.CFirstName# #GetC.CLastName# #GetC.CNickName#/td
   td#GetC.CParty#/td
 /tr
 /cfoutput
 /table
 p
 Pangatlong Hakbang:br
 input type="hidden" name="clen" value="34"
 Number of Candidates selected: 
 input type="text" name="total_sel" maxlength="2" size="3" value="0"
 onclick="return fnTotal(this)" onkeypress="javascript:return
 fnTotal(this)"br
 input type="submit" name="Submit" value=" Vote! "
 /form
 

~~
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: Javascirpt problem on CF

2001-03-29 Thread Terry Bader

so why are you doing that??  
then you are only going to loop around 13 of the elements (or whatever
obj.clen.value is), you want to loop around the whole checkbox array
which is 'document.frmVote.o.length' in your case if i read the code
right...
so loop through all of them and see which ones are checked...

2 bugs in my code are that i forgot a form name and the value to check is
not 1 but true.

also, arrays start with 0 not 1

so  updated...
 
 len=document.frmVote.o.length
 cnt = 0
 
 for(i=0; i=len-1; i++) {
if (document.frmVote.o[i].checked == true)
{
cnt++;
}
 }
 
 //cnt should be equal to the number that are checked
 

I just noticed something else, why do you have different names for each
checkbox, they all should be in the same checkbox group  
i would keep the same name for all the checkboxes and use the above code... 

personally speaking...



Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: PEREZ, RICHARD RINGO (SBCSI) [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 29, 2001 1:28 PM
 To: CF-Talk
 Subject: RE: Javascirpt problem on CF
 
 
 No, len is a variable that is determining how many is he 
 going to check...
 the len value here should be 34. 
 
 -Original Message-
 From: Terry Bader [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 29, 2001 10:00 AM
 To: CF-Talk
 Subject: RE: Javascirpt problem on CF
 
 
 I have not tested this, but I think this is a generic form or what you
 want...
 the main thing i see that can be wrong in your code is here:
 len = parseFloat(obj.clen.value)
 is this the length??  obj.clen.value??  maybe obj.clen.length
 
 hope this helps
 
 len=document.checkboxes.length
 cnt = 0
 
 for(i=1; i=len; i++) {
   if (document.checkboxes[i].checked == 1)
   {
   cnt++;
   }
 }
 
 //cnt should be equal to the number that are checked
 
 
 
   Terry Bader
   IT/Web Specialist
   EDO Corp - Combat Systems
   (757) 424-1004 ext 361 - Work
   [EMAIL PROTECTED]   
 
 
   (757)581-5981 - Mobile
   [EMAIL PROTECTED]
   icq: 5202487   aim: lv2bounce
   http://www.cs.odu.edu/~bader
 
 
 
 
 
 
  -Original Message-
  From: PEREZ, RICHARD RINGO (SBCSI) [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, March 29, 2001 12:33 PM
  To: CF-Talk
  Subject: Javascirpt problem on CF
  
  
  This is my code with Javascript can you pelase help me figure 
  out what's
  wrong? i know that Javascript is a client side while CF is 
  server side. Can
  you please help me out to figure what changes do i need  to 
  do on my code?
  
  What i'm trying to do on my code is they need to click on the 
  checkbox and i
  will count how many checkboxes they already clicked on and 
  they should have
  a max of 13 clicks.
  
  !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
  
  html
  head
  title/title
  
  link href="../Styles/css.css" rel="stylesheet" type="text/css"
  
  script language="JavaScript"
  var cnt_chk = 0;
  var cnt_sel = 0;
  
  function validate(obj){
  len = parseFloat(obj.clen.value)
  
  cnt_chk = 0
  for(i=1; i=len; i++)
  {
  byVal = eval("obj.o" + i + ".checked")
  if(byVal == true)
  {
  cnt_chk++
  }
  }
  
  if(cnt_chk == 0)
  {
  alert("You must select a Candidate");
  return false;
  }
  
  if(cnt_chk = 14 OR cnt_chk =12)
  {
  alert("You must select exactly 13 Candidates");
  return false;
  }
  }
  
  function fnCountNatin(obj){
  cnt_sel = 0;
  len = parseFloat(document.frmVote.clen.value)
  
  for(i=1; i=len; i++)
  {
  byVal = eval("document.frmVote.o" + i + 
  ".checked")
  if(byVal == true)
  {
  cnt_sel++
  }
  }
  document.frmvote.total_sel.value = cnt_sel++
  }
  
  function fnTotal(obj){
  alert("number of Candidates selected: " + 

RE: database design question

2001-03-28 Thread Terry Bader

time for a book on relational databases


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Julie Clegg [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, March 28, 2001 4:25 PM
 To: CF-Talk
 Subject: database design question
 
 
 
 hello,
 
 I am putting together a database and I cannot decide what to 
 do with the 
 Education Table.  I have 1000 clients who I need to enter 
 their education 
 level.  For example, did they graduate from highschool and if 
 so, what is 
 the name of their highschool.  Should I put that info on the 
 same table or 
 create a new table with the clientid and the name of the 
 highchool attended 
 if they did attend.  I know that if I put it all on one table 
 there will be 
 a lot of empty fields but I also didnt know if it was 
 "wasteful" to create 
 such a small table just for highschool name.
 
 What do you think?  Will the system slow down if I have ALOT 
 of tables?
 
 Thanks,
 
 Julie
 
 From: "Julia Green" [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Subject: Re: CF Books
 Date: Tue, 20 Mar 2001 20:00:26 -0500
 
 Julie --
 
 This is late in coming, bu I have a great Adobe Acrobat 
 Documentation book:
 
 http://www.allaire.com/documents/cf45docs/acrobatdocs/45dwa.pdf
 
 Julia Green
 Julia Computer Consulting
 PO Box 279
 Watertown MA 02471-0279
 http://www.juliagreen.com
 Email:  [EMAIL PROTECTED]
 Phone:  617-926-3413
 FAX:  413-771-0306
 
 - Original Message -
 From: Julie Clegg [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Monday, March 19, 2001 11:05 AM
 Subject: CF Books
 
 
   Hello,
  
   Can anyone recommend a good CF developers book...we will 
 be building a 
 new
   application using CF 4.5 and I need something that will be a good
 reference
   book for a new CF developer!
  
   Thanks,
  
   Julie
  
 

~~
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: Think your good? Prove it!

2001-03-26 Thread Terry Bader

this looks great...
took the test, didn't "fail" but i didn't get a great score in my opinion so
your new book will be nice to use...

also, do you get more credit if the book is bought from the link off your
page?  
just wondering whether to get it from your page or go and reserve it down
the street.


    Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Ben Forta [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, March 25, 2001 12:02 PM
 To: CF-Talk
 Subject: OT: Think your good? Prove it!
 
 
 With my "Certified ColdFusion Developer Study Guide" about to 
 ship, I have
 put a sample CF exam online. It's not an easy exam, and it'll 
 be different
 each time you take it. So, if you are feeling brave, give it a try at
 http://www.forta.com/books/0789725657/ (there's a link at the 
 bottom of that
 page). Enjoy!
 
 --- Ben
 
 PS If you have comments or questions about the exam, reply to 
 me directly
 (not here on the list). The test application is brand new, so any help
 ironing out the kinks is appreciated.
 
 ==
 Ben Forta - Macromedia Inc.
   E-Mail: [EMAIL PROTECTED]
   Phone:  (248)424-8420
   Fax:(248)424-8421
   Macromedia: http://www.macromedia.com/
   Allaire:http://www.allaire.com/
   Personal:   http://www.forta.com/
 
 WAP is hot! Want to know more? You need "The WAP Book" - go to
 http://www.thewapbook.com/ for more info!
 
 

~~
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: Calling all FreeLance CF Gurus!

2001-03-26 Thread Terry Bader


HAHAHAA

did anyone by chance go to the linked page??

the first question in the appliaction is:
Mt. Dew or Dr. Pepper:* | |

I thought that was hilarious  I wonder which one gets the preference?

Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Brian Thornton [mailto:[EMAIL PROTECTED]]
 Sent: Monday, March 26, 2001 5:47 AM
 To: CF-Talk
 Subject: Calling all FreeLance CF Gurus!
 
 
 Hi Everyone,
 Me and My great staff have been very busy working with the 
 casino vendors and tons of marketing teams here in bright Las 
 Vegas! We are in need of a few good freelance REMOTE coders. 
 We have several small projects and one big project due to 
 start in 2 weeks. Obviously this would be a great place for 
 someone to step in create a alliance/partnership which we 
 could constantly send projects to. We want to have a definite 
 individual lined up by the 1st. Since there are a couple of 
 client the prices range with work, but once we take a peek at 
 the following we'll bring you into the loop. We have prepared 
 the scope of work; So you just have to focus on coding.
 
 WE DON'T WANT THIRD PARTIES! LOOKING FOR DEDICATED OPEN 
 INDIVIDUALS ONLY. YOU MUST BE WILING TO SIGN A 
 NON_DISCLOSURE/NON-COMPETE.
 
 Please complete the linked form at: 
 http://24.234.179.102/emp/1.cfm . The window for application 
 will be open till 3/28/01 at which point we will be making selections.
 
 
 Thanks,
 Brian Thornton
 LASVEGAS.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: Calling all FreeLance CF Gurus!

2001-03-26 Thread Terry Bader

sorry...  i dont mean to support these posts...  i agree with them no being
here... just thought it was funny


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Monday, March 26, 2001 10:15 AM
 To: CF-Talk
 Subject: Re: Calling all FreeLance CF Gurus!
 
 
 While I'm still in bed sick, I requested from the poster that 
 job related
 posts not be reposted to the CF-Talk or other lists. Due to a 
 long thread
 that started on the jobs list when I posted looking for a 
 job, some people
 have complained about OT posts. I'm going to try and step in 
 on them now. If
 we could end this one or move it to CF-Community, I'd 
 appreciate it. Thanks
 
 
  HAHAHAA
 
  did anyone by chance go to the linked page??
 
  the first question in the appliaction is:
  Mt. Dew or Dr. Pepper:* | |
 
  I thought that was hilarious  I wonder which one gets 
 the preference?
 
  Terry Bader
  IT/Web Specialist
  EDO Corp - Combat Systems
  (757) 424-1004 ext 361 - Work
  [EMAIL PROTECTED]
 
 
  (757)581-5981 - Mobile
  [EMAIL PROTECTED]
  icq: 5202487   aim: lv2bounce
  http://www.cs.odu.edu/~bader
 
 
 
 
 
 
   -Original Message-
   From: Brian Thornton [mailto:[EMAIL PROTECTED]]
   Sent: Monday, March 26, 2001 5:47 AM
   To: CF-Talk
   Subject: Calling all FreeLance CF Gurus!
  
  
   Hi Everyone,
   Me and My great staff have been very busy working with the
   casino vendors and tons of marketing teams here in bright Las
   Vegas! We are in need of a few good freelance REMOTE coders.
   We have several small projects and one big project due to
   start in 2 weeks. Obviously this would be a great place for
   someone to step in create a alliance/partnership which we
   could constantly send projects to. We want to have a definite
   individual lined up by the 1st. Since there are a couple of
   client the prices range with work, but once we take a peek at
   the following we'll bring you into the loop. We have prepared
   the scope of work; So you just have to focus on coding.
  
   WE DON'T WANT THIRD PARTIES! LOOKING FOR DEDICATED OPEN
   INDIVIDUALS ONLY. YOU MUST BE WILING TO SIGN A
   NON_DISCLOSURE/NON-COMPETE.
  
   Please complete the linked form at:
   http://24.234.179.102/emp/1.cfm . The window for application
   will be open till 3/28/01 at which point we will be 
 making selections.
  
  
   Thanks,
   Brian Thornton
   LASVEGAS.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: Personal web server install

2001-03-26 Thread Terry Bader

goto add/remove programs  then Windows setup


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Julie Clegg [mailto:[EMAIL PROTECTED]]
 Sent: Monday, March 26, 2001 12:32 PM
 To: CF-Talk
 Subject: Personal web server install
 
 
 
 Hello all,
 
 I am trying to install microsofts personal web server on my 
 NT 5.0 machine 
 and I cannot find it on the microsoft site.  I can only find 
 PWS for NT 
 4.
 
 does anyone know where the down load is for this/
 
 Thanks
 
 Julie
 
 
 

~~
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



cftransaction

2001-03-24 Thread Terry Bader

q: in the book, it says not all odbc drivers support all the lock types
so... lets say the back-end is moved over to a non-supported db, what will
happen when the application hits the cftransaction?  will it break or be
ignored??



Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






~~
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



OT: font viewers/printers

2001-03-21 Thread Terry Bader

I'm looking for a good font reviewer and printer shareware/freeware
everything I have found isn't all that

basically I want to create I library of my fonts and I always forget which
fonts have the extra symbols I'm looking for

so, I'm looking for one that can print the alpha/num char and the associated
symbol in that font library...



Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






~~
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: Allaire on Hold?

2001-03-21 Thread Terry Bader

umm..  i hope you're not a day-trader...

Allaire is now part of Macromedia...  


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Scott Wood [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, March 21, 2001 6:33 PM
 To: CF-Talk
 Subject: Allaire on Hold?
 
 
 Please excuse me if this has already been mentioned today, 
 but does anyone
 know why Allaire's stock has a hold on it?  It did not trade 
 at all today.
 I can not find a news release explaining what is happening.
 
 Thanks,
 
 Scott Wood
 

~~
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 query?

2001-03-19 Thread Terry Bader

is PromoID a number based type in the db or a char?
you are treating it as a char based datatype...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Monday, March 19, 2001 2:32 PM
 To: CF-Talk
 Subject: cf query?
 
 
 cfquery datasource="blah" username="user" password="pass"
 name="addclickthrough"
   UPDATE NetReferrers
   SET ClickThroughs = (SELECT Info.ClickThroughs
   FROM Info.NetReferrers
   WHERE PromoID = '#URL.Promo#')
   #Info.ClickThroughs# + 1
   WHERE PromoID = '#URL.Promo#'
   /cfquery
 
 
 Am i doing this right, or am i just not thinking correctly today???
 
 Thanks,
 
 Kevin
 
 
 ~
 Kevin Mansel
 Web Developer
 Fox Communications
 [EMAIL PROTECTED]
 
 
  Kevin Mansel.vcf 
 
 

~~
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: Efficiency Question

2001-03-16 Thread Terry Bader

question: does the text change often?
I wouldn't think so, but just in case...  
if no, then #3 is out...

I would say no to #1 because if you have multiple users accessing the same
document, then each will have their own session variable with same info.

So, unless the text changes often (less then 15 minutes), I would cache the
queries

This way even in a multi-user situation, the document is only  stored in one
place in memory...  


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Christian N. Abad [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 16, 2001 10:04 AM
 To: CF-Talk
 Subject: Efficiency Question
 
 
 Hello, All!
 
 I have a quick question :
 
 I am currently working on a ColdFusion application for a 
 client of mine, and
 had a question about efficiency.
 
 Scenario :
 
 I have dozens of news articles, how-to guides, etc. that are 
 all text-based
 and currently stored in a db in memo fields.  These articles could be
 accessed often, and the same user may view several of these 
 in one sitting
 (session).
 
 Question :
 
 What is the most efficient way to access this info?
 
 1) Create a session-scoped array to store the titles and copy for the
 articles. (Running the query only once.)
 
 2) Simply cache the query.
 
 3) Let the user hit the db every time the page loads and they 
 request a
 document.
 
 My goal here is to maximize efficiency and minimize db 
 access.  I imagine
 that if I have dozens of simultaneous users, that creating 
 session arrays
 might be taxing to the server.  Conversely, if I hit the db 
 server every
 time the user requests an article, is this excessive?
 
 Setup :
 
 ColdFusion 4.5 Server
 Access 2000 (development)
 SQL Server (production)
 
 Any ideas, thoughts or comments?
 
 Thanks in Advance!
 
 Christian N. Abad
 ColdFusion Developer
 
 

~~
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: Need some quick help

2001-03-16 Thread Terry Bader

"Please reply to me directly (off list)."

just observing


    Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: DeVoil, Nick [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 16, 2001 10:35 AM
 To: CF-Talk
 Subject: RE: Need some quick help
 
 
 apache on NT
 
 -Original Message-
 From: Ben Forta [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 16, 2001 3:22 PM
 To: CF-Talk
 Subject: OT: Need some quick help
 
 
 Hi all,
 
 I need some quick help from developers using anyone the 
 following with CF (I
 need one of each):
 
  - Netscape Enterprise Server on NT
  - Netscape Enterprise Server on Solaris
  - Apache on NT
  - Apache on Linux
  - Apache on Solaris
  - Anyone using CF via the CGI interface (on any platform)
 
 I won't take much of your time, I'll need you to run a single 
 CFM request
 and forward some results to me.
 
 Please reply to me directly (off list).
 
 Thanks!
 
 --- Ben
 
 ==
 Ben Forta - Allaire Corporation
   E-Mail:   [EMAIL PROTECTED]
   Phone:(248)424-8420
   Fax:  (248)424-8421
   Allaire:  http://www.allaire.com/
   Personal: http://www.forta.com/
 
 WAP is hot! Want to know more? You need "The WAP Book" - go to
 http://www.thewapbook.com/ for more info!

~~
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 rules!!!

2001-03-16 Thread Terry Bader

then you wouldn't want to query a query

come on man,  you asked a question and ppl are giving examples of the
uses...

now quit being a bug...  
personally, i really hate putting ppl into my ignore list


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 16, 2001 5:29 PM
 To: CF-Talk
 Subject: RE: CF rules!!!
 
 
 yeah, but what if data in the DB changed during that instance
 
 -Original Message-
 From: John Wilker [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 16, 2001 4:01 PM
 To: CF-Talk
 Subject: RE: CF rules!!!
 
 
 Wouldn't another use be to drill down through data. Along the 
 similar line,
 you could make one query at the beginning and then drill down 
 through it as
 needed and not have to keep making return trips to the DB.
 
 Just thinking
 
 J.
 
 
 John Wilker
 Web Applications Consultant
 Allaire Certified ColdFusion Developer
 
 Office: 909-943-8428
 www.billtracker.org http://www.billtracker.org
 
 
 -Original Message-
 From: Larry C. Lyons [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 16, 2001 1:34 PM
 To: CF-Talk
 Subject: Re: CF rules!!!
 
 
 Alternatively you put the intial query into an application 
 variable and
 then run queries against that one.
 
 larry
 
 Savan Thongvanh wrote:
 
  real world mode now, how realistic is querying your 
 inventory for each
 user?
  RAM resources?
 
 

~~
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: Hyperlink cause a post, how to?

2001-03-16 Thread Terry Bader

Because I am S nice and I am about to go out  here ya go...
it is off the top of my head, but should work...
the "javascript:" can be used in an event (ie. onClick) as well

so if this helps, you owe me a beer.

SCRIPT
function someFunction(passedValue) {
location = 'index.cfm?id=' + passedValue + '';
}
/SCRIPT

A HREF="javascript:someFunction(CFOUTPUT#someCFvalue#/CFOUTPUT);"CLICK
ME/A


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Dustin M. Snell [Unisyn Software, LLC]
 [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 16, 2001 11:12 PM
 To: CF-Talk
 Subject: Hyperlink cause a post, how to?
 
 
 Does anyone know how to make text link (not a button) cause a 
 post event
 (like a submit button)? And even better than that - depending 
 on what link
 was clicked I need to send a different value.
 
 The practical application for this is to sort a result set 
 with several
 columns by clicking on the column name - but without having 
 to repackage the
 whole query again on the URL (want to use the hidden form values).
 
 Thanks,
 
 Dustin M. Snell
 Unisyn Software, LLC
 Creators of AutoMate - The Leading Automation Software For Windows
 Free Download at http://www.unisyn.com
 
 - Original Message -
 From: "Trey Rouse" [EMAIL PROTECTED]
 To: "CF-Talk" [EMAIL PROTECTED]
 Sent: Friday, March 16, 2001 4:45 PM
 Subject: Re: SQL 2000 (enterprise manager)
 
 
  Actually I have no problem doing ANY function using 
 Enterprise Manager
 2000
  on a sql 7.0 box.  *shrug*
 
 
 
  At 10:32 AM 3/16/2001 -0700, you wrote:
  Acually i just got off the phone with an SQL Administrator 
 at interland
 and
  they say that SQL 2000 (Enterprise Manager) will connect to SQL 7.0
 Server
  but it wont open the database folder. so i reinstalled SQL 
 7.0 and for
  whatever reason it connected fine this time, i didnt change or do
 anything
  differantly on my end at all so the reason i didnt get 
 connected the
 first
  time i guess ill never find out.
  
  Jay Patton
  Web Design / Application Design
  Web Pro USA
  406.549.3337 ext. 203
  1.888.5WEBPRO
  www.webpro-usa.com
  - Original Message -
  From: "Sean Daniels" [EMAIL PROTECTED]
  To: "CF-Talk" [EMAIL PROTECTED]
  Sent: Friday, March 16, 2001 10:17 AM
  Subject: Re: SQL 2000 (enterprise manager)
  
  
On 3/16/01 11:03 AM Jay Patton wrote:
   
 I just upgraded to windows 2000 pro on my development 
 machine, i was
 originally running win98 and had sql 7.0 Enterprise 
 manager running
 on
  that.
 however after my upgrade to 2k i couldn't connect to 
 my sql servers
 with
  that
 same software any longer. last night i downloaded the 
 evaluation
 version
  of
 sql 2000 and with that i connected to the servers 
 fine however now
  whenever i
 go to open the database folder to view my db the 
 enterprise manager
  quits
 responding and i have to kill the program. has this 
 happened to
 anyone
  else?
 or does anyone have any ideas why this might be happening?
   
I haven't tried the SQL 2000 enterprise manager yet, 
 but I use SQL 7
Enterprise Manager all the time on my Windows 2000 pro 
 machine. You
 might
just try reinstalling those.
   
- Sean
   
  
 

~~
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: Displaying message during loading..?

2001-03-12 Thread Terry Bader

I would use JavaScript for this...
basically popup a small window with the message you want and then continue
to the page that does the processing, then in the new page's BODY ONLOAD
handling, call a function to close that window



here's what I'm thinking

SCRIPT
function callLoadMsg() {

indow.open('loadMsg.cfm','loadMsgWindow','width=400,height=200,toolbar=0,loc
ation=0,directories=0,status=0,scrollbars=0,resizable=0,menubar=0');
location = 'dowhatever.cfm';
}
/SCRIPT

A HREF="javascript:callLoadMsg();"THIS WILL TAKE SOME TIME, MAYBE/A

then the page that takes awhile to load:

BODY ONLOAD="javascript:loadMsgWindow.close()"


I did this on-the-fly without testing, but the idea and the logic is
there



or wait for CF5

Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Patric Stumpe [mailto:[EMAIL PROTECTED]]
 Sent: Monday, March 12, 2001 2:42 PM
 To: CF-Talk
 Subject: Displaying message during loading..?
 
 
 Hi there,
 
 i'm wondering how i can create a message on a page that's displayed
 during the page is loaded. So when a query returns many results the
 users gets this message saying the data is on it's way and hiding this
 message when the query results have been loaded and displayed.
 
 Hope someone can point me to the right direction...
 
 Patric
 
 
 
 -- 
 Patric Stumpe
 Knust  Stumpe Datentechnik
 Abt. Webdesign
 
 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: How to fast big query result on browser

2001-03-09 Thread Terry Bader

DONT...

good god man, 21 thousand options...  

you should really find a way of breaking that down...  


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: George Dong [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 09, 2001 1:52 PM
 To: CF-Talk
 Subject: Re: How to fast big query result on browser
 
 
 about 21,000 options
 
 - Original Message -
 From: "Hayes, David" [EMAIL PROTECTED]
 To: "CF-Talk" [EMAIL PROTECTED]
 Sent: Friday, March 09, 2001 10:32 AM
 Subject: RE: How to fast big query result on browser
 
 
  How many options are you putting in your select box?
 
  -Original Message-
  From: George Dong [mailto:[EMAIL PROTECTED]]
  Sent: Friday, March 09, 2001 12:30 PM
  To: CF-Talk
  Subject: How to fast big query result on browser
 
 
  Hi there,
  I have one problem, I made a select box, the option items 
 come from a
 query
  result, due to 20, 000 records, so the browser is very slow for that
  template, even I already cached query on server.
 
  If any one has a good sulotion?
 
  thx.
 

~~
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: CFCOOKIE

2001-03-09 Thread Terry Bader

yep... 

CFCOOKIE NAME="id" VALUE="" EXPIRES="NOW"
CFCOOKIE NAME="id" VALUE="xxx"

or this should work too...  (i believe)
 
CFSET cookie.id = ""
CFSET cookie.id = "xxx"


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 09, 2001 1:24 PM
 To: CF-Talk
 Subject: CFCOOKIE
 
 
 Can you EXPIRE a cookie and SET it again from the same page?
 
 Thanks,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



RE: CFCOOKIE

2001-03-09 Thread Terry Bader

i stand corrected, this is true

i always forget about the cookie info being sent via the http header...

anyone know how this will work in CF 5.0 because I do remember hearing that
the CF 5.0 will allow for partial page outputs...  


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 09, 2001 1:34 PM
 To: CF-Talk
 Subject: RE: CFCOOKIE
 
 
  Can you EXPIRE a cookie and SET it again from the same page?
 
 Remember that CF doesn't send cookie requests to the browser 
 until it's
 finished (or in CF5, Flushed), so it effectively takes the 
 last setting on
 the page as the one you want...
 
 Philip Arnold
 Director
 Certified ColdFusion Developer
 ASP Multimedia Limited
 T: +44 (0)20 8680 1133
 
 "Websites for the real world"
 
 **
 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please notify
 the system manager.
 **
 
 
 

~~
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: Dynamic Left-hand side of an assignment? Was: query a query.

2001-03-09 Thread Terry Bader

didn't catch the first email, but what about an array...

CFSET ArrayInsertAt(qryGet_current_values, param,
QueryNew(qryGet_current_NT_values.columnlist))


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: John Quarto-vonTivadar [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 09, 2001 2:09 PM
 To: CF-Talk
 Subject: RE: Dynamic Left-hand side of an assignment? Was: query a
 query.
 
 
 
  I get an error about left-hand side assignment when I try 
 something like
  this:
 
  cfset "qryGet_current_"  param  "_values" =
  QueryNew(qryGet_current_NT_values.columnlist)
  or
  cfset qryGet_current_#param#_values =
  QueryNew(qryGet_current_NT_values.columnlist)
 
 
 what about the other combination of what you already tried,
 
 cfset "qryGet_current_#param#_values" =
 QueryNew(qryGet_current_NT_values.columnlist)
 
 
 

~~
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 and Interland Price Increase

2001-03-08 Thread Terry Bader

damn...  i havent heard a thing...  better call them now and check on the
new rates...

thanks...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Jason Larson [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 08, 2001 12:39 PM
 To: CF-Talk
 Subject: FYI: CF and Interland Price Increase
 
 
 FYI
 
 I know that some of us are hosting some cf websites with 
 Interland, I just
 want to make everyone aware that Interland raised there 
 prices last week on
 all there cf plans from $50/month to $150/month. All there 
 accounts will be
 effected with this price change new and old. My salesperson 
 stated that the
 price increase is due to the power rate increases, and 
 something in the
 effect that allaire is charging them more.
 
 Jason Larson
 [EMAIL PROTECTED]
 406-728-4422
 
 

~~
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 and Interland Price Increase

2001-03-08 Thread Terry Bader

well, i use interland so i was very interested in this topic...

i just got off the phone and with the same plan WITH cold fusion the price
will triple...
from 49.95/month to 149.95/month  those jive turkeys...

same plan without CF is only 55.95...  what? is CF made of gold or
something??

the new pricing goes into effect March 26 for existing accounts

man, and i liked there semi-great service...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Ken Wilson [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 08, 2001 4:12 PM
 To: CF-Talk
 Subject: Re: CF and Interland Price Increase
 
 
  I belong to some ASP lists and this price increase has effected ASP
 developers the same as CF developers.
 
 
 Maybe they just failed to update their website, but Interland 
 currently
 advertises $27.95 as the cheapest ASP account and $149.95 as 
 the cheapest CF
 account.
 
 
 
 

~~
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 and Interland Price Increase

2001-03-08 Thread Terry Bader

looks like they only allow one SQL db...

i need a multiple SQL db setup... and if its $25 per db extra a month (goin
by the $25 per extra 100M) then Interland is much better...  Unlimited SQL
dbs...

and whats up with sending a Access db for them to convert to SQL?  no access
to the SQL Server using Ent. Manager??

looks great besides that and the setup fees...  $15 to do ODBC setup... man
that takes 20secs...





Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Nathan Nelson [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 08, 2001 5:53 PM
 To: CF-Talk
 Subject: RE: CF and Interland Price Increase
 
 
 Try http://www.cfdynamics.com
 
 -Original Message-
 From: Terry Bader [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 08, 2001 3:07 PM
 To: CF-Talk
 Subject: RE: CF and Interland Price Increase
 
 
 well, i use interland so i was very interested in this topic...
 
 i just got off the phone and with the same plan WITH cold 
 fusion the price
 will triple...
 from 49.95/month to 149.95/month  those jive turkeys...
 
 same plan without CF is only 55.95...  what? is CF made of gold or
 something??
 
 the new pricing goes into effect March 26 for existing accounts
 
 man, and i liked there semi-great service...
 
 
   Terry Bader
   IT/Web Specialist
   EDO Corp - Combat Systems
   (757) 424-1004 ext 361 - Work
   [EMAIL PROTECTED]
 
 
   (757)581-5981 - Mobile
   [EMAIL PROTECTED]
   icq: 5202487   aim: lv2bounce
   http://www.cs.odu.edu/~bader
 
 
 
 
 
 
  -Original Message-
  From: Ken Wilson [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, March 08, 2001 4:12 PM
  To: CF-Talk
  Subject: Re: CF and Interland Price Increase
 
 
   I belong to some ASP lists and this price increase has 
 effected ASP
  developers the same as CF developers.
 
 
  Maybe they just failed to update their website, but Interland
  currently
  advertises $27.95 as the cheapest ASP account and $149.95 as
  the cheapest CF
  account.
 
 
 
 
 

~~
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: Freeing .ldb lock on remote server.

2001-03-05 Thread Terry Bader

CFQUERY NAME="breakinglock" DATASOURCE="#dsn#"
SELECT NOTHING
/CFQUERY

Bad Queries break the maintaining connection and thusly realese the lock...

Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Angél Stewart [mailto:[EMAIL PROTECTED]]
 Sent: Monday, March 05, 2001 8:47 AM
 To: CF-Talk
 Subject: Freeing .ldb lock on remote server.
 
 
 Hello,
 
 I am using a shared hosting system, and I want to copy and 
 update a database
 stored on the server that is locked (MSACCESS .ldb).
 
 I need to increase a field in the Users table from 50 to 255 
 characters.
 
 Do any of you recall the command or method to break the .ldb 
 lock and so
 enable me to copy/transfer the .mdb file, do my compacting 
 and updates and
 then send it back up to the server again?
 
 -Gel
 
 

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

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



RE: ColdFusion File Handling

2001-02-18 Thread Terry Bader

min can ya check your links, im not getting a thing...  404


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, February 18, 2001 3:59 PM
 To: CF-Talk
 Subject: RE: ColdFusion File Handling
 
 
 
  I think the problem here is that, by the time CF could read the
  Content-Length HTTP request header, it's too late - the browser
  has sent the
  file within the HTTP request body, and the web server has 
 already received
  it.
 
  Before the CF engine receives an HTTP request to process, 
 that request has
  already been received in its entirety by the web server. 
 The web server
  deals with issues like malformed requests, so it stands to 
 reason that the
  file has to be written in full to the web server before CF 
 gets to look at
  it.
 
 I was working on a solution to that issue for some folks last 
 night/today
 (among other things, meant to get to it last weekend). 
 Basically I've built
 an NT service that acts like a http server as far as http 
 posts go. You can
 specify a byte cutoff limit for file uploads. When that's 
 exceeded it simply
 breaks tcp connection after sending some http headers 
 explaining what just
 happened.
 
 A bit rude but... :)
 
 It operates on a seperate port. When done it does a 304 
 location to the
 standard port of the url you just used. Ie, you post to
 http://www.allaire.com:90/test/mypost.cfm and you end up at
 http://www.allaire.com/test/mypost.cfm. There's a seperate cfx tag to
 retrieve the posted data as raw, fields and/or files. (It 
 files the posts by
 cftoken/cfid, etc to keep it all seperate.)
 
 That's about the only bloody way to overcome this issue that 
 I know of.
 
 (If I have the time I may eventually add a version of this to 
 ihtk. As well
 as some other fun stuff that's collecting dust.)
 
 --min
 
 
 

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

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



RE: ColdFusion File Handling

2001-02-18 Thread Terry Bader

sry, just re-read the post.. nvrmind


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Terry Bader [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, February 18, 2001 4:08 PM
 To: CF-Talk
 Subject: RE: ColdFusion File Handling
 
 
 min can ya check your links, im not getting a thing...  404
 
 
   Terry Bader
   IT/Web Specialist
   EDO Corp - Combat Systems
   (757) 424-1004 ext 361 - Work
   [EMAIL PROTECTED]   
 
 
   (757)581-5981 - Mobile
   [EMAIL PROTECTED]
   icq: 5202487   aim: lv2bounce
   http://www.cs.odu.edu/~bader
 
 
 
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, February 18, 2001 3:59 PM
  To: CF-Talk
  Subject: RE: ColdFusion File Handling
  
  
  
   I think the problem here is that, by the time CF could read the
   Content-Length HTTP request header, it's too late - the browser
   has sent the
   file within the HTTP request body, and the web server has 
  already received
   it.
  
   Before the CF engine receives an HTTP request to process, 
  that request has
   already been received in its entirety by the web server. 
  The web server
   deals with issues like malformed requests, so it stands to 
  reason that the
   file has to be written in full to the web server before CF 
  gets to look at
   it.
  
  I was working on a solution to that issue for some folks last 
  night/today
  (among other things, meant to get to it last weekend). 
  Basically I've built
  an NT service that acts like a http server as far as http 
  posts go. You can
  specify a byte cutoff limit for file uploads. When that's 
  exceeded it simply
  breaks tcp connection after sending some http headers 
  explaining what just
  happened.
  
  A bit rude but... :)
  
  It operates on a seperate port. When done it does a 304 
  location to the
  standard port of the url you just used. Ie, you post to
  http://www.allaire.com:90/test/mypost.cfm and you end up at
  http://www.allaire.com/test/mypost.cfm. There's a seperate 
 cfx tag to
  retrieve the posted data as raw, fields and/or files. (It 
  files the posts by
  cftoken/cfid, etc to keep it all seperate.)
  
  That's about the only bloody way to overcome this issue that 
  I know of.
  
  (If I have the time I may eventually add a version of this to 
  ihtk. As well
  as some other fun stuff that's collecting dust.)
  
  --min
  
  
  
 

~~
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: ODBC Error Code = 37000

2001-02-16 Thread Terry Bader

man, i had that same error about 3-4 weeks ago...  i was playing with a
small access database and then one day every insert to one table came back
with this error...  i couldn't figure it out, i built a new table and
transferred the data and relationships over and whola!  it worked...  i
still have no clue except somehow it was a problem with accessing that one
specific table.. 


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






 -Original Message-
 From: Nick Call [mailto:[EMAIL PROTECTED]]
 Sent: Friday, February 16, 2001 1:23 PM
 To: CF-Talk
 Subject: ODBC Error Code = 37000
 
 
 Anyone seen this before? I have one site user who gets this 
 error any time
 he visits on particular page.  He is the only guy in a year 
 of being live
 who has had this problem.
 
 Thanks in advances for your expertise.
 
 Nick Call
 [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



Brio Portal

2001-02-14 Thread Terry Bader

well, we have a new CF project here that will interface with a Brio Portal,
so I am just wondering if anyone here has worked with both together. 
i just ask for reference in case i run into a problem.  i'm reviewing the
api now for brio.

well, if nothing else it will be interesting...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






~~
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: boolean search with CF and SQL statement

2001-02-12 Thread Terry Bader

you can use the CFCOLLECTION tag to make a collection...  no need to be on
the server...  and i dont think you isp can turn it off, not sure though...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: river [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 8:18 AM
To: CF-Talk
Subject: Re: boolean search with CF and SQL statement


I gotta ask my ISP if I can use Verity on their servers.  I guess it could
make my life whole a lot easier if I could use Verity for such a thing?

 Is is possible to create a Verity Collection for that data and search it
 instead of doing a SQL search?

 I know that doesn't answer your Q, but just a thought...

No, any suggestion is appreciated.  Thanks.
~~
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: boolean search with CF and SQL statement

2001-02-12 Thread Terry Bader

and dont forget locking


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Keith Thornburn [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 8:32 AM
To: CF-Talk
Subject: RE: boolean search with CF and SQL statement


Just an aside here with using Verity and boolean operators in the search
term:

CF (Verity) will error on an incorrectly formed boolean search term, eg,

fast and car and and skoda -- error
fast and car and not skoda -- OK
fast and car or or skoda -- error
fast and car or not skoda -- error
fast and car not skoda and -- error
etc

So you'll have to clear up the search term before it hits Verity.

Also it is know that Verity can't handle large collection (eg greater than
50-60MB) - the trick is to break it into smaller indexes and then query them
together ... CFSEARCH COLLECTION="collection1,collection2" ...  It think
there's an Allaire Knowledge Base article on this.

Make sure to re-index and optimise the collections regularly to make sure
the content is up to date and the collection optimised and error free.

Keith

 -Original Message-
 From: river [mailto:[EMAIL PROTECTED]]
 Sent: 12 February 2001 13:18
 To: CF-Talk
 Subject: Re: boolean search with CF and SQL statement


 I gotta ask my ISP if I can use Verity on their servers.  I guess it could
 make my life whole a lot easier if I could use Verity for such a thing?

  Is is possible to create a Verity Collection for that data and search it
  instead of doing a SQL search?

  I know that doesn't answer your Q, but just a thought...

 No, any suggestion is appreciated.  Thanks.




~~
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: Unlocking Access database under CF 4.5

2001-02-12 Thread Terry Bader

normally it will unlock after a short time, so you leaving for an hour was
the reason it unlocked and not the bogus query itself...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 11:25 AM
To: CF-Talk
Subject: RE: Unlocking Access database under CF 4.5


 I have checked the CF archives looking for unlocking an 
 access database.  I
 found that issuing an invalid query against the datasource 
 will release the
 lock.  I have tried this under my current ISP, but no go.  Is 
 there anything
 different under CF4.5?


There have been a few times when running the bogus query didn't work, but I
just left it an hour or so, ran it again and the lockfile was deleted.

Don't think the fact that they're running 4.5 will make any difference (but
correct me people if that's wrong).


-- 
Aidan Whitehall [EMAIL PROTECTED]
Netshopper UK Ltd
Advanced Web Solutions  Services

http://www.netshopperuk.com/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651
~~
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: Unlocking Access database under CF 4.5

2001-02-12 Thread Terry Bader

i will have to try that, never have seen that...

thanks...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Simon Horwith [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 11:31 AM
To: CF-Talk
Subject: RE: Unlocking Access database under CF 4.5


A better way to do this programmatically is:

CFSET rc=cfusion_disable_dbconnections("cfmysource","1")  to disable a
specific datasource, and CFSET
rc=cfusion_disable_dbconnections("cfmysource","0") to re-enable it.

To flush all datasource connections, try: cfset
CFUSION_DBCONNECTIONS_FLUSH()

~Simon

 Simon Horwith
 Allaire Certified ColdFusion Instructor
 Certified ColdFusion Developer
 Fig Leaf Software
 1400 16th St NW, # 220
 Washington DC 20036
 202.797.6570 (direct line)
 www.figleaf.com
 


-Original Message-
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 11:25 AM
To: CF-Talk
Subject: RE: Unlocking Access database under CF 4.5


 I have checked the CF archives looking for unlocking an 
 access database.  I
 found that issuing an invalid query against the datasource 
 will release the
 lock.  I have tried this under my current ISP, but no go.  Is 
 there anything
 different under CF4.5?


There have been a few times when running the bogus query didn't work, but I
just left it an hour or so, ran it again and the lockfile was deleted.

Don't think the fact that they're running 4.5 will make any difference (but
correct me people if that's wrong).


-- 
Aidan Whitehall [EMAIL PROTECTED]
Netshopper UK Ltd
Advanced Web Solutions  Services

http://www.netshopperuk.com/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651
~~
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: Unlocking Access database under CF 4.5

2001-02-12 Thread Terry Bader

but i would only do that on development and test servers...  
on production servers i would maintain those connections...
my recommendation...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Chris Alvarado [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 11:29 AM
To: CF-Talk
Subject: RE: Unlocking Access database under CF 4.5


One thing to remember. When creating an ODBC connection to an Access DB
through the CF Administrator, UNcheck the 'Maintain Database Connections'
checkbox (you may have to click the 'CF Settings' button to expand the
page). I have had problems with this locking the connection to the DB in the
past, especially if the user stops the processing of the pade in
mid-request.

-chris.alvarado
[developer] - VerticalNet


-Original Message-
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 10:25 AM
To: CF-Talk
Subject: RE: Unlocking Access database under CF 4.5


 I have checked the CF archives looking for unlocking an 
 access database.  I
 found that issuing an invalid query against the datasource 
 will release the
 lock.  I have tried this under my current ISP, but no go.  Is 
 there anything
 different under CF4.5?


There have been a few times when running the bogus query didn't work, but I
just left it an hour or so, ran it again and the lockfile was deleted.

Don't think the fact that they're running 4.5 will make any difference (but
correct me people if that's wrong).


-- 
Aidan Whitehall [EMAIL PROTECTED]
Netshopper UK Ltd
Advanced Web Solutions  Services

http://www.netshopperuk.com/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651
~~
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: Unlocking Access database under CF 4.5

2001-02-12 Thread Terry Bader

kewl..  
but why not use locking in the code around your queries??

Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Bud [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 1:03 PM
To: CF-Talk
Subject: RE: Unlocking Access database under CF 4.5


On 2/12/01, Terry Bader penned:
but i would only do that on development and test servers... 
on production servers i would maintain those connections...
my recommendation...

Not me. Not with Access. I disable maintain connections and set limit 
connections to a whopping 1. Otherwise, you're going to end up with a 
corrupt database if you have any traffic at all.
-- 

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 and MS Project

2001-02-12 Thread Terry Bader

just wonderin anyone has ever worked with having CF interact with MS
Project.


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






~~
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: (Admin) Blocking posts viruses

2001-02-12 Thread Terry Bader

thanks..

fyi, my work got struck by the same virus today and not from me getting
anything from this list and passing it on, another user source that doesnt
filter attachments...



Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 2:25 PM
To: CF-Talk
Subject: (Admin) Blocking posts  viruses


As you know, all mail to the list is filtered to remove attachments, viruses

and 'extra garbage'. I also have the option to block messages based on
various 
criteria. I despise doing so unless it is truly for the good of the
community. 
For this reason, I'm adding posts with the subject:
Here you have, ;o)
to the reject filter. If you post with this message in your subject, you
will 
recieve an email back informing you that you may have a virus and that posts

with this subject are banned for the near future. 
If you wish to talk about the virus, please use the CF-Community list. Thank

you. 

p.s. please excuse any formatting with this email. I'm using a hacked web
based 
email program to get through a firewall.
~~
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: error?

2001-02-12 Thread Terry Bader

this is a server error, not a code error...  its is ambiguous and i see it
alot in hosted CF sites...
the only thing i now to fix it, is stop the application server and re-start
it...

though not a techincal answer, it will work 95% of the time.


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Chris Maloney [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 7:02 PM
To: CF-Talk
Subject: RE: error?


Jay, if you could include the code that caused the error it would help out.

Chris Maloney

-Original Message-
From: Jay Patton [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 5:53 PM
To: CF-Talk
Subject: error?


has anyone ever seen this error? if so what does it mean? ive never seen it
before...

Error:

Just in time compilation error

unknown parser error

The last successfully parsed CFML construct was a CFQUERY tag occupying
document position (1:1) to (1:8).

Thanks,

Jay Patton
Web Pro USA
406.549.3337 ext. 203
1.888.5WEBPRO
www.webpro-usa.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: error?

2001-02-12 Thread Terry Bader

telling ya, i have this one site being hosted and i see it all the time but
the code hasnt changed in months...  not even touched...

usually i have to give em a ring to restart the application service it


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Jay Patton [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 7:13 PM
To: CF-Talk
Subject: Re: error?


no problem...
this works fine localy but not on the web. its reffering to this query.
pretty simple.
I have a feeling that this is a server error.

cfquery name="GetNames"
 datasource="rodeo"
 dbtype="ODBC"
SELECT *
FROM ContestantManager
ORDER BY LastName
/cfquery

Jay Patton
Web Pro USA
406.549.3337 ext. 203
1.888.5WEBPRO
www.webpro-usa.com
- Original Message -
From: "Chris Maloney" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Monday, February 12, 2001 5:01 PM
Subject: RE: error?


 Jay, if you could include the code that caused the error it would help
out.

 Chris Maloney

 -Original Message-
 From: Jay Patton [mailto:[EMAIL PROTECTED]]
 Sent: Monday, February 12, 2001 5:53 PM
 To: CF-Talk
 Subject: error?


 has anyone ever seen this error? if so what does it mean? ive never seen
it
 before...

 Error:

 Just in time compilation error

 unknown parser error

 The last successfully parsed CFML construct was a CFQUERY tag occupying
 document position (1:1) to (1:8).

 Thanks,

 Jay Patton
 Web Pro USA
 406.549.3337 ext. 203
 1.888.5WEBPRO
 www.webpro-usa.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: Bizarre disappearing page - help!!!

2001-02-11 Thread Terry Bader

ouch..

well, do you have access to the server??  
does the application service on the server lock up when this page is being
executed??


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: David Cummins [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 11, 2001 4:51 PM
To: CF-Talk
Subject: Re: Bizarre disappearing page - help!!!


Yeah, that's the prob - no source code! If you induce an error in the page
before its finished executing, or limit the number of records, you get a
delay,
then a page appears. Otherwise it almost instantly returns a blank page.

David

Terry Bader wrote:
 
 when this happens, try and view the source code of the page...  when
working
 on applications we run into problems all the time and eventhough stuff
isnt
 displayed in the browser, we can go into the source code and see the
errors
 and the debugging info.
 
 Terry Bader
 IT/Web Specialist
 EDO Corp - Combat Systems
 (757) 424-1004 ext 361 - Work
 [EMAIL PROTECTED]
 
 (757)581-5981 - Mobile
 [EMAIL PROTECTED]
 icq: 5202487   aim: lv2bounce
 http://www.cs.odu.edu/~bader
 
 -Original Message-
 From: David Cummins [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 08, 2001 9:43 PM
 To: CF-Talk
 Subject: Bizarre disappearing page - help!!!
 
 Hi everybody!
 
 I've got this page which works until you have more than 1300ish records,
and
 then the page comes back completely blank! Not even CF debugging!
 
 The problem occurs in a simple loop:
 
 cfloop query="Q_GetAllCustomers"
 cfoutput
 tr valign="top"
 td#CustomerName#/td
 td#OldClientNumber#/td
 td/cfoutput
 cfif DeletedFlag is "No"
 cfoutputa
href="JobAd.cfm?CustomerID=#ID#"Create
 a job ad/a
 |/cfoutput
 /cfif
 cfoutputa
 href="EditCustomer.cfm?Fn=#Fn#ID=#ID#"Edit/a |/cfoutput
 cfif DeletedFlag is "No"
 cfoutputa
 href="Delete.cfm?Fn=#Fn#ID=#ID#"Inactivate/a/cfoutput
 cfelse
 cfoutputa
 href="Reanimator.cfm?Fn=#Fn#ID=#ID#"Re-activate/a/cfoutput
 /cfif
 cfoutput
 /td
 /tr/cfoutput
 /cfloop
 
 If you don't like the code, its not ours! ;)
 
 Any thoughts, let me know!
 
 David Cummins
~~
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: Bizarre disappearing page - help!!!

2001-02-11 Thread Terry Bader

good point, i hadnt even thought of client restrictions...

just to add to Dick's reply, we had a customer that wanted a quick fix to
update some records all at once (temporarily, until they decided what they
really wanted and what they wanted to pay), but because they used IE 4, the
browser just began to crash with all the data being displayed in one page...

and that was only 800+ records at the time...  

so now rethinking about it, have you tried different browsers?  i have not
had a problem with IE 5 on  the same large web pages...  and i have a bit
more memory then the average user...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 11, 2001 4:59 PM
To: CF-Talk
Subject: Re: Bizarre disappearing page - help!!!


If you are running on the Mac, especially NN, the browser may not 
have enough memory to render the page... in this case it just does 
nothing

You can increase the browser memory allocation.

Better yet, display n records with next and prev and cache the 
query... who wants to wait for 1300 records?

HTH

Dick


At 3:42 PM +1300 2/9/01, David Cummins wrote:
Hi everybody!

I've got this page which works until you have more than 1300ish records,
and
then the page comes back completely blank! Not even CF debugging!

~~
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: Making Rows change color

2001-02-11 Thread Terry Bader

setup to classes in your style sheet with whatever colors you want...

TD {

}
..even {
color : Black;
}

..odd {
color : White;
}


and then when you output do something like:

TABLE
CFOUTPUT QUERY="qry_nothing"
TR
TDCFIF CurrentRow Mod 2 EQ 0 CLASS="even"CFELSE
CLASS="odd"/CFIF
#nothing_id#
/TD
/TR
/CFOUTPUT
/TABLE

now, i did this free hand and did not test it, but i hope the logic is
there, just check and see if the currentrow is even or not.  and depending
on what it is, everyother row will use the same class style...

hope this helps and sorry if this doesnt work out of the box

Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Joshua Tipton [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 11, 2001 5:09 PM
To: CF-Talk
Subject: Making Rows change color


I would like my rows in my table alternate colors.  How do I do this?

The table is populated by a database.

Joshua Tipton
~~
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: Bizarre disappearing page - help!!!

2001-02-10 Thread Terry Bader

when this happens, try and view the source code of the page...  when working
on applications we run into problems all the time and eventhough stuff isnt
displayed in the browser, we can go into the source code and see the errors
and the debugging info.


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: David Cummins [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 9:43 PM
To: CF-Talk
Subject: Bizarre disappearing page - help!!!


Hi everybody!

I've got this page which works until you have more than 1300ish records, and
then the page comes back completely blank! Not even CF debugging!

The problem occurs in a simple loop:

cfloop query="Q_GetAllCustomers"
cfoutput
tr valign="top"
td#CustomerName#/td
td#OldClientNumber#/td
td/cfoutput
cfif DeletedFlag is "No"
cfoutputa href="JobAd.cfm?CustomerID=#ID#"Create
a job ad/a
|/cfoutput
/cfif
cfoutputa
href="EditCustomer.cfm?Fn=#Fn#ID=#ID#"Edit/a |/cfoutput
cfif DeletedFlag is "No"
cfoutputa
href="Delete.cfm?Fn=#Fn#ID=#ID#"Inactivate/a/cfoutput
cfelse
cfoutputa
href="Reanimator.cfm?Fn=#Fn#ID=#ID#"Re-activate/a/cfoutput
/cfif
cfoutput
/td
/tr/cfoutput
/cfloop

If you don't like the code, its not ours! ;)

Any thoughts, let me know!

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

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



RE: Session timeout question

2001-02-10 Thread Terry Bader

im interested in this as well because a session is your whole session scope
which includes all your variables in that scope...   thus a session timout
should clear all variables in that scope...

so please do share



Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 4:24 AM
To: CF-Talk
Subject: RE: Session timeout question


 that's not exactly true. if you define the timeouts of 
 session variables in
 an application.cfm file, they can timeout at different times. 
 if you set one
 to timeout in 15 minutes and another at 30 minutes, then idled for 20
 minutes, the first would timeout, the second would not.

How would you code that?

I've only ever used SESSIONTIMEOUT used globally in the CFAPPLICATION tag.



-- 
Aidan Whitehall [EMAIL PROTECTED]
Netshopper UK Ltd
Advanced Web Solutions  Services

http://www.netshopperuk.com/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651
~~
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: 'mailto' content

2001-02-08 Thread Terry Bader

Michael, your code is correct.  It is the user's default email program that
should interpret the chars and format they accordingly...

your code produces this in outlook, being sent to an the blah.cfm email:

This is a test.
I like testing
things.

This is the beginning of a
paragraph.



Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Caulfield, Michael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 2:06 PM
To: CF-Talk
Subject: RE: 'mailto' content


While 'mailto:' is a psuedo-href, it's still an HTML attribute, and as such
it will ignore your return characters. Meaning

a href="linkch
eck.cfm?line1=1
line2=2"link/a

is equivalent to

a href="linkcheck.cfm?line1=1line2=2"link/a

I don't think there is any way around this.

Michael Caulfield
Cognitive Arts
(847) 425-8529

-Original Message-
From: Trace Faber [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 11:37 AM
To: CF-Talk
Subject: 'mailto' content


Hi Guys,

I'm trying to include body text in a a href="mailto:." tag. Now I get
the body text in there but I am having trouble formatting it. For example
line breaks. I am probably going about this completely wrong, but below is
my code.


cfset emailContent = "This is a test."chr(13)chr(10)"I like testing
things."chr(13)chr(10)chr(13)chr(10)"This is the beginning of a
paragraph."

cfset emailContent = URLEncodedFormat(emailContent)

cfoutput
a href="mailto:blah.cfm?subject=Testbody=#emailContent#"Test/a
/cfoutput


Any tips would be greatly appreciated.

Trace
~~
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: trim a string variable

2001-02-08 Thread Terry Bader

cfset newfilename = #left(File.ServerFile,(LEN(File.ServerFile)-4))#
should work, however remember that not all files have just a 3 letter ext.
you might want to just use CFSET newfilename = server.serverfilename

serverfilename is the file without ext and period...

another long way is to grab the ext before moving the file around, then
remove LEN(ext)+1 from the right...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 1:56 PM
To: CF-Talk
Subject: trim a string variable


Is there a way to trim a string like : file.jpg
to  : file
(aka knock off the last 4 characters)

cfset newfilename = #left(File.ServerFile,4)#  Does not work because the 
name of the file in the database could be longer then 4 characters

Is there a function that im missing to trim off the last 4 characters of a 
variable?

Thanks
Chad
~~
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: trim a string variable

2001-02-08 Thread Terry Bader

correction, line 3: 
CFSET newfilename = server.serverfilename 
should read 
CFSET newfilename = file.serverfilename

sry...


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






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

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



RE: Session timeout question

2001-02-08 Thread Terry Bader

session timeout refers to a session as a whole and not the individual
components.  

all session scope variables will be cleared for that session when the
timeout limit is hit after the last time the user had used the site during
that specific session.

hope that made sense.

Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 2:43 PM
To: CF-Talk
Subject: Session timeout question


Does the session timeout apply to all session variables at the same time, or
since they were last used?  lemme be a lil' more clear

I have session.hello  and session.goodbye, and they are both active for now.
but then I stop using session.goodbye for a while, but at the same time, I
am continuously using session.hello.  Will session.goodbye timeout?  and if
it does time out, will session.hello timeout too (i doubt that, but I'm
paranoid)?

Oh, i know the question now!  Are individual session variable timeouts
independent of other session variables, or are they all affected at the same
instance?
~~
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: Parsing HTML in ColdFusion

2001-02-08 Thread Terry Bader

im jumping into the middle of this conversation, so please forgive if i am
off topic...

seems to me this is exactly what i just somewhat-finished working on last
night, so i will paste the part of the code that you are interested in
this code is being used to pull data from a status page with alot of numbers
and stuff in it

CFSET parsed_input = TRIM(attributes.status_html)
CFSET parsed_input = LCASE(parsed_input)
CFSET parsed_input = REPLACE(parsed_input, "br", " ", "ALL")

CFLOOP CONDITION="#FIND("", parsed_input)# NEQ 0"
CFSET leftBr = FIND("", parsed_input)
CFSET rightBr = FIND("", parsed_input)

CFSET parsed_input = REMOVECHARS(parsed_input, leftBr,
rightBr-leftBr+1)
/CFLOOP

Now, line 3 is there because when I have lines like this:
4BR3050BR

if you just remove the BR they get bunched together:
43050

and i cant tell where the numbers should be seperated, so replacing the BR
with a " " (\s) will do:
4 3050

If you needed to check what was inbetween the tags, you could also include a
check variable useing the MID function, something like MID(parsed_input,
leftBr+1, rightBr) should return what is in the  ...

hope this helps, im still working on my parser, but this is being done for a
specific page format vice a general application 

Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Caulfield, Michael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 2:44 PM
To: CF-Talk
Subject: RE: Parsing HTML in ColdFusion


Note that it can get a little more complicated, depending on what level of
accuracy you want. For instance:

a href="MyPageWithAWeirdCharacterInIt.htm"/a

would get stripped wrong. As would:

!-- if r  1 then don't execute this next bit --

For the majority of documents, this is not much of a problem, but if you are
stripping for security reasons, or if you need absolute accuracy, then you
might need a more finely tuned process.


Michael Caulfield


-Original Message-
From: Sicular, Alexander [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 2:29 AM
To: CF-Talk
Subject: RE: Parsing HTML in ColdFusion


you need a regex that matches everything between  and  minus the ones you
want to keep like br or b.

how bout:

rereplace(#my_html_file#, '{1}[A-Za-z0-9_/]*{1}', '', 'all')

this should be :
match '' once followed by any alphanumeric char until you hit a '' once
and replace it with ''.

this is an explanation of regex features in javascript as implemented by
netscape (you could parse text given to you in a form through javascript
before cf even sees it):
http://developer.netscape.com/docs/manuals/js/client/jsref/regexp.htm

but you need to get the exact syntax that allaire parses. mike dinowitz did
a great right up on this very subject and i think it is chapter 12 of ben
fortas green book, not to mention his web sites.

if you can try doing this in perl before hand, i am sure it is speedier then
cf in this area.

good luck,

Alexander Sicular
Technical Director, Information Technology
The Neurological Institute of New York
Columbia Presbyterian Medical Center
212.305.1318
[EMAIL PROTECTED]



-Original Message-
From: Randy Pringle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 1:43 AM
To: CF-Talk
Subject: Parsing HTML in ColdFusion


We need to parse an HTML page, and remove all HTML tags. Could someone 
please explain how to do this in ColdFusion? There is a component in ASP 
that allows this sort of thing, but we prefer to do it ColdFusion.

Any help would be greatly appreciated.

Randy Pringle  Khalifa Al-Kuwari

RasGas
Doha
Qatar
~~
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: repeating maling list messages

2001-02-08 Thread Terry Bader

are you hitting "REply to All"??
this would send an email back to yourself and the list...

that could be one reason...


    Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Mak Wing Lok [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 3:03 AM
To: CF-Talk
Subject: OT: repeating maling list messages


am i the only one or do the mailing list message keep repeating?? is there
anything wrong with the mailing list? why i keep getting the same messages?

mak wl
~~
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: Displaying the IP of a server

2001-02-08 Thread Terry Bader

SERVER_NAME is avaiable, cannot find the IP however...  


Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]   


(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader






-Original Message-
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 5:19 AM
To: CF-Talk
Subject: Displaying the IP of a server


Can't find the answer to this probably oh-so-easy question...

What variable holds the IP address of a server?

Turned debugging and there's no cgi variable that displays it... only server
name which is the URL part after http://.



Thanks

-- 
Aidan Whitehall [EMAIL PROTECTED]
Netshopper UK Ltd
Advanced Web Solutions  Services

http://www.netshopperuk.com/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651
~~
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: Browser / desktop resolution

2000-08-14 Thread Terry Bader

What have you tried??  Ever looked into JavaScript??

I am going to be frank and apologize to everyone for this.  I have been
watching this list for 2 weeks and the mass of amounts of email being sent
on a daily basis is annoying.  There are some really good subjects in some
of them but reading through them all is difficult to say the least.  Maybe I
will just look through the archives if I need anything.  Now, comes my
*whining*.

This is a developers email list, right?  more or less...  if not then I am
sorry  but in mailing lists where development and programming goes,
people just don't ask how and what can and where and so forth without trying
to find what they need, playing with the code and then posting.  But also
posting what they tried and what they got and what they really want to do.
I find though, on this list, messages such as Lucas' (sorry, you just happen
to be the one that broke the camel's back).  You ask how, but you don't
state what you have tried, what you think is supposed to happen, what you
think you should try, so forth...  no info given but you need this/that
personally Lucas, I would go look to some JavaScript sites and books, I am
99.9% sure that I saw one (shoot I probably have it in my personally
repository) out there and where there is one there are more.

Again, forgive me...  most of the messages posted here are by very serious
and very good developers and I applaud them.  But they got that way by
putting a lot of effort into their work and asked questions after trying
stuff out (usual they figured it out on their own though)..  

I will be un-subscribing tomorrow, so if you wish to wait on hazing me
without hurting my feelings (which you couldn't anyway) I would wait till
tomorrow  Any personal hate mails can be sent to me directly, which of
course I will probably delete anyway.  

To all the serious learners and programmers, excellent job..

Terry Bader
Web Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361
[EMAIL PROTECTED]   [EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: Lucas Sherwood [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, August 14, 2000 7:10 PM
 To:   [EMAIL PROTECTED]; Cfaussie
 Subject:  Browser / desktop resolution
 
 Hi All,
 Is there a way from CF to work out what resolution a users browser is set
 to?
 
 Thanks,
 Lucas.
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Lucas Sherwood
 Technical Sales Consultant
 FirmwareDesign
 
 [EMAIL PROTECTED]
 
 --
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Terry Bader

you can also use:
SCRIPTlocation="http://URL";/SCRIPT

this help?


    Terry Bader
Web Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361
[EMAIL PROTECTED]   [EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: Brandon Behrens [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, August 08, 2000 4:34 PM
 To:   [EMAIL PROTECTED]
 Subject:  RE: Setting a Cookie and Redirecting the Browser
 
 Been there, done that.  I wound up using a meta tag to refresh the page
 with
 a time of 0.  That was the only way I could get it to work.
 
 Brandon
 
 Brandon Behrens
 The Internet Design Firm
 512.451.5225
 [EMAIL PROTECTED]
 http://www.theidf.com
 
 -Original Message-
 From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 08, 2000 3:18 PM
 To: [EMAIL PROTECTED]
 Subject: Setting a Cookie and Redirecting the Browser
 
 Has anyone come up with a plausible way of setting a cookie and
 redirecting
 the browser from within a ColdFusion 4.01 template using HTTP headers (as
 opposed to META tag redirects)?
 
 Specifically, we're trying to redirect an image call from the browser. The
 image fails to load when it comes upon a HTTP "Refresh" header, and the
 "Location" header seems to negate the setting of the cookie.
 
 Benjamin S. Rogers
 Web Developer, c4.net
 voice: (508) 240-0051
 fax: (508) 240-0057
 
 --
 --
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
 
 --
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Setting a Cookie and Redirecting the Browser

2000-08-08 Thread Terry Bader

this works for us:

CFCOOKIE NAME="xID" VALUE="#QueryName.Login_ID#"
CFINCLUDE TEMPLATE="redirect.cfm"



-
!---  redirect.cfm   
SCRIPTlocation="http://URL";/SCRIPT



alot of in between missing but we have this concept..


Terry Bader
Web Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361
[EMAIL PROTECTED]   [EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: Jake Hileman [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, August 08, 2000 5:33 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Setting a Cookie and Redirecting the Browser
 
 That will still let you set the cookie?
 
 Also, I'm using cookies for authentication.. once they are authenticated,
 it
 sets the cookie and the other pages check for the cookie, if it's not
 there,
 it sends them back.  Is this a safe way to do things?  The whole session,
 application.cfm thing confuses me... and I don't like the idea of it being
 stored in ram.
 
 Let me know,
 
 Jkae
 ----- Original Message -
 From: "Terry Bader" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, August 08, 2000 5:29 PM
 Subject: RE: Setting a Cookie and Redirecting the Browser
 
 
  you can also use:
  SCRIPTlocation="http://URL";/SCRIPT
 
  this help?
 
 
  Terry Bader
  Web Developer
  EDO Corp - Combat Systems
  (757) 424-1004 ext 361
  [EMAIL PROTECTED]   [EMAIL PROTECTED]
  icq: 5202487   aim: lv2bounce
  http://www.cs.odu.edu/~bader
 
 
 
 
 
   -Original Message-
   From: Brandon Behrens [SMTP:[EMAIL PROTECTED]]
   Sent: Tuesday, August 08, 2000 4:34 PM
   To: [EMAIL PROTECTED]
   Subject: RE: Setting a Cookie and Redirecting the Browser
  
   Been there, done that.  I wound up using a meta tag to refresh the
 page
   with
   a time of 0.  That was the only way I could get it to work.
  
   Brandon
  
   Brandon Behrens
   The Internet Design Firm
   512.451.5225
   [EMAIL PROTECTED]
   http://www.theidf.com
  
   -Original Message-
   From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, August 08, 2000 3:18 PM
   To: [EMAIL PROTECTED]
   Subject: Setting a Cookie and Redirecting the Browser
  
   Has anyone come up with a plausible way of setting a cookie and
   redirecting
   the browser from within a ColdFusion 4.01 template using HTTP headers
 (as
   opposed to META tag redirects)?
  
   Specifically, we're trying to redirect an image call from the browser.
 The
   image fails to load when it comes upon a HTTP "Refresh" header, and
 the
   "Location" header seems to negate the setting of the cookie.
  
   Benjamin S. Rogers
   Web Developer, c4.net
   voice: (508) 240-0051
   fax: (508) 240-0057
  
 
 
 --
   --
   --
   Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
   To Unsubscribe visit
  
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
 or
   send a message to [EMAIL PROTECTED] with 'unsubscribe'
 in
   the body.
  
 
 
 --
   
   Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
   To Unsubscribe visit
  
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
 or
   send a message to [EMAIL PROTECTED] with 'unsubscribe'
 in
   the body.
 
 --
 
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
 
 
 --
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: passing variables from javascript function

2000-08-08 Thread Terry Bader

SELECT NAME="menu" onchange="top.location.href = 
this.options[this.selectedIndex].value;"

is also this:

SELECT NAME="menu" onchange="top.location.href = 
document.menuForm.value;"

and I believe this will work as well:

SELECT NAME="menu" onchange="location = 
document.menuForm.value;"

and I think I would use onBlur  depending on the application.

Terry Bader
Web Developer
EDO Corp - Combat Systems
(757) 424-1004 ext 361
[EMAIL PROTECTED]   [EMAIL PROTECTED]
icq: 5202487   aim: lv2bounce
http://www.cs.odu.edu/~bader





 -Original Message-
 From: Dick Applebaum [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, August 08, 2000 7:18 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: passing variables from javascript function
 
 Try this:
 
 HTML
 HEAD
 TITLE/TITLE
 META NAME="Author" CONTENT=""
 
 /HEAD
 BODY TEXT="#FF" BGCOLOR="#1E0091" LINK="#FDEFFF" VLINK="#00" 
 ALINK="#EE"
 
 FORM NAME="menuForm"
 SELECT NAME="menu" onchange="top.location.href = 
 this.options[this.selectedIndex].value;"
 OPTION VALUE="page01.html"SELECTEDWeb Site Menu
 OPTION VALUE="page02.html"About Our Company
 OPTION VALUE="page02.html" -Who we are
 OPTION VALUE="page03.html" -Our Guarantee
 OPTION VALUE="page04.html" -About this Web site
 OPTION VALUE="page05.html" -Contact Us
 OPTION VALUE="page06.html"Products
 OPTION VALUE="page06.html" -Description
 OPTION VALUE="page07.html" -Applications
 OPTION VALUE="page08.html" -History
 OPTION VALUE="page09.html" -Details
 OPTION VALUE="page10.html" -Uses
 OPTION VALUE="page11.html"  FAQs
 OPTION VALUE="page12.html"Place an order
 OPTION VALUE="page12.html" -Products amp; Prices
 OPTION VALUE="page13.html" -Internet Ordering
 OPTION VALUE="page14.html" -Order Form
 /SELECT
 /FORM
 /BODY
 /HTML
 
 
 
 
 At 5:28 PM -0500 8/8/00, Kim Ahlbrandt wrote:
 I have a form containing a pulldown menu.  I need this form to send the
 user
 to a different place according to what they choose.  I'm trying to use
 ONSUBMIT to call a javascript function that will look at the value on the
 pulldown menu and send a variable containing the url back to the submit
 button.  Is this possible and if so, is this the best way to do this.  It
 is
 not working at all right now.  I cannot find any examples of how to do
 this
 anywhere.
 
 Thanks,
 
 Kim
 
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
 
 -
 -
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit 
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_tal 
 k or send a message to [EMAIL PROTECTED] with 
 'unsubscribe' in the body.
 
 --
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.