httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Vanasco <apreq-dev-l...@2xlp.com>
Subject Re: Apache::Cookie - what is the mod_perl 2.0 equivalent?
Date Wed, 25 Oct 2006 18:49:23 GMT

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
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - -



Mime
View raw message