modperl_apache_session_db_file_and_open_sessions

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



To: Todd Finney <tfinney@boygenius.com>
From: Perrin Harkins <perrin@primenet.com>
Subject: Re: Apache::Session::DB_File and open sessions
Date: Fri, 19 Jan 2001 01:22:47 -0800

Todd Finney wrote:
> The one-sentence version of my question is: Is there a
> problem with tying a session twice during two different
> HeaderParserHandlers, as long as your doing the standard
> cleanup stuff (untie &| make_modified) in each?

It seems like the answer should be no unless there's some kind of bug,
but I don't understand why you're doing it this way.  Why don't you just
put a reference to the %session hash in pnotes and use it in the second
handler, instead of putting the ID in and re-creating it?  That should
be considerably more efficient.
- Perrin

===

To: modperl@apache.org
From: Todd Finney <tfinney@boygenius.com>
Subject: Re: Apache::Session::DB_File and open sessions
Date: Fri, 19 Jan 2001 05:39:28 -0500

Thanks to Perrin's suggestion (read: clue brick), things 
are much happier now.  Going around the problem is just as 
good as fixing it, I suppose.

I'm still curious about that behavior, though.

===

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu