Setting commonly used functions to a 'permanent' memory scope such as server
or application is a good idea. A better one would be to create a CFC that
contains the common functions as well as common data and store that CFC in
the memory scope.
> Currently we have many functions that we use wit
, which cell phone are you using? I'd love to have that ability on
> mine!
>
>
> John Burns
> Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web
> Developer
>
>
> -Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED
Sprint PPC 6700 with unlimited incoming and unlimited internet. It's a
windows phone which provides just about any internet access I could want.
http://www.sprint.com/business/products/phones/ppc6700_allPcsPhones.jsp
> Nice, which cell phone are you using? I'd love to have that ability on
> mine
I'd be more than happy to accept other peoples sites for a modest fee. :)
My cell has the ability to remote desktop into a server which is super when
dealing with site down issues.
>> -Original Message-
>> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
>> Sen
Due to the double evaluation nature of IIF, you have to double escape text
results in IIF. For example:
IIF(1 eq 1, '"one"', '"not one"')
What you see there is single quotes around double quotes. This can also be
done with the DE() function, but that's a waste in my mind.
http://www.fusionauthor
I'm posting my cell phone number for those who have an emergency or if someone
sees a site problem. Please use it sparingly. Thank you
718-252-2329
~|
Logware (www.logware.us): a new and convenient web-based time tracking
appli
A CFC (ColdFusion Component) is a template written with specific syntax to
act in an object oriented manner. The CFC is made up of functions (referred
to as methods) that can be accessed to do work. In addition, the cfc has the
ability to preserve variables that are created as long as it exists.
I've been thinking of using Flash forms to deal with this problem.
>I've recently had some attacks on a form which was created by a coworker.
>Somehow, bots are using a subscription email form to send out spam. They're
>using a jibberish email address from the domain I'm working with, but
>somehow
A long while ago I wrote some step by step docs for CFSCRIPT:
http://www.houseoffusion.com/docs/cfscript.htm
I've decided to update them to include everything you could ever want to know
about the tag, related syntax and functions. I've started it here:
http://www.houseoffusion.com/docs/cfscript/
My mistake. As for in memory caching, I suggest care be taken when doing it.
I cache some things in memory and make VERY sure others are not. This is
important when dealing with large content sites where a lot of stuff cached
in memory can overload your system.
> Ummm, no it doesn't. I think y
All CF_Accelerate does is compress your output text by removing extra
characters. I know I wrote my own a few years back and posted it somewhere. Let
me look around. It's not really that big a savings vs. some real compression
tech like port80's stuff.
Let me dig it up and repost it.
> Hi!
>
Its simplicity itself. I'll send you a CFC for caching of queries and the
code to call it. Should showcase the whole thing.
> What is the basic outline to create a web service that handles some kind
> of persistence? So that a consumer can make an initial call that
> initiates a web service "
If I remember correctly from my research into this, the Google search app
will only index actual urls rather than content from something like a DB.
This means you have to be sure that its set up to get all of the content on
an url that passes vars. That and note the collection limitation on it.
gabe
>
>
> -Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 8:52 PM
> To: CF-Talk
> Subject: Re: Cfmx 7.1 on 2.3k locking up once a day
>
> What's your memory like on the machine? What's the JVM set as? Ar
On a good day I've sent over a million posts through iMS for these lists. On
an average day between a quarter to a half million. Very solid product, very
fast and the things you can do with the posts are fantastic.
> I'm ready to give up on IIS SMTP for sending large volumes of mail from
> CF,
What's your memory like on the machine? What's the JVM set as? Are you using
lots of session or client vars?
> We just rolled out mx 7.1 on win 2.3k, Fusebox 4.1. It's a simple
> application, just content management with 150-200k views a day.
>
> Without fail that mx server hangs in under 24 hou
en the second email.. and no, i didnt look
>> at the blog.
>>
>> On 11/28/05, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
>> > That's exactly what my example code did. It was in the second email and
>> > in
>> > the blog.
>> >
>&g
That's exactly what my example code did. It was in the second email and in
the blog.
> Well in that case couldnt you look for the robot in the useragent
> string? I know googlebot at least has a specific user agent you can
> look for. Im sure yahoo does too.
>
> If you find that useragent, then
D handling this
>> issue?
>>
>> -Original Message-
>> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
>> Sent: Monday, November 28, 2005 1:38 PM
>> To: CF-Talk
>> Subject: pseudo-memory leak
>>
>> I've written up my thoughts on wha
clean out
faster than I think.
> Are you still running another server on BD? How is BD handling this
> issue?
>
> -Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 1:38 PM
> To: CF-Talk
> Subject: pseudo-
I've written up my thoughts on what looks like the problem that the House of
Fusion server was facing for the last few weeks. It's a problem that probably
affects others but I'm not going to comment on how wide spread it is until the
full write-up on Fusion Authority. These are just my notes and
Sorry, meant to post the whole thing. :)
For the last few weeks I've been having some problems with House of Fusion.
The memory for the JRun.exe has been going through the roof and I didn't know
why. The code was tight, nothing had really changed on the site, so what was
up? The answer was Yah
Does anyone know of a multi-tier affiliate program written in CF? at least 2
tiers and preferably 3?
Thanks
~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting ho
Anyone here using the Deerfield website software with CF 7?
~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Log
long running code? Have you turned on logging for long templates and checked
the logs for timeouts, errors or excessive wait times?
>I have a site thats eating up server processes! Any idea on what coul be
> causing this???
>
>
>
> Aldon
>
>
>
~~
Have you tried it without waiting for a status result? Also, the question
has to do with the code within the async process, not the code calling it.
~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket ap
I'd look at the code to see if there's something in it causing it to operate
in serial. I've got a number of parallel processes going and they have no
contact with each other at all. If you have a lock, a cftransaction or
anything else which can stop the parallel processing of your code, you'll
fied Advanced ColdFusion MX Developer
> Wyle Laboratories, Inc. | Web Developer
>
>
> -----Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 09, 2005 12:20 PM
> To: CF-Talk
> Subject: (Admin) Report help
>
> While lo
While looking over some stuff on House of Fusion yesterday I noticed that I've
been logging information since around march and I've had over 16.5 million page
views in that time (about 2 million a month). The logging has records of what's
a bot and what's a human. The problem? No reporting inter
I thought I was but I discovered something interesting about the attack. It
took a number of files in the dllcache directory (usually hidden) and set
their permissions so that no one 'owned' them. This prevented the automatic
updates from going on and left me vulnerable. Even when I tried to do
t looks like the culprit is the first. The others don't seem to be as
> aggressive...
>
> Cheers,
>
> Kevin
>
>
>
> - Original Message -
> From: "Michael Dinowitz" <[EMAIL PROTECTED]>
> To: "CF-Talk"
> Sent: Friday, Novemb
I appreciate the offer and will do so tomorrow night if thats ok with you. It's
close to sundown and I'm offline for Shabbos.
>If you could run HijackThis on it and send me the output, I'd be happy to
>help.
>
>Cheers,
>
>Kevin
>
>- Original Message -
is really upsetting me. :(
>MIchael,
>
>What virus did you find originally?
>
>-Mark
>
>
>-Original Message-
>From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
>Sent: Friday, November 04, 2005 2:21 PM
>To: CF-Talk
>Subject: (OT) server rebooting after virus
The House of Fusion box picked up a virus somehow and even after I've cleaned
it out the box is rebooting at random times. I suspect that the virus has put
something in that causes a reboot but I can't find it. Anyone have a clue?
This is the error message that keeps showing up in the logs:
"The
I already have examples of MOD in use. It's some of the rairer ones that I'd
like different examples of and if they happen to be real examples, all the
better. Anyone can make up an example such as the smoker/blue hair but showing
a code snippet where it's actually in use brings the concept home
That will be the next question. :)
> I've never had a need for it, but I've found imp to be useful sometimes.
>
> -Original Message-----
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Friday, 4 November 2005 11:00 a.m.
> To: CF-Talk
> Subject
> That is an odd one, it doesn't seem like it would be used a whole lot.
I'm doing a complete review of comparisons statements in CF and it's one of
the joiners allowed. Even if they're never used, I have to cover them. :)
As for the bitwise xor, I'll deal with that later.
ColdFusion comparison statements (CFIF, etc.) support the XOR joiner between
clauses. This is used as such:
clause1 XOR clause2
This says that either clause1 or clause2 has to be true for the statement to be
true. If both are true or both are false, then the entire statement is false.
My questio
Due to a small virus and the steps to deal with it, the posts for the lists did
not go out from about 6 or 7pm Nov 1st till about 11pm or so. If you are
expecting an answer to a question or want to see what was posted, please visit
the list archives at:
http://www.houseoffusion.com/cf_lists/thre
If your in NY I'll be giving 6 intro classes free of charge for people in
Brooklyn to get them interested. In addition, I'll be speaking at the next
NYCFUG on two topics, one of which is a basic one:
comparison statements in ColdFusion
3 approaches to query caching
You're welcome to come to both
>>>The good ones identify themselves.
>
>Ok, and how do they do that?
The HTTP_User_Agent. Google and Yahoo will show up with their name in the
agent. Others will as well. On the other hand, when you see something that
looks like IE but doesn't act like a human would, then it's time to think it
Two simple rules I use are:
1. Is the query results going to be cached by CF (a list of all the mailing
lists on a site)? If so, use standard.
2. Is the query results based on a large group of data with many people viewing
the data (a day's messages for example) Is so, use SP.
Other than that, it
The good ones identify themselves. The bad ones can be tracked by logging every
page request while setting a cfid/cftoken. If a series of page requests from
the same agent/ip is showing a different cfid/cftoken per request, then either
its a user that does not support cookies (even session ones)
AHPHosting (www.ahphosting.net), who has been providing hosting to House of
Fusion and all related sites for the last number of years will be moving all of
the House of Fusion hardware over to a new network center. This move will occur
late tonight (Friday night). As I will not be on at the time
ge at http://cfunit.sourceforge.net for more
information on what CFUnit is, join the list to discuss it and watch for
upcoming articles on it from Fusion Authority.
Thank you
Michael Dinowitz
Host: House of Fusion
~|
Lo
deep. Guess I'll have to.
> You should be able to just authorize a dollar (with a short timespan,
> if possible), and never use it.
>
> cheers,
> barneyb
>
> On 10/24/05, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
>> Is there a way to verify that a credit card ex
Is there a way to verify that a credit card exists and is assigned to a person
short of charging them? In the past we had to set a refundable dollar to do
this but I'm hoping that there is a new solution, maybe using paypal.
Thanks
I wish there was a way to tell if the reads were due to an interest in
implimentation or just to see what's going on. Maybe put a small poll next to
the article. :)
> Well, the recent cfajax return types docco I wrote and announed here
> has has 100 reads in a few days, so someone is interested.
House of Fusion has been running it since Sept. of 2004 and we've never looked
back (from 5). Can you look over the logs to see where and what is crashing and
post it as questions to the list. If it's a code issue, there are many here who
are VERY willing to help.
> It seems to be quite unstabl
And I'd like to thank you for showing me EXACTLY who you are. This topic is
closed. What people do at a conference is NOT on topic for this list and in
most places is their own business. As for your 'fellow' programmers moving
from CF, they must be somewhere other than America where CF is on a h
Private lives, drinking and the like are all fodder for the CF-Community list
and I'd appreciate this thread being moved there.
Thanks
>Fred Urban wrote:
>> I don't think Dave can stop drinking long enough to blog. I hear he got
>> extremely drunk at MAX this week.
>
>since when are people's pri
And the end result is a method that can be put into a CFC to cause the CFC
to be cached to any memory structure when called. The reasoning for this is
to have the caching as part of the CFC, not as part of the calling page.
I'll be adding this to the base CFC so every CFC on my box will be able
of its own caching.
> er, something along the lines of:
>
> function getMyName(){
> if(not structkeyexists(variables.inst,"myname")){
> variables.inst.myname = getMetaData(this).name;
> }
> return variables.inst.myname;
> }
>
>
>
> -Original Messag
That didn't work, but this did:
listlast(GetMetaData().name, '.')
> In its java form, you can try this.getClass().getName()
>
> This might provide you with the class name as seen by the JVM running it
>
>
> -----Original Message-
> From: Michael Dinow
Simply write the blog entry down to file and any comment to a secondary
file, both of which will be included on template run. It will kill search
unless you use verity though.
> Good evening y'all
>
> I was wondering if any of the CF based blog stuff can run without a DB?
>
> ("But what of data
When dumping the THIS scope within a CFC, it will show the name of the CFC, or
at least the full path to it which can be converted to the name. I'm playing
with some auto caching techniques and would like for the caching method to know
the cfc name automatically without having to pass it in or s
>From what tests I've run on the Directory Watcher and Asynchronous gateway,
>each 'call' to the CFC used for these gateways invokes a new instance of the
>code and each invocation checks the template to see if it has been altered.
>Bottom line is that there is no auto-caching on CF 7.0 (the ve
The in-reply-to is preserved in all of its incarnations (not all mail systems
use the same header) but I thought that the message id was a good idea as it
shows the message id in relation to the sender. Otherwise, you'll get a message
from [EMAIL PROTECTED] with a message id that says its from h
e encoding from "default"
to UTF-8 to see if that helps?"
> Well that true, but also the utf-8 thing was keeping me from even
> being able to post at all.
>
> On 10/19/05, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
> > When you post from gmail, you do not
it. GMail sees the
message from the list as a duplicate of the message you just sent (which is
sitting in your sent messages 'folder') and ignores the new message.
Bottom line is that you can post from GMail but don't expect to get a copy of
your post from the system.
Sorry
M
Write a global 404 handler that will try to read a 'local' handler page from
each site in question. If the local exists, use it. If not, use a global
default.
The 404 template has access to the CGI, Url and Form variable scopes so you can
get the domain and page requested and can even deal wit
questions you ask where you already know
> your own answer? :)
>
> I'd use the CFSaveContent method, but using CFXml instead of
> CFSaveContent - works the same, but validates the XML and created an
> XMLDocument object that can by turned into a string via toString().
>
>
It is CF 5 compatible which is why I'm upgrading it to MX 7.
>> I think it depends. What versions of ColdFusion is the codebase
>> expected to work with (I've not looked at cartweaver before)?
>
> As far as I know the current Cartweaver codebase is supposed to be CF 5
> compatible
In running through a shopping cart codebase (cartweaver), I decided to change a
chunk of 40 or so CFSET operations into a single CFSAVECONTENT block. As this
was for building an XML packet, it looked logical to me. No real savings in
code size but to me it just looked cleaner and looked like 'le
If you have time and skill, rolling your own is uaually a nice option but one
that involves a certain amount of research into things like payment gateways,
etc. I'm looking to use cartweaver for clients of Dinowitz and Associates and
have been looking over and modifying their code in places wher
House of Fusion was running 5. I beta tested 6 but decided not to move to it. I
beta tested 6.1 but decided not to move to it. I beta tested 7 and have been
running it live on House of Fusion since early in the beta and I loved it. It's
been up for over a year now and when this question comes up
I've made some changes to the sign up page in the my HoF section which should
fix everything. Anyone who has to change their info should try to do so now and
report any issues to me.
Thanks
~|
Logware (www.logware.us): a new an
I've had this conversation with a member of the community for a few days and
it's been going in a circle without resolve. Here's the issue. The CFCProxy
documentation says that
"To call a CFC, you need to be within the ColdFusion web application. This
means that ColdFusion's classloader must be
Network problem over Saturday. I'm not online from friday night to sat night so
I missed it. Once I got back online I called it in.
>Just testing. I havent seen my post come through yet.
>
>
>.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
>Bobby Hartsfield
>http://acoderslife.com
>
>
>--
>No virus found in thi
;tag' from any subscriber
If you feel that there are additional features you would like, please let me
know. Also, if you want to be part of building the tip system or any other
feature for CFTips, House of Fusion or any other of the HoF community of sites,
please email me off list.
Tha
the tag with an id attribute when you
> process it. Then if you find the tip again with a matching ID, you
> can check the contents against the DB and either ignore or update,
> rather than inserting again. That'd be helpful for typo correction
> and/or evolving examples.
>
> ch
I have to think of every situation. Can't have a 'bad' tip messing up the
list processing. :)
>I might have jumped the gun. I started posting every idiot thing I could
> think of to break it. I didn't try replying to a post with a tip though.
~
ll go live.
> Must have caught you on a slow day. :)
>
> -Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 29, 2005 2:15 PM
> To: CF-Talk
> Subject: Re: CF Tips... was CF smart
>
> OK, the code works well and will sepe
ters. I'll get a solid
solution and implement it.
There's always more to a feature than the feature itself. :)
> Nice job. Now will this eventually be moved into its own feed?
>
> Emmet
>
> -Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
OK, the code works well and will seperate a single tip from a message. I'm
still playing to deal with a quoted tip, but that should not be much of a
problem either.
~|
Logware (www.logware.us): a new and convenient web-based ti
I used:
(.+?)', body, 1, 1)>
> >>They have a nice self building tips
> library by posters who just surround things with . It would be
> interesting to build a cflist parser that throws something like this into
> an
> rss feed.
>
> Check CF_REextract that can do this pretty easily:
> http:
essor.
> That would be awesome. What's the test list subscription address? I
> think
> this is one of the coolest features on the Evolt list. I don't think
> there's rss accessible though. Keep us updated.
>
> Emmet
>
> -Original Message-
>
So you just want a text parser to look for a start and end 'tip' tag and treat
whatever is in it as a tip to be loaded into a tip DB? I can do that. Let me
see how easy it is. If your on the test list, you'll start seeing the code in
place there.
>We need a Wiki or something to start compiling
Make a persisted CFC and put the query in it at a variables scope variable.
As long as the CFC is persisted, the query is persisted. MUCH cleaner than
cachedwithin/cachedafter. I have an article on it waiting to go which I can
send you off list (it's pre-edit)
> I've got a simple query that wi
Macromedia has released their 7.0.1 updater, report builder and notes. Read
about it here and download it now. More info to come.
http://www.fusionauthority.com/Specials/Article.cfm/ArticleID:4535
~|
Discover CFTicket - The lea
Many thanks. Now if I can just get a 2 terabyte drive, I can give him access to
everything I have rather than just the last years worth.
I'll be posting this to CFTips as a tip and recording it into the FAQ.
> In /WEB-INF/jrun-web.xml, add your mapping like so:
>
>
> /mycomics
> D:/pat
I'm using the CF developer edition on internal web server and I'd like to map
another drive. Does anyone know the xml file and location to do this?
Basically, I have an external drive with 250 meg of comics that I'd like to
provide to a publisher to look through. Mapping the internal webserver t
ColdFusion sets this attribute. For other
>drivers, check driver documentation."
>
>I have yet to understand what is "each action of a query". The
>timeout does work, its just not always as expected though. We use
>Oracle exclusively, dunno about other
Lets say we have a database connection that hangs. This will cause the template
running to hang and then time out. Is there a setting in ColdFusion or in
CFQuery that will time out a query regardless of the actual query status? i.e.
the query starts running. After 1 minute, the query times out a
There are a number of places that are copying the site content either through
mail or RSS. I deal with each of them in a different way as I become aware of
them. Some have asked to duplicate the site and I work with them. Some, like
Qaix are doing it just to do it and get ads. I'm dealing with t
I have one site still using Deerfield Website (formerly O'Reilly) and I want to
upgrade it to CFMX 7. Unfortunately, this is the only machine running website
so I don't have a test box to try this on. In addition, I can't move off of
website for the moment.
Has anyone here installed CFMX 7 on W
even though the
one from CF-Talk has altered content.
>Thats strange, cause at least in my case I never get the things I post back...
>
>On 9/20/05, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
>> Actually, when you post to the list you always get the email that you posted
>
Just wondering if anyone is using this database and what they thought of it.
Any specific issues to worry about? 'gatchas'?
Thanks
~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tra
Actually, when you post to the list you always get the email that you posted
back.
>Now when you post to the list, you wont see your email back, but you
>should get the replies.
~|
Logware (www.logware.us): a new and convenient
I use an async process to log user information into a DB. Fast, effective and
has 0 impact on a user session while still having the logs the way I want them
(id for user agent, etc.)
The only limitation is that you need an async process (enterprise), use a hack
to CFMX 7
(http://www.fusionautho
Sarge mentioned that the CFWACK 7 advanced book has better docs. Not a lot, but
better.
>Just wondering if anyone has done much with the Admin API and has documented
>it better than Macromedia have.
>It seems to be total guesswork to figure out the methods and what values
>should be passed to th
Is there a function in actionscript or javascript which will allow a Flash
CFFORM to be submitted when someone hits enter rather than pressing on a submit
button?
~|
Find out how CFTicket can increase your company's customer su
\t is a RegEx syntax that is not supported in CF5, only CFMX. You need to use a
#chr(9)# in its place.
>cfset tmp.content = rereplace(tmp.content, "[\t]+",
>"", "ALL")
>
>Which I thought would replace tabs, but it's instead replacing all of
>the "t" characters. What's wrong with my regex cod
This morning the provider upline from the host of House of Fusion
(AHPHosting.net) had an outage which affected all of its downline customers,
including House of Fusion, Fusion Authority, CFTips and all other related
sites. Things are fixed now but mail may be a bit 'wonky' (the technical term)
The emailer for the password is working again. When I moved all of the
databases over, one must have been messed up. As for gmail posts not getting
through, I'm on that.
~|
Find out how CFTicket can increase your company's custo
This (no pun intended) is a point of conflict within the community. Many say
never to use it as it breaks encapsulation by allowing access to and
changing of variables without going through strict interfaces (methods).
Others will load a component up with data that is expected to be exposed
thr
Try looking at this article by Doug Hughes
http://www.doughughes.net/index.cfm/page-blogLink/entryId-122
~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banner
This method will do it for you:
ClearTrustedCache()
http://www.houseoffusion.com/tiny.cfm/122
>Hello all,
>
>I'm looking for a way to programmatically perform the same action that
>the "Clear Template Cache Now" button does.
>
>The "Clear Template Cache Now" button is located in the CF
>Admini
CFHTTP with a timeout set. The template will continue to run but the http
connection will be severed and the page will continue running.
> What's the easiest way to simulate asynchronous processing on a CF6.1
> standard system?
>
> I have a CFC that is stored in the application scope. It main
oth ways will work correctly.
>It's just an alternative, but the code ends up being more consistent
>because code that does the same thing (function calls) all looks the
>same.
>
>Just my two cents,
>
>t
>
>On 8/23/05, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
701 - 800 of 2861 matches
Mail list logo