> On Thu, 2003-11-13 at 16:47, Jonathan Swartz wrote:
> > So the default MySQL driver does locking just like Apache::Session, and
> > there's no built-in way to turn it locking. So it's possible that the
same
> > locking problems that plague Apache::Session would happen in
CGI::Session.
> > Argh!
>
> So, basically you are left with using Apache::Session::Flex and its
> NullLocker class or making your own session module.  You could also
> create a separate CGI::Session driver that doesn't have the locking in
> it.

Sure, either of these things are easy to do once you know about them. My
particular goal is finding a standard session mechanism for the Mason user
community that's functional out of the box, well supported, and minimally
confusing. Dave's MasonX::Request::WithApacheSession does go a long way
towards this goal, but you still have to know about the various
Apache::Session pitfalls.

For now, I guess we focus on improving our documentation to help users avoid
as many of these pitfalls as possible.

Jon


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to