Thanks Leon.

Your explanation it's very good and i know setHeader in sitemap i have seen
in http://wiki.cocoondev.org/Wiki.jsp?page=DownloadFilesToLocalDisk but i
don't know where i must declare "HttpHeaderAction" when that page say "use
the HttpHeaderAction (don't forget to declare it)".

Then i look for in cocoon site "HttpHeaderAction" and i found the url
http://wiki.cocoondev.org/Wiki.jsp?page=Action but i am without to know what
lines i must put exactly for HttpHeaderAction. I supose what something as:

<map:actions>
<map:action name="add-employee"
              src="org.apache.cocoon.acting.DatabaseAddAction"/>
<map:action name="locale"
              src="org.apache.cocoon.acting.LocaleAction"/>
<map:action name="request"
              src="org.apache.cocoon.acting.RequestParamAction"/>
<map:action name="form-validator"
              src="org.apache.cocoon.acting.FormValidatorAction"/>
</map:actions>
... but how would be for HttpHeaderAction?????Thank you very much again. I
hope your reply soon.Best desires from Seville (Spain)----- Original
Message ----- 
From: "Leon Widdershoven" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 5:00 PM
Subject: Re: Back button of my navigator


> I'm no wizard but I think the problem is that browsers cache the page.
> The browser should request the page again when Back is pressed.
>
> There is a HTTP1.1 header "no-cache" which should be set on the page.
> I don't really know how to do that - something like
> response.setHeader( "Cache-Control", "no-cache");
> response.setHeader("Pragma", "no-cache" );
>
> a no-store, or must-revalidate header could also be an option but I'm
> not at home with those headers.
>
> If there's a wizard around to (s)he might tell you how to set those
headers
> in the sitemap, xsp or flowscript (I don't know what you use - but the
> sitemap
> is a good option I think; maybe a configuarion of the html serializer?)
>
> Hope this is at least a pointer in the right direction,
> leon
>
>
> Elvira Nieto Carretero wrote:
>
> > I use session variable to save the links navigation that the user
> > press during his permanence in my web site.
> >
> > But, if the user press the back button of the navigator, my session
> > don't update and the next link that he press appear the step that it
> > had to undo when back button of the navigator was pressed.
> >
> > do you understand me?... i hope yes.
> >
> > best desires
>
>

Reply via email to