You could use Events:
http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/events.html.

-Vincent


On Wed, Mar 12, 2014 at 3:46 AM, Atul Agrawal <[email protected]> wrote:

> Hello Everyone,
>
> I wanted my server to perform some task on every request that any user
> makes to my pyramid server.
> So I think of extending code where a request initialistaion is
> made.Something like overriding initialise function here:
> https://webapp-improved.appspot.com/api/webapp2.html#webapp2.RequestHandler.initialize
>
> Is there any better way to do this in pyramid?
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/pylons-discuss.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Vincent Catalano
Software Engineer and Web Ninja,
(520).603.8944

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to