On Sat, 11 Mar 2006 02:42:20 +0100 yperl <[EMAIL PROTECTED]> wrote: > I've tried everything I found (in mailing lists, suggestions, web doc) > to send cookie from a PerlAccessHandler, but without success. > > Before giving up, I would like to have an answer from the mod_perl2 > authors if it is possible. > > [snip] > > if ( grantAccess() ) { > > $r->headers_out->{'Set-Cookie'} = $cookie; > return Apache2::Const::OK; > }
Shouldn't that be: $r->headers_out->add('Set-Cookie' => $cookie ); --------------------------------- Frank Wiles <[EMAIL PROTECTED]> http://www.wiles.org ---------------------------------