Hi all!

    I need some advice on how to make some comfort into mod_perl
Response Handler. 

    I used cookies and sessions to authenticate and authorizate user
into my app ( Apache2::AuthCookie ). So, every handler ( or most of them
) have to get cookie, take a session id from it, makes session, and only
then
do its own work.

    So, the question is: Is there a possibility to get tied session hash
more quickly ?

    The same thing happens with Tamplate object. Most part of my scripts
have to generate output over a Template Toolkit. So, may I declare the
Template object in the only place, and then use it into response handlers ?

    Well, I'm new to the mod_perl, but I have already read enough info
about numerous frameworks. I'm not shure yet: was it good idea to start
project with "clear" mod_perl and not using Catalyst for example. May be
some one has  some serious arguments whether to use frameworks or not ?
As I understand from documentation: frameworks give me everything: and
what I need, and what I don't need. But I want to use Template if I want
it, and don't use it else :)

Reply via email to