Michael
Member since Jun 11, 2009
- Profile: /members/3590-michael.htm
- URL: http://mvanleest.com
- Comments: 8
Recent Blog Comments By Michael
-
IsValid() Accepts Emails With Leading And Trailing Whitespace In ColdFusion
Posted on Mar 20, 2014 at 10:11 AM
Nice catch! For some reason I always trim() emails before validation and db inserts.... read more »
-
Platform vs. Template: Branching Logic, Application Architecture, And Request Optimization
Posted on Oct 31, 2010 at 7:43 AM
Great article! The file placement/naming as you said is very framework specific. So there is no standard way to do this. Although in the past I did something similar with js/img/css files that where hosted on CDN's: cdn1.somedomain.com/ web /w/1.0/img/ /w/1.0/js/ /w/1.0/css/ mobile /m/1.0/... read more »
-
Project HUGE: Hit A New Years Resolution - Deadlifts At 405lbs
Posted on Feb 20, 2010 at 5:27 PM
Very impressive! I need to work on my new years resolutions as well... Quit smoking, start working out and work normal hours (instead of insane 40+ hour sessions!).... read more »
-
ColdFusion's Application.cfc Session Events Are Not Session-Specific
Posted on Feb 18, 2010 at 11:21 AM
Very nice detective work on this! It makes perfect sense why some of my code don't work sometimes that rely on the app.cfc events/functions... This should be better documented by Adobe. Back to the drawing board and rethink my app mechanism.... read more »
-
Converting An IP Address To An Integer Using MySQL (Thanks Julian Halliwell)
Posted on Jan 29, 2010 at 9:59 AM
Don't forget that storing IP's as numbers is faster for searching in DB's... You might want to check if a user registration which states he/she is from the UK also matches the IP addresses allocated for the UK... If you store the IP as a varchar, you need to search by text and it's hard (CPU/Memor... read more »
-
ColdFusion CFFTP Timeout Value Cannot Be Dynamic
Posted on Jan 14, 2010 at 10:13 AM
@Ben Nadel, Yessss Works like a charm! <cfftp action = "open" username = "Foo" connection = "connection1" password = "nonono" server = "ftp.somethi.ng" stopOnError = "Yes" timeout="#int(60 * 5)#">... read more »
-
ColdFusion CFFTP Timeout Value Cannot Be Dynamic
Posted on Jan 12, 2010 at 5:38 AM
A little late, but this worked for other tags that gave the dynamic error... I haven't tried it the cfftp timeout yet, but I think #int(60 * 5)# should work just fine...... read more »
-
ColdFusion Session Management Revisited... User vs. Spider III
Posted on Jun 11, 2009 at 10:25 PM
AIR requests are sessionless requests. So they should be treated as crawler requests. But if you need to connect to cfc's for data or whatever, it's normal to have a specific path for that with a extended Application.cfc, so you could remove the crawler stuff in there as that content is usually not ... read more »