Re: [cgiapp] blank page printed when using cgiapp_postrun

2006-09-04 Thread David Kaufman
Hi Octavian, Octavian Rasnita [EMAIL PROTECTED] wrote: I have made a program using CGI::Application, CGI::Application::Plugin::Authentication and CGI::Application::Plugin::DBH [...] if I use header_props() in cgiapp_postrun, nothing is printed ... That method is just: sub cgiapp_postrun { my

Re: [cgiapp] blank page printed when using cgiapp_postrun

2006-09-04 Thread Rhesa Rozendaal
Octavian Rasnita wrote: Hi, All works fine, with the single big problem (until now) that if I use header_props() in cgiapp_postrun, nothing is printed on the page and the program returns the HTTP header Content-Length: 0. That method is just: sub cgiapp_postrun { my $self = shift;

Re: [cgiapp] blank page printed when using cgiapp_postrun

2006-09-02 Thread Sam Tregar
On Sat, 2 Sep 2006, Octavian Rasnita wrote: sub cgiapp_postrun { my $self = shift; $self-header_props(-charset = 'ISO-8859-2'); } Try using header_add() instead of header_props(). From the docs: Unlike calling header_props(), header_add() will preserve any existing headers. -sam

Re: [cgiapp] blank page printed when using cgiapp_postrun

2006-09-02 Thread Octavian Rasnita
From: Sam Tregar [EMAIL PROTECTED] sub cgiapp_postrun { my $self = shift; $self-header_props(-charset = 'ISO-8859-2'); } Try using header_add() instead of header_props(). From the docs: Unlike calling header_props(), header_add() will preserve any existing headers. It was