perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <per...@elem.com>
Subject Re: Database transaction across multiple web requests
Date Fri, 31 Mar 2006 18:42:17 GMT
On Fri, 2006-03-31 at 09:34 -0600, JupiterHost.Net wrote:
> a) If the connection is persistent and you can pass a hash around then 
> do the query once, store the data in the hash keyed on the session.

You'd be better off storing a query result in way that is keyed on the
query, not the person who made it.  Many apps have some very common
queries that allow for good reuse if cached results are shared between
users.

- Perrin


Mime
View raw message