Apache::Session::Memcached Insanity

Perrin Harkins perrin at elem.com
Thu Mar 20 15:42:16 UTC 2008


On Thu, Mar 20, 2008 at 11:30 AM, Robert Landrum
<robertlandrum at gmail.com> wrote:
> Also, it's Apache::Session that contains the methods for handling the
> tie-ing.  It has no UNTIE method...  only DESTROY, which suggests that if
> this were a bug, someone would have found it by now.

People constantly have problems with scoping issues when using this
module.  The only safe way to handle it, if you put it in a global, is
to explicitly force a write at the end of each request.  Using the
DESTROY hook to trigger writing seems to be very problematic.

- Perrin


More information about the memcached mailing list