why? Is the handler executed at every request?

You are right that handler does not see Request, Response, etc and you
cannot define Auth there.
You can get the cookie session_id, try open the corresponding session
file, unpickle and look for "auth" in there.
Ugly but I cannot think of a better way.

On Aug 9, 4:30 am, huimies <[email protected]> wrote:
> Yes, that works, but I mean I need to do this inside MyHandler. And
> that isn't web2py any more.

Reply via email to