Re: [Templates] mod_perl + cookies + TT2 process = my problem
[prev]
[thread]
[next]
[Date index for 2004/12/13]
On Mon, 2004-12-13 at 18:48 +0100, Tosh Cooey wrote:
> Any idea why the output from TT2's "process" call isn't intercepted while a
> standard print "Content-type: text/html\n\n;" is? Is the output redirected to
> <STDOUT> rather than via 'print' ?
It shouldn't matter, but you could tell TT to use $r for output.
> And of course is there an elegant way of sending headers per individual template?
Put the type in the template's META data and send the header yourself
before sending the rest of the template content. Or just turn off
header parsing and send the headers manually.
- Perrin
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates