Jeff,
You keep on going on about other methodologies. Which particular other
methodologies using CF are publicly available? You keep mentioning all
these other methodologies, but can we at least compare them to Fusebox?
Fusebox is probably one of the best methodologies (if not the only public
would you also need to insert the name of the page?
so that you can see what page how long they where on it?
thanks for the advice.
-paul
-Original Message-
From: Warrick, Mark [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 1:03 PM
To: CF-Talk
Subject: RE: Page
On differece is that you don't need to bother with reading and writing
session variables, or with locking. Query caching is oh so easy.
Bob
-Original Message-
From: Jann VanOver [mailto:[EMAIL PROTECTED]]
Sent: December 21, 2000 5:08 PM
To: CF-Talk
Subject: RE: passing cfquery results
No, session variables can work without browser cookies, but it's a royal
pain in the behind. You need to pass the CFID and CFTOKEN between all page
requests (on the URL or in a form field) - as long as the chain is never
broken, your session variables will work. Same goes for client variables.
On 12/21/00, Mark Smeets penned:
From the looks of it, you don't need Last User and Current User and the
cookie part is it. As far as I can remember from the book those are just
little "cutesy" pieces of code.
I guess another question I have is, do I just simply have to say yes to
session and
I'm not sure if the query will get bumped if memory is needed.
I thot some postings here suggested worse consequences.
Anyone know the answer?
best, paul
At 08:18 AM 12/22/00 -0500, you wrote:
How is caching the query different from saving it as a session variable?
Both are kept in memory,
Although Fusebox is probably the most popular (and best documented) publicly
available methodology for coding ColdFusion, there are several other
(arguably better) methods available. Two of these include CFObjects
(http://www.cfobjects.com/) and SmartObjects
(http://www.smart-objects.com/).
Adam Reynolds wrote:
Jeff,
You keep on going on about other methodologies. Which particular other
methodologies using CF are publicly available? You keep mentioning all
these other methodologies, but can we at least compare them to Fusebox?
I believe you make a good point, in saying
I certainly agree. I gave up on storing my database in structures when I
saw how easy query caching was to work with.
best, paul
At 08:18 AM 12/22/00 -0500, you wrote:
Query caching is oh so easy.
~~
Structure your ColdFusion code
Several people have thrown out the term 'CFObjects.' But if you good read up on
CFObjects it is not really fleshed out and certainly not thoroughly tested by
different programmers on different types of projects. It is just a good starting point
to make an object oriented methodology out of
I am being anal, but you are misconstruing the Robin Hood legend. He did not
steal from the "rich". He stole from the government that was overtaxing the
citizens. It may seem only a semantic difference, but it is actually a huge
difference. Your telling of the story would make Robin evil in my
Dylan,
This happens to be two separate boxes. :)
Thanks,
Neil
- Original Message -
From: "Dylan Bromby" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, December 22, 2000 2:11 AM
Subject: RE: Another Problem Windows Error 232
hmm. error 232 is related to named
I have been searching through the allaire boards and it seems either any
posts relating to using the CFHTTP questions either don't get answered
or get a beat around the bush kind of answer. I have a huge project
that is using the CFHTTP tag immensely only problem is i get the famous
"Connection
ColdFusion Studio 4.5.2 has been released. This is a rather useful release
just for its ability to lock the side tabs and 'remember' that its in an RDS
session for saving. You can read about the other features in the release
notes and download the update at:
I am being anal, but you are misconstruing the Robin Hood legend. He did
not
steal from the "rich". He stole from the government
Isn't the government rich? The saying is "Steal from the Rich and Give to
the Poor." The "rich" is just referring to anyone with too much money, so
they piss it
Just to insert my two cents worth,
I inherited a site that I have now see was supposed to follow the fusebox methodology.
It has been a nightmare trying to figure out what they were trying to do.
I may be wrong but it seems to me that too have an include on the index page point to
an action
... anyone know if there are downsides to setting up your own
client database and using that instead of storing client data
in the two tables generated by CF?
Of course, there are downsides. For any non-trivial choice you have to make
as a programmer, there will always be pros and cons.
When CF sets up the client variable storage tables, it uses whatever DSN you
tell it to use. Setting up your own database, adding the tables with the
appropriate fields, then setting CF to use that DSN is exactly the same
thing - it should have no deleterious effect, other than using up a few
I can sympathize with this. Our company bought a Forums package for our
site. Written entirely in fusebox, its a great package and we've never had
any problems, but when it came time to go through everything and familiarize
our developers with the code, it was an exercise in futility. It
no I dont think there is a need for encoding it, it is a straight URL no
paramters, sapces or whatever. Its just a call to a file on another
server. I used this tag on my home computer about 2 months ago and it
wored just fine. I have CF 4.0 at home. But on my hosting account they
have 4.5.1
I hope this is an easy question for you SQL gurus.
I am not sure why someone would want an apostrophe in their last name, :)
but I need to know how to get around that when writing SQL queries
that search records for last names contain apostrophes.
Here is a sample query that loops through the
I have a really screwed up problem. For some reason anyonymous access to
all the sites on one of our servers has stopped and cannot be viewed on the
net. Everything looks fine in IIS. If i switch anonymous access to an
administrator account everything all the websites can be viewed, however
it doesn't matter. you've got sql on one and cf on the other? you can still
get this error. when i was at autobytel a few years back we fought the
windows error 232 problem. it was related to something with named pipes.
-Original Message-
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent:
Take a look at your directory permissions. Make sure the 'Everyone' group
has read permissions.
jon
- Original Message -
From: "Emmet McGovern" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, December 22, 2000 11:37 AM
Subject: OT: Anonymous access failure in IIS NT4
I
Use the CF function PreserveSingleQuotes() to encapsulate the last name.
-Original Message-
From: John McKown [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 22, 2000 8:48 AM
To: CF-Talk
Subject: SQL Queries on Irish last names that have an apostrophe
I hope this is an easy question
With most SQL databases, you can get around this by escaping the apostrophe with
another apostrophe, so that your query reads:
SELECT *
FROM Lawyers
WHERE 0 = 0
AND LNAME LIKE 'o''donnell'%
I also noticed that your wildcard is outside your string delimiters.
Take a look at your directory permissions. Make sure the
'Everyone' group has read permissions.
Instead of this, make sure that the IIS anonymous user has read permissions,
or the "Authenticated Users" group.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
have you resynced the anonymous password with the IUSR_MACHINE account via
the MMC?
chris olive, cio
cresco technologies
[EMAIL PROTECTED]
http://www.crescotech.com
-Original Message-
From: Emmet McGovern [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 22, 2000 11:37 AM
To: CF-Talk
I had the same problem with CF 4.5.1 and SP1 and SP2 did not solve it. The
only solution that I found was to roll back to CF 4.0.1, which ran
flawlessly. If you find a reliable solution with CF 4.5.1, I would like to
know.
Gary Groomer
- Original Message -
From: "David Cummins" [EMAIL
Do they have the latest service packs installed for 4.5.1?
I think there were many problems reported with CFHTTP on 4.5 that have
hopefully all been resolved with the service packs.
hth,
Tobe
At 11:36 AM 12/22/2000 , you wrote:
no I dont think there is a need for encoding it, it is a straight
LOL. But actually, you are right. But aren't big corporations running the
governement now anyway? They have been for 40 years. Alas, it will probably
get worse now that President (S)elect Bush is in office.
-Gary
-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent:
Brian,
As far as I can tell there are two ways to operate on data: on a row/record
basis OR as sets. Will you be looping through your data ? Well, it depends
on your specific situation.
Situation 1
If you are trying to enter multiple rows of free form text in the database,
then
Yes, that was a typo. The % is actually within the quotes.
I tried using '' to escape the last name and I still get an error.
I also tried the PreserveSingleQuotes to no avail.
Ugh.
John McKown, VP Business Services
Delaware.Net, Inc.
30 Old Rudnick Lane, Suite 200 Dover, DE 19901
email:
Hey Eric, I am sending you a package in the mail. It will be in a plain
brown wrapper with a return address like Ed McMahon and Company, that sounds
like you may have won a lot of money. Just pick it up and shake it violently
before ripping it open. Think of it as a holiday present. (Note: Please
I have had problems with cfhttp. In one case it was my routing table on the
server, and in another I was running a release candidate of W2K, the
installation of the final release W2K server cleared up my remaining
problems.
If it helpful I can give you some server space for the interim to
Someone should probably make an official "checklist" to run
through when you setup a CF server. (Removing .htr extension
coming soon after where you setup index.cfm as a default doc)
There are a couple of these sorts of things - people just have to use them!
There are IIS security
Based on some of the comments in this thread, am I correct in
assuming that cookies must be enabled in the client's browser
in order for session variables to work?
No, that's not correct, although it would make everybody's life a bit
easier. CF can receive the CFID and CFTOKEN values from
How is caching the query different from saving it as a
session variable? Both are kept in memory, right? Except
that the cached one will get bumped if memory is needed?
Query caching is different in several ways.
1. It uses the CFQUERY attributes and the actual SQL statement within the
SQL7 Full-text search handles this automagically.
That is, searches for O'Neill without any massaging
of O'Neill to O''Neill, and so forth.
Perhaps Verity does, too. But Verity doesn't
allow standard SQL in the same breath as SQL7
full-text search does. Perhaps the new Verity
K2 will add
You are not liable for pointing out someone else mistakes. I could
tell someone that a bank is open and there are no security guards.
Am I liable if they go and rob it. I think not. What people do is
their decision.
While I'm not a lawyer, you may in fact be liable for your actions,
Hi,
My variable problem is that I have a header template that appears on every
single page in my application. inside this header is an img src tage whose
image needs to change based on which page is being accessed:
img src="#imageName#"
since the variables are set at the top of each page
Hmm, what database are you using?
W. Troy Leaver
Systems Development Consultant
Solution Specialists, Inc.
888-668-9193
-- Original Message --
From: "John McKown" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Fri, 22 Dec 2000 12:21:02 -0500
Yes,
I have been searching through the allaire boards and it seems
either any posts relating to using the CFHTTP questions either
don't get answered or get a beat around the bush kind of answer.
I have a huge project that is using the CFHTTP tag immensely
only problem is i get the famous
All permissions are set correctly. I still have the same problem though.
Microsofts knowledge base isnt much use either. This is threatening to kill
my weekend at this point :(
Emmet
-Original Message-
From: Benjamin S. Rogers [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 22, 2000
There are two sides to this issue. 1. Releasing bug/vulnerability
information to the public will release hoards of script
kiddies to cause havoc and dismay instantaniously without
recourse. 2. Releasing bug/vulnerability information will cause
industry leaders like Microsoft and
Yes, the government tends to throw away too much money. For an example, my
company's primary product is a client/server client and service management
system that we sell to many state government agencies. We, of course,
provide tech support for our customers. It amazes me how many calls we get
isn't the bug a microsoft iis issue? i have tried it on asp
pages and can see their code as well...it's not just a cf
problem. could this be another "big brother" deal with microsoft
by allowing them to put in the +.htr and seeing our source code?
Yes, it's an IIS issue.
No, it's not a
This is a multi-part message in MIME format.
--=_NextPart_000_005D_01C06C19.6EF472B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
How can i do ssl with my web pages using cf?
--=_NextPart_000_005D_01C06C19.6EF472B0
Content-Type:
All permissions are set correctly. I still have the same
problem though. Microsofts knowledge base isnt much use
either. This is threatening to kill my weekend at this point :(
My guess is that, despite what you think, all permissions aren't set
correctly.
There are a couple of things you
Since this discussion is already taking so much bandwidth, here's a quote
from a recent MS security mailing that you may find useful:
"Administrators who have followed IIS best practices would not be
vulnerable to this kind of attack. Best Practices for IIS4 and IIS5,
including lockdown tools
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is there an equivalent to a custom tag's
"ThisTag.GeneratedContent" variable for the base executing page?
To the best of my knowledge, there is no way to retrieve this
generated content from within the scope of the request itself.
Answer
here is my code for my image viewing pages, i have two things to figure out now. one
is i have all of the images seperated with a Yes or a No value. they both need to be
shown on there own. (all the ones with yes in one section and all the ones with No in
thier own section.) thats the first
How can i do ssl with my web pages using cf?
SSL doesn't really have anything to do with CF, which works the same way
whether you're using SSL or not. You'll need to get an SSL certificate and
install it on your web server. Verisign and Thawte (which is now owned by
Verisign, but still operates
SSL is implemented by the webserver not CF. You need a key which can be bought
from a "trusted certificate authority" or made by yourself.
"sherrie" [EMAIL PROTECTED] wrote:
This is a multi-part message in MIME format.
--=_NextPart_000_005D_01C06C19.6EF472B0
Content-Type: text/plain;
Heh, it would seem that permissions are not set correctly as you are able to
connect to the Web site using an account with administrator permissions.
Perhaps you meant to say that the permissions were set as per the
recommendations you've received so far?
If that is the case, then you may want
Ok. I can see that my piece of information, that I intended to be totally
harmless, has caused quite a stir. From now on I will keep my mouth shut.
The only reason I let people on the list know is because the site uses CF
and there had been alot of discussion on the topic over the past few day.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Okay... I think the tag is done. I made a few more changes (see
below).
I also figured out how to automagically compress all the pages in
your site w/ one little change.
Here's what I did find:
In the Application.cfm, I put this code:
Did you try
'#PreserveSingleQuotes(Evaluate(ThisField))#%'
-Original Message-
From: John McKown [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 22, 2000 9:51 AM
To: CF-Talk
Subject: RE: SQL Queries on Irish last names that have an apostrophe
That sounds cool. I will check out the
replace it over FTP at night. this has nothing to do with CF
Peter Benoit [EMAIL PROTECTED] wrote:
It's a whole new access DB
-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 3:08 PM
To: CF-Talk
Subject: Re: [database update?]
do you update
At 01:24 PM 12/22/2000 -0500, you wrote:
How can i do ssl with my web pages using cf?
SSL doesn't really have anything to do with CF, which works the same way
whether you're using SSL or not. You'll need to get an SSL certificate and
install it on your web server.
or if you're using a
Well it kinda can't be done that way. Essentially they throw a whole new DB
at me once a week and ask that the new info be presented immediately.
Currently it takes about 15 mins for the new info to appear.
-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]]
Sent: Friday, December
Ooops yes, of course.
You can use the #script_name# variable.
And if you want to do it fusebox style, you can use the following logic instead:
!--- begin page hit count ---
br
br
font size="-2"
cfset page = "#script_name#" "?" "#query_string#"
cftransaction
cfquery name="gethits"
Depending on how big the database is, if it is not too big why not just loop
over each record in the new database and update the old records. Checking in
each loop to see of the record is new, if so, Insert it.
This is assuming that they do not change the database structure on you. This
whole
see if you can compress it somehow.
Peter Benoit [EMAIL PROTECTED] wrote:
Well it kinda can't be done that way. Essentially they throw a whole new DB
at me once a week and ask that the new info be presented immediately.
Currently it takes about 15 mins for the new info to appear.
-Original
I think you're going to have to put the spreadsheet up to be viewed online
or downloaded. Doesn't this list strip off attachments?
Gentlemen,
cf_tease severity="gentle ribbing"Oh, I'm sorry, was I not supposed to
look?/cftease
-Patti
-Original Message-
From: Richard Kern
Hey Guys:
I was wondering what the best method is to store all of the e-mails that come throught
these lists. What do you guys use??
Happy Holidays,
---Greg
~~
Structure your ColdFusion code with Fusebox. Get the official book at
To simplfy things, I would first run two queries - one for the "yes" images and one
for the "no" images. Then I would output those two queries into their respective
columns.
To make the images display 3 across, set a count when you start outputting the images.
Evaluate the count upon each
Here, here. Almost all Linux people who are concerned with security know
that the first thing they need to do is go in and turn off ALL services they
don't need to use at that absolute moment. I turn off every bloody Linux
service that I don't absolutely need every time I bring up a new
Hi,
Just ran across a an article regarding session variables and ASP which takes
a hard line against using them, the main reasons being server slowdown and
hard to read code. I myself have never had a problem with session variables
causing either in CF, and haven't seen this rationale mentioned
On 12/22/00, Dave Watts penned:
Before you post a vulnerability to
the public, ask yourself if you'd want someone else to post your
vulnerability.
Yeah, kind of like "HEY LOOK EVERYBODY! JOE'S FLY IS DOWN!" rather
than "pssst, Joe, your fly is down".
:-D
--
Bud Schneehagen - Tropical Web
The direct answer is no. In order for this to work, you would have to make
sure that the header is output after your varible is set. One trick is to
capture the output of your content section into a variable, then at the
bottom output your header, your variable, and any footer. Your code ends up
cf_happyholidays
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe:
I agree with Hal. The major problem with CFObjects is that you have to
tackle the additiona learning curve of an OO methodology, *and* the
documentation/sample-apps leave a lot to be desired for a person new to the
methodology. If CFO only had a like Hal hawking it, it'd get a much wider
notice
Not sure if this has been talked about in detail but with the interest in
dynamic html compression I will throw my two cents in.
Why use a cfx tag with coldfusion to compress html output when you can use
IIS 5.0's builtin gzip/deflate compressors? I bet the cfx/cf overhead is
much higher and not
There is probably a really obvious answer to this, but I can't work out
how to display records in multiple columns.
I want to achieve something like this:
trtdrecord 1/tdtdrecord 2/td/tr
trtdrecord 3/tdtdrecord 4/td/tr
trtdrecord 5/tdtdrecord 6/td/tr
etc.
So that my query results are displayed
There are several ways to do what you want, the easiest imo below.
Now try thinking about 3 columns of data going vertical with
subcategories...ouch, I hated that site ;-)
cfset startrow = 1
cfset displaycols = 2
cfquery name="stuff" ...
SELECT Items
/cfquery
table
cfloop query="stuff"
An Allaire consultant told us that our DNS was screwed up and that it
was our problem. Seems like you must be using our internal DNS
server, as well ;-) So we found out if you use the actual IP address
instead of the domain name, it usually worked. In addition, we found
the changing the slashes
I am assuming that if multiple pages hit the same cached query, Cold Fusion
internally handles it correctly without me locking it??
But then again, I would have assumed it would handle session variables
correctly also if I didn't subscribe to cf-talk:)
I am thinking: what happens if I have a
Don't know if its the final solution,
but I put all my cached queries into Request scope.
a la CFQUERY Name="Request.MyQuery".
best, paul
At 10:53 PM 12/22/00 -0500, you wrote:
I am assuming that if multiple pages hit the same cached query, Cold Fusion
internally handles it correctly
79 matches
Mail list logo