On Thu, Aug 09, 2007 at 02:28:52PM -0400, John Lifsey - Contractor - wrote:
Dylan Vanderhoof wrote:
Is there a method in C::Req (or any other part of Cat) that I can
overload which is called only once per request? I thought
that would be
prepare, but it seems that is called several
Is there a method in C::Req (or any other part of Cat) that I can
overload which is called only once per request? I thought that would be
prepare, but it seems that is called several times per page load. Any
advice appreciated.
John
___
List:
-Original Message-
From: John Lifsey - Contractor - [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 09, 2007 8:04 AM
To: The elegant MVC web framework
Subject: [Catalyst] Method to overload per request
Is there a method in C::Req (or any other part of Cat) that I can
overload
Dylan Vanderhoof wrote:
Is there a method in C::Req (or any other part of Cat) that I can
overload which is called only once per request? I thought
that would be
prepare, but it seems that is called several times per page load. Any
advice appreciated.
John
by several times per page load are you referring to multiple
requests to render one page? (ie, if you have your css/js/etc served
through your app)
On Aug 9, 2007, at 8:04 AM, John Lifsey - Contractor - wrote:
Is there a method in C::Req (or any other part of Cat) that I can
overload