On 6/22/07, Michael Lackhoff <[EMAIL PROTECTED]> wrote:
> I didn't get a result. Within the authentication handler I stuffed an
> object (or even a simple string) into $r->pnotes and tried to write it
> to the logfile from the authorization handler but it was empty, the
> same test worked with $c->
On 22 Jun 2007 at 10:03, Perrin Harkins wrote:
> On 6/22/07, Michael Lackhoff <[EMAIL PROTECTED]> wrote:
> > Thanks for the hint! This almost did it. Some tests showed that I had
> > to use the connection-variant of pnotes in my setup:
> >
> > use Apache2::ConnectionUtil;
> > # grab the connection
On 6/22/07, Michael Lackhoff <[EMAIL PROTECTED]> wrote:
> Thanks for the hint! This almost did it. Some tests showed that I had
> to use the connection-variant of pnotes in my setup:
>
> use Apache2::ConnectionUtil;
> # grab the connection object;
> my $c = $r->connection;
You really shouldn't nee
On 20 Jun 2007 at 13:40, Perrin Harkins wrote:
> On 6/20/07, Michael Lackhoff <[EMAIL PROTECTED]> wrote:
> > Is this possible? I tried $r->dir_config(user_obj => $rdbo_user_obj); from
> > the mod_perl
> > documentation but that didn't work.
>
> I think you're looking for this:
> $r->pnotes(user_
On 6/20/07, Michael Lackhoff <[EMAIL PROTECTED]> wrote:
> Is this possible? I tried $r->dir_config(user_obj => $rdbo_user_obj); from
> the mod_perl
> documentation but that didn't work.
I think you're looking for this:
$r->pnotes(user_obj => $rdbo_user_obj);
- Perrin
---
I am using Apache2::AuthCookie for my authentification and authorisation. For
both I have to get
the user record from the database.
For authorisation I have to do an additional lookup for an ordinary item that
is requested by the
user. I need this record to check e.g. if the requested item and