Is there any Script that auto clears cookies, every time when the page gets loaded?

[FONT=Arial][SIZE=2][COLOR=Indigo][COLOR=Purple]Dear Viewers,

Let me say you a scenario where we do regular updates for our clients site or our site.

After updation we clear the browser cookies or refresh the page atleast to view the

updated changes, knowing already that the content has been updated.

But how will the clients or other viewers who are regular visitors of our site know the

updated changes, who may not refresh or clear the cookies ?

Is there any script or anything of that sort that clears the cookies or refreshes the

pages each time when it gets loaded or any other solution for this problem. Please let

me know . [/COLOR]
[/COLOR][/SIZE][/FONT]

You can use javascript to refresh a page with window.location.reload(). Then you could use setTimeout or setInterval to refresh the page at regular intervals like so:


setInterval(window.location.reload, 60000);  // calls "refresh_the_window" every minute

I believe that’s the right syntax for refreshing, but if it’s not… just Google it.