S
Sascha Möllering
Hi,
I've a problem: I don't want the browser to cache websites, because I
wrote a shop with authentification and after having logged out, it is
possible to see the old sites using the back button of the browser. I
tried the following (my header.cgi-file), but it does not work:
print "Content-type: text/html\n\n";
print <<EOF;
<html>
<head>
<META http-equiv="Cache-Control" content="no-cache">
<META http-equiv="Pragma" content="no-cache">
<META http-equiv="Expires" content="-1">
<link rel="stylesheet" type="text/css" href="/css/main.css">
</head>
<body>
<table width="78%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="78%" align="left">
EOF
Any ideas?
Thank you,
Sascha
I've a problem: I don't want the browser to cache websites, because I
wrote a shop with authentification and after having logged out, it is
possible to see the old sites using the back button of the browser. I
tried the following (my header.cgi-file), but it does not work:
print "Content-type: text/html\n\n";
print <<EOF;
<html>
<head>
<META http-equiv="Cache-Control" content="no-cache">
<META http-equiv="Pragma" content="no-cache">
<META http-equiv="Expires" content="-1">
<link rel="stylesheet" type="text/css" href="/css/main.css">
</head>
<body>
<table width="78%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="78%" align="left">
EOF
Any ideas?
Thank you,
Sascha