> The problem
> is, the machine I'm doing this on will soon run Apache 2.0.47 (the
> machine will run Fedora Core 1.0), so I can't use Apache::Request and
> Apache::Cookie like I have been doing! Due to maintenance constraints,
> we can't use 2.0.48 (the requirement for the m_p 2.0 versions of
> Apache::Request) until there is an RPM for it from RedHat. 

I'm pretty sure that Apache::Request (libapreq2) only requires 2.0.46, so
you're safe there.

> I'll attach my 1.0 code below (it's in a PerlAuthenHandler)
> 
> ...
> 
>     my $cookie1 = new Apache::Cookie($r,
>       -name => 'mnw_user', -value => $db_user, -domain =>
> '.mission.net', -path =>  '/',);

just add a properly formatted Set-Cookie header to $r->headers_out.  the
easiest way to make sure you've got the header right (if you're not sure how
to format it) is to generate it using Apache::Cookie (say, with mp1) then
just paste the string into your $r->headers_out->add() call.

HTH

--Geoff


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to