Mail Index


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ApacheGallery] Cookie patch



On Tue, Sep 09, 2003 at 07:52:19PM +0200, Rene Joergensen wrote:
> Hi.
> 
> Attached is a patch that makes Apache::Gallery set a cookie if the user
> chooses something else that the standard resolution.
> 
> I don't know if it works under mod_perl2, it has only been tested under
> mod_perl1.

To make it work with both mp1 and mp2 just change:

			$r->header_out('Set-Cookie',$cookie);

to

			$r->headers_out->{'Set-Cookie'} = $cookie;

A modified patch was committed to r203:

http://svn.apachegallery.dk/snapshots/Apache-Gallery-r203.tar.gz

Thanks for the patch,
Michael

-- 
hestdesign.info - we put the hest in .com
_______________________________________________
users mailing list
[email protected]
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers