Alas, H::D::T's session mgmt is largely non-existant (tho I'm working
on more robust support for another project). It does capture cookies,
but you'll have to implement your own H::D::T::Session and SessionCache
objects. You may find the classdocs
more helpful than the CPAN POD to guide you. But I definitely need
to put together a tutorial.
You also mentioned "memory management issues" in the OP. Care to elaborate ?