perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Foertsch <torsten.foert...@gmx.net>
Subject Re: Updating cookies in header during request processing
Date Fri, 18 Sep 2009 13:34:32 GMT
On Fri 18 Sep 2009, Igor Chudov wrote:
> But how can I change the cookie AFTER I called $cgi->start_html?

As long as there is nothing sent out on the wire you can add headers. 
When the response header is gone you can't. start_html() only generates 
a string as far as  know. So it depends upon when this string is sent.

But with mod_perl you can circumvent even this limitation. Write a 
caching output filter.

Torsten

-- 
Need professional mod_perl support?
Just hire me: torsten.foertsch@gmx.net

Mime
View raw message