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
<url>?dummy=<some_uniqe_never_repeated_value>
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