Http Expire Header on Referer Check

Hi,

I suggest to set an expire header, if a referer check is requestet to avoid
the caching of this document.

Something like

use HTTP::Date;


# from the check script the line:
$parameters = $ENV{PATH_INFO} || $ENV{QUERY_STRING};

print "Content-type: text/html\n\n";

if ( $parameters =~ /^\/referer/ ) {
  print "Expires: ",time2str($time),"\n";
}

[....]

would be my solution.

Regards,
 Björn Höhrmann

Received on Monday, 2 August 1999 21:36:55 UTC