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

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: Wednesday,

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 form

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 http://www.tech

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 P

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 exp

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, 200

RE: What determines session inactivity timeouts?

2006-04-26 Thread Ashwin Mathew
Hey Reed, Try replacing your test.cfm with this: #timeformat(now(),"HH:MM:SS")# #timeformat(now(),"HH:MM:SS")# x=#session.x# x=#session.x# You can set values to the session even after it's expired (with one exception, s

RE: What determines session inactivity timeouts?

2006-04-25 Thread Ashwin Mathew
The session's last accessed time is updated every time a page is hit, and every time a session variable is read, written or removed. CF does not attempt to keep the session active during page processing. If you do have pages running longer than your session timeout, you'll either have to increase t

RE: Get String Byte Size

2006-04-19 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 length>2. For length 0 to 2, the size works out to