Geoffrey Young <[EMAIL PROTECTED]> said something to this effect on 09/06/2001:
> > > BlankWhat is the best way to share % across multiple requests ?
> >
> > it's called maintaining state - read the eagle book, chapter 5.
> >
> > one common solution is Apache::Session
>
> sorry, I think I misread the question - the verbosity threw me.
> If you are looking to store a datastructure on disk (such as a
> hash) then you can use Storable, which allows you to serialize
> and deserialize your data on demand. Apache::Session has the
> ability to do the same, but it's not entirely intuitive if you
> aren't already familiar with it.
Since he's using HTML::Mason, though, he has some examples of how
to use Apache::Session, and it's pretty easy to set up. If I am
remembering correctly, many of the code examples in the Mason
docs assume you are using Apache::Session, and one of sample
handler subroutines shows how to use it.
(darren)
--
Never make anything simple and efficient when a way can be found to
make it complex and wonderful.