[Looking for Charlie's main web site?]

2016 in review: top 10 CArehart ColdFusion posts of the year

I thought it may be useful to gather up a categorized listing of my most (seemingly) helpful/resourceful blog posts of the past year, to help others be aware of them (and indeed to help me be reminded).

[....Continue Reading....]

Feel like an iphone app is "missing" features? Maybe you're not being notified of its updates

I wanted to pass along this little surprise I had today. You may, like me, have some apps on your iphone that ARE NOT BEING updated! In other words, though you may frequently check the itunes app store app for updates and receive many for some apps, you may be getting NONE for others.

This was happening to me until today. Here's how I found out and what I did about it. Hope it may help others. (Maybe this is old news to some, but it was a surprise for me and a classic bad news/good news situation.)

Update: Problem now understood

Since posting this entry, I've learned an explanation for what I was observing (thanks to Dan Switzer and others sharing their comments below to understand it). It was a case of "new" versions of the apps being created which meant that the "old" version i had was no longer being updated, and I had simply missed news of the new app. Hope that may help someone. I leave the rest of the blog entry below in case the details may interest anyone.

How I found out

So I have a couple of iphone apps I use all the time which until today, I was annoyed that seemingly obvious annoyances/limitations were not being resolved by updates. Was no one else annoyed by these? Really? Or was the developer perhaps being lazy? I lived with them. Hey, most of the apps are free or cheap.

But then today I got an email from one vendor highlighting new app features to consider in a recent update, and I noticed that they referred to enhancements to one of the very features I wanted, but they wrote as if it was a "long-standing" feature. How could I have never seen it then?

What I did to check it out

So I wondered if perhaps somehow I was NOT getting word of updates.

I remembered how when you visit the itunes store and click on an app you already have, it says "installed". I wondered if perhaps I may find that I could in fact "install" these apps, which I already had, but which seemed to have become long in the tooth.

Sure enough, I could do so (for at least two of several I checked). And holy smokes: the apps had indeed improved quite a bit.

Wow, what a shame that I've been limping along with older versions that lacked features I'd long-wanted.

Lesson learned

So obviously it's possible for apps to somehow become disconnected from their update stream. The app names had not changed, so that's not it. I don't know what happened. (For those who may wonder, in my case the apps were Harvest--for time/expense tracking--and Tweetdeck.)

And therefore I wanted to share this with others in case it may be an issue for you.

Want to help others with this problem?

Finally, does anyone know if perhaps there's some way to automate this investigation? Maybe there's info on the phone that tracks updates, and perhaps can indicate if the connection to itunes updates has broken. I suppose that's not likely.

But maybe there's a place on the phone (or in itunes on the computer it's synced to) which lists installed apps in order of last update. That would at least help highlight which ones to focus on?

Better still, perhaps there's "an app for that" which helps identify and resolve this very problem.

If you know more about this issue, feel free to share.

Bashers not welcome

One last thing: often when I write on a subject to share a solution to a problem, some folks are compelled to use the opportunity to bash whatever it is that I found the problem with. That's really not the point here, folks.

So if you're a delighted droid user, or perhaps just an apple-hater who loves the chance to give 'em a smack, or whatever, please withhold such comments. I'm serious, and I will delete or edit any comments that ignore this warning and are only about that. Let's just focus on the problem at hand, and any helpful solutions/suggestions.

Saving windows command prompt history to a file

Do you find yourself working at the Windows (DOS) command prompt window (aka Start>Run>cmd), and after having entered many commands, wish you could save them to a file, such as before closing the window or perhaps when needing to restart?

This is a bit of esoterica, but as I've seen some searching for a solution in various help forums, I figured I'd share it here. It can be especially useful if you've been using the Microsoft LogParser command-line tool, which allows you to use SQL statements from the command line to analyze log files of all sorts. You may build up a large set of them during a session, and wish you could save them off before closing the command prompt window.

Quick Answer:

doskey /history > commands.log

(Update) And in PowerShell, use:

get-history >commands.log


[....Continue Reading....]

New for CF9 (and 9.0.1): a query timeout that may really work, with a caveat

This is a very interesting change in CF9 (and 9.0.1), which has slipped under the radar for the most part it seems.

Did you know there is now a setting in the DSN page of the CF Admin (for most of the Adobe-provided DB drivers) which allows you to set a maximum timeout for queries against that DSN?

It's a new feature enabled for the DataDirect drivers, as updated in CF 9. (You will not see it if you use an "other" datasource type, such as when using a downloaded JDBC driver that you implement on CF.)

The caveat? This timeout is ONLY settable there in the DSN definition, not in CFQUERY (or CFSTOREDPROC) itself, which is a shame. The existing TIMEOUT attribute for those is not the same and generally does not work. Still, the value of this even at the DSN level is too important to ignore for some challenges. More on that (and some other thoughts) in a moment.

[....Continue Reading....]

Better file searching (on Windows) with a powerful, fast, easy tool

Ever need to do a search for files with give text (or of a given name) in Windows? Whether you use a favored editor to do it, or (worse) rely on the anemic/slow Windows find, I'd like to point you to an awesome and free alternative.

For years I've used a great freeware tool, FileLocator Lite (formerly known as Agent Ransack ), and I (as well nearly everyone I show it to) love FLL for several reasons. Beyond fast, effective, and easy searching, it also has a cool regular expression building wizard that may be reason enough to use the tool when you need to create a RegEx quickly. It's the freeware version of a commercial product, File Locator Pro, and can be found at www.mythicsoft.com/filelocatorlite/.

(Update in 2010: Originally, the free version was only packaged under the name AgentRansack, which was a little scary-sounding for some tastes. The makers finally offered a rebranding of the tool under the name File Locator Lite, though they still also offer it as AgentRansack, being the same product. The makers just seem to have a fondness for the "old" name so are going with both.)

(Update in 2013: While I still most highly recommend FLL, I do want to add that if you're ONLY searching for files or folders by name, not content, there is a potentially better tool to consider. See the added section at the end of this entry.)

BTW, I do realize that the Windows File Find feature can be enhanced by using its available Indexing Service. I've never been a fan of that for various reasons, and many won't enable such (for good reason) on production servers. Yet you may need to search for files on such a server. This tool can do it with little overhead. And I realize also that later versions of Windows do offer better text file searching, but it's still not as simple as it could be (if the first search doesn't find files, you're offered a chance to do a deeper search). This tool is incredibly simple to use.

Sadly, some people may not ever do searching for files by name or content (or suffer productivity) simply because the available tools are so poor. This one will change your mind!

Definitely favored over other search tools/editors

Since learning of it in about 2004, I no longer use the find feature within editors like Eclipse, DreamWeaver, CF Studio, or various notepad alternatives to search across multiple folders anymore. AgentRansack is so much faster than those in my experience, whether searching tens, hundreds, thousands, or even hundreds of thousands of files. (I've even used it to search millions of files and it did not take hours to do the search.)

And when compared to the Windows File Search feature, it's not only far faster but also DOES search for content in ALL file types. Have you ever used Windows find to search text in CFM files, and found that it never finds files you know it should? The problem is that it has an internal list of file types it will search, and all others it will simply ignore. It also ignores files marked with the hidden and system attributes, which may not be expected. (By Windows Find I'm referring to the feature available from the Start menu or via WindowsKey-F).

And unlike using your editor to search, it doesn't lock up your editor while it's searching away. And even then, it's really FAST! I find it can search gigs of content in just a few moments--yet it DOES NOT rely on indexing the content in any way.

Another great benefit it has over the other more traditional search approaches is that while the left pane is showing the files it found in its search, a right pane shows (for any file you select on the left) the lines WITHIN the file that matched the search. Yes, in some other search tools the search results pane allows you to click a result to open the given file at the given location where the search result was found, but this approach in AR is just much simpler and more effective, I think.

Perhaps most powerful, it also integrates with the Windows Explorer interface, so it's easily reached by a right-click on any folder to search that folder and its children.

Bonus Regex Feature

As I hinted above, beyond searching, AR is also great for its really nifty regular expression feature, to help build regex's declaratively (with a wizard-like interface). I find myself opening it just to create a RegEx when needed. More than that, there is also a useful "test" menu option where you can enter a RegEx, and some text against which to search, and it will show what the regex would find in that text. Very handy.

Check it out

Everyone I've shown it to has been impressed. Check it out.

You can see screenshots of 3 main parts of the interface in use (including the regex wizard and results viewing aspect) at the site.

Other tools

I should also mention that this is indeed just one of dozens of such file/find tools that exist, for Windows, *nix, etc. (yes, including grep tools for both OS's). I do list dozens more in a category for these tools at my CF411 site, which lists over a thousand tools and resources of interest to CFers.


One more update

Here's one more update I'd like to make: if you may be searching ONLY for files (or folders) by name and NOT by file content, then there's a still-better free tool for Windows that I'd recommend: Ultrasearch, from jam-software.com, the same people who make the also excellent and powerful TreeSize tool for analyzing your disk space usage, per folder.

Missing the command menus (file, edit, view, etc.) in IE 7? Here's the fix

It's Christmas, and that means...a few hours of tech support working on the computers of relatives you visit for the holidays. :-) One problem I've encountered a few times (even before now) is someone using IE 7 who says, "Why did they remove the menus, like File, Edit, View? How can I change options or call up help?"

Well, the fix is a pretty simple one, but one may miss it. In case any of my readers (or those googling for a solution) need the help, it's that you can right-click on the area where the menu should be (not on a tab, nor in the address bar above it) and you should see a pop-up set of context menu options to include "menu bar", "links", and "status" among other things.

You want to enable the "menu bar"

You'll notice that the "menu bar" option has no check mark next to it. Click on it, to set it, which will enable the menus. The "menu bar" is indeed what shows the File, Edit, View, and other menu commands. Hope that solves the problem for you, and if so, consider it my little Christmas gift to you.

If that option is already checked, then it may instead be that somehow hidden or moved. One tip is that there is also a "lock toolbars" option on the context menu mentioned above. If you de-select that, some of the various menu items will now show a small gray dotted vertical bar, which you can click on to move the particular toolbar. You may find somehow that the menu bar, if enabled but not visible, has somehow been moved or hidden.

Finally, once you have enabled the menu bar, you can use that "lock toolbars" to make it less likely that you or anyone else will cause it to disappear. Hope that helps.

Add searching for CF blogs, docs, etc. to your FireFox Search bar list of search engines

Someone who had learned of my CFSearch search engine (which searches over 1300 CF blogs, docs/article sites, and more) wondered if they could arrange to have it appear in the Firefox Search Bar in the top right of the browser. The answer is yes, via a simple Firefox add-on (which you can use to add any search site to the search bar).

This is a cool thing, because while you can choose from several pre-defined search sites (google, yahoo, amazon, ebay, and more), and you can click a "manage search engines" option to go to a Firefox site to find still more, you can only pick those that are listed on the Firefox site.

As with this gent, some search engines will just never be popular enough to be listed there. So how to add them?

Get the "Add to Search Bar" Add-on

The good news is that there is a FF add-on that does just what he wants, Add to Search Bar. It's simple and very effective (see the comments at the Mozilla page link, where many ask--rightfully so--why it's not built into FF.)

You can also learn more about it in someone else's blog entry highlighting it.

How about accessing a site's search feature using a single keyword in the address bar

FWIW, I'll also note that rather than use the FF toolbar, one can also set things up so that a given page's search feature can be accessed from a single address bar keyword (if they don't have or don't want to alter that search bar in the top right). I blogged about that in my TipicalCharlie site, where I sometimes blog things that aren't of a CF nature but might appeal to just anyone. (Update: tipicalcharlie domain is no more, but page recovered using Archive.org.)

One more time about CSEs

Finally, just as a reminder, the CFSearch site I created is what's called a Google "custom search engine". I wrote previously about them and how other people had also come up with their own variants. You may want to check them out, too.

Goog411 - free 411 service from your phone, with connection, mapping, and more

Tired of paying 411 fees? Next time you're on the road (home or away) and need to find something, use 800 goog-411. That's the number for free (and hands-free) local information.

All you need to do is say where you are, what business or category you want, and hear the closest options (with address). If that's all you need, you can hangup, or you can choose one to be connected to the business, and you can even have a map or text message sent to your phone, again all for free.

Here's a nifty (and fun) couple-minute video about it:


Ok, maybe you can get info like this from your in-car GPS system, or via google maps on your phone, but at least this is mostly hands free. Add it to your phonebook, and it's just a pushbutton (or voice command) away.

BTW, if you've not noticed, the same feature is offered in google maps itself. While on a map, you can enter a business name or category and it will show where on that map (or an expanded one) you can find what you're looking for.

Don't dismiss the Google toolbar, especially if you're not aware of hidden features

Do you use the Google toolbar, and if you have it, do you use it regularly? If you'd dismiss it, are you aware of all its features, including several hidden ones? I use them every day, and, no, the built-in search box in FF and IE 7 doesn't come close. Let me share a few tips with you if you'd missed these.

This entry was prompted by a survey up on a popular site (makeuseof, which I've blogged about before.) The survey asks people what toolbars, if any, they use in their browsers.

In the current voting most say they use none, and some commenters are dismissing them as "wastes of space". I thought that odd, as I use the google toolbar every day. I offered up the following as a comment, and then thought I'd share it here for my readers (have done only a slight bit of editing from my original comment there):

It's a shame to see some call toolbars a waste of space. OK, so many you've lamented them getting auto-installed on an unsuspecting user's computer, or hated when one tries to do that on yours. But not everyone who has one is an idiot.

For instance, I love the google toolbar and have for years. Sure, I realize that FF (and now IE7) offers a search box, but that's not all that the google toolbar does for you. Unfortunately, some of its best jewels are hidden gems, in that you may need to enable them with the "settings".

I use the "site" button every day (type in a search word and click the button to search what Google knows only about the current site). Sure, you can do it yourself with the "site:" keyword in any google search box you may have, but this is much less typing over the course of a day.

Same with doing a google image or froogle/products search, both buttons you can easily add.

There's also the "up" button that's worth adding, which lets you traverse up a site, whereby it removes whatever's at the end of the currently used URL. Often quite handy. Again, all things you could do yourself manually, but one click is nicer, and makes the toolbar very much worth the space to me.

These and a few other things are tips I first shared back in 2003.

Some features don't use any "space" at all, as the toolbar also enables a context menu on each page you visit. You can right-click the whitespace of any page you visit to see (under "page info" in FF2 and IE7):

  • backward links
  • cached snapshot of page
  • similar pages
  • translate page

Again, all these are things you can do without the toolbar as long as you have a quick google search bar of some sort and know the corresponding google keywords (link:, cache:, etc.). But again I use some of these every day, so I love not having to type those--plus some users would learn this way of these valuable Google features: they might not ever think to learn the keywords (or use the "advanced search" at google.com).

If I have one complaint, it's that I don't understand why these last 4 features aren't enabled as toolbar buttons (that can be added, optionally). I'd give up the space occupied by "send to" and "autolink" (though some may love those), and certainly "check" (the spell check) since that's built into FF. Anyone from Google (or others who might know more about this) care to comment?

Anyway, don't dismiss toolbars (and the google toolbar especially) so readily. You may be missing out on more than you know.

Hope that helps someone. (Actually, for some reason I still don't see my comment posted on the makeuseof blog entry. I suppose they may have some verification process. If I don't see it in a couple of hours, I'll post the above there again.)

Got Digital Voice (or some other cable/phone service) and having problems inside your house?

Jared Rypka-Hauer today wrote of a hassle he's experiencing with Comcast Digital Voice (their phone over cable service), and he asked if others had thoughts. I may well have an answer for him, or perhaps for others even with other similar phone-over-cable service providers. My wife and I were also suffering with it recently, until a rep found and fixed our problem--a hardware problem. Almost classic, from a geek perspective. :-) Perhaps you too may have it.

Did you previously have another phone over cable service before, like Comcast's "Digital Phone"?

The key question is whether you by any chance had the predecessor to Digital Voice, called Digital Phone (or perhaps any other phone-over-cable service that was like it rather than like Digital Voice, as I'll explain). If so, there may be a problem of something that was left behind in a switch to DV from DP, which could be conflicting with the new DV service. Removing that seems to have solved the problem for us.

Apologies to those who don't like wordy posts, but I want to explain things clearly for the benefit of others in the same boat.

DV service was bad for us--until this was fixed

My wife and I have been Digital Voice customers for about a year, and especially recently we grew VERY frustrated with it for some of the same reasons Jared describes, such as dropped calls, but also failed faxes, problems with the internet service, and even worse, we would occasionally lose all the phone service.

When we lost all phone service, if we connected a single phone to the digital modem (MTA) (inside the house, which feeds the phone line into a jack to serve the whole house), there was indeed signal. So they asserted it "must be something in our house", and they'd tell us to unplug all the phones in the house and wait a half hour, then reconnect. It would always work, but what a hassle! Kind of like a software provider pulling the old "reboot your computer" answer to a tech support question.

Naturally, my wife was fuming and investigating alternatives, when a couple weeks ago we had a rep come out to have a look (what to us was one last look) at things. What he found may well be the clue for Jared or others who had Digital Phone (or anything like it) before Digital Voice. And note that if we simply switched cable service providers, the problem may well have propagated into the new service (since the root cause wasn't the service to the house after all, but it also wasn't a problem inside the house).

What was Digital Phone? And what may be left behind from it?

Comcast's first step into cable-based phone service was Digital Phone. What's the difference? Well, those with the newer Digital Voice (DV) may have noticed that with it, the cable comes into the digital modem (or "MTA") which is inside your house, and out of that comes the phone signal via a normal phone wire that that's fed from the MTA into a normal wall phone jack somewhere nearby inside the house, and that then feeds the rest of the house its signal. There's no more need for any phone line to come into the house, so any outside wire like at the plain old telephone system (POTS) network interface device (or "NID") is disconnected. (picture)

But you may (as we) for a while have used Comcast Digital Phone (which came out before Comcast Digital Voice). And it's important to understand the difference, for this problem. DP worked in a way that was closer to the plain old telephone system (also referred to as POTS). The comcast coax cable from the street went first into a box that was on the OUTSIDE of the house (very much like the one used by the POTS, but a different one: picture). And out of that DP box came both the cable (which went on into the house like it had before installing DP) and also out of it came a phone line, which then was connected to the old phone system box/NID a few feet away, specifically to the phone jacks inside it that then fed phone signal into the house just as it always had in the POTS. (here's a picture)

When they switched us to Digital Voice last year, naturally that phone line into the house (through the POTS NID) was no longer needed, so whoever did the DV install of course removed the phone line going from the DP box into the NID to feed the house, and they set up the MTA inside the house, and so on as needed for the newer DV.

But here's the kicker and what the guy found 2 weeks ago: the DV installer had not only left the old DP box (outside, which he should have removed), but he also left the cable (coax) running through that outside DP box (updated info) and inside of it, it was going through a unit intended to take the DP phone signal out to feed it to the POTS phone box. Then the cable line went out of that box and on into the house. Most important, the rep pointed out that that unit inside the DP box was powered (they had tapped into the power line when they installed that DP box a couple years ago).

Power to the old DP box was interfering with the cable signal

Well, the problem was that the power to that box (and the unit inside through which the cable signal was passing) was directly interfering with the cable signal going out (which of course feeds the TV, phone/DV, and internet service). That would explain a lot of the problems we were having!

So he removed the old DP box (and its power line) updated: opened the old DP box and removed the powered unit inside of it, leaving the box but also disconnecting the power to it. More important he connected the cable inside the unit at that point (what went from the street, and what went into the house) so it was now uninterrupted. The signal is effectively "pure" going into the house, where it then goes to the MTA (the digital modem), and that (as for the last year) feeds the phone line, and the internet service and cable TV that are from there fed into the rest of the house.

So far all has been much better.

Your next steps

If you're not sure if this may be an issue for you (maybe someone had it setup even before you moved into a house in recent years), go out and check if there's a box outside your house on a wall near your phone box that looks like the old phone box. Or find where you cable comes into the house and see if it goes through some other box first, since they may have installed the DP box (or its equivalent) elsewhere outside your house and run a long line to the old phone box. Since that old phone line will likely have been removed, you may not see that.

If you have one of these boxes, and the cable goes into it and then out of it and on into your house, you may well have this problem. Another clue will be if you do (or don't) see a thick power cable feeding into the box. Since it's powered, you won't be able to open the DP box (well, you may find it has a "consumer" side that you can open, just like the old phone system NID, for you to test the phone line outside the house, but that won't show you the cable line to see if it's going through a powered unit as I described.)

But if you have something like this, call Comcast (or your provider, if in a situation like this) to have someone come out and confirm and if so remove it (which should be free, I'd think, especially if they offered the old service to you).

You may then enjoy DV, internet, and tv a whole lot more.

Could be a broader problem

Again, the problem may be generic to other cable systems (RoadRunner, Adephia, Time Warner, Cox, Charter) if they also have offered two generations of phone-over-cable service (or your house may have had it, even if from another provider, before you moved in).

Since setting up things like DV is mostly an "all inside" thing now, some installers may never even think to look at this potential problem. All they may do is unplug the old phone line going into the house and come in and setup the MTA and say, "enjoy". I wonder how many people could be suffering this problem and not know it.

Hope that helps someone.


After writing the entry, I went out to take pictures of the units (which I've added as links above, keeping them rather hi-res to make them more legible). I realized I was mistaken when I said he had removed the old DP box. He had not. But what he did was remove the powered unit inside it and disconnected the power to it (he said) and left the box. I've corrected that above. The problem with this, though, for your diagnosis is that you have no way of knowing--if you do see that second box, the DP one--whether the cable line inside it is still going through the powered unit that should have been removed. You really have no choice, it seems, but to ask Comcast (or your provider) to come out and ocnfirm this, if you are having problems that seem otherwise unresolvable. Sorry for the confusion, but still, I hope it all helps someone.

How would you run code against multiple CF versions at once using IIS on XP?

If you use IIS on XP, have you ever wished you could put your code in one directory and run it against different versions of CF, easily. In this note, I show you how.

Someone asserted on a list that some code failed as of CF8, but I tested it against 8, 7, 6, and 5, and it worked the same in all. Hearing that, someone else asked, "Charlie, are you running all those on the same machine or on vmware?"

I assume that the reader, like many, is using IIS on XP, which doesn't let you have more than one web site, which might seem to make it impossible, though some may know the tricks I'll mention.

Of course, folks running on Apache, or IIS on Win2k3 or Win2k Server, would just say, "create different web sites, and install each CF version into a different web site".

Fair enough, but how do you solve this using IIS on XP (or Wink2 workstation), if you can't have multiple sites? That's what I explain below.

Before I go on, though, let me make an important for those who may not be aware: you certainly can run multiple versions of CF on a single machine. They each get installed in their own directories, with their own JVM (as of CF6). The challenge is just to avoid port conflicts and external web server conflicts.

But why not just use the built-in web server?

Sure, if you use the built-in web server available in CFMX since 6, then you can indeed run multiple CF versions each with their own web docroot without conflict.

But that's not the point here. That would cause each CF instance to have its own wwwroot, and you'd have to put your code there to run it on that version.

And I have even explained in a recent blog entry that you can get around that using virtual mappings in the JRun web server, pointing to the shared document directory. But sometimes you really want to use IIS for some reason, or you just don't want to have to remember to use the right port and virtual directory name configured for the built-in web server.

But you can have multiple web sites in XP, if you know how...

Yep, some will want to note that you can indeed create multiple web sites in XP, if you use the right tools. I've written about such tools before. It's just that you can't run them at once, so you have to enable/disable each time you want to run the test. To me, that more of a hassle than just doing the one-time configuration which I discuss below.

So how do you configure things using IIS on XP?

OK, I hope I've headed off complaints some may have. Oh, well, I should add one more: what I'm about to show you is definitely not supported by Adobe. Some might even argue against doing it. Certainly, if you have problems with things while trying to work this way, they're going to tell you to use a vanilla setup.

Still, it's worked for me for years. In fact, I first wrote about it in a CFDJ article back in Sep 03 (co-authored with Jeff Houser). That was written in the timeframe of people moving from CF5 to CFMX and wanting to set things up this way, but the concept still applies even for those moving from 7 to 8, or 6 to 7. It also mentioned using the same approach for running against BD as well, which means it would apply also to Railo and Smith, etc.

Finally, since writing that article, I've also realized a few things I could have added to the article, which further motivates me writing this entry.

How I set things up

So, as explained in the article (which shows you the actual steps in IIS), I configure different IIS virtual directories called _cf5, _cf6, _cf7, and _cf8. I set each to points their CFM extension (and related CF ones) to the appropriate web server extension that would be used if I'd configured each server to work with IIS (like C:\CFusion\BIN\ISCF.DLL for 5, C:\CFusionMX\runtime\lib\wsconfig\1\jrun.dll for 6, and so on).

More important, I have them all point at the same, single document root (in my case, c:\inetpub\wwwroot). That allows me to then run code in that single directory against different editions, using a url like http://localhost/_cf5/somefile.cfm, or http://localhost/_cf7/somefile.cfm, or the default http://localhost/somefile.cfm goes against CF8.

Note that you must run the web server connector for each CF edition from CFMX and above, since it only builds those jrun.dlls (I mentioned above) if you do that. See the CF docs ("Installing and Configuring ColdFusion" to learn how to run that, even after CF is installed, if you installed it using the built-in web server instead.

Before you do, though, as explained in the article, be sure to save off the path to the DLL for .cfm file extensions, as running the configuration tool will wipe over the previous path.

Some concerns using the CF Admin in this setup

There's something else to take note of about using the CF Admin (/cfide/administrator/index.cfm) when you set things up this way.

It has to do with whether, when you install each version, you tell CF to install using the built-in web server or using IIS.

In the former case, CF will put that version's CFIDE directory (and all its related files) into the wwwroot for that built-in CF server, such as c:\coldfusion8\wwwroot\ for CF8, or c:\cfusionmx7\wwwroot\ for CF7.

In the latter case (if you tell CF during installation to use IIS), then CF will place those files into the IIS docroot you name. Assuming you would always choose that c:\inetpub\wwwroot directory, that means that its CFIDE directory will be replaced with whatever is the last CF version you install.

And that means that even if using the virtual directories above, they'll all point to the last CFIDE version, which won't work (the CF Admin can only run in the version for which it's created).

Either way, you can solve this by creating yet another virtual directory, for CFIDE, inside the version-specific virtual directories above.

So if during the installation of 6, 7, or 8 you told CF to use the built-in web server, you'd point the new CFIDE virtual directory to the builtin web server's CFIDE. For my _CF6, for instance, I'd create a CFIDE virtual directory within that to point at c:\cfusionmx\wwwroot\CFIDE.

If instead you choose to install each version using IIS, then just as you needed to save off the file extension's path to the web server DLL, you would similarly need to remember before each install to save off a copy the CFIDE directory for the previous release. This is especially key for CF5, since there is no concept of a built-in web server for that.

Back when I installed CFMX 6, before doing so, I copied the CFIDE directory to call it CFIDE5 instead. (Sure, you could do a rename, but only JUST before you installed, in case you need it.) Then I created the CFIDE VD within the _CF5 VD to point to that.

It may be worth noting here that if you do install CF 6/7/8 using the built-in web server initially, and then use the web server configurator tool to then connect them to IIS, that does not move the CFIDE from the built-in web server root to the IIS docroot. So again you will need to point your CFIDE virtual directory to that CFIDE in the built-in web server.

Why not just use the built-in web server for the CF Admin?

Of course, you could just use the built-in web server to access the Admin instead, even if you are otherwise running code via IIS.

And going back to the original writer, you could indeed also do this using VMWARE. (I've written about how versions of it and Virtual PC are now free.) It might be overkill, though. Again, you don't need to worry about running multiple versions of CF on a single server. It's all just about avoiding port conflicts and potential external web server conflicts.

That's what this has been about all about: how to run all your code via IIS against multiple version of CF, all from a single directory.


Did this help you? Let me know. Did I forget something? Got a complaint? (People seem to love that opportunity. Go for it.) I hope it has helped some of you. It's certainly helped me, and others who I've shown it to.

Resources for getting into the Multiserver (multiple instance) implementation of CF

You may have heard of the new Multiserver deployment option that was introduced in CFMX 6.1, also known as "multiple instances". It can bring tremendous performance and reliability improvements, allowing you to segregate apps on a single server either by function, or reliability, and so on. It can also help you manage memory more effectively.

Since many people may only be considering the feature now (either only now moving to 6.1 or 7, or 8), I want to share some resources if you're new to it. (The question came up on a list, and I offered the info there, so thought I'd pass it along here.)

First, there are a couple of articles from that time 6.1 frame:

"Introducing Multiple Server Instances in ColdFusion MX 6.1", by Tim Buntel

"Using Multiple Instances with ColdFusion MX Enterprise 6.1" video (sadly, seems no longer available)

Now, CF7 did introduce the new Instance Manager within the Admin, and that (and instances in general) is covered in the CF manual:

Configuring and Administering ColdFusion MX (Chapter 7, "Using Multiple Server Instances")

Finally, there is also a new Adobe article as of CF7:

Multiple Server Instances using ColdFusion MX 7 Enterprise Edition

(Update: There's also now a CF8 version of that: Multiple server instances using Adobe® ColdFusion® 8 Enterprise Edition. The technical content seems identical, but it appears to have had considerable editorial updating.)

There are certainly other articles folks have done in the CFDJ or at CommunityMX.com, but these should get you started.

Even though it's old news to some, it does seem that like many things, use of instances is something that may have been missed by folks. I've been contemplating a new user group presentation on the topic. Nothing new for CF8, but it seems people are considering things now that they may have ignored when 6, 6.1, or 7 came out (which is why I did my daylong class at CFUnited on what was new in 6 and 7 that folks may have missed).

One last point, if those don't make it: if you're running on Windows, don't try to create an instance with a JVM heap greater than about 1.3 GB. Though Windows should allow 2GB per app, this is just a number many found that beyond which CF won't start. Hope that all helps.

CF8 Admin Changes: A compendium of new/changed features since 7.02

Are you aware of all the changes that have been made in the CF Admin as of CF8? You may have seen mentions of little changes in CF8 (indeed, I've done a full hour user group talk on hidden gems), and while I mention some changes in the CF8 Admin (as I or others have noticed them), I've not seen any definitive list (from Adobe or the community) of all the changes (small and large) that might have occurred in the CF Admin interface. I figured I'd take up that challenge.

I've gone through and compared the CF Admin between 7.02 admin 8, and found changes that reflect:

  • new major features you've probably heard about (whether to enable "per app settings"; limits on the number of cfthread threads; options to enable/control the new interactive step debugger; support of the new Server monitor; support of per-user access to the Admin and RDS)
  • new minor features you may have missed (options to "disable CFC type check" and "disable access to internal CF java components"; options to limit the number of simultaneous requests from Flash Remoting and web services clients and CFC methods called from a URL; options to set request queue timeouts and set jrun request limits; new options to control mail server authentication; new db drivers; new option to log activity on enterprise databases; new option to perform a validation query when a connection from the pool is first used/reused; new ajax debugger window; ability to pause a scheduled task; 3 new flex-based gateways; minor additions in CAR file creation)
  • realignment of related settings (request tuning settings)
  • renaming of various pages and settings

Here are all the changes I could find, discussed per page:

A. Server Settings Section

Settings Page

  • "Maximum number of simultaneous requests", "Maximum number of report threads", moved to new Request Tuning Page
  • "Maximum size of post data" moved to bottom of this same page
  • New "Enable Per App Settings", "Disable CFC Type Check", "Disable access to internal ColdFusion Java components", and "Watch configuration files for changes" (latter for WebSphere ND)

New Request Tuning Page

  • (Enterprise only) Besides holding the "Maximum number of simultaneous requests" setting (renamed here in CF8 as "Template" requests) moved from the old Settings page, this page now permits setting limits on number of simultaneous requests from flash remoting and web service clients, as well as CFC function requests (not calls to CFC methods from CFML but those made via a URL, such as from a browser or Ajax client, etc, when not using ?wsdl)
  • Besides holding the "Maximum number of simultaneous report threads" setting (renamed here in CF8 to add "simultaneous") moved from the old Settings page, this page also permits setting limits on number of simultaneous CFTHREAD threads
  • (Enterprise only) Page adds 2 new "Queue Timeout" settings
  • (Enterprise only) Page adds 2 new "JRun Master Request" limits

Mail Page

  • New Username and password fields to hold SMTP server authentication info (previously, had to know how to add it to the mail server name using username@password:servername in the mail server field). Use of password field offers protection of password from someone watching over your shoulder.
  • New "Connection Timeout" and "Enable SSL Socket connections to mail server" and "Enable TLS connection to mail server" options, each permitting greater security and control over authentication to SMTP servers (particularly Google mail servers)

B. Data & Services Section

Data Sources Page

  • New driver types: "Apache Derby Client", "Apache Derby Embedded", to support the newly available Apache Derby database, and "MySQL 4/5" (in addition to existing MySQL 3) and "PostgreSQL"
  • In "Advanced Settings", new "Log Activity" option (to log database activity to DB) for Enterprise drivers (SQL Server, Oracle, Informix, Sybase, and DB2).
  • In "Advanced Settings", new "Validation Query" option (called when a connection from the pool is reused), available for use with all driver types

Verity K2 Server Page

In "Advanced Settings", new option to enter K2 Admin Username and Password.

C. Debugging & Logging Section

Debugging Output Page

  • Page name changed from just "Debugging Settings" (due to addition of new "Debugger Settings" page listed below).
  • New "Enable AJAX Debug Log Window" option, which allows display of the AJAX debug log window when the cfdebug flag is passed in the URL (also relies on IP address settings to control who sees this)
  • "Enable Debugging" option renamed to "Enable Request Debugging Output"

New Debugger Settings Page

Enable, configure, and control interactive step debugger in Eclipse.

Scheduled Tasks Page

New option to pause a given scheduled task (new button in list of buttons to left of each scheduled task)

Systems Probes Page

Field for "Notifications Sent From" renamed to simply "E-mail".

Code Analyzer Page

Changed to list CF8 tags and functions in "Advanced Options" page.

D. New Server Monitoring Section

(Enterprise only) Offers links to the new Server Monitor and Multiserver Monitor.

E. Event Gateways Section (used to be Enterprise-only)

Gateway Types Page

New Flex-based gateways: "DataManagement", "DataServicesMessaging", "FMS"

F. Security Section

Administrator Page (renamed from "CF Admin Password" page)

(Enterprise ony) Offers new interface to use either a single Admin password (as before), or separate username/password (per authorized admin user, as enabled in new "User Manager" page listed below), or no password required at all

RDS Page (renamed from "RDS Password" page)

(Enterprise only) Offers new interface to use either a single RDS password (as before), or separate username/password (per authorized RDS user, as enabled in new "User Manager" page listed below), or no password required at all

Security Sandbox/Resource Security Page

"CF Tags" and "CF Functions" tabs for adding/editing a sandbox have been changed to list CF8 tags and functions.

New User Manager Page

(Enterprise only) Enables adding users who should be given access to either RDS, CF Admin, or Admin API functionality.

G. (Enterprise only) Packaging & Deployment Section

ColdFusion Archives Page

When adding/editing an archive, the popup window that is shown offers several sections, and the following changes have been observed:
  • Server Settings: "Locking" section has been removed, while "Watcher Settings", "Server Monitor Settings", and "System Probes" have been added
  • New "Web Services" settings page, with provided "pre-restore" and "post-restore" lists

(Enterprise only) J2EE Archives Page

When adding/editing an archive, there is a new "Previous Serial Number (if upgrade)" option.

Where to learn more

To find out more about these changes, see the online help available in the CF Admin, available on each admin page.

Or see the ColdFusion documentation manual, "Administering and Configuring ColdFusion 8", available at CF docs page.

I realize that some reading this will be moving from CF 6, 6.1, 7, or 7.01. I'm afraid I can't detail here all the changes between those releases. I have, however, got a day-long class I offered at CFUnited on "New in CFMX 6/7: What you may have missed", where I do outline changes in each of those releases (and intervening updaters). If you're interested in taking that class, drop me a note or leave a comment here. I am thinking of offering it as an online class (and plan to do the same regarding all changes in CF8--outside of the Admin). Hope all this helps others.

Ever tried the SMS client simulator in CF7 and above? If it fails to launch, here's why

If you never paid much attention to the hubbub about SMS gateways when they came out in CF7, you may have missed that there is an available SMS Test Server and even a client (phone) simulator for working with this feature, both built into CF7 (and 8). You can learn more about these at the URLs below.

But I want to pass on a tip about something that tripped me up when I first tried to "play with" the new phone simulator. I would launch the SMSClient.bat file (in the cfusionmx7/bin directory), and a DOS window would open (and stay open) but I'd never see the simulator.

I finally figured it out: you need to have started the SMS Test Server (done in the "Event Gateways">"Settings" page in the CF Admin).

I also just noticed that there are also a couple of log files created in the same directory as the bat file, which probably would have clued me in. (Even though I've now stopped the test server, I can't get the client to recreate the problem--it now always shows up. I'm sure a restart would solve it and the log may then have told me what to do, but I missed the log before, so I still think this info worth passing along.)

To learn more about the SMS client and server simulators in CF7 (and 8), see:

Kevin Schmidt's Dev Center article

The CF docs

When pressing enter on an input text field will suddenly not submit the form...sure surprised me!

Most know that a form will submit if you press enter while the cursor focus is on a text field (INPUT TYPE="text"|"radio"|"checkbox"). Some have surely noticed that you don't often even need a submit button, which can be nice when creating some simple interfaces.

But did you know that the submit will not happen if you have two input text fields (and no submit button)? I found this when I had a long-working form of this sort, to which I added a second input field. Suddenly, it stopped submitting on pressing enter. I've tested this in either IE 6 or Firefox 2. I explain the scenario and a solution, below.

The problem

I had a small form on my UGTV recordings list page, which let users enter search criteria. Today, someone asked me to let them indicate how many records to show by default, and when I added a second input box for that, suddenly the submit would not work. (If you look, you'll find the 2nd input field at the bottom of the form, but it doesn't matter. It's within the one form, and the problem happened regardless of where the 2nd field was placed.)

Again, the key is that I have no submit button in this scenario (as it would just look clunky, and is otherwise unnecessary).

Some solutions

So I did some digging and found that indeed others have observed this. One suggestion offered was that you provide a submit button but use CSS to make it invisible. You can't really use "display:none" because then, in IE 6 at least, it still thinks it's not there.

But you can set its height and width to 0 and set the border to none, and it solves the problem:

<input type="submit" style="width: 0px;height: 0px;border: none">

If you'd like some simple code to test with, here you go:

<form action="">
<input name="i1" type="text"/>
<input name="i2" type="text" />
<input type="submit" style="width: 0px;height: 0px;border: none">

If you're curious about the empty action, that just makes the page self-posting. If you're interested in that, or have any comment on that aspect, please see my other blog entry on the subject.

Stuck sending email from a hotel or other blocking environment? Here's a solution when others fail

Hope this may help others. If you're in a situation where you find you can't send email out of your mail client (like Outlook or Thunderbird) because the ISP (or hotel, or client location, for instance) is blocking all outgoing mail (SMTP and the default port of 25), you have a couple of solutions. The common ones (more below) weren't working for me, but I found this gem. Did you know that if you're a gmail account holder, you can setup your mail client to use gmail's mail server to route your outgoing mail through? Yep. It really works, and saved my bacon today! :-)

Important Update

Well, I have to report some news since learning of this and posting about it. It turns out that this approach has the unfortunate side-effect that it makes your note go out as "from" your gmail account--even if you sent it as "from" another account in your mail client. That's a real bummer. Again, perhaps better than nothing, but not what I'd expected. On the surface, it may seem only a nuisance. If you read your gmail mail with your mail client (via POP), then you may not even notice this. But I did notice that the "to" address on replies sent while using this was my gmail address, which is not what I'd expected. And I just checked, and indeed the recipient also sees the email as coming to them "from" your gmail account. If either is a concern, then be aware.

There is a real gotcha, though, if you reply to a list. I had a note from a list that came, as expected, "to" my carehart.org address. When I replied, it would normally go back as "from" that address, which is the address on file at the list. But this change to the gmail address meant the note now went from an address not on the list. Some lists will bounce such notes, so you'll now it's happening (and now you'll understand why). But this list is one where if you send a note from a non-subscribed address, it just ignores it--so the note never got to the list. Only now did I connect the dots. Forewarned is forearmed!

You may not want to *always* do it, but when you're stuck in a hotel and need to get mail out, it's a blessing. I learned of it while traveling at the WebDU conference in Australia and after the conference was staying in a small hotel that was blocking my email. i couldn't get their smtp server address to use instead (more on that below), but using gmail as the smtp server worked!

Here's the blog entry that clued me into the solution. Many thanks to him.

As for how to configure your mail client to this up, the blog entry above gives the basics. You just want to change the SMTP (outbound) setting to use smtp.gmail.com, and port 465 (telling it to use SSL). You also want to configure the login authentication (for sending mail only) to be your gmail account. If you're really not sure how to change your mail settings, this trick may be above your level. But I will point out that Google themselves offer a page of info showing how to configure your mail clients. Just note that it's showing how to setup the client to both send and receive gmail. This trick is JUST about setting up to send email via gmail. Don't delete the incoming (pop) mail settings in your email client for your mail connection.

One last point about the option above: you do need to configure Gmail to permit POP access, as discussed here. But note that you don't HAVE to use pop (meaning a mail client) if you prefer to keep reading gmail via its web interface. If you never connect via pop, it will still be accessible via the web. Also, notice that even if you do collect it via pop (as I do), there's an option there to keep the mail in Gmail's inbox, if you prefer, so it's till always accessible via the web (though the web interface has no way of marking mail you read on your mail client).

Here's one other benefit of this approach of routing email through gmail: have you ever gotten bounces when sending mails because the recipient's mail server says yours is blocked in the "relay blacklist" or similar? This can happen on a hosted mail server because some chucklehead on the same server is involved in spamming, and gets your entire SMTP server detected as a spam source. Using this gmail approach would seem to prevent that (though I suppose some day some idiot will find a way to cause gmail's server to be blacklisted--but they'll certainly be a lot faster to address that than your average hosting provider, I think.)

What are some of the other solutions? Well, here's one entry on some alternatives and following is why they didn't work for me. Still, if you don't use Gmail (or don't want to use the approach above), they're worth noting:

  • Get the hotel (or ISP) to tell you the name of the mail (SMTP) server they prefer you to use, and use THAT in your mail client. Sadly, it's not always possible to get that from the hotel or client staff.
  • Use a webmail interface instead. There's almost always one provided by your email provider, and beyond that there are tools that will serve to do it for you even if yours does not (like www.mail2web.com). But I much prefer to have all my mail (in and out) saved in my mail client, both for archival and searching purposes.
  • Use a 3rd party mail relay service, like smtp.com and smtpanywhere.net. If I hadn't found the gmail solution, I was about to do this. Couldn't find any that are free.
  • Use a tool like JiWire HotSpot Helper, which does mail relay and more (like enabling secure email login and transmission, which is more important than many realize), but it's not free (there is a free trial).
  • Use SSH tunneling, as discussed in a nice write up. Unfortunately, I tried it and my mail host doesn't support it. I've asked them.
  • (Added since original post) Since only port 25 specifically may be blocked for you, you may find that your mail provider offers an alternative port to use to collect email. Mine does not, though as above, I have asked. (This was mentioned in the article I pointed to, but I didn't think to bring it up here in this list. A couple of commenters wanted to stress it as an option, so I'm adding it.)

If there are any other solutions I've missed, please do share. Hope this helps someone.

CF-specific Google search engines (yes, that's plural)

Well, I was tickled to learn about the nifty feature Google's added to let people create "Custom Search Engines" (or CSEs), which can limit searches to a given set of sites, with the intention that this could produce a better topic-specific search. Wouldn't it be nice to search for Ajax and only get sites related to CF implementations and discussions of Ajax (versus other implementations, or the cleaning product?)

So I set off this weekend to create just such a CSE. You can find it here:

Charlie Arehart's CFSearch. It searches over 1,300 CF-related sites.

Update: Here's an update: if you're interested in adding this search to your Firefox search bar (in the top right corner of the browser), you can, via a simple Firefox add-on. I've blogged about it here. Now, back to the original blog entry content...

And then there were two...

But just as I was about to excitedly announce it to the world yesterday, I happened upon an entry in the google Co-op forums related to CSEs when I saw a post from good ol' Joshua Cyr . He was announcing (in October) to a forum there that he'd created one (http://www.cfhunt.com) and would they consider listing it on the featured sites page.

Imagine my dismay. He'd beaten me to the punch. Now, I was about to let it go, and just concede that really only one needed to exist, so I didn't even announce mine yesterday.

And then there were three...

But then today on a CFML list someone else (Jeff Gladnick) announced that he had created one (http://www.cfsearchengine.com). While it was ironic that yet another person had the bright idea just this weekend (it seems), it also struck me as tragic.

Each of us has spent the time gathering over 100 URLs to be searched in our CF-specific CSEs. I know it took me a few hours. I poured through about 300 of the top URLs coming back from a Google search for "ColdFusion". I have docs pages, blog pages, user group pages, CF product pages, and more. And I even went so far as to use a special feature in the CSE setup called contexts, where you can subset URLs such as by those topics (docs, blogs, etc.) Of course, then I saw so had Joshua! :-)

Turns out there are several...

So I'm here to serve several purposes. I want to point out all the CF-related CSEs I've found or been told about (yes, there are more), and hope to warn off any who would create another. We've got enough. They are listed below in descending order of their current count of sites indexed (viewable on their respective CSE home page). A couple have those other domain names by which you can find them:

Michael and Judith Dinowitz's (2544 sites):


Charlie Arehart's (1338 sites)


Jeff Gladnick's (829 sites):


or via


Joshua Cyr's (236 sites)


or via


Adam Howitt's (38 sites):


or via


Pete Freitag's (29 sites):


Mark Gaulin's (11 sites):


Ray Camden's (3 sites):


And anonymous (2 sites):


If you know of any others, drop me a comment below.

And if you're thinking of creating another...

But let me say that if you find for some reason that one of the CSEs doesn't search one or more sites you think it should, you don't need to go create another one (I don't think that was the case with any of us). Instead, you can choose to volunteer to contribute to any of the existing ones.

Who's should be crowned the ultimate one? Well, I think Joshua's the oldest, and it has the most sites indexed (for now). There's no real harm in the others remaining. Heck, like so many things on the web, sometimes dupes just mean better chances of someone finding a thing.

Why isn't it easier to find all existing ones?

I will say that I've complained to the folks at Google to have them add a means to search for existing ones. That would help both those looking for one, and those thinking of creating a new one. I looked on that featured examples page, and seeing none for CF, thought I'd do the CF community a favor. Now, instead, I see that others are reaching the same conclusions.

I will also add that the folks at Google told me (on the forum, in reply to my question) that s short-term solution is for one to use a particular set of google keywords that might help find CSEs on a specific topic:

site:google.com inurl:coop/cse topic

Sadly, that's imperfect, as it found only 3 of the CF CSEs, and not even the 3 with the most sites (I know mine's new, and perhaps Jeff's is, but Joshua's has been around since October, so this failure to find them using the search feature is dismaying, and I told Google that).

Based on a few comments below, I have added a couple more (Adam's and the HouseofFusion CSE), as well as updated Jeff's site count. I don't want to keep this up to date. As I say above, you can see the site count via the "real cse home page" link for each CSE.

Got a modern Dell laptop? You may have a built in hot-spot finder you didn't know about

You know how sometimes you're traveling with your laptop and wonder if you might have a wireless network available? Wouldn't it be nice to detect that without having to turn on your laptop? Well, there are certainly devices you can buy (hotspot finders) which can help you identify when your near a hotspot, but I just learned of a feature built into my Dell Latitude D620 (and which is in others like the D420 and 820, and some XPZ units).

Called the "wi-fi catcher", it's that switch on the left side (on my unit), which I knew could be used to turn the wireless adapter off or on. But if you pull it toward you, that enables this "wi-fi catcher".

Cooler still, and to the point above, it turns out that this feature works even when the laptop is turned off (or in standby or hibernate). One thing, though: you need to enabled this feature using the Dell QuickSet mechanism (one of your icons in the system tray).

You can learn more about the wi-fi catcher, in this case about the d620, at:


Here's a screenshot of the switch:

And an explanation of that screenshot is here, including an explanation of the colors you'll see and what they mean.

Finally, I'll point that I first read of this feature myself at this review:


Sure, we should all read our owner's manuals, but at a minimum, sometimes you learn more from someone's distilled review. :-)

Looking for great (free) web site design templates? check out oswd.org

Most of us CF/web app developers aren't particularly skilled at site design/layout/CSS, etc. If you're creating a new site for yourself or clients, how would you like to know about a repository of over 1,600 free, well-designed, CSS-based, XHTML-compliant web site designs? Check out http://www.oswd.org/, a 5-year old repository of just that. Indeed, if you like the design of my site (carehart.org), I got it there, as mentioned at the bottom of my site's front page. Just thought others might not yet have heard about the resource. Enjoy!

oswd logo

Do you blog? Do you identify yourself on your blog? Please do!

I'm so surprised by how many blogs I come across where the blogger has not identified themselves in any way: no name, no bio, no email link. I suppose some may do it intentionally, as some form of anonymity (and I do realize why some may not want to list their email), but I honestly think most just had't thought about whether to list their name or anything more.

I'd like to put out a plea to at least consider listing your name, either in your title ("clever name - by blogger name"), or just in some text below it, or in your toolbar. Better still would be a small bio, or a link to a page that has one. (Maybe it would help if blog software offered an "about" pod that made you think of it more readily.) A photo would be nice, too. And for reasons (and with cautions) I propose below, I recommend you also list your email address.

Why bother with name, bio, and/or email? Because it's in your interest!

There are a couple of reasons to consider it, and they help both you and your readers.

First, as for listing at least your name, a good reason is simply to associate yourself with all the value you create by your blog. Why not get credit for your work? Plus, many would really like to know who you are. (And if your blog software puts a tiny "by" under each blog entry, I'll argue that's not enough. I've missed that myself on more than one site.) Again, whether in the title, below it, or in the toolbar, just put it somewhere! :-)

As for a bio, again, even just a couple sentences about yourself (below the title or in the toolbar) can really personalize the blog. Don't assume everyone knows your background, even if they know you by name. Many readers will appreciate knowing more about where you work, where you're from, etc. Such details can also lend perspective to what you write about. (For instance, if you're a fan or a foe of something where that would color all of your posts, it can be helpful for people to realize, "oh, he works for them|on that open source project|with that tool| etc.)." Let people know where you're coming from.) But at least consider offering some background, even a single sentence.

Finally, as for your email address, someone may want to contact you to offer feedback that's not specific to a post. They may want to offer you work (and not want to announce that in a blog comment)--and even then, which post should they enter such a generic note to you in, anyway? Keep in mind that not all readers realize that you get notified of all comments by email, so they may give up trying to contact you.

Heck, they may even have trouble posting a comment, and therefore need *some* way to contact you. I've certainly seen that before.

But isn't it bad to post your email address online?

OK, I realize you may not want to offer your email, as spambots will capture it. But you've probably noticed more and more people listing their addresses as "name (at) domain". The thinking is that people can figure that out, but spambots (at least the dummer ones) will not. I'll grant that they'll eventually catch on. You just need to way how important the benefits are against the pain of more spam. (You do have a spam catching program, I hope? I love the one I use, Cloudmark Desktop. No, it's not free, but there are certainly many of them you can check out.)

Be careful using that (at) trick with Mailto links
If you do decide to use the (at) approach, but you also offer a mailto link, like:

be careful: you need to list the "anti-spammer" address in the mailto (used to launch the email) as well as between the a tags (as shown to the user). Spambots grab all the text on your page, not just what's "visible". This is a pain, because then in the email that's opened the user must notice that you've done this and change it, or the mail will fail to get to you. What I do is explain to the user that by forcing some body text into the mail that's opened. Did you know that was possible?

<a href="mailto:charlie (at) carehart.org?body=please change the spam-fighting email address format I filled in for you, replacing the (at)!">charlie (at) carehart.org</a>

And for those who maybe already knew about it, did you know that you could also use:

<a href="http://tipicalcharlie.blog-city.com/forcing_a_line_break_in_an_html_email_link.htm">force a line break within such content in an HTML email link</a>
(this is from another blog of mine, typicalcharlie.com, which is for generic, non-CF tips)

So please, bloggers, step up and identify yourself. We'll all appreciate it!

More Entries

Copyright ©2017 Charlie Arehart
Carehart Logo
BlogCFC was created by Raymond Camden. This blog is running version 5.005.
(Want to validate the html in this page?)

Managed Hosting Services provided by
Managed Dedicated Hosting