[TYPO3-english] FE logout and browser back button

Katja Lampela katja.lampela at lieska.net
Tue Nov 3 21:55:05 CET 2009


Hi,

Bernhard Kraft kirjoitti:
> I just had a look at facebook. There your described behaviour doesn't occur.
> You should probably check what HTTP header such applications like facebook,
> gmx, etc. are sending, and play around with those.
> 

Thanks guys, this is what I've found and it's working for most browsers:

<head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-store, no-cache, 
must-revalidate">
<META HTTP-EQUIV="Cache-Control" CONTENT="post-check=1, pre-check=2">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</head>

But now IE7 doesn't care about this, it still delivers the cached 
content. For it the previous code (with head tags and all) should be 
douplicated into the bottom of the code, just before the final </html> 
and outside </body>

So the last rows of the output should be:

...blahblah
</body>
<head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-store, no-cache, 
must-revalidate">
<META HTTP-EQUIV="Cache-Control" CONTENT="post-check=1, pre-check=2">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</head>
</html>

And sure this is wrong and does not validate, but in this case it just 
doesn't matter, it's a closed extranet and security overrules everything.

But how can I add this code after </body>? With normal page.xxx it ends 
inside the body tag. And adding it into the html template doesn't work.


-- 
  With kind regards

Katja Lampela
*Lieska-tuotanto
* www.lieska.net


More information about the TYPO3-english mailing list