PDA

View Full Version : Load the latest page


andrew1234
11-27-2002, 08:51 AM
Hi

i have a link that links to a forgein website

how do i make it that when i click on my link
it links to the latestpage and not a cached page

thanks
andrew

skeatt
11-27-2002, 09:30 AM
In IE, Internet options menu...General....Settings...set to every visit to the page is one way

A1ien51
11-27-2002, 03:10 PM
here is the code to do it. I have an explaination for it, but I can not upload it since brinkster is down.

the link will be at http://www10.brinkster.com/a1ien51/Scripts/nocachelinks.htm sometime today.

<script>
function NewSession(URL,WIN){
d = new Date();
h = d.getHours();
s = d.getSeconds();
m = d.getMinutes();
if(WIN==1)self.location.href=URL+"?SessionID="+h+m+s;
else WinPop=window.open(URL+"?SessionID="+h+m+s);
}
</script>

<a href="javascript:NewSession('http://www10.brinkster.com/A1ien51',1)">Open in Same Window</a>
<a href="javascript:NewSession('http://www10.brinkster.com/A1ien51',2)">Open in New Window</a>