Hi,
I'm trying to use RandPictire.pm from the Book with internal redirect
and it works fine. But in this case URL /random/picture remains the same
and browser caches output ( I have default expire headers for images
"access plus 100 days" ). To avoid this I tried to set httpd header with
Pragma: no-cache but has no success. Is it possible to supply
correct http headers for internal redirect ?
Here is a code:
my $headers = $r->headers_out;
$headers->{'Pragma'} = $headers->{'Cache-control'} = 'no-cache';
$r->no_cache(1);
$r->internal_redirect_handler("${lucky_one}");
return OK;
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: [EMAIL PROTECTED], http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83