Community Member Profile
- Profile: /members/2367-Eric-Stevens.htm
- URL: http://bandeblog.com
- Comments: 24
- Points: 202
Recent Blog Comments By Eric Stevens
-
Cleaning High Ascii Values For Web Safeness In ColdFusion
Posted on Dec 30, 2009 at 9:56 PM
David, you might try out the "setEncoding" function in ColdFusion: http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/com... read more »
-
Creating A "Remember Me" Login System In ColdFusion
Posted on Oct 1, 2009 at 9:11 AM
You're right, there is no way you can guarantee that the user is unable to view the old pages in their browser history (eg if you're trying to protect against a different user snooping their browser history). If it's a security concern to have old pages accessible (eg, they contain sensitive inf... read more »
-
Creating A "Remember Me" Login System In ColdFusion
Posted on Oct 1, 2009 at 8:39 AM
No, jQuery is purely client side scripting. Users running the NoScript plugin or who otherwise have javascript disabled would not receive notification. The only option I'm aware of for such users is the cache controls. Such users are likely to be more savvy users though (for what that's... read more »
-
Creating A "Remember Me" Login System In ColdFusion
Posted on Oct 1, 2009 at 8:27 AM
There are various tricks you can use to get around the back button letting a user think they're logged in when they're not. Some of them are better than others. Using cache control headers is a popular one, but doesn't always succeed (as there are corporate proxies, and even public ISP transpar... read more »
-
Cleaning High Ascii Values For Web Safeness In ColdFusion
Posted on Aug 7, 2009 at 11:12 AM
So that the data in the SQL is not the HTML entity encoded format? There is much to learn about character encodings to adequately debug where character encoding may be going wrong. The first thing you might consider checking though is that you have "String Format: Enable High ASCII characters a... read more »
-
Cleaning High Ascii Values For Web Safeness In ColdFusion
Posted on Aug 7, 2009 at 10:55 AM
bah, with the { equivalent! Ben, get us a comment preview function ;-)... read more »
-
Cleaning High Ascii Values For Web Safeness In ColdFusion
Posted on Aug 7, 2009 at 10:54 AM
Robert, Ben's code replaces any character over U+007F (anything over the first 128 characters) with the { equivalent. Your à character is one such character, and encodes as à CFDumping a string is essentially equivalent to outputting the HTMLEditFormat() for the same string. The char... read more »
-
Learning ColdFusion 9: CFScript Updates For ColdFusion Components
Posted on Jul 24, 2009 at 4:48 PM
Just curious, is there something about traditional syntax (heredoc indicator followed by token identifier, such as <<<TOKEN from PHP, <<'TOKEN'; from Perl, <<TOKEN from Ruby, etc) which makes them infeasible for doing the same from ColdFusion script context? It seems to me t... read more »
-
Learning ColdFusion 9: CFScript Updates For ColdFusion Components
Posted on Jul 24, 2009 at 9:36 AM
CFScript style syntax is definitely my preferred modus operandi. I'm extremely excited that you'll be able to build a site soup-to-nuts with CFScript. Does anyone know if CF will support a HEREDOC syntax? Eg: text = <<<FOO I can be casual about my use of " and ' marks... read more »
-
Do Remote CFC Method Calls Add Any Value In ColdFusion?
Posted on Jul 20, 2009 at 4:37 PM
1) I'm only recommending that data be sent back, none of the visual markup. XML, JSON, etc. The framework I refer to here is purely the server-side functionality that establishes your runtime environment when your CFC's aren't stand-alone. 2) Make sure the CFC you're invoking is the one y... read more »
-
Do Remote CFC Method Calls Add Any Value In ColdFusion?
Posted on Jul 17, 2009 at 4:29 PM
One CFC for all products may be using objects, but it's not object oriented programming, it's procedural programming using objects as a namespace. (Sidenote, ColdFusion doesn't support namespaces) There's nothing wrong with that, it's just not OOP. And it's all still irrelevant to th... read more »
-
Do Remote CFC Method Calls Add Any Value In ColdFusion?
Posted on Jul 17, 2009 at 3:57 PM
It's less about the database call and more about component instantiation. If you go with a purely OO model, you have one instance of a Product CFC for every product being displayed on the screen. If you have 300 products on the screen that starts to hurt. If you have 300 products on the screen... read more »
-
Do Remote CFC Method Calls Add Any Value In ColdFusion?
Posted on Jul 17, 2009 at 3:14 PM
@Don: as you start to get into more complicated sites, you start to get into CFC's which are not stand-alone. A single service-level CFC may require interactions with as many as 15-20 other CFC's. Some of these CFC's are extremely expensive to instantiate so you don't want to just create... read more »
-
Eric Stevens On CFContent And Memory Usage In ColdFusion 8
Posted on Jun 8, 2009 at 10:16 PM
We use cfcontent to serve product images (from thumbnails through full-sized images) for a high volume ecommerce site with around 4,000 products on it. I'm limited in how many specifics I can go into, but let's just say it's big in terms of volume, revenue, and physical topography. Our... read more »
-
Do Remote CFC Method Calls Add Any Value In ColdFusion?
Posted on May 18, 2009 at 9:07 PM
@Sean: I guess I have a hard time seeing why the framework cares what sort of data it is serving up. As far as the framework should be concerned, data is data whether it's HTML data, XML, binary, whatever. If it cares what it's outputting past offering certain optional target-specific enhanceme... read more »
-
Do Remote CFC Method Calls Add Any Value In ColdFusion?
Posted on May 18, 2009 at 12:51 PM
@Ray: agreed. It's exacerbated by the livedocs not covering this point, and the examples not testing for CFC's. If LiveDocs warned you of the problem and showed you how to work around it, then I'd probably side with Ben.... read more »
-
Do Remote CFC Method Calls Add Any Value In ColdFusion?
Posted on May 18, 2009 at 12:27 PM
I got thoroughly thrashed by Sean Corfield a few years back by suggesting something similar (a "remoting" view of some sort which runs through the same framework, whether it be AJAX, JSON, XML, etc) on the Fusebox list. (see: read more »
-
Cleaning High Ascii Values For Web Safeness In ColdFusion
Posted on Feb 19, 2009 at 7:25 AM
@Ramakrishna It looks like you'll have a new line before your processing instruction. These would need to be on the same line: <cfsavecontent><?xml Also you need to be sure that you're saving the file in UTF-8 if you're telling <cfprocessingdirective> that the... read more »
-
June 1st 2008 - National Regular Expression Day! (Post A Comment, Win A Prize)
Posted on Feb 13, 2009 at 10:42 AM
Ben, I'd recommend a couple of contests with common real world expressions. They should be sent privately (so people can't take someone else's idea posted before them and make it better). Each contest should be scored on accuracy (does it solve the problem correctly), simplicity (how long is th... read more »
-
Cleaning High Ascii Values For Web Safeness In ColdFusion
Posted on Jun 17, 2008 at 2:14 PM
@Ray: I'll email you directly since you're up against a deadline and that's probably faster than going back and forth here. We can post a digest here once we get it settled. Just wanted to let you know to look in your email (gmail) in case you missed it.... read more »



