Re: Apache::Cookie - what is the mod_perl 2.0 equivalent?
Jonathan Vanasco <[email protected]>
| Newsgroups | gmane.comp.apache.apreq |
|---|---|
| Message-ID | <[email protected]> |
On Oct 25, 2006, at 2:35 PM, Patrick Galbraith wrote:
> I have been looking high and low for the answer - what is the
> equivalent of Apache::Cookie in mod_perl 2.0? I tried to use
> Apache2::compat to get some of my old code working to no avail.
Apache2::Cookie
my $cookie= Apache2::Cookie->new(
$self->{'ApacheRequestRec'},
-name => $name ,
-value => $value ,
-expires => $expiry ,
-secure => $secure ,
);
$cookie->path( $self->CookieDefaults->{'path'} );
$cookie->domain( $domain );
$self->{'ApacheRequestRec'}->err_headers_out->add('Set-Cookie'=>
$cookie);
// Jonathan Vanasco
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -