I have made a login-area, that should work like hotmail. Once the user has hit the "signout" button, he is signedout. However I had/have this problem that if you click on the "Back" button, then you can see the content from the login-area (it would be like people seeing your inbox in hotmail.)
I have spend two days on these few lines and now they finally work in IE and firefox. But when I try in safari on a mac it doesn't work. Any ideas? I think safari caches too much or something.
print "Expires: Mon, 20 Dec 1998 01:00:00 GMT\n";
print "Cache-Control: no-cache, no-store, must-revalidate, max-age=0\n";
print "Cache-Control: post-check=0, pre-check=0\n";
print "Pragma: no-cache\n";
print "Content-type: text/html\n\n";
print"<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0;URL=index.cgi\">";
I have copy/paste'ed that from my PERL script.
Any ideas will help.
Thanks!
I have spend two days on these few lines and now they finally work in IE and firefox. But when I try in safari on a mac it doesn't work. Any ideas? I think safari caches too much or something.
print "Expires: Mon, 20 Dec 1998 01:00:00 GMT\n";
print "Cache-Control: no-cache, no-store, must-revalidate, max-age=0\n";
print "Cache-Control: post-check=0, pre-check=0\n";
print "Pragma: no-cache\n";
print "Content-type: text/html\n\n";
print"<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0;URL=index.cgi\">";
I have copy/paste'ed that from my PERL script.
Any ideas will help.
Thanks!