cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enke Michael <Michael.E...@wincor-nixdorf.com>
Subject session invalidator and back button
Date Thu, 16 Aug 2001 13:54:54 GMT
Hi,
I'm using the example from cocoon for "Protected Area"
and wonder why after logout I can push the back button and
I'm back inside the protected area. The page from which I
logout should have the expire hint.
Here the diff -u for webapp/protected/stylesheets/simple-page2html.xsl

--- simple-page2html.xsl        Thu Aug 16 15:52:12 2001
+++ simple-page2html.xsl.new    Thu Aug 16 15:51:41 2001
@@ -5,6 +5,8 @@
   <xsl:template match="page">
     <html>
       <head>
+        <META content="0" http-equiv="expires"/>
+        <META content="nocache" http-equiv="pragma"/>
         <title>
           <xsl:value-of select="title"/>
         </title>
Could any commiter apply this please?

By the way, why that: I want to see in the html:
<META http-equiv="expires" content="0">
but for this I have to switch both attributes,
first "content", than "http-equiv":
<META content="0" http-equiv="expires"/>

Michael

PS: My konqueror (kde2.1) doesn't care about expires and nocache ;-(

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message