OK, here is the ugliest workaround you've seen all day. A pint of beer for anyone who can explain why I am having to do this. I added to my constructor: register_shutdown_function(array($this, '__destruct')); and it works, so to speak. --- David Mintz http://davidmintz.org/