Sumit Verma
Member since Aug 28, 2009
- Profile: /members/4199-sumit-verma.htm
- URL: http://www.blogonria.com
- Comments: 11
Recent Blog Comments By Sumit Verma
-
ExpandPath() Works With ColdFusion's Per-Application Mappings
Posted on Aug 31, 2013 at 6:59 PM
One thing to be careful about expand path is, it doesn't work if the file or directory doesn't exist. It doesn't throw error, but it returns wrong path. So, something like this fileExits(expandPath('/mydir/myfile')) may or may not work.... read more »
-
Using ColdFusion's PrecisionEvaluate() Function To Perform Big Integer Math
Posted on May 6, 2012 at 12:32 PM
I actually didn't know about PrecisionEvaluate() till today! Greg Moser introduced it to me. We were looking at some simple math that rocked our world! Try this for fun: cfdump var="#89.95 + 13.29 eq 103.24#" ==> false cfdump var="#PrecisionEvaluate(89.95 + 13.29) eq 103.24#&q... read more »
-
Ask Ben: Hiding / Encrypting ColdFusion CFID And CFTOKEN Values
Posted on Mar 2, 2011 at 4:30 PM
Hey Ben, I have been trying to do the same thing with jsessionid, but decrypting and setting jsessionid to either url or cookie doesn't work. CF always generates a new jsessionid. What's weird is if I simply pass it in the url it works just fine. What I want to do is encrypt the session.urltoken a... read more »
-
Sunday Hackathon: ThingsIGive.com - A Digital Journal Of Your Awesome Self
Posted on Jan 24, 2011 at 1:30 PM
Great concept and app!... read more »
-
Way Of The Warrior: The Poison Of Sarcasm
Posted on Apr 12, 2010 at 10:18 AM
Nice Series Ben. Keep it up! I have read both MOTB and Dale Carnegie. Highly recommended for everyone. You may also like Napoleon Hill books and "Secret" by Rhonda Byrne.... read more »
-
Making Sure Your ColdFusion Applications Are Uniquely Named
Posted on Feb 9, 2010 at 3:08 PM
@Ben, Great point about domain name with and without "www". May be use a part of the domain name or some other unique identifier for shared codebase.... read more »
-
Making Sure Your ColdFusion Applications Are Uniquely Named
Posted on Feb 9, 2010 at 11:48 AM
@Ben Nice reminder. I would recommend adding cgi.server_name to the hash as well. hash( getCurrentTemplatePath() & cgi.server_name ) This will ensure a unique name when using shared code base across multiple clients.... read more »
-
ColdFusion 9 CFScript Comments Handle Name-Spaces... And Just About Anything
Posted on Jan 29, 2010 at 4:59 PM
I agree with Bob. I don't like the idea to mixing code with comment! Just doesn't seem right. Also, I'm scared that a noob may look at it as comment and remove it :)...... read more »
-
Ask Ben: Creating ColdFusion Templates On The Fly
Posted on Sep 22, 2009 at 11:09 AM
@Ben, hahaha. I think I missed your post on that. But, I should have known better to think you didn't write on that.... read more »
-
Ask Ben: Creating ColdFusion Templates On The Fly
Posted on Sep 22, 2009 at 10:53 AM
In ColdFusion 9 this can be done easily by using VFS. http://www.coldfusionjedi.com/index.cfm/2009/7/25/Very-simple-very-ugly-CMS-built-with-ColdFusion-9... read more »
-
Ask Ben: Getting The Domain Name From The Referer URL
Posted on Aug 28, 2009 at 12:03 PM
It's good to see Ben always giving multiple solution :) I didn't know about the JAVA method as well. I generally just do: ListGetAt(referer,2,'/') Of-course a check is required to make sure list has at-least 2 item.... read more »