On 2004-03-12, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Fri, 2004-03-12 at 16:11, Mark Stosberg wrote:
>> I'm out of any ideas. Any wild guesses appreciated. :) 
>
> Your CGI::Session object is not going out of scope, so it doesn't get
> destroyed until you shut down the server.

You are so incredibly right! I added this to my teardown method, and it
appears to fix things:

if ($self->param('ses')) {
  my $session = $self->param('ses');
  $session->flush();
}

And now my tests pass. Thanks!

        Mark

-- 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . 
   Mark Stosberg            Principal Developer  
   [EMAIL PROTECTED]     Summersault, LLC     
   765-939-9301 ext 202     database driven websites
 . . . . . http://www.summersault.com/ . . . . . . . .


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to