Hi,
I have made a program using CGI::Application,
CGI::Application::Plugin::Authentication and CGI::Application::Plugin::DBH.
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.
If I delete that subroutine, or comment out the header_props() line all
works fine, but the page doesn't show right because I cannot set the right
charset without using this method.
That method is just:
sub cgiapp_postrun {
my $self = shift;
$self->header_props(-charset => 'ISO-8859-2');
}
I guess there is an incompatibility with the Authentication plugins, but I
don't know how to solve it.
This method works fine before the login, but after logging correctly,
nothing is printed.
Can I do something to be able to use the Authentication and Authorization
pluggins and also use cgiapp_postrun?
Thank you.
Teddy
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]