Re: Apache::Session - can't undef %session?

2000-07-24 Thread Perrin Harkins
On Mon, 24 Jul 2000, Kenneth Lee wrote: > I found that if I explicitly undef %session, CLEAR will be triggered > before DESTROY clearing $self->{data}, so $self->save actually update > nothing in the database. The perltie page says that this will happen when assigning the empty list to a tied h

Apache::Session - can't undef %session?

2000-07-24 Thread Kenneth Lee
Hi all, I found that if I explicitly undef %session, CLEAR will be triggered before DESTROY clearing $self->{data}, so $self->save actually update nothing in the database. # Apache/Session.pm ... sub CLEAR { warn "CLEAR!\n"; ... sub DESTROY { warn "DESTROY!\n"; ... # The