- Original Message -
From: Michael Ross [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, November 13, 2002 10:52 AM
Subject: IIS Administration
I need some help. Our end goal is to have users that are able to access
IIS and create sites, edit sites all that fun stuff
cflock scope=application type=READONLY timeout=10
cfwddx action=CFML2WDDX input=#application#
output=temp
cfwddx action=WDDX2CFML input=#temp#
output=request.application
!--- You can replace the above two lines with the faster
cfset request.application = Duplicate(application)
if the
- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, November 11, 2002 10:31 AM
Subject: Browser Printing Question
When printing from a browser is there anyway to disable the printer to not
print the url and path at the bottom of the page?
You
Brook,
I just ran into this last night. I was trying to serialize the Form
structure into a wddx packet and saving that, but it would only save 10
fields maximum.
To get around it -- I copied the from structure to a tmp variable and then
serialized the tmp var instead of form and that seemed
Correct me if I am wrong, but I thought it was possible to hijack a
session if a user knew another users cfid and cftoken variables. I have
seen users pages get switched if a user emails another user a url to a
page with the cfid and cftoken in the url line (e.g
I like http://www.blooberry.com -- it has a very nice css reference.
Tim P.
- Original Message -
From: Robert Polickoski [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002 1:48 PM
Subject: OT: CSS2 and NetScape
All,
I apologize for t he off-topic post
I believe qoq has a very limited set of functions available. To get around
that, I set the original query to also retrieve the name in lower case and
in my qoq, search on the lower case set field.
e.g
cfquery name=qry1 datasource=bar
Select firstname, lower(firstname) as lower_first from
I've created the query as a variable and use the variable inside the
cfquery:
cfset sql = Select * from sometable where foo = '#form.bar#'
Generated sql: #sql#
cfquery name=foo datasource=bar
#PreserveSingleQuotes(sql)#
/cfquery
HTH,
Tim P.
- Original Message -
From: bajaria aslam
Anybody can get cert from any CA -- all you have to do is prove to them the
business exists. It doesn't check to see if the business itself is
trustworthy. I wouldn't hinge all my trust in a company based on where the
cert came from. When I consider purchasing from an online vendor, I
Use ValueList()
e.g
cfset myList = ValueList(GetEnv.strVar)
- Original Message -
From: FlashGuy [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, October 22, 2002 12:33 PM
Subject: Read from database and insert into string
Hi,
I need to read from my database the field
This would be fairly easy to do -- create a hidden frame and set an onBlur
or onChange event to change the location of the hidden frame to a .cfm page
that processes the request.
e.g
input type=text name=sumpin
onChange=document.hiddenFrame.location='processpage.cfm?action=savesomethin
Will,
Worked fine for me -- you said you hit Submit Query but the value of
the submit button should say Attach -- you sure you are browsing the right
file or need to hit refresh or something?
HTH,
Tim P.
-Original Message-
From: W Luke [mailto:[EMAIL PROTECTED]]
Sent: Saturday,
To check the selected value of a select, use
if (document.form.dlos[document.form.dlos.selectedIndex].value == '') etc.
also, your file description select doesn't have a name.
HTH,
Tim P.
- Original Message -
From: Ian Vaughan [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent:
--
- Original Message -
From: Tim Painter [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 11:53 AM
Subject: Re: Javascript Validation for Form Selects in CF ?
To check the selected value of a select, use
if (document.form.dlos
Also NAME is a reserved word in access -- you may need to rename that field to
giglistname or when you do a select on it wrap it in [ ]
Tim P.
- Original Message -
From: Michael Pool [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, September 12, 2002 4:20 PM
Subject:
Try scoping the variable in your cfparam:
CFPARAM NAME = form.displayA DEFAULT = No
tim P.
-Original Message-
From: Gilbert Midonnet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 6:15 PM
To: CF-Talk
Subject: checkbox -- insert to database problem
I'm having problems
You can use decode for that:
Select
count(decode(myfield,'Running',1,null)) as cnt_Running,
count(decode(myfield,'Offline',1,null)) as cnt_Offline,
count(decode(myfield,'Unknown',1,null)) as cnt_Unknown
count(myfield) as total_Count
(where myfield is the field that returns the Running, Offline
Ian,
This cold be the z-order of the iframe, but some form elements (such as select)
will always appear above the div, and the only workaround I found was to hide the form
in its own div, like you discovered.
This link may help:
http://www.webreference.com/dhtml/diner/seethru/
-
Jim,
If you do not specify the scope of the variable, according to the docs, CF will
search for it in this order:
1.. Local variables created using cfset and cfquery
2.. CGI
3.. File
4.. URL
5.. Form
6.. Cookie
7.. Client
Supposedly, scoping your variables will improve
FileExists():
cfif FileExists(images/#sku#.gif)
img src=images/#sku#.gif
cfelseif FileExists(images/#sku#.jpg)
img src=images/#sku#.gif
/cfif
Though I'd prefer Tonys method, so you don't have to do a lot of file checking. We
use it a lot on a app here and haven't run into any
, and read the readme.txt, it states
that upon extraction of the zip file there will be an executable, which
did not happen..
This is driver vs. 8.1.7.7
~~
Stephenie
|-Original Message-
|From: Tim Painter [mailto:[EMAIL PROTECTED]]
|Sent: Wednesday, September 04, 2002 5
Honestly, I don't see much of a difference between using odbc and native , but the
apps I am using with it have pretty small usage. If that is the only consideration
for spending the extra money on enterprise, I'd probably stick with Pro. Others here
may have some more real world experience
- Original Message -
From: Web Master [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, September 03, 2002 9:17 PM
Subject: Re: cfexecute problem
I tried specifying the full path everywhere and I tried the cmd.exe
option, still nothing.
It may be a permissions issue.
I'd use the cgi.script_name variable and test for that to suppress it:
e.g
cfif cgi.script_name neq iframe_template.cfm
Show output
/cfif
HTH,
Tim P.
p.s -- tell my father-in-law (Ron B) I said hello :)
- Original Message -
From: Yexley Robert D Contr Det 1 AFRL/WSI [EMAIL
I've had a lot better luck using the Oracle ODBC driver instead of the ms driver --
you'd have to download that from oracle
Tim P.
- Original Message -
From: Stephenie Hamilton [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, September 04, 2002 5:03 PM
Subject:
Sounds like exactly the same thing that happened to me a few weeks ago.
The problem was in IIS, the application protection settings in the
properties for the directory was set to Medium -- we switched that to Low
(IIS Process) and it worked fine after that.
HTH,
Tim P.
-Original
This is how Java handles it, so personally, I think it is neither a bug nor
a feature, just we have to work with the way it is handled on the new
platform. However, ISTR that Macr is going to address this in the next
release.
In the previous conversation, it was recommened to use Compare() or
Javascript will see the \ as an escape sequence -- if you double up the \, then it
should retain it: A simple replace should do it:
cfset tmpFile = \\somemachine\somedir\some.exe
cfset tmpFile = Replace( tmpFile,\,\\,all)
- Original Message -
From: Edwards Robert (air0rae) [EMAIL
Thane,
I don't believe that you will be able to run the javascript from the test2.cfm,
probably a security issue. Also, you have your cfquery on the test2.cfm wrapped in a
comment, so it won't be run
- Original Message -
From: Thane Sherrington [EMAIL PROTECTED]
To: CF-Talk
You might be able to use GetProfileString for that:
cfset myvar = GetProfileString(c:\myinifile.ini,section,entry)
-Original Message-
From: Everett, Al [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 4:06 PM
To: CF-Talk
Subject: Reading a text file
Anybody have a snippet
Just a thought -- why bother with using javascript and and iframe? stick the call to
test.cfm in the application.cfm file and it should already be there.
I am not sure what browsers you are targeting, but you could have a problem with old
netscape browsers that don't support iframe.
Tim P.
That makes sense.
Instead of an iframe, could you use an img tag instead, so that you would be
compatible with other browsers, There is a great article here on using a gif as a
data pipe:
http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Essays/GIFAsPipe/
HTH,
Tim P.
-
I've been meaning to respond to the original post -- I had a similar problem on my XP
Box. I originally installed a beta version of CFMX on my machine and I had installed
it, but I neglected to delete the c:\Neo directory. Once I removed it and
reinstalled everything is working fine now.
If I may throw out another suggestion -- have your database do the work for
you, so you are returning less data to the server -- might make the query
run a little faster as well. Most db's have the same sort of Left()
function as well.
Select
HTH,
TimP
-Original Message-
From: Corey
I can't believe I forgot this -- AutoTrader.com (the company I work for!) is using it
internally and owns www.wwwheels.com which is using it for all the dealers there.
Tim P.
- Original Message -
From: Weaver, Anthony [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday,
Not really a Microsoft site, but www.win2000mag.com is
Tim P.
- Original Message -
From: Corrine Clark [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, August 15, 2002 2:34 PM
Subject: Microsoft Web Site Running Cold Fusion
I am looking for a major Microsoft site
Corrine,
Some time ago, bCentral.com was a cf site and was consumed by msft -- I
no longer see it on the site. Maybe that is what you were thinking of?
Tim P.
-Original Message-
From: Corrine Clark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 5:55 PM
To: CF-Talk
Folks,
I've been helping a client get a proper response back from a webservice written in
vb.net and because of the way the service was written, a particular method will not
work using cfinvoke. It is supposed to return an xml document, but for some reason
CFMX cannot handle it.
As a
-Original Message-
From: Tim Painter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 3:04 PM
To: CF-Talk
Subject: cfinvoke vs cfhttp
Folks,
I've been helping a client get a proper response back
from a webservice written in vb.net and because of the way
the service was written
.
===
Raymond Camden, ColdFusion Jedi Master for Hire
Email: [EMAIL PROTECTED]
Yahoo IM : cfjedimaster
My ally is the Force, and a powerful ally it is. - Yoda
-Original Message-
From: Tim Painter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002
You might try adding a ParseInt() function around the value as well:
e.g. ParseInt(document.newBillingInfo.SCEPbilledAmount.value) +
ParseInt(document.newBillingInfo.SCEPpenaltyAmount.value)
etc...
Tim P.
- Original Message -
From: Tim Do [EMAIL PROTECTED]
To: CF-Talk [EMAIL
When you make the odbc connection, are you using the microsoft or Oracle
driver? I'm using the Oracle driver here and have not had a problem with
it.
HTH,
Tim P.
-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 1:01 PM
To: CF-Talk
? I'm a complete Oracle newbie.
---
Matt Robertson[EMAIL PROTECTED]
MSB Designs, Inc., www.mysecretbase.com
---
-- Original Message --
from: Tim Painter [EMAIL PROTECTED]
Reply
Stephen,
I usually like to set things either true or false. (or 1 or 0). The true or
false is a little more visual, I think -- so to use your example, I would do it like:
cfif myQuery.RecordCount EQ 0
cfset QueryResults = false
cfelse
cfset QueryResults = true
/cfif
cfif
Stockholm OfficeMobile:+46 733 467111
WWW: http://www.grida.no
-
| -Original Message-
| From: Tim Painter [mailto:[EMAIL PROTECTED]]
| Sent: Tuesday, July 16
I just tested it on MX and it works the same.
Tim P.
- Original Message -
From: Stephen Moretti [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 16, 2002 7:05 AM
Subject: Re: Writing efficient CFIF statements
Looks cleaner, but isn't it slower?
Any
There is a freeware program called Irfanview that lets you save graphics as icon
files. I cant seem to get to the site (http://www.ifranview.com) right now but
Tucows has it.
HTH,
Tim P.
- Original Message -
From: Kodjo Ackah [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent:
I thought that putting a cflocation inside a cflock was a bad thing to do -- doesn't
it lock up the server or something?
In that case, I'd set a temp variable to the value of the session variable inside the
cflock and test that:
cflock type=readonly scope=session timeout=10
cfif not
Well, I used to run into an issue where if they were on a virtual host and did not
have a dedicated IP address, AOL users running old clients may not be able to see the
site. This was due to AOL not supporting HTTP 1.1 -- I haven't seen that in a while
though.
Tim P.
- Original
I'm building a csv file and the data has a leading 0 in front -- for example:
0123,0456,0789 etc...
When I bring it into excel, it shows as 123 , 456 , 789 etc.
Is there any way I can output the .csv so that it retains that leading 0 when I bring
it into excel? (My gut feeling is no, but I
That is what I thought too -- the .csv is fine, just excel.
We did try the apostrophe, but they don't like it when it shows up in the file.. What
we may do is replace the 0 with the letter O --
Thanks for the help!
Tim P.
- Original Message -
From: Philip Arnold - ASP [EMAIL
Don't know if this will work, but try http://editize.com/index.php -- they
have a java based editor that may fit the bill.
Tim P.
- Original Message -
From: James Sleeman [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, June 11, 2002 9:26 PM
Subject: WYSIWYG HTML editors
We are using the cfpop tag to do a simple display and I am having trouble
showing the number of attachments. There is one particular individual that
when they send an attachment, it always shows up as 0 attachments. Funny
thing is, if I forward that email to myself, or attach that same
Paul,
I am not sure how to do it automatically in Oracle, but have you ever
looked at TOAD? This is a great front-end tool for Oracle. You can create
scripts to export tables and data in there.
There is a freeware version at http://www.toadsoft.com
HTH,
Tim P.
- Original Message
Just a funny aside -- a couple of months ago, we had a heck of a time
getting CF to work on a server, and after calls to MM/Allaire, we had to
call microsoft support. When we attempted to show the IIS tech support guy
the error we were getting (specified module could not be found) , he kept
I just ran into a similar problem, but with form elements. Don't know if
you have seen this, but here is a good link on the behaviour of them:
http://www.webreference.com/dhtml/diner/seethru/index.html
Tim P.
- Original Message -
From: phumes1 [EMAIL PROTECTED]
To: CF-Talk [EMAIL
FileExists()
e.g
cfif FileExists(c:\inetpub\wwwroot\somefile.cfm)
true
cfelse
false
/cfif
- Original Message -
From: Nick McClure [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, May 06, 2002 10:58 AM
Subject: Determine if file is there
Is there an easy way, without
Jennifer,
I have a shared host at Crystaltech for over a year now and I have
never had a problem with them. I only had to email support once about
something and they had responded back within an hour. Whenever any
maintenance work or scheduled downtime needs to be done, they inform you
You can use the FileSystem object to do most of it (renaming, creating, etc)
Uploading is a different beast. Here is a list of asp upload components:
http://www.aspfaq.com/show.asp?id=2189
You might also want to check aspfaq.com for other filesystem faqs as well.
Tim P.
- Original
Couldnt you use
Where ContactCNT != 'Do Not Contact' OR ContactCNT is NULL
HTH,
Tim P.
- Original Message -
From: Ben Densmore [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 1:06 PM
Subject: using != in a filed with a null value
Can someone tell me if
After the file is uploaded, you should be able to use the
#cffile.serverFile# variable to get the filename that was saved on the
server. Can you use that to delete it?
cffile action=delete
file=D:\VirtualSites\test_\ccsbt\documents_directory\#cffile.serverFile#
HTH,
Tim P.
-Original
Can't you just set the sql for your query as a string and enclose it?
e.g
cfset sql = Select foo from bar where field1 = 'foo' and field2 = 'bar'
cfquery name=blah datasource=blahblah
#PreserveSingleQuotes(sql)#
/cfquery
-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
You can use the OnUnload event in the body tag to run something.
body OnUnload = window.open('logout.cfm','logout_href');
- Original Message -
From: Mak Wing Lok [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, April 12, 2002 7:21 AM
Subject: capture close browser event
What OS are you running it on? It won't run under Win98.
- Original Message -
From: Paul Ihrig [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, April 11, 2002 9:18 AM
Subject: cfgraph in 5.0 ??
ok, this should be pretty simple
but no matter what i do i cant get this
There is also the cflog tag new in CF 5.
-Original Message-
From: Ian Lurie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 9:29 AM
To: CF-Talk
Subject: CF-based Weblog?
Anyone out there know of a ColdFusion-based Weblog tool?
Portent Interactive
Helping clients build
I have the exact same problem you do, except my bosses won't allow me to go
a different route. (We already spent the money, so we are going to use it.)
I was looking at intelliview not too long ago and it looks pretty
interesting. The only drawback is that there is a client that needs to be
Just to chime in here -- You can run internet explorer in kiosk mode.
Just run iexplore - k http://myurl;
I created a totally web based application that is shown on a 48 monitor
using a java servlet. CF would have worked just as well, but I was told to
do it java. However, my app does not have
Crystal Reports professional comes with a 5 user license agreement that will
allow up to 5 reports run at a time. I have not used cfreport with Crystal,
but I have used ASP and I know with ASP, the licenses can get eaten up
pretty quick. (Crystal keeps track of the open objects and will not allow
Check any cf code right above that line. You may have forgot to put a
closing bracket or parentheses.
Tim P.
-Original Message-
From: Jeff Fongemie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 5:37 PM
To: CF-Talk
Subject: compilation error from POST
Hello everyone,
How about
Update myTable
Set myIntField = myIntField + 1
Where id = something
- Original Message -
From: Eric J Hoffman [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, April 01, 2002 11:29 AM
Subject: SQL Update Increment Value
Is there a way to increment an int field
That's kind of what I did -- use cfsavecontent to save the url then use
cfhttp to go get it:
!--- Use the new cfsavecontent tag to capture the dynamically generated url
to the graph ---
cfsavecontent variable=SavedGraphUrl
cfgraph type=pie title=Pie chart of something titlefont=Arial
Paul,
Are you passing any parameters to the report? I get that error a lot if the
parameters are not in the same order as they are on the report. Either that
or the username/password is wrong. Granted, I have not used it with CF.
HTH,
Tim P.
- Original Message -
From: Paul Ihrig
Look at the Evaluate function -- e.g
cfset strSQL = strSQL ID = Evaluate(PrintID#pos#) or
- Original Message -
From: Michael Wolter [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, August 08, 2001 4:04 PM
Subject: getting values out of numbered form fields
I
Could you use a cfparam to default a value, just in case the user did not
answer the question?
e.g
cfparam name=level#i# value=
Then CF will have a value if it is not defined..
Tim P.
- Original Message -
From: Erika Foster [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent:
Not sure if this is what you are looking for, but if you have Adobe Acrobat,
you can save it as pdf and create a form on top of it. The rub is that the
user has to use Adobe reader to view/post the form.
Tim P.
- Original Message -
From: Braver, Ben [EMAIL PROTECTED]
To: CF-Talk [EMAIL
If you are using CF 5, you can use UNION with the new Query of a query to do
that.
cfquery name=Query3 dbtype=query
Select foo from Query1
UNION
Select foo from Query2
/cfquery
- Original Message -
From: Ken Monroe [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, August
Bruce,
I have run into a number of bugs with the QoQ -- I know that there is a
bug using MIN -- I recall seeing a post on the allaire forums about it.
IIRC, the problem is if you have a where clause it is ignored. I don't know
if this is the case with the COUNT() function, but may be
Hamid,
I used Image Robot from Jasc (www.jasc.com) . It has a command line feature
that I use in conjunction with cfexecute to resize a bunch of images.
It is more appropriate for doing a batch at a time. It doesn't work well
running multiple instances at a time. I have seen the cfx_image
I like crystaltech.com. Never had a problem and response is quick.
Tim P.
- Original Message -
From: Richard Colman [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 12:46 PM
Subject: Current CF Hosting Leaders?
I know this topic comes up over and over
Just saw this one today:
http://www.electrotank.com/games/playGames.cfm?gameID=31 Great little
putt-putt golf game and the site is in CF!
Tim P.
- Original Message -
From: John McCosker [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 9:39 AM
Subject: Friday
We are about to install windows 2000 service pack 2. Anyone have any
problems with this on their CF servers? I haven't heard of any, but just
wanted to be sure.
Tim P.
~~
Structure your ColdFusion code with Fusebox. Get the official book at
Thanks. To be sure -- are you referring to the Cold Fusion Service pack 2?
We have that one installed. It was the Windows 2000 Service pack2 that I
was concerned with.
Tim P.
- Original Message -
From: Steven A. del Sol [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, July
You're probably right. Unfortunately, there are no settings that I can
tweak with the monitor that will affect that. The monitor stretches the
output to fill the screen and I found that setting it at 800 x 600 gives it
the best quality.
- Original Message -
From: Philip Arnold - ASP
Absolutely!! Thanks -- that was the track I was headed down. It's nice to
know I was heading in the right direction.
Tim P.
- Original Message -
From: Philip Arnold - ASP [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 24, 2001 6:38 AM
Subject: RE: Designing for
I was given the task to create a web page that will be shown on a 42
monitor. It is a wide screen with a 16 x 9 ratio (unlike the 4 x 3 ratio of
normal monitors). I am having a hard time figuring out proper widths and
heights for images, etc -- does anyone have any good resources on tips or
I just set it up this afternoon and I have it set at 800 x 600. I am
running the browser in kiosk mode so it will fill the whole screen with no
toolbars, etc.
I twiddled around with it this afternoon and figured out the proper
dimensions at this resolution.
thanks!
Tim P.
- Original
Bill,
We had 3 servers with the patch installed and it did not fix the
problem. We had to manually remove the .ida and .idq mappings and it has
been fine since.
There were a few others on our local CF users group list that had to
manually remove them as well.
Tim P.
- Original Message
Jason,
In a long running thread on the cf forums, a couple of users attributed
cfswitch to eventually hanging the server. However they were looping over
the cfswitch a few thousand times, so I find that suspect.
I had read on Forta's site that cfswitch is faster than using a lot of
Michael,
IMO, rolling your own might be a more accurate count. I had a
similar
problem counting hits to .pdf files. (For some reason, some adobe
readers
will register double hits to the same file -- this was well over a
year ago,
so it may have changed since then). Anyway, what I ended
Would this work for you?
cfif (Now() GT GetSubjects.BegQuarter) and (Now() LT
GetSubjects.DistributionDate)
cfset client.GradingPeriod = GetSubjects.Quarter
INPUT TYPE=Text NAME=Grade VALUE=#Grade#
cfelse
#UCase(Grade)#
/cfif
- Original Message -
From: Janine Jakim
Norman,
I remember seeing a custom function (for CF 5) on http://www.cflib.org/
that has a CreateGUID function that creates it in microsoft form It is in
the StrLib library.
HTH,
Tim P.
- Original Message -
From: Norman Elton [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent:
I think that the review is a little dated -- as far as I know, there is no
CFSQL tag -- it was just incorporated as part of CFQUERY .
It does seem to fly much faster on my local machine, fwiw.
There is a performance brief on Macromedia's site that explains how they got
the figure.
Here's something that I recently did:
script language=Javascript
function AddMe()
{
var total;
total = 0;
num1 = parseInt(form1.number1.value);
if (isNaN(num1) == 0) {
total = total + num1;
}
num2 = parseInt(form1.number2.value);
if (isNaN(num2) == 0) {
total = total + num2;
}
num3 =
Scott,
I'm using CF 5 Professional, and I am using it in an app here with no
problems. Could you post the code?
Tim P.
- Original Message -
From: Scott Van Vliet [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 10, 2001 3:15 PM
Subject: QuerySetCell on CF 5
You don't have a type attribute in your cflock -- could it not be setting
it at all because of this?
Cflock scope=SESSION timeout=15 type=exclusive
cfset session.localads = 1
/cflock
- Original Message -
From: W Luke [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July
Forgive the post, but I haven't received anything for days now, but I see
posts in the archive at the HOF, is there something wrong on the list?
Tim P.
~~
Structure your ColdFusion code with Fusebox. Get the official book at
How is your memory on your server? I had a problem recently where my
server's ram maxed out and it stomped all over the session variables. It
was timing out my sessions every couple of *seconds*.
Incidently, I switched them over to client variables (cookie based) and I
haven't had a problem
I seem to recall seeing that as a bug that was fixed in the 4.5.2 service
pack. If you don't have it, try installing it and see if that fixes the
problem.
Tim P.
- Original Message -
From: Craig Bowes [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, June 11, 2001 9:43 AM
You need to put the attribute fileformat in there. I think by default it
uses Flash, but that only works if you have Generator installed. Put a
fileformat=jpg or fileformat=png and it should work fine.
- Original Message -
From: Jim Watkins [EMAIL PROTECTED]
To: CF-Talk [EMAIL
Cfgraph problem
I installed CF 5.0 subscription download and Generator was never
mentioned. Where do I get Generator to install it?
- Original Message -
From: Tim Painter [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 6:10 AM
Subject: Re: CF 5
1 - 100 of 148 matches
Mail list logo