FYI, the ns_set below is not valid syntax...
The correct syntax is ns_set put [ns_conn outputheaders] Pragma no-cache

Jim

>
> Ian Harding wrote:
> >
> > I am trying to fix it so a page is always fetched fresh from the server, even when 
>the user hits the back button (or I use it with .history(-1))
> >
> > I have tried ns_setexpires, which does not seem to work by itself.  The client 
>still seems to use cache.
> >
> > I tried adding ns_set put [ns_conn headers] Pragma: no-cache, with no effect.
>
>
> Hi!
> I believe, setting Expires and Pragma headers should work.
> You should probably change Your code to the following
> ns_set put [ns_conn outputheaders] {Pragma: no-cache}
> --
>
> -------------------------------------------------------------------/\------
> Remigiusz Sokolowski      e-mail: [EMAIL PROTECTED]            /  \
> -----------------------------------------------------------------/____\-----
>

Reply via email to