I'm trying to use Apache::Session
, which returns the session as a tied
hash. I'd like to impliment, for example, a Logout(%SESSION)
subroutine whereby I delete (read, untie
) the session. The ultimate question is do I have to retie the hash tie %SESSION, 'Apache::Session::MySQL'
inside the subroutine, or is there some way to pass a reference to the object so that I can call tied(%SESSION)->destroy
My impression from Programming Perl and perldoc is I'll have to retie the %SESSION every time the has is passed, which seems unpleasant in a number of ways.