On 30/03/2004, at 5:21 AM, Brian Clarkson wrote:

I'm hoping that I'm doing something wrong ...

I've tried the logout.pl that comes in the Apache::AuthCookie dist, but that didn't work.


My code has an object that has an Apache::Request object stuffed into it, and:


sub logout { my ($self) = @_;

    my $authtype =  $self->{apr}->auth_type;
    if (defined $authtype) {
        $authtype->logout($self->{apr});
    }
    else {
        # ??
    }
}


...that works fine.



Cheers,



Nick -- Nick Phillips / +64 3 479 4195 / [EMAIL PROTECTED] # these statements are my own, not those of the University of Otago


-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to