| |
wolfberg
Posts: 4
Score: 0
Joined: 11/21/2004
From:
Status: offline
|
there is probably a better way, but the way I do it is by refreshing an asp page via a javascript. Just set the page to refresh every 24 hours. round about, but works <script language="JavaScript"> // CREDITS: // Automatic Page Refresher by Peter Gehrig and Urs Dudli www.24fun.com // Permission given to use the script provided that this notice remains as is. // Additional scripts can be found at http://www.hypergfurl.com. // Configure refresh interval (in seconds) var refreshinterval=1000 // Shall the coundown be displayed inside your status bar? Say "yes" or "no" below: var displaycountdown="no" // Do not edit the code below var starttime var nowtime var reloadseconds=0 var secondssinceloaded=0 function starttime() { starttime=new Date() starttime=starttime.getTime() countdown() } function countdown() { nowtime= new Date() nowtime=nowtime.getTime() secondssinceloaded=(nowtime-starttime)/1000 reloadseconds=Math.round(refreshinterval-secondssinceloaded) if (refreshinterval>=secondssinceloaded) { var timer=setTimeout("countdown()",1000) if (displaycountdown=="yes") { window.status="Page refreshing in "+reloadseconds+ " seconds" } } else { clearTimeout(timer) window.location.reload(true) } } window.onload=starttime </script>
|
|