Re: [AOLSERVER] no-cache, expires, etc.

2001-07-16 Thread Brian Fenton

Try putting the following in your header:



cheers,
Brian

> -Original Message-
> From: Ian Harding [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, July 13, 2001 6:40 PM
> To:   [EMAIL PROTECTED]
> Subject:      [AOLSERVER] no-cache, expires, etc.
>
> 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.
>
> How do you do this?
>
> Thanks!!
>
>
>
> Ian A. Harding
> Programmer/Analyst II
> Tacoma-Pierce County Health Department
> (253) 798-3549
> mailto: [EMAIL PROTECTED]



Re: [AOLSERVER] no-cache, expires, etc.

2001-07-16 Thread Brian Fenton

Try putting the following in your header:

> -Original Message-
> From: Ian Harding [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, July 13, 2001 6:40 PM
> To:   [EMAIL PROTECTED]
> Subject:      [AOLSERVER] no-cache, expires, etc.
>
> 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.
>
> How do you do this?
>
> Thanks!!
>
>
>
> Ian A. Harding
> Programmer/Analyst II
> Tacoma-Pierce County Health Department
> (253) 798-3549
> mailto: [EMAIL PROTECTED]



[AOLSERVER] Recall: [AOLSERVER] no-cache, expires, etc.

2001-07-16 Thread Brian Fenton

Brian Fenton would like to recall the message, "[AOLSERVER] no-cache,
expires, etc.".



Re: [AOLSERVER] no-cache, expires, etc.

2001-07-15 Thread Jim Wilcoxson

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]/  \
> -/\-
>



Re: [AOLSERVER] no-cache, expires, etc.

2001-07-15 Thread Remigiusz Sokolowski

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]/  \
-/\-



Re: [AOLSERVER] no-cache, expires, etc.

2001-07-13 Thread Zoran Vasiljevic

On Friday 13 July 2001 19:40, you 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.
>
> How do you do this?
>

I add some junk in generated URL,  like
  ?dummy=
This relies on the fact that most browsers
will not cache urls with queries within.
Of course, I might be wrong, but I could
survive with this scenario for many years.

This will (of course) fill the browser's cache
pretty fast, so if you care about that, don't do it.

Cheers, Zoran



[AOLSERVER] no-cache, expires, etc.

2001-07-13 Thread Ian Harding

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.

How do you do this?

Thanks!!



Ian A. Harding
Programmer/Analyst II
Tacoma-Pierce County Health Department
(253) 798-3549
mailto: [EMAIL PROTECTED]