Folks,
I don't seem to be able to make pnotes, notes or subprocess_env work. I
am trying to pass a value from a handler to another, and from what I
have read in the Eagle, and cook book, the request ought to be the main
one in order for the pnotes, ... to work. So Here is the snippet of my
code:

.
.
.
$r->pnotes("STICKY" => "hello world");
$r->custom_response(FORBIDDEN, "/secureDB/Login");
return FORBIDDEN;
.
.
.

package secureDB::Login;

sub handler
{
        my $r                           = shift;
        $r                              = ($r->is_main ? $r : $r->main);

        my $object                      = undef;
        
                my $notes                       = $r->pnotes("STICKY");
warn "notes = $notes\n";
                #$object->{query}                = $r->args ||
$r->content;
                #$object->{path}                 = $r->uri();

                #$object->{FILE}                 = "secureLogin.html";

                #getUserInfo($object,$uid);
                makeTemplate($object,$r);          
        

        return OK;
}
1;

Noe I have tried subprocess_env, notes, and pnotes, but none seem to
work. I have to warn you that I can not use Apache::Request->instance()
because of my Apache version.
I appreciate all the help.
Thanks in advance
-r

Reply via email to