Yep! Thanks for the book, it just arrived Friday. So now I'm sitting
on something what I wanted to do since a long time:

Splitting all my logic in the PerlHandler into PerlInitHandler, PerlTransHandler,
PerlAuthzHandler, PerlHandler and PerlCleanupHandler.

I would catch user sessions in PerlInitHandler/PerlTransHandler,
store/check them in PerlAuthzHandler, where I would also set the
cookie, and close or refresh them in PerlCleanupHandler.

The content would be created by PerlHandler, where I use HTML::Mason.

As I need information between the stage of life, I would use $r->notes to
communicate down the cycle. But then again, if I have some data tied
to the session (I use Apache::Session), how can I give it to
the PerlHandler. Is $r->notes proofed for any export, object or blessing
behavior?

Question: Is this approach ok, to be said, normal?


BR Christian

Reply via email to