From 5bb9eff0716710611f50071bec6167b4514edb48 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 9 Feb 2002 17:03:55 +0000 Subject: okay, both Apache::ASP and Mason should set no-cache headers now (closes: Bug#23) --- htetc/handler.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'htetc/handler.pl') diff --git a/htetc/handler.pl b/htetc/handler.pl index f80c79e65..5be19c443 100644 --- a/htetc/handler.pl +++ b/htetc/handler.pl @@ -109,7 +109,10 @@ sub handler $r->content_type('text/html'); #eorar - # @FS::CGI::headers or some other way to set no-cache headers!!! + my $headers = $r->headers_out; + $headers->{'Pragma'} = $headers->{'Cache-control'} = 'no-cache'; + #$r->no_cache(1); + $headers->{'Expires'} = '0'; my $status = $ah->handle_request($r); -- cgit v1.2.1