RE: Createobject and Shared Hosting Providers

2006-11-28 Thread Ashwin Mathew
James - I believe this problem was fixed in 7.0.1. If you have Java object creation disabled in a sandbox, instantiation by reflection will also be disabled. -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 11:52 AM To: CF-Talk Subject:

RE: Site Monitoring

2006-11-07 Thread Ashwin Mathew
And for those who couldn't make it out to MAX, here's a peek at what we're doing for server monitoring in CF8 - http://blogs.sanmathi.org/ashwin/2006/11/08/sneak-peek-scorpio-server-mo nitoring/ -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent:

RE: Session.UrlToken on form post in CF7

2006-09-18 Thread Ashwin Mathew
James - Rupesh blogged about this very issue recently: http://coldfused.blogspot.com/2006/09/handling-j2ee-session-with-cookies _12.html -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 19, 2006 7:17 AM To: CF-Talk Subject: Session.UrlToken on

RE: Peg = Margaret name matching code

2006-09-03 Thread Ashwin Mathew
Mike, I think you're looking for a soundex (http://en.wikipedia.org/wiki/Soundex), which does a sounds like comparison. I know that Oracle and SQL Server support soundex in the database - that might be the easiest thing to do. http://msdn2.microsoft.com/en-us/library/ms187384.aspx

RE: site that can't be copied

2006-08-09 Thread Ashwin Mathew
I don't know if it's malicious, but it's certainly very rude. I would certainly count myself amongst those who have learned the HTML/JS end of our trade by way of view source. As we sow, so shall we reap? Ashwin www.sanmathi.org -Original Message- From: Bryan Stevenson [mailto:[EMAIL

RE: iif: am I understanding correctly?

2006-07-24 Thread Ashwin Mathew
I've seen debates around this so many times I decided to blog it: http://blogs.sanmathi.org/ashwin/2006/07/24/whento-evaluate-and-iif/ In summary - evaluate() and iif() will perform well when the expressions being evaluated remain static, since the Java classes that are compiled to process the

RE: Own implementation of cachedwithin functionality

2006-07-18 Thread Ashwin Mathew
I wrote a memory sensitive cache a little while ago: http://blogs.sanmathi.org/ashwin/2006/07/01/memory-sensitive-caching-for -cf/ You'd have to build some infrastructure over it to push query objects in. -Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18,

RE: What determines session inactivity timeouts?

2006-04-27 Thread Ashwin Mathew
Hey Reed, Try replacing your test.cfm with this: cfobject type=JAVA name=obj class=java.lang.Thread action=CREATE cfdump var=#session# cfset session.x=1 cfdump var=#session# cfoutput#timeformat(now(),HH:MM:SS)#/cfoutput cfset obj.sleep(7) BRBR

RE: Get String Byte Size

2006-04-20 Thread Ashwin Mathew
Try this: http://martin.nobilitas.com/java/sizeof.html The empirical formula derived there indicates that string memory is 38+/-2 + 2*(string length) bytes. In my own tests on JDK 1.4.2_09 I got something similar: 40 + 2*(string length) bytes when length2. For length 0 to 2, the size works out to