RE: search engine and cfm files

2000-08-15 Thread Matthew Walker

 so all my pages are like page.cfm?ID=X where X is the database record.

get this:

page.cfm/ID/X

You can reference you pages like that too. Everything will take care of
itself. Cool huh!!

One thing, you might need to include a base tag or make your img etc.
links absolute (start with /).

--
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: CF Administrator Mapping and Apache Alias

2000-08-15 Thread Dan Haley

Yeah, guess you're right . . . damn, hate it when I'm on the road and the
brain stays at work . . . :) . . . but your point makes sense, what is the
difference between a mapping and setting a variable?  Really none . . .
cf_drinksanotherbeer . . . or maybe not . . . haha . . . anyone else on
cf-talk down at the Motorola Developer's Conference?

Dan

-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 14, 2000 9:33 PM
To: Dan Haley; [EMAIL PROTECTED]
Subject: RE: CF Administrator Mapping and Apache Alias


Kinda' makes mapping useless in this particular case.
Yes, I could use the cgi.server_name to figure it out. That works for me.


At 09:11 PM 8/14/00 -0700, Dan Haley wrote:
cf_untested confidence_level="90%"
How about this . . . set up three CF mappings . . . includes_prod,
includes_test, and includes_dev . . . or names of your choice, of course! .
. . and then in your application.cfm set a variable to the appropriate
mapping depending on the cgi.server_name . . . cfset
request.includemapping
= "/includes_prod" . . . and then you would include the right file . . .
cfinclude template="#request.includemapping#/myfile.cfm"
/cf_untested

Dan

-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 14, 2000 6:59 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: CF Administrator Mapping and Apache Alias


Well, in this case I have:
1) a live production site
2) a staging/testing site
3) a development site

All as virtual server on one physical server. In Apache I can map virtual
directories so each site has a different images directory for example. But
in the Cold Fusion Administrator I cannot map different INCLUDE roots for
each virtual site. I store my libraries of CF modules in a directory that I
want to use absolute references to for convenience and security. But I
cannot have developers working and testing on these libraries if I cannot
map different directories for the live, staging, and development virtual
servers. They all share ONE directory!
That means back to relative paths or setting up two more servers :-(


At 07:04 PM 8/14/00 -0700, Dan Haley wrote:
Short answer - yes.

Long answer - Think of physical directories under the web root and virtual
directories set up in the web server (thinking of IIS here) as directories
to be used in HTML, such as a href="" and img src="".  Think of CF
mappings as only available to CF code, such as cfinclude and cfmodule.
In fact, in cfinclude and cfmodule, if you want an absolute reference
(starting with "/"), then you can only use CF mappings.  Without CF
mappings
you must use relative references ("../../", etc.).  One nice thing about
CF
mappings is you can move included CF files out of the web root and then
noone can access them via the browser . . . it makes security easier.

HTH,
Dan

-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 14, 2000 5:35 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: CF Administrator Mapping and Apache Alias


How about virtual servers?
If I set up a CF mapping, for instance: /includes =
/home/httpd/html/docs/www.thissite.com/includes
Then do *ALL* sites on that server get the SAME include (to the wrong site
in most cases).


At 07:09 PM 8/14/00 -0400, Peter Theobald wrote:
So you are saying it does not affect URL requests at all, right?
It only affects CFINCLUDE?

Your example can't be right. You are using the mapping as a variable
"#foo#/SomeTemplate.cfm"
If that were right, I wouldn't need mapping at all. I would just set a
variable.
It must be more like this:

MAP /cflib = /usr/home/coldfusion/library/peter

cfinclude template="/cflib/myfile.cfm"


At 06:56 PM 8/14/00 -0400, Jeremy Allen wrote:
All mappings do is create an alias for a phsyical directory...

like say if you wanted an absolute reference for CFINCLUDE

you could make a mapping named Foo which points to
/usr/home/cftagman/cftags

And say you had a lot of templates in /usr/home/cftagman/cftags then you
could use

CFINCLUDE Template="#foo#/SomeTemplate.cfm" and Sometemplate.cfm
would of course be in the D:\CFStuff directory.

Thats all :)

Its purely CF driven and referenced with CF basically its a nice
way to map out the absolute location for something.  of course
NT machines start with drive letters ;) So I would say that a
that the Apache alias takes higher precedence than the CF
Mapping.

Jeremy Allen
[EMAIL PROTECTED]
[Insert cool title here]


-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 14, 2000 6:38 PM
To: [EMAIL PROTECTED]
Subject: CF Administrator Mapping and Apache Alias


What exactly does CF Administrator mapping do?
Does it map URLs as they come in, in other words it affects ALL http
requests even to .html files?
Or does it map URLs that are to .cfm files?
Or does it only affect CFINCLUDE?

How does it interact with Apache directory "Alias" 

Re: Version 4.5.1 memory leak fixed?

2000-08-15 Thread Andrew


I have to second John's comments.  I had Win 98 and the memory mgmt. was
horrible, I even tried tweaking my VM settings and that didn't work at all.
If I opened CF Studio for a too long I was begging for it.  If I tried
opening too many programs at the same time my computer would lock up and I'm
talking about a brand new top of the line machine here.  The moment I
upgraded to Win 2k, CF Studio never crashed again.  Not only that but I can
run quite a few apps and nothing runs out of memory.  I hate to say it,
believe me I really do, but it looks like Mr. Gates got it right this time..
or close to it (I still can't map a drive.. help!).


Andrew Hewitt
Web Application Developer
webworld studios inc.



- Original Message -
From: "John McKown" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 14, 2000 3:14 PM
Subject: RE: Version 4.5.1 memory leak fixed?


 Depends if you are talking about the Server or Studio.
 When I installed 4.5.1 Studio on Windows 98, it crashed all of the time.
 Recently I wiped out my drive and installed Win2K Professional, and Studio
 now runs like a clock.   That is probably because Win2K is very good at
 keeping memory leaks from crashing the OS.  If you are using Windows98 on
 your workstation and you crash a lot, you could do what I did and pay Bill
 Gates to get Win 2K.   It runs great and is very hard to crash.

 As for the CF 4.5.1 Server, it has given us a lot of problems running it
on
 NT 4.0 SP6.What happens is the NT performance monitor spikes up to
100%
 usage.   And our code is clean.  We are not even doing really high zoot CF
 stuff here yet.   At a CFUG conference I just went to in DC they said that
 CFHTTP can cause memory spikes like this, but we aren't even using that
tag
 on this server (it is a development server).

 I have heard other CF admins complain about the memory spike too.  Allaire
 JUST released a patch a couple of days ago, and we should have that
 installed here soon.   I will let you know how it works.


 John McKown, VP of Business Services
 Delaware.Net, Inc.


  -Original Message-
  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
  Sent: Saturday, August 12, 2000 2:29 PM
  To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Subject: Re: Version 4.5.1 memory leak fixed?
 
 
  html
  font size=3On the Allaire support forum I think everyone reached a
  consensus that Windows-NT can handle the resource memory leak better.
  Cold Fusion Studio 4.5 crashes Windows-98 very quickly.br
  br
  At 02:20 PM 8/12/00 -0400, Ken Wilson wrote:br
  blockquote type=cite citeWorks great for me.br
  br
  Ken Wilsonbr
  br
  br
  br
  - Original Message -br
  From: PC lt;[EMAIL PROTECTED]gt;br
  To: lt;[EMAIL PROTECTED]gt;; lt;[EMAIL PROTECTED]gt;br
  Sent: Saturday, August 12, 2000 1:35 PMbr
  Subject: Version 4.5.1 memory leak fixed?br
  br
  br
  gt; Is this a stable platform yet?br
  gt;br
  gt;
  --
  br
  br
  gt; Archives:
  a href="http://www.mail-archive.com/cf-talk@houseoffusion.com/"
  eudora="autourl"http://www.mail-archive.com/cf-talk@houseoffusion
  .com//abr
  gt; To Unsubscribe visitbr
  a
  href="http://www.houseoffusion.com/index.cfm?sidebar=listsamp;bod
  y=lists/cf_talk"
  eudora="autourl"http://www.houseoffusion.com/index.cfm?sidebar=li
 stsamp;body=lists/cf_talk/a
  orbr
  send a message to [EMAIL PROTECTED] with
  'unsubscribe' inbr
  the body.br
  br
  --
  br
  Archives: a
  href="http://www.mail-archive.com/cf-talk@houseoffusion.com/"
  eudora="autourl"http://www.mail-archive.com/cf-talk@houseoffusion
  .com//abr
  To Unsubscribe visit a
  href="http://www.houseoffusion.com/index.cfm?sidebar=listsamp;bod
  y=lists/cf_talk"
  eudora="autourl"http://www.houseoffusion.com/index.cfm?sidebar=li
 stsamp;body=lists/cf_talk/a or send a message  to
 [EMAIL PROTECTED] with 'unsubscribe' in the
  body. /font/blockquotebr
 
  br
  -font
  size=3---
  ---br
  Peter Theobald, Chief Technology Officerbr
  LiquidStreaming a href="http://www.liquidstreaming.com/"
  eudora="autourl"http://www.liquidstreaming.com/abr
  [EMAIL PROTECTED]br
  Phone 1.212.545.1232 Fax 1.212.679.8032br
  /font/html
 
  --
  
  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

Re: search engine and cfm files

2000-08-15 Thread Andrew


You could try instead of doing "page.cfm?ID=X" doing "page.cfm/ID/X" or
"page.cfm/X/".  The code for page.cfm would use a listGetAt function with
the list being cgi.path_info and the delimiter being "/" to get the ID
variable out.  This will cause search engines to follow every link and
catalogue each unique ID as a different page.  Hope that helps.


Andrew Hewitt
Web Application Developer
webworld studios inc.


- Original Message -
From: "avex" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 14, 2000 10:39 PM
Subject: search engine and cfm files


 Hi,

 I am doing a job for a client that involves converting 500 html documents
 into a cold fusion dynamic site.

 At the moment the pages are derived from a database and formatted in one
 template file
 so all my pages are like page.cfm?ID=X where X is the database record.

 My question is, how can I have these 500 pages, with seperate meta tag
 information be picked up by search engines like yahoo, etc if they are
 dynamically generated?
 Although there is one template file, I would all 500 possible pages to be
 picked up by search engines.

 This is the final problem i have on the project...and I am desperate for a
 fix...My friend said that Ben Forta discussed this a while back some
 place on the internet.

 thanks...

 chad




 --

 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: Dynamic GIGs/JPEGs

2000-08-15 Thread Philip Arnold - ASP

 What are my options for the Subject?

 That is, displaying a set sequence
 of GIFs/JPEGs?

What exactly do you mean by "displaying a set sequence"?

If you mean placing graphics on a page, then just holding the names in a
database in a sorted order and just placing the HTML on the page

If you mean switching the image from one to another while the user is
watching, then you'd have to build some JavaScript - or put them all into
one big animated GIF (with loss of quality on the JPEGs)

If I've mis-understood, then please expand on what you mean...

Philip Arnold
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.
**


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



Where's the content?

2000-08-15 Thread Hryckowiak, Miro

--_=_NextPart_001_01C0069A.6327AD2E
Content-type: text/plain; charset="iso-8859-1"

Hi,

I don't like to complain but, where is the content?
I used the search on www.allaire.com and looked for "Training"...
Get a lot of results but... the links are mostly dead-links :(
The same when searching for "Certified"...

Another "successful" update on Allaire's site?

Best, Miro.


--_=_NextPart_001_01C0069A.6327AD2E
Content-type: text/html; charset="iso-8859-1"

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
HTMLHEAD
META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"
TITLE/TITLE

META content="MSHTML 5.00.2314.1000" name=GENERATOR/HEAD
BODY
PFONT face=Arial size=2Hi,BRBRI don't like to complain but, where is the 
content?BRI used the search on www.allaire.com and looked for "SPAN 
class=713332009-15082000Training/SPAN".../FONTFONT face=ArialFONT 
size=2BRGSPAN class=713332009-15082000et a lot of results but... the links 
are mostly dead-links :(/SPAN/FONT/FONTFONT face=Arial size=2SPAN 
class=713332009-15082000BRThe same when searching for 
"Certified".../SPAN/FONT/P
PFONT face=Arial size=2SPAN class=713332009-15082000/SPAN/FONTFONT 
face=Arial size=2SPAN class=713332009-15082000Another "successful" update on 
Allaire's site?/SPAN/FONT/P
PFONT face=Arial size=2SPAN class=713332009-15082000Best, 
Miro./SPAN/FONT/P/BODY/HTML

--_=_NextPart_001_01C0069A.6327AD2E--
--
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: CF-Talk V1 #142 (Out of office)

2000-08-15 Thread Julie Hopple

I am currently out of the office and will return on Monday, August 21.  Any urgent 
concerns should be forwarded to David McCormick or Mary Prosceno.

 CF-Talk 08/15/00 06:45 

CF-TalkTue, 15 Aug 2000  Volume 1 : Number 142

In this issue:

search engine and cfm files
RE: Cookies
Re: Browser / desktop resolution
Re: Combo box
RE: CF Administrator Mapping and Apache Alias
RE: Browser / desktop resolution
Re: Cookies
RE: CF Administrator Mapping and Apache Alias
RE: Adobe sues Macromedia
RE: search engine and cfm files
RE: CF Administrator Mapping and Apache Alias
Re: Version 4.5.1 memory leak fixed?
Re: search engine and cfm files
RE: Dynamic GIGs/JPEGs
Where's the content?
Returnfuseaction


--

Date: Tue, 15 Aug 2000 12:39:47 +1000
From: "avex" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: search engine and cfm files
Message-ID: 007b01c00662$13e2b480$0300a8c0@agent

Hi,

I am doing a job for a client that involves converting 500 html documents
into a cold fusion dynamic site.

At the moment the pages are derived from a database and formatted in one
template file
so all my pages are like page.cfm?ID=X where X is the database record.

My question is, how can I have these 500 pages, with seperate meta tag
information be picked up by search engines like yahoo, etc if they are
dynamically generated?
Although there is one template file, I would all 500 possible pages to be
picked up by search engines.

This is the final problem i have on the project...and I am desperate for a
fix...My friend said that Ben Forta discussed this a while back some
place on the internet.

thanks...

chad

--

Date: Tue, 15 Aug 2000 12:55:07 +1000
From: "Scott, Andrew" [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
Subject: RE: Cookies
Message-ID: 893C9F7D09A4D3118AB8009027893AA801744524@EXGAU32005

Can some also confirm this and make sure I am not going crazy.

Client variables if I am right, should be able to exist across the
application until it times out or is removed. Why is it that I am getting a
no from an IsDefined :-)

cfif IsDefined("client.Corporate")
!--- The cookie been defined before ---
Debug: #Client.Corporate.SecureMode#
cfelse
!--- The cookie hasn't been defined before ---
cfset client.Corporate = StructNew()
cfset client.Corporate.SecureMode = "Public"
cfset client.Corporate.TimeVisited = "#now()#"
/cfif

This is in a custom tag, so I should use caller and I do. But this at the
moment is in the application.cfm and according to the first line never gets
defined or hangs around like it should and yes the cfapplication has the
necessary stuff;-)

cfapplication name="Portal" clientmanagement="yes" sessionmanagement="Yes"
sessiontimeout="#CreateTimeSpan(0,0,15,0)#"

regards

Andrew Scott
ANZ eCommerce Centre
* Ph 9273 0693  
* [EMAIL PROTECTED]

--

Date: Mon, 14 Aug 2000 23:22:21 -0400
From: "Todd Ashworth" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Browser / desktop resolution
Message-ID: 01eb01c00668$08b94960$[EMAIL PROTECTED]

  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*.

-8--- snip ---8-

Well, my take on it is this ...

It was a legitimate ColdFusion question no matter how inappropriate or
trivial it may have seemd to some.  Your comment about "Ever looked into
JavaScript??" was pointless.  The question was, "Is it possible to do with
ColdFusion?", not "Is it possible?".  Maybe this person is new to ColdFusion
and hasn't quite grasped the idea that it is strictly server-side.  Or,
maybe they do, but were still wondering if it could be detected server-side,
etc.  Maybe they were really asking if anyone has come up with a snazzy new
way to do it.  I understand that we should all mess around with the code and
learn from trying new things and having to figure them out, but if we were
expected to do that with every single thing we ever wanted to do, there
would be absolutely no need for all those handy custom tags floating about.
There also wouldn't be a need for fusebox or any structured, organized
coding style of any sort.  Besides, for the one person who asks a question
on this list, there are probably 50 who are curious but have never bothered
to ask, or are curious now that the question has been posed because they
never even thought about it 

javascript error in IE5.0

2000-08-15 Thread Jon Tillman

hi gang,
does anyone know why the following will throw an error in IE, but not in
Netscape?

onClick="document.purchase.action='purchase.cfm';document.purchase.submit();"

Also, any idea how to mke it not do so.

-- 
***
 Jon Tillman
 LINUX USER: #141163
 ICQ: 4015362
 [EMAIL PROTECTED]
***
Help Jon build a network!
Looking for giveaway computers  parts
I want whatever you have
Will pay postage
***

--
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: Dynamic GIGs/JPEGs

2000-08-15 Thread Wayne, Kurt

I believe I've seen on an NOAA site a JAVA application that allows for
multiple images to be put in a type of "player" (with stop, forward,
reverse, play buttons) without loss of image quality.  If you're interested
I'll try and find the URL so you can see it.

-Original Message-
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 5:00 AM
To: [EMAIL PROTECTED]
Subject: RE: Dynamic GIGs/JPEGs


 What are my options for the Subject?

 That is, displaying a set sequence
 of GIFs/JPEGs?

What exactly do you mean by "displaying a set sequence"?

If you mean placing graphics on a page, then just holding the names in a
database in a sorted order and just placing the HTML on the page

If you mean switching the image from one to another while the user is
watching, then you'd have to build some JavaScript - or put them all into
one big animated GIF (with loss of quality on the JPEGs)

If I've mis-understood, then please expand on what you mean...

Philip Arnold
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.
**



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



Trouble with CFLocation or something

2000-08-15 Thread Kronenberger, Douglas

I'm updating a employee record using a EditEmployeeForm.cfm page that
submits the changes to a EditEmployeeAction.cfm page. The
EditEmplyeeAction.cfm uses the CFUPDATE tag to update the employee record
and then uses the cflocation to return to the EditEmployeeForm.cfm page.
My problem is that upon returning to the EditEmployeeForm.cfm page the
changes are not reflected (the old data appears). Checking the database
shows that the changes have been made there. If I hit refresh after
returning to the EditEmployeeForm.cfm page the changes are reflected after
the refresh.

I'm not using any session variables just passing a Emp_ID along in the url.

I hope I have supplied enough explanation that someone is able to offer some
advice.

Thanks in advance.

Douglas Kronenberger
Multimedia/Web Developer
CIO National Training  Education Office
Department of Veterans Affairs

440-526-3030 x7776

--
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: Where's the content?

2000-08-15 Thread Stephen Moretti


 I don't like to complain but, where is the content?
 I used the search on www.allaire.com and looked for "Training"...
 Get a lot of results but... the links are mostly dead-links :(
 The same when searching for "Certified"...


Training : http://www.allaire.com/developer/training.cfm

Certification :
http://www.allaire.com/services/training/certification/index.cfm

--
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: Trouble with CFLocation or something

2000-08-15 Thread Stephen Moretti

Hi Douglas,

 and then uses the cflocation to return to the EditEmployeeForm.cfm page.
 My problem is that upon returning to the EditEmployeeForm.cfm page the
 changes are not reflected (the old data appears). Checking the database
 shows that the changes have been made there. If I hit refresh after
 returning to the EditEmployeeForm.cfm page the changes are reflected after
 the refresh.


I know exactly what your problem is...  I had exactly the same problem on a
project about 9 months ago

I'm not entirely certain which of the following is true...

1) The cflocation happens quicker than the update to the data.
2) The query on the edit employeeform.cfm is looking at cached data.
3) I'm sure there were more possible senarios. :o)

Anyway, what I ended up doing was not using cflocation, but doing a redirect
with JS instead.  This actually gave me more powerful functionality with the
redirects (ie. I could target frames, windows, whatever...), but also
allowed me to put a short delay in before the re-direct occured.  If I
remember correctly I stuck something like a 500ms delay in and that seemed
to do the trick

I'm sure there is a more elegant and better solution, which I look forward
to hearing, but the above worked...

Hope that helps

Regards

Stephen

--
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: Trouble with CFLocation or something

2000-08-15 Thread Daniel Kemp

 I'm not using any session variables just passing a Emp_ID
 along in the url.

 I hope I have supplied enough explanation that someone is
 able to offer some
 advice.

Just a quick check, if you're using IE goto Tools|Internet Options,
then with the General Tab selected click on the "Settings..." button
under the "Temporary Internet Files", then change the radio button to
"Check for newer versions of stored pages, Every visit to the page".

That may sort your problem out, which maybe all you need.  You, or
other users, may also be going through a proxy, or firewall, or
somesuch which is caching pages for you.  You could try adding...

meta http-equiv="pragma" content="no-cache"
meta http-equiv="cache-control" content="no-cache"
meta http-equiv="Expires" Content="Mon, 06 Jan 1990 00:00:01 GMT"
meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1"

Which should solve most caching problems.  I'm sure someone will
expand on this and add a few more lines.

Hope this helps.

Dan.

PS. Oh yeah, I agree with Stephen Moretti, IMHO you're better off
using JavaScript redirects.



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

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


--
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: javascript error in IE5.0

2000-08-15 Thread DeVoil, Nick

 hi gang,
 does anyone know why the following will throw an error in IE, but not in
 Netscape?
 

onClick="document.purchase.action='purchase.cfm';document.purchase.submit();
"
 
 Also, any idea how to mke it not do so.

Jon,

This is down to the differing Document Object Models (DOM) implemented by IE
and Netscape, which is a messy business.
You are referring to the form object using a part of the DOM which is valid
in Netscape but not in IE.
The new W3C DOM-compliant browsers like Netscape 6 are supposed to solve the
problem but actually make it even messier in the short term.

Presumably "purchase" is the NAME of an HTML FORM? Is it the first one on
the page? If so, try:

onClick="document.forms[0].action='purchase.cfm';document.forms[0].submit();
"

I think that will work on both... 
Nick


**
Information in this email is confidential and may be privileged.
It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system. 
You should not otherwise copy it, retransmit it or use or disclose its
contents to anyone. 
Thank you for your co-operation.
**
--
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: search engine and cfm files

2000-08-15 Thread Matthew Walker

 "page.cfm/X/".  The code for page.cfm would use a listGetAt function with
 the list being cgi.path_info and the delimiter being "/" to get the ID

Sure, but you don't actually need to. It works automatically. 
--
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: Browser / desktop resolution

2000-08-15 Thread LISTS

yeah!!

John Cesta


yeah!!!

-Original Message-
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 14, 2000 11:22 PM
To: [EMAIL PROTECTED]
Subject: Re: Browser / desktop resolution


  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*.

-8--- snip ---8-

Well, my take on it is this ...

It was a legitimate ColdFusion question no matter how inappropriate or
trivial it may have seemd to some.  Your comment about "Ever looked into
JavaScript??" was pointless.  The question was, "Is it possible to do with
ColdFusion?", not "Is it possible?".  Maybe this person is new to ColdFusion
and hasn't quite grasped the idea that it is strictly server-side.  Or,
maybe they do, but were still wondering if it could be detected server-side,
etc.  Maybe they were really asking if anyone has come up with a snazzy new
way to do it.  I understand that we should all mess around with the code and
learn from trying new things and having to figure them out, but if we were
expected to do that with every single thing we ever wanted to do, there
would be absolutely no need for all those handy custom tags floating about.
There also wouldn't be a need for fusebox or any structured, organized
coding style of any sort.  Besides, for the one person who asks a question
on this list, there are probably 50 who are curious but have never bothered
to ask, or are curious now that the question has been posed because they
never even thought about it before.  If someone answers the question, then
everyone who is even remotely curious now knows the answer and can file it
away for future use .. or at least remember if it is indeed possible so they
will have a better idea where to and where not to look in the future if they
need to.  I thought we were all on this list to learn as much about the
aspects related to ColdFusion as we can .. even the things we didn't think
we wanted to know?

As I have learned on this list every day, you can never have enough
information.

Todd



--
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: Trouble with CFLocation or something

2000-08-15 Thread Kronenberger, Douglas

Thanks for the confirmation and suggestions. Although I'm not familiar
enough with javascirpt. How do you do a redirect with javascript. 

Again thanks much.


Douglas Kronenberger
Multimedia/Web Developer
CIO National Training  Education Office
Department of Veterans Affairs

[EMAIL PROTECTED]
440-526-3030 x7776


-Original Message-
From: Stephen Moretti [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 7:46 AM
To: [EMAIL PROTECTED]
Subject: RE: Trouble with CFLocation or something


Hi Douglas,

 and then uses the cflocation to return to the EditEmployeeForm.cfm page.
 My problem is that upon returning to the EditEmployeeForm.cfm page the
 changes are not reflected (the old data appears). Checking the database
 shows that the changes have been made there. If I hit refresh after
 returning to the EditEmployeeForm.cfm page the changes are reflected after
 the refresh.


I know exactly what your problem is...  I had exactly the same problem on a
project about 9 months ago

I'm not entirely certain which of the following is true...

1) The cflocation happens quicker than the update to the data.
2) The query on the edit employeeform.cfm is looking at cached data.
3) I'm sure there were more possible senarios. :o)

Anyway, what I ended up doing was not using cflocation, but doing a redirect
with JS instead.  This actually gave me more powerful functionality with the
redirects (ie. I could target frames, windows, whatever...), but also
allowed me to put a short delay in before the re-direct occured.  If I
remember correctly I stuck something like a 500ms delay in and that seemed
to do the trick

I'm sure there is a more elegant and better solution, which I look forward
to hearing, but the above worked...

Hope that helps

Regards

Stephen


--
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: Dynamic GIGs/JPEGs

2000-08-15 Thread Philip Arnold - ASP

 I believe I've seen on an NOAA site a JAVA application that allows for
 multiple images to be put in a type of "player" (with stop, forward,
 reverse, play buttons) without loss of image quality.  If you're
 interested
 I'll try and find the URL so you can see it.

I think those sort of things are usually Java applets - I personally avoid
most Java as it can crash browsers, and security options stop it more than
other things

Philip Arnold
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.
**


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



SQL Server Stored Procedure problem

2000-08-15 Thread Paul Johnston


Someone tell me why this isn't working.  It's annoying me now:


SELECT 'name not given', *
FROM Directory
WHERE CountryID = @country
IF ( @type IS NULL )
BEGIN
AND DirectType = @type
END

Only if a value is passed into the SP by cold fusion do I want the AND
clause to go.

Thanks

Paul


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



advanced error handling...

2000-08-15 Thread Ryan

Hello. I was wondering what is the best way to have a form
redisplay with error messages if the user enters in valid input.

Say the user leaves their name blank, and its a required field,
instead of showing an error page saying they left their name
blank, I need to redisplay the form, will all their data still
filled in, and have an generic error message at the top of the page,
and somehow indicate the particular field that had problems, probably
by making the label red or something.

Any ideas? I don't need exact code examples, but some logic
ideas would be helpful. Thanks,

Ryan

--
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: SQL Server Stored Procedure problem

2000-08-15 Thread mherbene

It's just not legal in Microsoft SQL (assuming you mean Microsoft SQL
Server); the SQL statement is compiled when the SP is created, and can't be
dynamic in that way.  You have two options:

1) rewrite in a way that can be compiled.

SELECT 'name not given', *
FROM Directory
WHERE CountryID = @country
AND (   (@type IS NULL)
Or (DirectType = @type)
)

2) create the SQL statement as a string and use Exec

declare @mysql varchar(300)

select @mysql = ' select ...'

exec @mysql




-Original Message-
From: Paul Johnston [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 9:08 AM
To: Cf-Talk
Subject: SQL Server Stored Procedure problem



Someone tell me why this isn't working.  It's annoying me now:


SELECT 'name not given', *
FROM Directory
WHERE CountryID = @country
IF ( @type IS NULL )
BEGIN
AND DirectType = @type
END

Only if a value is passed into the SP by cold fusion do I want the AND
clause to go.

Thanks

Paul



--
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: Dynamic GIGs/JPEGs

2000-08-15 Thread Todd Ashworth

|  What are my options for the Subject?
| 
|  That is, displaying a set sequence
|  of GIFs/JPEGs?

If you are talking about having the images switch while someone is sitting
on the page, either through user interaction or automatically, you can find
some JavaScript routines that do that at
http://www.dynamicdrive.com/dynamicindex14/index.html

Todd


--
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: SQL Server Stored Procedure problem

2000-08-15 Thread David E. Crawford

Show us the whole SP.  As it stands right now, what you say you want to
happen and what you have coded are 2 different things. The only time the AND
clause will run as shown below is if the @type variable is NULL. What error
are you seeing?  How do you plan on referring to the value 'name not given'
since it does not have a column name associated with it.

DC

- Original Message -
From: "Paul Johnston" [EMAIL PROTECTED]
To: "Cf-Talk" [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 13:07
Subject: SQL Server Stored Procedure problem



 Someone tell me why this isn't working.  It's annoying me now:


 SELECT 'name not given', *
 FROM Directory
 WHERE CountryID = @country
 IF ( @type IS NULL )
 BEGIN
 AND DirectType = @type
 END

 Only if a value is passed into the SP by cold fusion do I want the AND
 clause to go.

 Thanks

 Paul


 
 --
 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: SQL Server Stored Procedure problem

2000-08-15 Thread Anthony Geoghegan

Hi Paul,

You said:

|Someone tell me why this isn't working.  It's annoying me now:
|
|
|SELECT 'name not given', *
|FROM Directory
|WHERE CountryID = @country
|IF ( @type IS NULL )
|BEGIN
|AND DirectType = @type
|END

SQL doesn't support IS NULL like this.
In my experience you have to use the ISNull() function.

usage:
ISNULL(check_expression, replacement_value)

The replacement_value argument is the value the field will have, replacing
the NULL value, when the field has a NULL value.

AN example:

 SELECT 'name not given', *
FROM Directory
WHERE CountryID = @country
IF ( ISNULL(@type,'ANULL IS HERE') = 'ANULL IS HERE' )
   BEGIN
   AND DirectType = @type
   END

Hope this helps.
Regards,
Anthony Geoghegan
Lead Developer
Ireland Film and Television Net
26 South Frederick Street
Dublin 2
Ireland
Tel: +353 1 671 3664
Fax: +353 1 671 0763
Web: www.iftn.ie www.wow.ie
mailto:[EMAIL PROTECTED]

NOTICE:
This communication is confidential.  The copyright in this communication
belongs to Ireland Film  Television Net (IFTN) or a third party.

If you are not the intended recipient of this communication please delete
and destroy all copies and telephone IFTN on +353 1 671 3664 immediately.
If you are the intended recipient of this communication you should not copy,
disclose or distribute this communication without the authority of IFTN.

Any views expressed in this communication are those of the individual sender
except where the sender specifically states those are of view of IFTN.

Except as required by law IFTN does not represent, warrant, and/guarantee
that the integrity of this communication has been maintained or that the
communication is free of virus, interception or interference.

--
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: SQL Server Stored Procedure problem

2000-08-15 Thread Andy Ewings

not quiteyou need to use barckets around the exec i.e.

declare @mysql varchar(300)

select @mysql = ' select ...'

exec (@mysql)

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 15 August 2000 14:23
To: [EMAIL PROTECTED]
Subject: RE: SQL Server Stored Procedure problem


It's just not legal in Microsoft SQL (assuming you mean Microsoft SQL
Server); the SQL statement is compiled when the SP is created, and can't be
dynamic in that way.  You have two options:

1) rewrite in a way that can be compiled.

SELECT 'name not given', *
FROM Directory
WHERE CountryID = @country
AND (   (@type IS NULL)
Or (DirectType = @type)
)

2) create the SQL statement as a string and use Exec

declare @mysql varchar(300)

select @mysql = ' select ...'

exec @mysql




-Original Message-
From: Paul Johnston [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 9:08 AM
To: Cf-Talk
Subject: SQL Server Stored Procedure problem



Someone tell me why this isn't working.  It's annoying me now:


SELECT 'name not given', *
FROM Directory
WHERE CountryID = @country
IF ( @type IS NULL )
BEGIN
AND DirectType = @type
END

Only if a value is passed into the SP by cold fusion do I want the AND
clause to go.

Thanks

Paul



--
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: advanced error handling...

2000-08-15 Thread JustinMacCarthy

You should have a look at fusebox.org and
the reuse form tag...

~Justin MacCarthy

- Original Message -
From: "Ryan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 2:15 PM
Subject: advanced error handling...


 Hello. I was wondering what is the best way to have a form
 redisplay with error messages if the user enters in valid input.

 Say the user leaves their name blank, and its a required field,
 instead of showing an error page saying they left their name
 blank, I need to redisplay the form, will all their data still
 filled in, and have an generic error message at the top of the page,
 and somehow indicate the particular field that had problems, probably
 by making the label red or something.

 Any ideas? I don't need exact code examples, but some logic
 ideas would be helpful. Thanks,

 Ryan

 --

 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.



Advanced error handling

2000-08-15 Thread Milks, Jim

I usually use JavaScript that is triggered by the submit button. This way it
is validated on the client side, and doesn't waste a trip to the server. You
could also use CFFORM elements, which generates the JS for you, but I find
them clunky, and prefer to write my own.

If however you wish to highlight the text that is missing or something like
that, you need to check for it in the called page, then return the user to
the calling page with a custom error message, and with conditional logic,
change the font colours and so on. If you choose this option, you should
also catch all of the form values in session variables and repopulate the
original form with the values they entered so they don't have to re-enter
everything, which really turns users off.

Good luck. 

JM 

--
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: Trouble with CFLocation or something

2000-08-15 Thread Stephen Moretti



 Thanks for the confirmation and suggestions. Although I'm not familiar
 enough with javascirpt. How do you do a redirect with javascript.


SCRIPT language="JavaScript"
top.location='yourwebpage.cfm'
/script

This is just one example which loads your yourwebpage.cfm into the top level
of the current browser window.  It'd be worth your while to look up
Javascript references to windows and frames and the location method(?)

 Again thanks much.

No Problem...

BTW - for future reference there is a JS list that is populated by a load of
CFers, for building JS and CF apps.
The list is called JS-Jive and can be found on egroups.com

Hope this helps

Regards

Stephen

--
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: SQL Server Stored Procedure problem

2000-08-15 Thread Paul Hastings

 IF ( @type IS NULL )
 BEGIN
 AND DirectType = @type
 END

you can't execute dynamic sql like that, either you parse the
TSQL together  use EXEC (or sp_executesql) or run this
sql from cfquery. though i suppose you could also test @Type
for NULL:

IF @Type IS NULL
 BEGIN
  SELECT 'name not given', *
  FROM Directory
  WHERE CountryID = @country
 END
ELSE
 BEGIN
  SELECT 'name not given', *
  FROM Directory
  WHERE CountryID = @country AND DirectType = @type
 END

though i can't see this executing much better.


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



structures

2000-08-15 Thread RICHARD MOGER

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

--_=_NextPart_000_01C006BE.0CA47512
Content-Type: multipart/alternative;
boundary="_=_NextPart_001_01C006BE.0CA47512"


--_=_NextPart_001_01C006BE.0CA47512
Content-Type: text/plain;
charset="iso-8859-1"

Hi
 
I'm currently building a set of forms based on a custom tag and an array of
structures. Anyone know how I can order the loop thru the structure (using
the collection and item properties of cfloop) and display the output in a
predefined order other than the default of alphabetical order of keys.
 
I'm thinking a method may be to create an array of each key, one array
variable for the 'key value' and another one for the display order. Then I
will have the problem of sorting all this! 
 
There must be a better way!
 
 
Regards
 
Rich
 
 

--_=_NextPart_001_01C006BE.0CA47512
Content-Type: text/html;
charset="iso-8859-1"

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
HTMLHEAD
META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"


META content="MSHTML 5.50.4134.600" name=GENERATOR/HEAD
BODY
DIV
DIVFONT face=Verdana size=2SPAN 
class=830125816-14082000Hi/SPAN/FONT/DIV
DIVFONT face=Verdana size=2SPAN 
class=830125816-14082000/SPAN/FONTnbsp;/DIV
DIVFONT face=Verdana size=2SPAN class=830125816-14082000I'm currently 
building a set of forms based on a custom tag and an array of structures. Anyone 
know how I can order the loop thru the structure (using the collection and item 
properties of cfloop) and display the output in a predefined order other than 
the default of alphabetical order of keys./SPAN/FONT/DIV
DIVFONT face=Verdana size=2SPAN 
class=830125816-14082000/SPAN/FONTnbsp;/DIV
DIVFONT face=Verdana size=2SPAN class=830125816-14082000I'm thinking a 
method may be to create an array of each key, one array variable for the 'key 
value' and another one for the display order. Then I will have the problem of 
sorting all this! /SPAN/FONT/DIV
DIVFONT face=Verdana size=2SPAN 
class=830125816-14082000/SPAN/FONTnbsp;/DIV
DIVFONT face=Verdana size=2SPAN class=830125816-14082000There must be a 
better way!/SPAN/FONT/DIV
DIVFONT face=Verdana size=2/FONTnbsp;/DIV
DIVFONT face=Verdana size=2/FONTnbsp;/DIV
DIVSPAN class=830125816-14082000FONT face=Verdana 
size=2Regards/FONT/SPAN/DIV
DIVSPAN class=830125816-14082000FONT face=Verdana 
size=2/FONT/SPANnbsp;/DIV
DIVSPAN class=830125816-14082000FONT face=Verdana 
size=2Rich/FONT/SPAN/DIV/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV/BODY/HTML

--_=_NextPart_001_01C006BE.0CA47512--

--_=_NextPart_000_01C006BE.0CA47512
Content-Type: application/octet-stream;
name="Richard Moger (E-mail).vcf"
Content-Disposition: attachment;
filename="Richard Moger (E-mail).vcf"

BEGIN:VCARD
VERSION:2.1
N:Moger;Richard
FN:Richard Moger (E-mail)
ORG:James Villa Holidays Ltd
TITLE:IT Manager
TEL;WORK;VOICE:+44 (01732) 840846
TEL;CELL;VOICE:+44 (0777) 953 8192
TEL;WORK;FAX:+44 (01732) 872093
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;Regents Court=0D=0ALondon 
Road;Addington;Kent;ME19 5PL;United Kingdom
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Regents Court=0D=0ALondon Road=0D=0AAddington, 
Kent ME19 5PL=0D=0AUnited Kin=
gdom
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:2707T003119Z
END:VCARD

--_=_NextPart_000_01C006BE.0CA47512--
--
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: SQL Server Stored Procedure problem

2000-08-15 Thread Andy Ewings

much better to build up your sql string dynamically and then execute
it...takes less code in the long run if you have to do lots of if
statementsremeber to make sure you do "Select @sqlstring = @sqlstring +
etc if you need to append lots of bits so that you don't overwrite
anything you've already built up.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 15 August 2000 14:26
To: [EMAIL PROTECTED]
Subject: Re: SQL Server Stored Procedure problem


 IF ( @type IS NULL )
 BEGIN
 AND DirectType = @type
 END

you can't execute dynamic sql like that, either you parse the
TSQL together  use EXEC (or sp_executesql) or run this
sql from cfquery. though i suppose you could also test @Type
for NULL:

IF @Type IS NULL
 BEGIN
  SELECT 'name not given', *
  FROM Directory
  WHERE CountryID = @country
 END
ELSE
 BEGIN
  SELECT 'name not given', *
  FROM Directory
  WHERE CountryID = @country AND DirectType = @type
 END

though i can't see this executing much better.



--
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: SQL Server Stored Procedure problem

2000-08-15 Thread DeVoil, Nick

 much better to build up your sql string dynamically and then execute
 it...takes less code in the long run if you have to do lots of if
 statements.

If speed is a consideration, isn't it better to code the SQL explicitly
where possible so that SQL Server can store an optimised query plan?

Nick


**
Information in this email is confidential and may be privileged. 
It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system. 
You should not otherwise copy it, retransmit it or use or disclose its
contents to anyone. 
Thank you for your co-operation.
**
--
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: SQL Server Stored Procedure problem

2000-08-15 Thread Andy Ewings

agreed.it's much better to have it as an SP.  That way SQL doesn't have
to parse the SQL before executing it.

-Original Message-
From: DeVoil, Nick [mailto:[EMAIL PROTECTED]]
Sent: 15 August 2000 14:40
To: '[EMAIL PROTECTED]'
Subject: RE: SQL Server Stored Procedure problem


 much better to build up your sql string dynamically and then execute
 it...takes less code in the long run if you have to do lots of if
 statements.

If speed is a consideration, isn't it better to code the SQL explicitly
where possible so that SQL Server can store an optimised query plan?

Nick


**
Information in this email is confidential and may be privileged. 
It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system. 
You should not otherwise copy it, retransmit it or use or disclose its
contents to anyone. 
Thank you for your co-operation.
**

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



cf mail error

2000-08-15 Thread Darien C. Small

Hi,

This is my first post here.  I have an ordering form that is e-mailed after
the completion of the order.  My problem is that I am getting the following
error.  Any assistance that you can be would be greatly appreciated.

Darien Small
Technical Information Officer
IExperditer

Error Diagnostic Information
Just in time compilation error
An unknown attribute 'groupcasesensitive' has been encountered at document
position (83:140) to (83:157) while processing tag CFMAIL. This tag can only
take the following attributes:


--
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: Fusebox Question

2000-08-15 Thread paul smith

So how do you do the following in strict Fusebox style?

I have an app where to simplify matters for users they
only need enter a Search Term and hit Enter.  (I tried
making them select an option before they hit enter, but
did not feel it was user-friendly enuf.  BTW, this
kind of follows Creative Good's "Survival Strategy 6:
Improving Search" recommendation in their Dotcom
Survival Guide, which is a free download at this URL:
http://www.creativegood.com/survival, and an
interesting read.)

If the Search Term IS a Special Pre-Assigned One, then a
SQL lookup enables a jump to just that Special Result
Page (no action required by the user).  In addition to
the special results on that page, the page also contains
a link to Verity Search Results for the same Search Term.
(A somewhat messy alternative would be to display the
Verity Search Results below the Special Results.)

If the Search Term IS NOT a Special Pre-Assigned One,
the result page simply lists the Verity Search Results.

The current index.cfm is as follows:

CFINCLUDE TEMPLATE="/#request.CFroot#/app_locals.cfm"
CFINCLUDE TEMPLATE="/#request.CFroot#/qry_GetOrgIdFromKeyWord.cfm"

CFIF GETID.RECORDCOUNT AND Attributes.KeyWord

CFINCLUDE TEMPLATE="/#request.CFroot#/KW/dsp_firstKW.cfm"
CFINCLUDE TEMPLATE="/#request.CFroot#/dsp_BlueBar.cfm"
CFINCLUDE TEMPLATE="/#request.CFroot#/KW/dsp_orgKW.cfm"

CFELSE

CFINCLUDE TEMPLATE="/#request.CFroot#/qry_SearchHandL.cfm"
CFINCLUDE TEMPLATE="/#request.CFroot#/SC/dsp_firstSC.cfm"
CFINCLUDE TEMPLATE="/#request.CFroot#/dsp_heading.cfm"
CFINCLUDE TEMPLATE="/#request.CFroot#/dsp_BlueBar.cfm"
CFINCLUDE TEMPLATE="/#request.CFroot#/SC/dsp_SYPHeadings.cfm"

/CFIF

best,  paul


At 12:25 PM 8/15/00 +0100, you wrote:
 
  Thanks for the response.  How are situations handled where you have a
  query within a loop handled within Fusebox?
 
  For example:
 
  CFLOOP INDEX="CountLoop" FROM=1 TO=10
   CFQUERY .
SELECT * FROM Table
WHERE ID = CountLoop
   /CFQUERY
 
   CFOUTPUT
You are at record #ID#.
   /CFOUTPUT
  /CFLOOP
 
  I don't see an easy way to abstract this functionality back to only
  CFINCLUDEs at the index.cfm.
 

Kevin,

I'm not sure why you would do this anyway.  The code above would be 10
hits on the database - you would be far better doing.

CFQUERY name="MyQuery" datasource="MyDSN"
  SELECT * FROM Table
  WHERE ID  10
/CFQUERY

cfoutput query="MyQuery"
#ID# - #currentrow#
/cfoutput

Also,  your code example from your first email...
  CFIF Attributes.UserName IS "Dave"
  CFINCLUDE TEMPLATE="qry_Dave"
  CFELSE
  CFINCLUDE TEMPLATE="qry_NotDave"
  /CFIF

Would it not be better to do away with this and write a file called
qry_user.cfm (or whatever) which contains a query like this:
 select * from table
 where username = '#attributes.UserName#'

Its not good practice to hard code a query for a variable piece of data as
you have in the above cfif statement.

Fusebox applications look more like this in your index.cfm:

cfinclude template="app_locals.cfm"
cfswitch expression=#attributes.fuseaction#
cfcase value="GetUser"
 Cfinclude template="qry_user.cfm"
 cfinclude template="dsp_user.cfm"
/cfcase
cfdefaultcase
 Cfinclude template="qry_getuserdetail.cfm"
 cfinclude template="dsp_userlist.cfm"
/cfdefaultcase
/cfswitch

Is this bring you any closer to understanding Kevin?

Hope I've helped.

Regards

Stephen

--
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: cf mail error

2000-08-15 Thread Darien C. Small

Hi,

This is my first post here.  I have an ordering form that is e-mailed after
the completion of the order.  My problem is that I am getting the following
error.  Any assistance that you can be would be greatly appreciated.

Darien Small
Technical Information Officer
iExperditer
[EMAIL PROTECTED]

Error Diagnostic Information
Just in time compilation error
An unknown attribute 'groupcasesensitive' has been encountered at document
position (83:140) to (83:157) while processing tag CFMAIL. This tag can only
take the following attributes:

--
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: Dynamic GIGs/JPEGs

2000-08-15 Thread paul smith

Thanks, but I try to avoid Java.

best,  paul

At 07:28 AM 8/15/00 -0400, you wrote:
I believe I've seen on an NOAA site a JAVA application that allows for
multiple images to be put in a type of "player" (with stop, forward,
reverse, play buttons) without loss of image quality.  If you're interested
I'll try and find the URL so you can see it.

--
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: cf mail error

2000-08-15 Thread Jay Wigginton

Remove the gropupcasesensitive parameter from the cfmail tag... studio adds
it automatically

Jay

 -Original Message-
 From: Darien C. Small [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 15, 2000 9:48 AM
 To: [EMAIL PROTECTED]
 Subject: cf mail error


 Hi,

 This is my first post here.  I have an ordering form that is
 e-mailed after
 the completion of the order.  My problem is that I am getting the
 following
 error.  Any assistance that you can be would be greatly appreciated.

 Darien Small
 Technical Information Officer
 IExperditer

 Error Diagnostic Information
 Just in time compilation error
 An unknown attribute 'groupcasesensitive' has been encountered at document
 position (83:140) to (83:157) while processing tag CFMAIL. This
 tag can only
 take the following attributes:


 --
 
 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: Dynamic GIGs/JPEGs

2000-08-15 Thread paul smith

Thanks!

best,  paul

At 09:19 AM 8/15/00 -0400, you wrote:
|  What are my options for the Subject?
| 
|  That is, displaying a set sequence
|  of GIFs/JPEGs?

If you are talking about having the images switch while someone is sitting
on the page, either through user interaction or automatically, you can find
some JavaScript routines that do that at
http://www.dynamicdrive.com/dynamicindex14/index.html

Todd


--
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: cf mail error

2000-08-15 Thread Jamie Keane

CFMAIL does not accept a GroupCaseSensitive attribute.  Perhaps you meant
just plain Group?

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-Original Message-
From: Darien C. Small [EMAIL PROTECTED]
To: Darien C. Small [EMAIL PROTECTED]; [EMAIL PROTECTED]
[EMAIL PROTECTED]
Date: Tuesday, August 15, 2000 9:50 AM
Subject: RE: cf mail error


Hi,

This is my first post here.  I have an ordering form that is e-mailed after
the completion of the order.  My problem is that I am getting the following
error.  Any assistance that you can be would be greatly appreciated.

Darien Small
Technical Information Officer
iExperditer
[EMAIL PROTECTED]

Error Diagnostic Information
Just in time compilation error
An unknown attribute 'groupcasesensitive' has been encountered at document
position (83:140) to (83:157) while processing tag CFMAIL. This tag can
only
take the following attributes:

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



MIME types and 4.5.1 memory leak?

2000-08-15 Thread Christopher S Martin

Is anyone aware of a method or tag that can be used to return the mime type
of an email attachment?  Or is this functionality already built into cfpop,
and I am just not aware of it?
 On an unrealted note, would anyone have the url for the 4.5.1 memory leak
patch?  I couldn't find it at allaires site.
Thanks

Chris Martin
[EMAIL PROTECTED]
www.fsenablers.com
www.fslink.com

--
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: cf mail error

2000-08-15 Thread Nick McClure

That Attribute pops in when you use the tag editor, you just need to delete it.

I think there is something wrong with the vtm file.

At 10:01 AM 8/15/2000 -0400, you wrote:
CFMAIL does not accept a GroupCaseSensitive attribute.  Perhaps you meant
just plain Group?

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-Original Message-
From: Darien C. Small [EMAIL PROTECTED]
To: Darien C. Small [EMAIL PROTECTED]; [EMAIL PROTECTED]
[EMAIL PROTECTED]
Date: Tuesday, August 15, 2000 9:50 AM
Subject: RE: cf mail error


 Hi,
 
 This is my first post here.  I have an ordering form that is e-mailed after
 the completion of the order.  My problem is that I am getting the following
 error.  Any assistance that you can be would be greatly appreciated.
 
 Darien Small
 Technical Information Officer
 iExperditer
 [EMAIL PROTECTED]
 
 Error Diagnostic Information
 Just in time compilation error
 An unknown attribute 'groupcasesensitive' has been encountered at document
 position (83:140) to (83:157) while processing tag CFMAIL. This tag can
only
 take the following attributes:
 
 ---
---
 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.

--
Nick McClure[EMAIL PROTECTED]
Technical Director  606.245.9656
squareFish Mediawww.squareFish.com

--
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: one more try re: oracle stored proc and session mgmt

2000-08-15 Thread Terri Stocke

Matt and Joe--

Thanks so much for your response.  I really appreciate it!

Terri


Original Message Follows
From: "Matt Rodosky" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: one more try re: oracle stored proc and session mgmt
Date: Mon, 14 Aug 2000 07:42:25 -0600

1. Call the stored procedure (pass the sessionid and valid hours to the sp):
cfstoredproc procedure="db_app_std.chk_ses" datasource="yourDSN"
cfprocparam type="in" dbvarname="sesid" value="#sessionid#
cfsqltype"datatype"
cfprocparam type="in" dbvarname="valid_hrs" value="#validhrs#
cfsqltype"datatype"
cfprocparam type="out" variable="sp_results" cfsqltype"varchar2"
/cfstoredproc

2. Put the call: in your application.cfm
3. Loginaction: add the logged-in userid to the correct record in the
database, create variables for sessionid and validhrs
4. application.cfm: run the stored procedure, if the output is null, the
user is not supposed to be logged in anymore. If it returns a user id, make
sure its the right user and all that.
5. Oracle stored procedures don't return a regular  recordset to cf, so you
might need to play with the "sp_results" to get the output to work.

hth,
Matt
-Original Message-
From: Terri Stocke [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 14, 2000 7:11 AM
To: [EMAIL PROTECTED]
Subject: one more try re: oracle stored proc and session mgmt


I am desperate for help here. My deadline is this Friday, and I have no clue
how to make this work...

I have been provided with an Oracle stored procedure by our dba that
provides a session id when a user logs in to my application with their
domain name and password.  I have successfully gotten this to work (i.e., I
get a session id passed back to me).

Now, I have also been provided with an Oracle function for the stored proc.
I have NO idea what I'm supposed to do with this:



FUNC: DB_APP_STD.chk_ses(sesid, valid_hrs)
Input: sesid (varchar2)
valid_hrs (number) optional, default is 3 hrs
Returns: Varchar2 'UserID' OR NULL

-

Apparently the plan is to call the above function via an include page in any
of the pages that I want password-protected.  Apparently it is for checking
that the user is, in fact, logged in.

What I don't understand is, how do I call this function?  Do I put it in my
login_action page with the original stored procedure?
What files do I need?  I know I need the application.cfm file--do I put this
function in there?  What goes in the application.cfm file (other than my
cfapplication tag) vs. what goes in my login_action.cfm file vs. what goes
in my include page?  Do I even need that third include page?

PLEASE, if anyone has more of a clue than I do, let me know!


Thanks!
Terri

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_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.


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_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



OT Flow chart program

2000-08-15 Thread Chad

Anyone have a link to a good flow chart program for planning a web site?

Thanks
Chad
--
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: cf mail error

2000-08-15 Thread Jamie Keane

It appears that groupcasesensitive is a valid attribute on the 4.5x server.
My mistake (we don't use 4.5x here).  I guess the next question would be: is
the server you're working with running 4.5x?

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-Original Message-
From: Nick McClure [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Tuesday, August 15, 2000 10:07 AM
Subject: Re: cf mail error


That Attribute pops in when you use the tag editor, you just need to delete
it.

I think there is something wrong with the vtm file.

At 10:01 AM 8/15/2000 -0400, you wrote:
CFMAIL does not accept a GroupCaseSensitive attribute.  Perhaps you meant
just plain Group?

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-Original Message-
From: Darien C. Small [EMAIL PROTECTED]
To: Darien C. Small [EMAIL PROTECTED]; [EMAIL PROTECTED]
[EMAIL PROTECTED]
Date: Tuesday, August 15, 2000 9:50 AM
Subject: RE: cf mail error


 Hi,
 
 This is my first post here.  I have an ordering form that is e-mailed
after
 the completion of the order.  My problem is that I am getting the
following
 error.  Any assistance that you can be would be greatly appreciated.
 
 Darien Small
 Technical Information Officer
 iExperditer
 [EMAIL PROTECTED]
 
 Error Diagnostic Information
 Just in time compilation error
 An unknown attribute 'groupcasesensitive' has been encountered at
document
 position (83:140) to (83:157) while processing tag CFMAIL. This tag can
only
 take the following attributes:
 

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

--
Nick McClure [EMAIL PROTECTED]
Technical Director 606.245.9656
squareFish Media www.squareFish.com

---
---
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: OT Flow chart program

2000-08-15 Thread David Shadovitz

Let's see how many responses recommend VISIO.
Check http://www.microsoft.com/office/visio/
-David

On Tue, 15 Aug 2000 10:10:53 -0400 Chad [EMAIL PROTECTED]
writes:
 Anyone have a link to a good flow chart program for planning a web 
 site?
 
 Thanks
 Chad

YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
--
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: OT Flow chart program

2000-08-15 Thread cf-talk

I love SmartDraw.
Nice features, reasonable price.

http://www.smartdraw.com

Uwe

SD Solutions
Lange Zeile 27
85435 Erding
Fon: 08122/903791
Fax: 08122/903792
Mail: [EMAIL PROTECTED]
Web: www.sdsolutions.de
- Original Message -
From: "Chad" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 4:10 PM
Subject: OT Flow chart program


 Anyone have a link to a good flow chart program for planning a web site?

 Thanks
 Chad
 --

 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: OT Flow chart program

2000-08-15 Thread JustinMacCarthy

We use http://www.microsoft.com/office/visio/
, it petty good.

BTW Check out http://www.fusebox.org/specifications/fuseml/index.cfm

for UML / Fusebox /CF website planning.

~Justin MacCarthy

- Original Message -
From: "Chad" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 3:10 PM
Subject: OT Flow chart program


 Anyone have a link to a good flow chart program for planning a web site?

 Thanks
 Chad
 --

 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: MIME types and 4.5.1 memory leak?

2000-08-15 Thread Peter Theobald

It still leaks.

At 10:03 AM 8/15/00 -0400, Christopher S Martin wrote:
Is anyone aware of a method or tag that can be used to return the mime type
of an email attachment?  Or is this functionality already built into cfpop,
and I am just not aware of it?
 On an unrealted note, would anyone have the url for the 4.5.1 memory leak
patch?  I couldn't find it at allaires site.
Thanks

Chris Martin
[EMAIL PROTECTED]
www.fsenablers.com
www.fslink.com

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


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032

--
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: OT Flow chart program

2000-08-15 Thread Rey Bango

Chad,

Visio is great for that. Its a little pricey but its awesome. Its now owned
by Microsoft and can be found at http://www.microsoft.com/office/visio/.

Rey,..

- Original Message -
From: "Chad" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 10:10 AM
Subject: OT Flow chart program


 Anyone have a link to a good flow chart program for planning a web site?

 Thanks
 Chad
 --

 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: OT Flow chart program

2000-08-15 Thread Ryan

I found smartdraw powerful, easy to use, and cheap.

http://www.smartdraw.com

Ryan

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



Data Source Security

2000-08-15 Thread Robert M. Saxon, Jr.

When a data source contains a username and password for an SQL Server user
login, is that information secure (encrypted), or is it passed in clear
text?

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



4.5.1 memory leak? is this really a leak we are talking about ?

2000-08-15 Thread JustinMacCarthy

Are you guys talking about the memory allocation in CF or a bona fide
leak

CF does grab memory as it needs and yes it doesn't release it - by design.
It fingures that if it needed the memory once it will do again. And there is
an over head in aquiring / releasing memory.

From "Looking At ColdFusion Memory Usage"

@
http://www.allaire.com/Handlers/index.cfm?ID=15014Method=Full

"Neither of the statistics provided by the Task Manager or Performance
Monitor will show memory being returned. That's because ColdFusion 4.5
incorporates the latest version of SmartHeap, which no longer returns unused
memory to NT. Instead, memory is held, assuming ColdFusion may reuse it in
the near future. While this method is faster and more efficient, SmartHeap
can lead to confusion when looking at memory statistics on NT. "


So is this something different..??

Justin MacCarthy

- Original Message -
From: "Peter Theobald" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 3:25 PM
Subject: Re: MIME types and 4.5.1 memory leak?


 It still leaks.

 At 10:03 AM 8/15/00 -0400, Christopher S Martin wrote:
 Is anyone aware of a method or tag that can be used to return the mime
type
 of an email attachment?  Or is this functionality already built into
cfpop,
 and I am just not aware of it?
  On an unrealted note, would anyone have the url for the 4.5.1 memory
leak
 patch?  I couldn't find it at allaires site.
 Thanks
 
 Chris Martin
 [EMAIL PROTECTED]
 www.fsenablers.com
 www.fslink.com
 

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


 --
-
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 Fax 1.212.679.8032

 --

 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: CF Professional Informix

2000-08-15 Thread Dave Hannum

We have been using Intersolv's ODBC drivers.  They've been very solid.

Dave

=
"What we need is a list of specific unknown problems we will encounter"

David Hannum
Web Analyst/Programmer
Ohio University
[EMAIL PROTECTED]
(740) 597-2524



- Original Message -
From: "Paul Sizemore" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 9:02 AM
Subject: CF Professional  Informix


We have some consultants trying to link CF Professional 4.5 to our Informix
(and they are spending a long time doing it). From my understanding (of the
documentation), you need Enterprise to use Informix. Is this true (or what
ODBC Driver does CF Pro support)?

--
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: 4.5.1 memory leak? is this really a leak we are talking about ?

2000-08-15 Thread Peter Theobald

Actually, I was speaking of Cold Fusion Studio's memory leaks. It will crash 
Windows-98 in minutes. It's completely unusable. Windows-NT/2000 has better memory 
protection and will fare better.

At 03:52 PM 8/15/00 +0100, JustinMacCarthy wrote:
Are you guys talking about the memory allocation in CF or a bona fide
leak

CF does grab memory as it needs and yes it doesn't release it - by design.
It fingures that if it needed the memory once it will do again. And there is
an over head in aquiring / releasing memory.

 From "Looking At ColdFusion Memory Usage"

@
http://www.allaire.com/Handlers/index.cfm?ID=15014Method=Full

"Neither of the statistics provided by the Task Manager or Performance
Monitor will show memory being returned. That's because ColdFusion 4.5
incorporates the latest version of SmartHeap, which no longer returns unused
memory to NT. Instead, memory is held, assuming ColdFusion may reuse it in
the near future. While this method is faster and more efficient, SmartHeap
can lead to confusion when looking at memory statistics on NT. "


So is this something different..??

Justin MacCarthy

- Original Message -
From: "Peter Theobald" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 3:25 PM
Subject: Re: MIME types and 4.5.1 memory leak?


 It still leaks.

 At 10:03 AM 8/15/00 -0400, Christopher S Martin wrote:
 Is anyone aware of a method or tag that can be used to return the mime
type
 of an email attachment?  Or is this functionality already built into
cfpop,
 and I am just not aware of it?
  On an unrealted note, would anyone have the url for the 4.5.1 memory
leak
 patch?  I couldn't find it at allaires site.
 Thanks
 
 Chris Martin
 [EMAIL PROTECTED]
 www.fsenablers.com
 www.fslink.com
 

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


 --
-
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 Fax 1.212.679.8032

 --

 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. 


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032

--
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: problem with query string in cfmail

2000-08-15 Thread Stephen Moretti

 like this: http://www.somedomain.com/contactus/preferences.cfm?id=50582.
 On the response template this is what is getting displayed to the user.
 However, Lately I have noticed that this is what is getting displayed in
 the email
 message:   http://www.somedomain/contactus/preferences.cfm?idP582. The =
 sign and the first two digits of the id are getting replaced with a P.

=50 is being recognised as hexidecimal for the letter P.

Through force of habit and being sick to the teeth with HTML emails, I
always send plain text emails rather than HTML.

That will fix your problem ;o)

Regards

Stephen

--
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: 4.5.1 memory leak? is this really a leak we are talking about ?

2000-08-15 Thread Helge Hetland

I'm sure that you'd be better off saying that CF Studio is crashing on your
particular Win98 machine after a few minutes.

You cannot make me believe that this is CF Studio's "default behaviour" on
Win98

Sorry.

 -Original Message-
 From: Peter Theobald [mailto:[EMAIL PROTECTED]]
 Sent: 15. august 2000 17:01
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: 4.5.1 memory leak? is this really a leak we are talking
 about ?
 
 
 Actually, I was speaking of Cold Fusion Studio's memory 
 leaks. It will crash Windows-98 in minutes. It's completely 
 unusable. Windows-NT/2000 has better memory protection and 
 will fare better.
 
--
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: advanced error handling...

2000-08-15 Thread Wjreichard

Try client side scripting ... javascript w/dhtml.

Good luck,
Bill
--
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: 4.5.1 memory leak? is this really a leak we are talking abou t ?

2000-08-15 Thread Milks, Jim

Default no, but common yes. CF Studio 4.5.1 on Win 98 would crash about
twice a day for me until I added another 64MB of ram.
No such problem on NT 4 or Win2000.

JM 

-Original Message-
From: Helge Hetland
To: '[EMAIL PROTECTED]'
Sent: 15/08/00 11:11 AM
Subject: RE: 4.5.1 memory leak?  is this really a leak we are talking abou t
?

I'm sure that you'd be better off saying that CF Studio is crashing on
your
particular Win98 machine after a few minutes.

You cannot make me believe that this is CF Studio's "default behaviour"
on
Win98

Sorry.

 -Original Message-
 From: Peter Theobald [mailto:[EMAIL PROTECTED]]
 Sent: 15. august 2000 17:01
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: 4.5.1 memory leak? is this really a leak we are talking
 about ?
 
 
 Actually, I was speaking of Cold Fusion Studio's memory 
 leaks. It will crash Windows-98 in minutes. It's completely 
 unusable. Windows-NT/2000 has better memory protection and 
 will fare better.
 

--
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: 4.5.1 memory leak? is this really a leak we are talking about ?

2000-08-15 Thread Robert Everland

I did notice that last night actually. I had to to keep programming
real fast before it ran out of system resources. Can't wait till the new
service pack comes out, luckily I haven't uninstalled 4.0.

Robert Everland III
Web Developer
Dixon Ticonderoga


-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 11:01 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: 4.5.1 memory leak? is this really a leak we are talking
about ?


Actually, I was speaking of Cold Fusion Studio's memory leaks. It will crash
Windows-98 in minutes. It's completely unusable. Windows-NT/2000 has better
memory protection and will fare better.

At 03:52 PM 8/15/00 +0100, JustinMacCarthy wrote:
Are you guys talking about the memory allocation in CF or a bona fide
leak

CF does grab memory as it needs and yes it doesn't release it - by design.
It fingures that if it needed the memory once it will do again. And there
is
an over head in aquiring / releasing memory.

 From "Looking At ColdFusion Memory Usage"

@
http://www.allaire.com/Handlers/index.cfm?ID=15014Method=Full

"Neither of the statistics provided by the Task Manager or Performance
Monitor will show memory being returned. That's because ColdFusion 4.5
incorporates the latest version of SmartHeap, which no longer returns
unused
memory to NT. Instead, memory is held, assuming ColdFusion may reuse it in
the near future. While this method is faster and more efficient, SmartHeap
can lead to confusion when looking at memory statistics on NT. "


So is this something different..??

Justin MacCarthy

- Original Message -
From: "Peter Theobald" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 3:25 PM
Subject: Re: MIME types and 4.5.1 memory leak?


 It still leaks.

 At 10:03 AM 8/15/00 -0400, Christopher S Martin wrote:
 Is anyone aware of a method or tag that can be used to return the mime
type
 of an email attachment?  Or is this functionality already built into
cfpop,
 and I am just not aware of it?
  On an unrealted note, would anyone have the url for the 4.5.1 memory
leak
 patch?  I couldn't find it at allaires site.
 Thanks
 
 Chris Martin
 [EMAIL PROTECTED]
 www.fsenablers.com
 www.fslink.com
 

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



--
-
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 Fax 1.212.679.8032


--

 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. 


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032


--
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: 4.5.1 memory leak? is this really a leak we are talking about ?

2000-08-15 Thread Matthew Walker

 I'm sure that you'd be better off saying that CF Studio is
 crashing on your
 particular Win98 machine after a few minutes.

 You cannot make me believe that this is CF Studio's "default behaviour" on
 Win98

 Sorry.

I think it might be actually. Does it on mine too. It's a feature
apparently.

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



Netscape anger

2000-08-15 Thread Brian P. Doyle

I seem to be having a problem with netscape, flash, and cfoutput tags.  I
using a global table layout and including a flash navigational toolbar at
the top.  The toolbar gets a few variables passed in to display different
things.  However in netscape I cannot wrap the flash code (so that the
variables are processed) with cfoutput tags.  The movie will not load with
those around it.  It works just fine in IE.  Once I take those tags away it
works in netscrape (sort of, netscape messes with my table structure too)
but of course the variables are not being processed.

Any help with this would be greatly appreciated.

Brian

--
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: 4.5.1 memory leak? is this really a leak we are talking about ?

2000-08-15 Thread Scott J. Brader

I run CF Studio on both my NT Workstation machine at work and also on my Win
98 laptop when I'm away from the office. I have yet to see CF Studio causing
big problems. PWS, yes, CF Studio, no.

That's with my configuration, anyway.

Scott


Scott Brader
USAV Group
5485 South Westridge Drive
PO Box 510620
New Berlin, WI 53151-0620
Phone: 262.814.2000
Fax: 262.814.2006

Amateurs Practice Until They Get It Right,
Experts Practice Until They Can't Get It Wrong

Any opinions expressed herein are mine and are not representative of USAV
Communications Group.

-Original Message-
From: Helge Hetland [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 10:11
To: '[EMAIL PROTECTED]'
Subject: RE: 4.5.1 memory leak? is this really a leak we are talking
about ?


I'm sure that you'd be better off saying that CF Studio is crashing on your
particular Win98 machine after a few minutes.

You cannot make me believe that this is CF Studio's "default behaviour" on
Win98

Sorry.

 -Original Message-
 From: Peter Theobald [mailto:[EMAIL PROTECTED]]
 Sent: 15. august 2000 17:01
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: 4.5.1 memory leak? is this really a leak we are talking
 about ?


 Actually, I was speaking of Cold Fusion Studio's memory
 leaks. It will crash Windows-98 in minutes. It's completely
 unusable. Windows-NT/2000 has better memory protection and
 will fare better.


--
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: 4.5.1 memory leak? is this really a leak we are talking abou t ?

2000-08-15 Thread Peter Theobald

html
font size=3No, I am definitely better off saying that CF Studio crashes
on many Win98 machines.br
Go to Allaire's CF Forums and read all about it. I have counted over 60
people experiencing the exact same problems.br
br
The forums only keep a few days of messages so for a while I tried to
keep the thread quot;currentquot; so Allaire might notice it. I didn't
have to worry. New threads on this problem appear all the time.br
br
I know Allaire knows about this problem because they responded to some of
the posts. However in the new thread, they do not acknowledge that they
know about it.br
br
At 05:11 PM 8/15/00 +0200, Helge Hetland wrote:br
blockquote type=cite citeI'm sure that you'd be better off saying that
CF Studio is crashing on yourbr
particular Win98 machine after a few minutes.br
br
You cannot make me believe that this is CF Studio's quot;default
behaviourquot; onbr
Win98br
br
Sorry.br
br
gt; -Original Message-br
gt; From: Peter Theobald
[a href="mailto:[EMAIL PROTECTED]" 
eudora="autourl"mailto:[EMAIL PROTECTED]/a]br
gt; Sent: 15. august 2000 17:01br
gt; To: [EMAIL PROTECTED]; [EMAIL PROTECTED]br
gt; Subject: Re: 4.5.1 memory leak? is this really a leak we are
talkingbr
gt; about ?br
gt; br
gt; br
gt; Actually, I was speaking of Cold Fusion Studio's memory br
gt; leaks. It will crash Windows-98 in minutes. It's completely br
gt; unusable. Windows-NT/2000 has better memory protection and br
gt; will fare better.br
gt; br
--br
Archives:
a href="http://www.mail-archive.com/cf-talk@houseoffusion.com/" 
eudora="autourl"http://www.mail-archive.com/cf-talk@houseoffusion.com//abr
To Unsubscribe visit
a href="http://www.houseoffusion.com/index.cfm?sidebar=listsamp;body=lists/cf_talk" 
eudora="autourl"http://www.houseoffusion.com/index.cfm?sidebar=listsamp;body=lists/cf_talk/a
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. 
/font/blockquotebr

br
-font 
size=3--br
Peter Theobald, Chief Technology Officerbr
LiquidStreaming a href="http://www.liquidstreaming.com/" 
eudora="autourl"http://www.liquidstreaming.com/abr
[EMAIL PROTECTED]br
Phone 1.212.545.1232 Fax 1.212.679.8032br
/font/html

--
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: 4.5.1 memory leak? is this really a leak we are talking abou t ?

2000-08-15 Thread Todd Ashworth

Odd .. I don't have this problem with my setup.  I use NT4.0 with 256 megs
of RAM at work and Win98 with only 128.  In my case, CF crashes about 3-5
times a week at work and 1-2 at home ... and I leave my CF Studio at home
running 24/7, usually only shutting it down when it crashes.  My NT machine
gets booted once a day.  To top it off, the only time I see studio crash at
home is sometimes when I access the database view through the RDS and it
tries to launch my Sybase server and just hangs.  This *could* be something
funky with the database server for all I know.  Oh .. before the 128 meg, I
used only 64 for the longest time and still had very few problems.  Are all
of you that are having probs using Win98 SE?  I'm using the original
edition.  I wonder if there is a difference?

Todd

- Original Message -
From: "Peter Theobald" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 12:08 PM
Subject: RE: 4.5.1 memory leak? is this really a leak we are talking abou t
?


| html
| font size=3No, I am definitely better off saying that CF Studio crashes
| on many Win98 machines.br
| Go to Allaire's CF Forums and read all about it. I have counted over 60
| people experiencing the exact same problems.br
| br
| The forums only keep a few days of messages so for a while I tried to
| keep the thread quot;currentquot; so Allaire might notice it. I didn't
| have to worry. New threads on this problem appear all the time.br
| br
| I know Allaire knows about this problem because they responded to some of
| the posts. However in the new thread, they do not acknowledge that they
| know about it.br
| br
| At 05:11 PM 8/15/00 +0200, Helge Hetland wrote:br
| blockquote type=cite citeI'm sure that you'd be better off saying that
| CF Studio is crashing on yourbr
| particular Win98 machine after a few minutes.br
| br
| You cannot make me believe that this is CF Studio's quot;default
| behaviourquot; onbr
| Win98br
| br
| Sorry.br
| br
| gt; Actually, I was speaking of Cold Fusion Studio's memory br
| gt; leaks. It will crash Windows-98 in minutes. It's completely br
| gt; unusable. Windows-NT/2000 has better memory protection and br
| gt; will fare better.br


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



Looping over field containing checkboxes

2000-08-15 Thread andrew kopelman

I have a loop over all formfields. One formfield, pos, which contains 
checkboxes, ends up being looped over *per checkbox*.  In other words, if 
pos contains 34,36,42 and I loop over it, I get pos three times, each time 
containing 34,36,42.  Is something wrong with my code?  Is there a another 
way to loop and get distinct name/value pairings?

CFLOOP list="#form.fieldnames#" index="thisone"
CFOUTPUT
  input type="Hidden" name="#thisone#" value="#Evaluate(thisone)#"
/cfoutput
/cfloop

Thanks in advance.
Andrew Kopelman
Weidlinger Associates
[EMAIL PROTECTED]

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_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: 4.5.1 memory leak?

2000-08-15 Thread Jeremy Allen

Hmmn what version of Studio though??BRBR
Certain versions will really crash. When you
say studio and you dont say what version..
its hard to tell reply effectively.

What version of studio are you guys using

Studio 4.5.1 has *known* memory leaks folks

Jeremy Allen
[EMAIL PROTECTED]
[Insert cool title here]

-Original Message-
From: Kuehn, Matthew [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 11:58 AM
To: '[EMAIL PROTECTED]'
Subject: RE: 4.5.1 memory leak?


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

--_=_NextPart_001_01C006D1.86B12824
Content-Type: text/plain;
charset="iso-8859-1"

I agree with Helge. I've never had CF Studio crash my Win98 box in any way
that it hasn't crashed other boxes I've worked on. I still get the same
types of errors (in the infrequent event that one occurs) that I've seen in
every other CF development machine I've worked with. And considering that
the above box is also running ColdFusion Server, PWS and Access97 on a
Celeron 533, I'd have to say that Peter has some serious configuration
issues that need to be resolved. The above set-up has worked for me, the way
it is supposed to, from day one.

(And yes, the above configuration is a bit slow, but it sure works good as
the "poor man's" web dev box! :-)

I've heard that CFStudio on Win98 is leaky, but if so, on my machine, it is
so minimal that it doesn't affect me while I'm working. If there *is* a
documented problem, I'd want to fix it, of course.

Matthew

-Original Message-
From: Helge Hetland [mailto:[EMAIL PROTECTED]]

I'm sure that you'd be better off saying that CF Studio is crashing on your
particular Win98 machine after a few minutes.

You cannot make me believe that this is CF Studio's "default behaviour" on
Win98

 -Original Message-
 From: Peter Theobald [mailto:[EMAIL PROTECTED]]

 Actually, I was speaking of Cold Fusion Studio's memory
 leaks. It will crash Windows-98 in minutes. It's completely
 unusable.

--_=_NextPart_001_01C006D1.86B12824
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"
HTML
HEAD
META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1"
META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12"
TITLERE: 4.5.1 memory leak?/TITLE
/HEAD
BODY

PFONT SIZE=3D2I agree with Helge. I've never had CF Studio crash my =
Win98 box in any way that it hasn't crashed other boxes I've worked on. =
I still get the same types of errors (in the infrequent event that one =
occurs) that I've seen in every other CF development machine I've =
worked with. And considering that the above box is also running =
ColdFusion Server, PWS and Access97 on a Celeron 533, I'd have to say =
that Peter has some serious configuration issues that need to be =
resolved. The above set-up has worked for me, the way it is supposed =
to, from day one./FONT/P

PFONT SIZE=3D2(And yes, the above configuration is a bit slow, but =
it sure works good as the quot;poor man'squot; web dev box! =
:-)/FONT
/P

PFONT SIZE=3D2I've heard that CFStudio on Win98 is leaky, but if =
so, on my machine, it is so minimal that it doesn't affect me while I'm =
working. If there *is* a documented problem, I'd want to fix it, of =
course./FONT/P

PFONT SIZE=3D2Matthew/FONT
/P

PFONT SIZE=3D2-Original Message-/FONT
BRFONT SIZE=3D2From: Helge Hetland [A =
HREF=3D"mailto:[EMAIL PROTECTED]"mailto:[EMAIL PROTECTED]/A]/FONT=

/P

PFONT SIZE=3D2I'm sure that you'd be better off saying that CF =
Studio is crashing on your/FONT
BRFONT SIZE=3D2particular Win98 machine after a few minutes./FONT
/P

PFONT SIZE=3D2You cannot make me believe that this is CF Studio's =
quot;default behaviourquot; on/FONT
BRFONT SIZE=3D2Win98/FONT
/P

PFONT SIZE=3D2gt; -Original Message-/FONT
BRFONT SIZE=3D2gt; From: Peter Theobald [A =
HREF=3D"mailto:[EMAIL PROTECTED]"mailto:[EMAIL PROTECTED]=
om/A]/FONT
BRFONT SIZE=3D2gt; /FONT
BRFONT SIZE=3D2gt; Actually, I was speaking of Cold Fusion =
Studio's memory /FONT
BRFONT SIZE=3D2gt; leaks. It will crash Windows-98 in minutes. =
It's completely /FONT
BRFONT SIZE=3D2gt; unusable./FONT
/P

/BODY
/HTML
--_=_NextPart_001_01C006D1.86B12824--

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

Re: Netscape anger

2000-08-15 Thread Keith C. Ivey

Brian P. Doyle [EMAIL PROTECTED] wrote:

 However in netscape I cannot wrap the flash code (so that the
 variables are processed) with cfoutput tags.

Netscape has no idea whether you're using CFOUTPUT tags.  All 
it sees is the resulting HTML, which for all it knows could be 
typed in by superfast trained monkeys as requests come in.  
Look at the HTML you're sending to the browser, not the way 
you're generating it.  Maybe you're sending HTML that's 
invalid, or maybe Netscape has a bug that you need to code 
around.  If you can get it to work as a static page, without 
CF, then you ought to be able to get CF to send the same thing.

Keith C. Ivey [EMAIL PROTECTED], Webmaster
EEI Communications
66 Canal Center Plaza #200, Alexandria, VA 22314, USA
+1 703 683 0683 (phone), +1 703 683 4915 (fax)
http://www.eeicommunications.com
--
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: WDDX

2000-08-15 Thread Dave Watts

 I tried using CFWDDX to pass CF variable into Javascript. However
 I realised that I can only have one variable, is there any ways
 that I can pass two CF variables into JS function?

 Below are my codes:

 CFWDDX INPUT="#property_count#" OUTPUT="MyWDDXPacket"
 ACTION="CFML2WDDX"
 CFWDDX INPUT="#MyWDDXPacket#" OUTPUT="DynamicJSCode" ACTION="WDDX2JS"
 TOPLEVELVARIABLE="MyJSVariable"

Yes, you can pass as many variables as you want from CF to JavaScript. It's
important to remember that when you "pass" variables from CF to JavaScript,
what you're really doing is generating JavaScript code with CF. That
JavaScript code will be executed on the client. So, here's an example of
passing variables from CF to JavaScript:

cfset var1 = "foo"
cfset var2 = "bar"

html
head
titlePassing CF vars to JS/title
script language="JavaScript"
cfoutput
var myjsvar1 = '#Variables.var1#';
var myjsvar2 = '#Variables.var2#';
/cfoutput
/script
/head ...

As you can see, you don't need CFWDDX to do this. You might want to use
CFWDDX, though, if you want to pass a lot of data at once, and that data can
be described within a single complex data object. A query object is a good
example. The following code will take a query object, and build a
client-side "recordset" in JavaScript:

cfquery name="myquery" ...
SELECT ...
/cfquery

html
head
titlePassing CF vars to JS/title
script language="JavaScript" src="/cfide/scripts/wddx.js"/script !--
needed for WDDX client-side functions --
script language="JavaScript"
cfwddx action="cfml2js" input="#myquery#" toplevelvariable="myjsrecordset"
/script

There are a couple of things to note about the above code sample. First,
there's a reference to an external JavaScript library, wddx.js, which is
needed to manipulate this data on the client. Second, there's the CFWDDX tag
itself. It takes the query as the input attribute, and creates a JavaScript
object called myjsrecordset. This object will contain arrays which represent
the columns of data. Within the CFWDDX tag above, there's no OUTPUT
attribute, so this tag will write directly to the page, generating the
JavaScript code to represent the recordset.

This should be enough to get you started. You can deal with any single data
object this way using CFWDDX; that object may be a container for other data,
or it may be a simple variable.

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

--
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: Automating Datasource Creation

2000-08-15 Thread lsellers

 Does any one have suggestions on creating datasources in an automoted
 process outside of using the CF Administrator ?

http://www.intrafoundation.com/freeware.html. There's an old cfml custom tag
called autoaddmdb. You could modify it for any type of odbc datasource of
course. It requires CFREGISTRY to be active.

--min


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



Javascript variables and Cold Fusion

2000-08-15 Thread Peter Theobald

Sorry for being redundant... I know there has been plenty of discussion on this topic 
lately and I didn't read any of them :-(

How do I read a Javascript variable from Cold Fusion?
Specifically, I need to know the browser's language setting.
Here is what I would like to do:

SCRIPT LANGUAGE="JavaScript1.2"
if (navigator.appName == 'Netscape')
var language = navigator.language;
else
var language = navigator.browserLanguage;

CFSET Session.language = (javascript) language

Obviously I can't do that because CF is executed on the server before the page is ever 
sent, and Javascript is run by the browser on the client side.


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032

--
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: OT Flow chart program

2000-08-15 Thread Chris Montgomery

Take a peek at Inspiration:
http://www.inspiration.com/


Chris Montgomery [EMAIL PROTECTED]  

Web Development  Consulting http://www.astutia.com
Allaire Consulting Partner  NetObjects Reseller   
210-490-3249/888-745-7603Fax 210-490-4692

-Original Message-
From: Ryan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 9:41 AM
To: [EMAIL PROTECTED]
Subject: Re: OT Flow chart program


I found smartdraw powerful, easy to use, and cheap.

http://www.smartdraw.com

Ryan
--
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: 4.5.1 memory leak? is this really a leak we are talking about ?

2000-08-15 Thread WBB

Hi Peter,

Yes, CF Studio 4.5[1] is a resource hog on Win95/98. Running it, Outlook
Express and an accounting database we use will bring Windows to it's knees
in a short time. I've read the release notes on CF 4.51 SP1 beta1 and they
are addressing a whole plethora of memory leaks and hopefully, once released
will help solve these problems.

One thing that I found that might help is a program call RAMPage. It helps
release unneeded  memory and is available at:
http://www.tudogs.com/windows2.php3




 Actually, I was speaking of Cold Fusion Studio's memory leaks. It will
crash Windows-98 in minutes. It's completely unusable. Windows-NT/2000 has
better memory protection and will fare better.

 At 03:52 PM 8/15/00 +0100, JustinMacCarthy wrote:
 Are you guys talking about the memory allocation in CF or a bona fide
 leak
 
 CF does grab memory as it needs and yes it doesn't release it - by
design.
 It fingures that if it needed the memory once it will do again. And there
is
 an over head in aquiring / releasing memory.
 
  From "Looking At ColdFusion Memory Usage"
 
 @
 http://www.allaire.com/Handlers/index.cfm?ID=15014Method=Full
 
 "Neither of the statistics provided by the Task Manager or Performance
 Monitor will show memory being returned. That's because ColdFusion 4.5
 incorporates the latest version of SmartHeap, which no longer returns
unused
 memory to NT. Instead, memory is held, assuming ColdFusion may reuse it
in
 the near future. While this method is faster and more efficient,
SmartHeap
 can lead to confusion when looking at memory statistics on NT. "
 
 
 So is this something different..??
 
 Justin MacCarthy
 
 - Original Message -
 From: "Peter Theobald" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Tuesday, August 15, 2000 3:25 PM
 Subject: Re: MIME types and 4.5.1 memory leak?
 
 
  It still leaks.
 
  At 10:03 AM 8/15/00 -0400, Christopher S Martin wrote:
  Is anyone aware of a method or tag that can be used to return the mime
 type
  of an email attachment?  Or is this functionality already built into
 cfpop,
  and I am just not aware of it?
   On an unrealted note, would anyone have the url for the 4.5.1 memory
 leak
  patch?  I couldn't find it at allaires site.
  Thanks
  
  Chris Martin
  [EMAIL PROTECTED]
  www.fsenablers.com
  www.fslink.com
  
 

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

 -
-
 -
  Peter Theobald, Chief Technology Officer
  LiquidStreaming http://www.liquidstreaming.com
  [EMAIL PROTECTED]
  Phone 1.212.545.1232 Fax 1.212.679.8032
 

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


 --
-
 Peter Theobald, Chief Technology Officer
 LiquidStreaming http://www.liquidstreaming.com
 [EMAIL PROTECTED]
 Phone 1.212.545.1232 Fax 1.212.679.8032

 --

 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: Javascript variables and Cold Fusion

2000-08-15 Thread Stephen Moretti


 Obviously I can't do that because CF is executed on the server
 before the page is ever sent, and Javascript is run by the
 browser on the client side.

For this reason you can't read any JS variables from CF - you need to pass
the JS variables in their final state to another CF page either as form or
url variables.

Regards

Stephen

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



admin question: Linux CF Services

2000-08-15 Thread !jeff!

dear all,

Is it normal for a Linux installation of CF 4.5.1 to start about 5 copies
of cfserver, cfexec, and cfrdsservice?  Is this the equivalent to apache's
child servers?

Where is this configurable?

!j!

The mark of mediocrity is searching for the precedent.

!jeff! sherwood Director of BIGWORDS.com Web Site Design / JEDI
   BIGWORDS.com worker#2
[EMAIL PROTECTED]   [EMAIL PROTECTED]
.r.e.c.o.v.e.r.e.d.n.e.t.s.c.a.p.e.u.s.e.r. . . . 415.543.1400.x300

--
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: Looping over field containing checkboxes

2000-08-15 Thread Deanna L. Schneider

Try something like this. You're passing a comma-delimited list when you pass
checkboxes with the same name.

-d


CFLOOP list="#form.fieldnames#" index="thisone"
CFOUTPUT
  input type="Hidden" name="#thisone#"
value="#evaluate(listgetat(form.fieldname, thisone))#"
/cfoutput
/cfloop





Deanna Schneider
Interactive Media Developer
UWEX Cooperative Extension Electronic Publishing Group
103 Extension Bldg
432 N. Lake Street
Madison, WI 53706
(608) 265-7923



--
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: Javascript variables and Cold Fusion

2000-08-15 Thread Dave Watts

 Sorry for being redundant... I know there has been plenty of
 discussion on this topic lately and I didn't read any of them :-(

 How do I read a Javascript variable from Cold Fusion?
 Specifically, I need to know the browser's language setting.
 Here is what I would like to do:

 SCRIPT LANGUAGE="JavaScript1.2"
 if (navigator.appName == 'Netscape')
 var language = navigator.language;
 else
 var language = navigator.browserLanguage;

 CFSET Session.language = (javascript) language

 Obviously I can't do that because CF is executed on the
 server before the page is ever sent, and Javascript is run by
 the browser on the client side.

CF can only read variables that are sent back via an HTTP request. So, to
pass a variable from JavaScript to CF, you'll have to write JavaScript code
to request a cfm file. Here's an example, using the ternary conditional
operator, which is similar to CF's IIF function, instead of an if statement:

script language="JavaScript"
var mylanguage = (navigator.appName == 'Netscape' ? navigator.language :
navigator.browserLanguage);
parent.otherframe.location.href = 'somefile.cfm?mylanguage=' + mylanguage;
/script

Then, of course, you'd have to do something with URL.mylanguage in
somefile.cfm. In addition to appending variables as URL parameters, you can
also use JavaScript to programmatically submit forms.

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

--
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: Javascript variables and Cold Fusion

2000-08-15 Thread Pete Freitag

ColdFusion is run on the server side, and JavaScript is run on the client
side.  The serverside gets run first, so you can use ColdFusion to set
JavaScript variables, but you can't use JavaScript to access coldfusion
variables. But I do see a way around your particular problem, the code
follows:


cfif NOT IsDefined("url.navLanguage")
SCRIPT LANGUAGE="JavaScript1.2"
if (navigator.appName == 'Netscape')
var language = navigator.language;
else
var language = navigator.browserLanguage;
cfoutput
document.location = 
"#cgi.script_name#?#cgi.query_string#navLanguage=" +
language;
/cfoutput
/SCRIPT
/cfif

That should work as long as your not passing form variables into the page.
You need to throw that function into the body's onload attribute.

_
Pete Freitag ([EMAIL PROTECTED])
CFDEV.COM / NETDesign Inc.
http://www.cfdev.com/

-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 1:07 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Javascript variables and Cold Fusion


Sorry for being redundant... I know there has been plenty of discussion on
this topic lately and I didn't read any of them :-(

How do I read a Javascript variable from Cold Fusion?
Specifically, I need to know the browser's language setting.
Here is what I would like to do:

SCRIPT LANGUAGE="JavaScript1.2"
if (navigator.appName == 'Netscape')
var language = navigator.language;
else
var language = navigator.browserLanguage;

CFSET Session.language = (javascript) language

Obviously I can't do that because CF is executed on the server before the
page is ever sent, and Javascript is run by the browser on the client side.


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032


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



Nested Loops / Page Break Help

2000-08-15 Thread Olson, Kelly


I have a page the is displaying certificate and then a multi page
description afterwards.

If a single certificate is printed everything is gread .

CERTIFICATE, page break, DESCRIPTION, page break

Now I add CFLOOP to go through multiple Certificates and I get

CERTIFICATE, page break, DESCRIPTION, page break,CERTIFICATE,
DESCRIPTION, CERTIFICATE, DESCRIPTION

Basically the first time through the loop seems to work fine, any cycles
of the loop results in no page break running. I am using the BR
style="page-break-before: always".


Any help would be great.


--
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: admin question: Linux CF Services

2000-08-15 Thread Jeremy Allen

Yes.. this is nromal. Take a look at..

Limit simultaneous requests to [x]

Under CF Administrator, that is where it gets set at.

Each process will handle one request. Even if that
is not true it should not matter except in
some extreme cases where the machine has to many
processes for a particular kernel version.

Configuring the number of simultaneous requests
tells ColdFusion when to start queueing requests.

So if you set it to five simultaneous requests
if it gets a 6th request while processing five
others it queue's it.

Hope that helps..


Jeremy Allen
[EMAIL PROTECTED]
[Insert cool title here]


-Original Message-
From: !jeff! [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 1:34 PM
To: [EMAIL PROTECTED]
Subject: admin question: Linux CF Services


dear all,

Is it normal for a Linux installation of CF 4.5.1 to start about 5 copies
of cfserver, cfexec, and cfrdsservice?  Is this the equivalent to apache's
child servers?

Where is this configurable?

!j!

The mark of mediocrity is searching for the precedent.

!jeff! sherwood Director of BIGWORDS.com Web Site Design / JEDI
   BIGWORDS.com worker#2
[EMAIL PROTECTED]   [EMAIL PROTECTED]
.r.e.c.o.v.e.r.e.d.n.e.t.s.c.a.p.e.u.s.e.r. . . . 415.543.1400.x300


--
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: OT eWebeditPro CFML

2000-08-15 Thread Dan O'Keefe

Let me know if you want a concise example and I can put one together for
you.

Dan

--
Dan O'Keefe
TriPoint Technologies
[EMAIL PROTECTED]
954.501.3113

|-Original Message-
|From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
|Sent: Thursday, August 10, 2000 11:47 PM
|To: [EMAIL PROTECTED]
|Subject: RE: OT eWebeditPro  CFML
|
|
| Duane,
|
| Here is the best way that I can find to accomplish this.
|
| Create the eWebEditPro variable in the editor, and in places
| where the CFML
| was going to go, insert a place marker, such as
| %location1%, %location2%, etc Then when it comes time for CF
| to display
| the output after it is retrieved from the database, perform the required
| replace functions on the place markers as in
| cfset output = replace(output,"%location1%","#phonenum#"). After all of
| the replace functions have been performed on all of the place markers,
| simply display the value of the variable, and your dynamic data
| is enclosed
| within.
|
| There might be a better way, but no that I can think of at the
| moment. This
| way allows all of your formatting to stay in place and the place
| markers are
| already there for the data to go into.
|
| Let me know what you think.
|
|Great idea! I'll have tech support post it as a solution to this.
|
|Thanks Dan,
|Duane
|
|---
|---
|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.



IIS/CF unable to download .exe files?

2000-08-15 Thread PC

I have collocated server that I cannot seem to get to allow a download of an
.exe file.

I know the path is correct and I am trying to use the following link on a CF
page ..

a href=://mypath/myapplicationname.exe"Get Application/a

When the link is click -- the browser just waits indefinitely and times
out-- other type of files (suffixes) all seem to come through just fine. Is
there some sort of permissions setting for types of files/suffixes ... on
the server side I should know about -- what am I not doing that I should be?

THX

--
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: IIS/CF unable to download .exe files?

2000-08-15 Thread Howie Hamlin

You can only download executables from an IIS folder that does not have
execution rights otherwise the server will attempt to execute the .exe
locally.

Regards,

Howie Hamlin

- Original Message -
From: "PC" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 1:54 PM
Subject: IIS/CF unable to download .exe files?


 I have collocated server that I cannot seem to get to allow a download of
an
 .exe file.

 I know the path is correct and I am trying to use the following link on a
CF
 page ..

 a href=://mypath/myapplicationname.exe"Get Application/a

 When the link is click -- the browser just waits indefinitely and times
 out-- other type of files (suffixes) all seem to come through just fine.
Is
 there some sort of permissions setting for types of files/suffixes ... on
 the server side I should know about -- what am I not doing that I should
be?

 THX

 --

 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: OT Flow chart program

2000-08-15 Thread Don Cuniff

I really like Inspiration for its flexibility -- not designed specifically
for web but it relatively inexpensive and is easy to use and annotate!

don

-Original Message-
From: Chad [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 10:11 AM
To: [EMAIL PROTECTED]
Subject: OT Flow chart program


Anyone have a link to a good flow chart program for planning a web site?

Thanks
Chad

--
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: Looping over field containing checkboxes

2000-08-15 Thread Philip Arnold - ASP

 I have a loop over all formfields. One formfield, pos, which contains
 checkboxes, ends up being looped over *per checkbox*.  In other words, if
 pos contains 34,36,42 and I loop over it, I get pos three times,
 each time
 containing 34,36,42.  Is something wrong with my code?  Is there
 a another
 way to loop and get distinct name/value pairings?

 CFLOOP list="#form.fieldnames#" index="thisone"
 CFOUTPUT
   input type="Hidden" name="#thisone#" value="#Evaluate(thisone)#"
 /cfoutput
 /cfloop

Checkboxes have to be named the same thing to make them loopable (if that
makes any sense), but only if it's POSTed - if you don't specify
METHOD="POST" on your form, then there will be multiple fields

HTH

Philip Arnold
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.
**


--
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: search engine and cfm files

2000-08-15 Thread Andrew

Yeah, but how do you know what the ID is?  I don't it qualifies as a URL
variable, in fact I'm pretty sure it doesn't.  How will you access it then?

Andrew

- Original Message -
From: "Matthew Walker" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 8:00 AM
Subject: RE: search engine and cfm files


  "page.cfm/X/".  The code for page.cfm would use a listGetAt function
with
  the list being cgi.path_info and the delimiter being "/" to get the ID

 Sure, but you don't actually need to. It works automatically.
 --

 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: Backing Up SQL

2000-08-15 Thread Dan O'Keefe

Hi Bud,

I know programs like Backup Exec used to have a separate SQL module that
allowed the db to be backed up while it was open. MSDE is the same engine,
so that may still apply. What program are you using?

Dan

--
Dan O'Keefe
TriPoint Technologies
[EMAIL PROTECTED]
954.501.3113

|-Original Message-
|From: Bud [mailto:[EMAIL PROTECTED]]
|Sent: Monday, August 14, 2000 11:51 AM
|To: [EMAIL PROTECTED]
|Subject: Backing Up SQL
|
|
|Hi all. I'm running MSDE (for now) and when I do my tape backups I'm
|getting a sharing violation on the SQL databases.
|
|I set these databases up as Access Projects and am able to go in and
|manually back them up, creating .dat files. Anyone have a solution
|that I can use to back these things up with some sort of SQL Query or
|other method?
|
|Thanks,
|--
|
|Bud Schneehagen - Tropical Web Creations
|
|_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
|ColdFusion Solutions / eCommerce Development
|[EMAIL PROTECTED]
|http://www.twcreations.com/
|954.721.3452
|---
|---
|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: OT eWebeditPro CFML

2000-08-15 Thread Duane Boudreau

 
 Let me know if you want a concise example and I can put one together for
 you.
 
 Dan

Sure that would be fantastic!

Duane Boudreau,
eMPower Project Manager
Director, Web Technologies
Ektron, Inc.
http://www.ektron.com
5 Northern Blvd, Suite 6
Amherst, NH 03031
Tel: 603-594-0249 x114
Fax: 603-594-0258


--
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: VERY SAD (was CFGRID onvalidate=???)

2000-08-15 Thread Duane Boudreau


 Duane,

 What is iframe?

This is a cut and paste from Studio Help:

The Internet Explorer (version 3 and above) has introduced the concept of
floating frames. These are much like standard frames, except they can be
anywhere within a standard HTML document. A floating frame must be enclosed
within IFRAME ... /IFRAME elements. Any HTML between the start and end
elements will be displayed by browsers that do not support floating frames,
while the frame specified in the IFRAME elements will be displayed by
those browsers that do.

For example :

IFRAME NAME="content_frame" width="488" height="244" SRC="welcome.htm"This
site uses floating frames/IFRAME

or

IFRAME NAME="content_frame" width="488" height="244"This is a floating
frame/IFRAME


HTH,

Duane Boudreau,
eMPower Project Manager
Director, Web Technologies
Ektron, Inc.
http://www.ektron.com
5 Northern Blvd, Suite 6
Amherst, NH 03031
Tel: 603-594-0249 x114
Fax: 603-594-0258


 -Original Message-
 From: Dan O'Keefe [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 15, 2000 11:51 AM
 To: [EMAIL PROTECTED]
 Subject: RE: VERY SAD (was CFGRID onvalidate="???")



 --
 Dan O'Keefe
 TriPoint Technologies
 [EMAIL PROTECTED]
 954.501.3113

 - The key there is controlled environments. If I have conrtol over the
 - environment, the user has to be using IE 4+ and then I,
 - personally, prefer
 - to use IFRAME's. More flexibility and control over the data
 - presentation
 - and input. Using style sheets and IFRAME you can put
 together a pretty
 - nice display.
 -
 - Duane Boudreau,

 --
 
 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: Advanced error handling

2000-08-15 Thread Andrew

Milks:
If you really want to do it as you said and JavaScript is not an option
you can do this.
1. Place your form in a template that is cfincluded into the original
template.
2. CFParam all the form variables like so
cfparam name="form.Firstname" default=""
and in all your form elements in the value field set the
value="#form.FirstName#"
For select boxes, radio buttons and such you'll have to do a bit more
conditional logic but essentially the same concept.
3.  When the form is posted on the template it is posted to do your
validation and if you find invalid input somewhere just display the error
message and then cfinclude the template with the form in it again.  Because
all your form elements have value="#form.whatever#" in them already they'll
be populated with the data that was just entered.

Hope that helps.


Andrew Hewitt
Web Application Developer
webworld studios inc.


- Original Message -
From: "Milks, Jim" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 9:25 AM
Subject: Advanced error handling


 I usually use JavaScript that is triggered by the submit button. This way
it
 is validated on the client side, and doesn't waste a trip to the server.
You
 could also use CFFORM elements, which generates the JS for you, but I find
 them clunky, and prefer to write my own.

 If however you wish to highlight the text that is missing or something
like
 that, you need to check for it in the called page, then return the user to
 the calling page with a custom error message, and with conditional logic,
 change the font colours and so on. If you choose this option, you should
 also catch all of the form values in session variables and repopulate the
 original form with the values they entered so they don't have to re-enter
 everything, which really turns users off.

 Good luck.

 JM

 --

 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: Trouble with CFLocation or something

2000-08-15 Thread Andrew

 
  Thanks for the confirmation and suggestions. Although I'm not familiar
  enough with javascirpt. How do you do a redirect with javascript.
 

 SCRIPT language="JavaScript"
 top.location='yourwebpage.cfm'
 /script


You may also want to look into the setTimeOut JavaScript function that can
be used to delay your jump to the new template.


Andrew Hewitt
Web Application Developer
webworld studios inc.


--
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: Javascript variables and Cold Fusion

2000-08-15 Thread Perez, Bismark

Here is another way you can go... (from another related post)

Bismarck

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 I am developing an application that will be 
 accessable in multiple languages.  I would 
 like the application to be able to identify the 
 location of the client and present them with 
 the page in the proper language.  
*snip*
 Does anyone know of a DB or published 
 addressing schem that woul help identify the 
 location of the user?

I think I can do you one better...

Most browsers will send you a list of languages they accept in the
#cgi.Accept_Language# variable.  If you examine that, you should see
ISO Language codes (like 'en-us').  I would *think* that most non-US
browsers would send a list of languages they'd like, and you should
be able to act accordingly.  

The format of the string should be something like:
en-us,fr-ca;q=0.8,as;q=0.5,ar-jo;q=0.3 

There you have a comma separated list of all the codes the browser
can accept, followed optionally by a semi-colon and q=float.  Float
should between 1.0 and 0.0  represents the order of preference for
the preceding language code.  In the string above, the user would
prefer en-us, but he'll settle for fr-ca, as, or ar-jo in that order.

If you look in Internet Explorer, go to Tools-Internet Options 
Click on the Languages... button on the General tab, then click the
Add... button.  You should get a fairly exhaustive list of language
codes to choose from.

Odds are that will be more useful than the geographic location of the
browser.  In theory, if I speak French, but I live in the US, I could
add 'fr' to my browser with a higher priority than English  get my
native language even tho I'm technically located in the US.  (Mais
mon francais est tres mauvais, alors je ne suis pas susceptible de
faire cela.)

Check out RFC 2616 (the HTTP/1.1 spec) for complete details on the
Accept-Language header.

FYI:  I get this header w/ IE5.01  IIS 4.0.  YMMV for other servers
 browsers.

Best regards,
Zac Bedell


Zachary S. Bedell,
Chief Technology Officer,
Adirondack Technologies, Inc.

Please include original message in any replies -- I get a 
lot of email every day, and I have a REALLY bad memory... 
So I don't always remember everything that was said.  
Thanks!

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.2 for non-commercial use http://www.pgp.com
Comment: Please use PGP!!!

iQA/AwUBOV0KcgraVoMWBwRBEQLaTQCgizRA4kMpb1wqhtNj7mGpF4y+wb4AoPjr
8idxSTc6EQC5d9k9lqqAhhbD
=iRWv
-END PGP SIGNATURE-

--
Archives: http://www.eGroups.com/list/cf-talk
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: 4.5.1 memory leak? is this really a leak we are talking about ?

2000-08-15 Thread Andrew

It's not just on his particular Win 98.  I've heard quite a few complaints
about it, in fact I had the same thing myself and it was immensely annoying.
I upgraded to Win 2k and the problem completely dissappeared.


Andrew Hewitt
Web Application Developer
webworld studios, inc.

- Original Message -
From: "Helge Hetland" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 15, 2000 11:11 AM
Subject: RE: 4.5.1 memory leak? is this really a leak we are talking about ?


 I'm sure that you'd be better off saying that CF Studio is crashing on
your
 particular Win98 machine after a few minutes.

 You cannot make me believe that this is CF Studio's "default behaviour" on
 Win98

 Sorry.

  -Original Message-
  From: Peter Theobald [mailto:[EMAIL PROTECTED]]
  Sent: 15. august 2000 17:01
  To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Subject: Re: 4.5.1 memory leak? is this really a leak we are talking
  about ?
 
 
  Actually, I was speaking of Cold Fusion Studio's memory
  leaks. It will crash Windows-98 in minutes. It's completely
  unusable. Windows-NT/2000 has better memory protection and
  will fare better.
 
 --

 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: Re-visiting Print() function

2000-08-15 Thread James Taavon

Yes. This works, but the only problem is that the button also appears on
the printout. I did not want this, that is why I wanted to print via
confirm message. If this is the only way then so be it.


Frank Priest wrote:
 
 Here's a sample print button..
 
 SCRIPT LANGUAGE="JavaScript"
 !-- Begin
 if (window.print) {
 document.write('form'
 + 'input type=button name=print value="Click to Print This Page" '
 + 'onClick="javascript:window.print()"/form');
 }
 // End --
 /script
 
 At 10:09 AM 8/11/2000 -0400, you wrote:
 I have found that even with a simple script below causes the user to be
 prompted twice with "alert box" for printing with the first doing
 nothing. Is there anyway to avoid this problem and just have the user
 prompted the one time (granted they will still be prompted by the print
 function from the browser which is what I am not trying to avoid). Does
 that make sense?
 
 
 SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
 !--
  confirm("Print it?")
  window.print()
 //--
 /SCRIPT
 --
 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: Re-visiting Print() function

2000-08-15 Thread Duane Boudreau

Put a function in your onLoad event

body onload="PrintPage()"


script language="JavaScript"
function PrintPage() {
if (confirm("Do you wish to print this page?")) {
window.print();
}
}
/script


 -Original Message-
 From: James Taavon [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 15, 2000 2:53 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Re-visiting Print() function


 Yes. This works, but the only problem is that the button also appears on
 the printout. I did not want this, that is why I wanted to print via
 confirm message. If this is the only way then so be it.


 Frank Priest wrote:
 
  Here's a sample print button..
 
  SCRIPT LANGUAGE="JavaScript"
  !-- Begin
  if (window.print) {
  document.write('form'
  + 'input type=button name=print value="Click to Print This Page" '
  + 'onClick="javascript:window.print()"/form');
  }
  // End --
  /script
 
  At 10:09 AM 8/11/2000 -0400, you wrote:
  I have found that even with a simple script below causes the user to be
  prompted twice with "alert box" for printing with the first doing
  nothing. Is there anyway to avoid this problem and just have the user
  prompted the one time (granted they will still be prompted by the print
  function from the browser which is what I am not trying to avoid). Does
  that make sense?
  
  
  SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
  !--
   confirm("Print it?")
   window.print()
  //--
  /SCRIPT
 
 -
 -
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  To Unsubscribe visit
 
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/c
f_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: UPS Electronic Manifesting

2000-08-15 Thread Conrad, Christopher

I'm building one now - it's not ready for prime time. What time frame are
you looking for ?

Chris

Christopher Conrad
Victoria's Secret Catalogue
Limited Technology Services - New Media
Senior.Programmer.Analyst
http://www.VictoriasSecret.com
614.337.5653
[EMAIL PROTECTED]


-Original Message-
From: Sean Renet [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 2:08 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: UPS Electronic Manifesting 


Anyone have a tag for the Electronic Manifesting upload to ups?


--
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: 4.5.1 memory leak?

2000-08-15 Thread Peter Theobald

html
font size=3Well, I am not alone. I've seen over 60 other people post
the exact same problem in the Allaire Forums.br
Please share with me your configuration that keeps you safe from Cold
Fusion Studio crashes.br
br
I am running Win98-SE, with 128MB RAM, all the latest software upgrades,
and IE 5.5.br
br
br
At 10:57 AM 8/15/00 -0500, Kuehn, Matthew wrote:br
blockquote type=cite citeThis message is in MIME format. Since your
mail reader does not understandbr
this format, some or all of this message may not be legible.br
br
--_=_NextPart_001_01C006D1.86B12824br
Content-Type: text/plain;br
x-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabcharset=quot;iso-8859-1quot;br
br
I agree with Helge. I've never had CF Studio crash my Win98 box in any
waybr
that it hasn't crashed other boxes I've worked on. I still get the
samebr
types of errors (in the infrequent event that one occurs) that I've seen
inbr
every other CF development machine I've worked with. And considering
thatbr
the above box is also running ColdFusion Server, PWS and Access97 on
abr
Celeron 533, I'd have to say that Peter has some serious
configurationbr
issues that need to be resolved. The above set-up has worked for me, the
waybr
it is supposed to, from day one.br
br
(And yes, the above configuration is a bit slow, but it sure works good
asbr
the quot;poor man'squot; web dev box! :-)br
br
I've heard that CFStudio on Win98 is leaky, but if so, on my machine, it
isbr
so minimal that it doesn't affect me while I'm working. If there *is*
abr
documented problem, I'd want to fix it, of course.br
br
Matthewbr
br
-Original Message-br
From: Helge Hetland
[a href="mailto:[EMAIL PROTECTED]" 
eudora="autourl"mailto:[EMAIL PROTECTED]/a]br
br
I'm sure that you'd be better off saying that CF Studio is crashing on
yourbr
particular Win98 machine after a few minutes.br
br
You cannot make me believe that this is CF Studio's quot;default
behaviourquot; onbr
Win98br
br
gt; -Original Message-br
gt; From: Peter Theobald
[a href="mailto:[EMAIL PROTECTED]" 
eudora="autourl"mailto:[EMAIL PROTECTED]/a]br
gt; br
gt; Actually, I was speaking of Cold Fusion Studio's memory br
gt; leaks. It will crash Windows-98 in minutes. It's completely br
gt; unusable.br
br
--_=_NextPart_001_01C006D1.86B12824br
Content-Type: text/html;br
x-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabcharset=quot;iso-8859-1quot;br
Content-Transfer-Encoding: quoted-printablebr
br
lt;!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 3.2//ENquot;gt;br
RE: 4.5.1 memory leak? br
br
I agree with Helge. I've never had CF Studio crash my = Win98 box in any
way that it hasn't crashed other boxes I've worked on. = I still get the
same types of errors (in the infrequent event that one = occurs) that
I've seen in every other CF development machine I've = worked with. And
considering that the above box is also running = ColdFusion Server, PWS
and Access97 on a Celeron 533, I'd have to say = that Peter has some
serious configuration issues that need to be = resolved. The above set-up
has worked for me, the way it is supposed = to, from day one.br
br
(And yes, the above configuration is a bit slow, but = it sure works good
as the quot;poor man'squot; web dev box! = :-) br
br
I've heard that CFStudio on Win98 is leaky, but if = so, on my machine,
it is so minimal that it doesn't affect me while I'm = working. If there
*is* a documented problem, I'd want to fix it, of = course.br
br
Matthew br
br
-Original Message- br
From: Helge Hetland [a href="3d.htm"mailto:[EMAIL PROTECTED]/a]=
br
br
I'm sure that you'd be better off saying that CF = Studio is crashing on
your br
particular Win98 machine after a few minutes. br
br
You cannot make me believe that this is CF Studio's = quot;default
behaviourquot; on br
Win98 br
br
gt; -Original Message- br
gt; From: Peter Theobald
[a href="3d.htm"mailto:[EMAIL PROTECTED]= om/a] br
gt; br
gt; Actually, I was speaking of Cold Fusion = Studio's memory br
gt; leaks. It will crash Windows-98 in minutes. = It's completely br
gt; unusable. br
--_=_NextPart_001_01C006D1.86B12824--br
--br
Archives:
a href="http://www.mail-archive.com/cf-talk@houseoffusion.com/" 
eudora="autourl"http://www.mail-archive.com/cf-talk@houseoffusion.com//abr
To Unsubscribe visit
a href="http://www.houseoffusion.com/index.cfm?sidebar=listsamp;body=lists/cf_talk" 
eudora="autourl"http://www.houseoffusion.com/index.cfm?sidebar=listsamp;body=lists/cf_talk/a
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. 
/font/blockquotebr

br
-font 
size=3--br
Peter Theobald, Chief Technology Officerbr
LiquidStreaming a href="http://www.liquidstreaming.com/" 
eudora="autourl"http://www.liquidstreaming.com/abr
[EMAIL PROTECTED]br
Phone 1.212.545.1232 Fax 1.212.679.8032br
/font/html


RE: Javascript variables and Cold Fusion

2000-08-15 Thread Peter Theobald

html
font size=31) I can't put variables in the URL and use FORM variables
at the same time?br
2) Why do I need to put it on the body's onload attribute? It seems to
work fine just putting it inline in the lt;headgt; of the
document.br
br
At 01:34 PM 8/15/00 -0400, Pete Freitag wrote:br
blockquote type=cite citeColdFusion is run on the server side, and
JavaScript is run on the clientbr
side.nbsp; The serverside gets run first, so you can use ColdFusion to
setbr
JavaScript variables, but you can't use JavaScript to access
coldfusionbr
variables. But I do see a way around your particular problem, the
codebr
follows:br
br
br
lt;cfif NOT IsDefined(quot;url.navLanguagequot;)gt;br
x-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tablt;SCRIPT
LANGUAGE=quot;JavaScript1.2quot;gt;br
x-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabx-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabif
(navigator.appName == 'Netscape')br
x-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabx-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabx-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabvar
language = navigator.language;br
x-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabx-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabelsebr
x-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabx-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabx-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabvar
language = navigator.browserLanguage;br
lt;cfoutputgt;br
x-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabx-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tabdocument.location
= quot;#cgi.script_name#?#cgi.query_string#amp;navLanguage=quot;
+br
language;br
lt;/cfoutputgt;br
x-tabnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;/x-tablt;/SCRIPTgt;br
lt;/cfifgt;br
br
That should work as long as your not passing form variables into the
page.br
You need to throw that function into the body's onload attribute.br
br
_br
Pete Freitag ([EMAIL PROTECTED])br
CFDEV.COM / NETDesign Inc.br
a href="http://www.cfdev.com/" eudora="autourl"http://www.cfdev.com//abr
br
-Original Message-br
From: Peter Theobald
[a href="mailto:[EMAIL PROTECTED]" 
eudora="autourl"mailto:[EMAIL PROTECTED]/a]br
Sent: Tuesday, August 15, 2000 1:07 PMbr
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]br
Subject: Javascript variables and Cold Fusionbr
br
br
Sorry for being redundant... I know there has been plenty of discussion
onbr
this topic lately and I didn't read any of them :-(br
br
How do I read a Javascript variable from Cold Fusion?br
Specifically, I need to know the browser's language setting.br
Here is what I would like to do:br
br
lt;SCRIPT LANGUAGE=quot;JavaScript1.2quot;gt;br
if (navigator.appName == 'Netscape')br
var language = navigator.language;br
elsebr
var language = navigator.browserLanguage;br
br
lt;CFSET Session.language = (javascript) languagegt;br
br
Obviously I can't do that because CF is executed on the server before
thebr
page is ever sent, and Javascript is run by the browser on the client
side.br
br
br
---br
Peter Theobald, Chief Technology Officerbr
LiquidStreaming
a href="http://www.liquidstreaming.com/" 
eudora="autourl"http://www.liquidstreaming.com/abr
[EMAIL PROTECTED]br
Phone 1.212.545.1232 Fax 1.212.679.8032br
br
br
--br
Archives:
a href="http://www.mail-archive.com/cf-talk@houseoffusion.com/" 
eudora="autourl"http://www.mail-archive.com/cf-talk@houseoffusion.com//abr
To Unsubscribe visitbr
a href="http://www.houseoffusion.com/index.cfm?sidebar=listsamp;body=lists/cf_talk" 
eudora="autourl"http://www.houseoffusion.com/index.cfm?sidebar=listsamp;body=lists/cf_talk/a
orbr
send a message to [EMAIL PROTECTED] with 'unsubscribe' inbr
the body.br
br
--br
Archives: a href="http://www.mail-archive.com/cf-talk@houseoffusion.com/" 
eudora="autourl"http://www.mail-archive.com/cf-talk@houseoffusion.com//abr
To Unsubscribe visit a 
href="http://www.houseoffusion.com/index.cfm?sidebar=listsamp;body=lists/cf_talk" 
eudora="autourl"http://www.houseoffusion.com/index.cfm?sidebar=listsamp;body=lists/cf_talk/a
 or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body. /font/blockquotebr

br
-font 
size=3--br
Peter Theobald, Chief Technology Officerbr
LiquidStreaming a href="http://www.liquidstreaming.com/" 
eudora="autourl"http://www.liquidstreaming.com/abr
[EMAIL PROTECTED]br
Phone 1.212.545.1232 Fax 1.212.679.8032br
/font/html

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



CF configuration quesiton

2000-08-15 Thread Cfmarksport

I want to use view my databases through CF.  But when I go to the database 
tab it is empty and when I try to select MarksportRDS or add a new RDS I get 
an error that says, "Error loading type library/DLL."  I did install the 
cfrdsservice patch.  Any clues what to try next so I can use my databases?

Thanks!
:-)
Oriole Saah
MarkSport.com
--
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: Javascript variables and Cold Fusion

2000-08-15 Thread Peter Theobald

1) I can't put variables in the URL and use FORM variables at the same time?
2) Why do I need to put it on the body's onload attribute? It seems to work fine just 
putting it inline in the head of the document.

At 01:34 PM 8/15/00 -0400, Pete Freitag wrote:
ColdFusion is run on the server side, and JavaScript is run on the client
side.  The serverside gets run first, so you can use ColdFusion to set
JavaScript variables, but you can't use JavaScript to access coldfusion
variables. But I do see a way around your particular problem, the code
follows:


cfif NOT IsDefined("url.navLanguage")
SCRIPT LANGUAGE="JavaScript1.2"
if (navigator.appName == 'Netscape')
var language = navigator.language;
else
var language = navigator.browserLanguage;
cfoutput
document.location = 
"#cgi.script_name#?#cgi.query_string#navLanguage=" +
language;
/cfoutput
/SCRIPT
/cfif

That should work as long as your not passing form variables into the page.
You need to throw that function into the body's onload attribute.

_
Pete Freitag ([EMAIL PROTECTED])
CFDEV.COM / NETDesign Inc.
http://www.cfdev.com/

-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 1:07 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Javascript variables and Cold Fusion


Sorry for being redundant... I know there has been plenty of discussion on
this topic lately and I didn't read any of them :-(

How do I read a Javascript variable from Cold Fusion?
Specifically, I need to know the browser's language setting.
Here is what I would like to do:

SCRIPT LANGUAGE="JavaScript1.2"
if (navigator.appName == 'Netscape')
var language = navigator.language;
else
var language = navigator.browserLanguage;

CFSET Session.language = (javascript) language

Obviously I can't do that because CF is executed on the server before the
page is ever sent, and Javascript is run by the browser on the client side.


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032


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


---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032

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



  1   2   >