Closed Thread Icon

Topic awaiting preservation: Auto total-refresh.... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=24676" title="Pages that link to Topic awaiting preservation: Auto total-refresh.... (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Auto total-refresh.... <span class="small">(Page 1 of 1)</span>\

 
wrayal
Bipolar (III) Inmate

From: Cranleigh, Surrey, England
Insane since: May 2003

posted posted 01-12-2005 22:57

OK, I've just stuck myself up a website (in my sig). However, apparantly most people hate frames due to the fact that you cannot simply copy the text in the address bar (or at least, that's what I've heard - I don't reeally know as I do much more javscript than web design ). However, the way I've done it, it stores index.html?news or whatever in your temporary files I guess, so you have to do Ctrl-F5 to get any updated version.
And the same for index?total.html
And the same for index?whicheverPageIAddNext

and so forth....


Is there any way I can _make_ it do a Ctrl-F5 type refresh every time it loads the page? A stupid way of doing it I know, but just a (bad) possibility that occurred to me

Wrayal

My Website (finally! And yes, it uses frames and is evil, but, well, take a look, it's not as evil as you might think )

Skaarjj
Maniac (V) Mad Scientist

From: :morF
Insane since: May 2000

posted posted 01-13-2005 10:54

This should do it for you:

http://www.i18nguy.com/markup/metatags.html#pragma

Put that in the header of all your pages and the browser will never cache them, requiring it to contact your server for the page on every load.


Justice 4 Pat Richard

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 01-13-2005 17:28

yeah right - except that IE sometimes ignores pragma, leading to problems here at the asylum.

wrayal
Bipolar (III) Inmate

From: Cranleigh, Surrey, England
Insane since: May 2003

posted posted 01-13-2005 18:19

Hehe, thanks very much Skaarjj!
Tyberius, I already know what you mean; I added to a couple of pages that it needed it, and while stepping through and editing it, it seemed almost at random to pick and choose when it would update the pages :/.

oh well, it's a lame page anyway, as much of a proof of concept as to how to remove some of the evilness of frames as anything....

Wrayal

My Website (finally! And yes, it uses frames and is evil, but, well, take a look, it's not as evil as you might think )

Skaarjj
Maniac (V) Mad Scientist

From: :morF
Insane since: May 2000

posted posted 01-13-2005 20:53

True and don't you just wish, in return, that we could ignore IE too? Oh well...

The other possibility is listed on that page too. I'm not sure if IE ignores this one too, but it;s worth a shot:

http://www.i18nguy.com/markup/metatags.html#cache-control


Justice 4 Pat Richard

(Edited by Skaarjj on 01-13-2005 20:55)

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 01-13-2005 23:33

One last resort possibility is to replace all hyperlinks that are like

index?total.html

with

index?total.html&rand=43243242343

where rand is a randomly generated number (the date and time works also). This makes it very unlikely that a user will ever visit the same URL twice, so the browser shouldn't cache the page.


 

wrayal
Bipolar (III) Inmate

From: Cranleigh, Surrey, England
Insane since: May 2003

posted posted 01-14-2005 11:59

Ah yes, I remember Shingebis using that method in his gimfplasma (IIRC) - very clever method . I'll implement it later on today.

Wrayal

My Website (finally! And yes, it uses frames and is evil, but, well, take a look, it's not as evil as you might think )

« BackwardsOnwards »

Show Forum Drop Down Menu