--- drake/drake.module 2007-05-16 16:40:18.000000000 -0700 +++ drake/drake.module.NEW 2007-05-16 16:52:37.000000000 -0700 @@ -273,7 +273,10 @@ function drake_dispatcher($application = // Startup - _drake_dispatcher_initialize(); + if (!isset($settings['application']['session']) || $settings['application']['session'] == false) + { + _drake_dispatcher_initialize(); + } // So CakePHP knows about Drake @@ -313,7 +316,10 @@ function drake_dispatcher($application = // Finalize - _drake_dispatcher_finalize(); + if (!isset($settings['application']['session']) || $settings['application']['session'] == false) + { + _drake_dispatcher_finalize(); + } // If clean output (i.e: AJAX) send contents and exit