[thelist] javascript:location.reload() <3

miinx lists at miinx.com.au
Tue Oct 1 21:32:01 CDT 2002

Dan Stockton wrote:
> how can I know how many times a page has reloaded?
> ((__if(var refreshpage<3){location.reload}
> else{document.write"sorry"}__type-o'thing, y'know?)))

if you can use a server-side language, just set a session variable there
to act as a counter and increment it each time the page is loaded.

if not - try using javascript cookies

if you can't do that either but you use frames in the site - set a js
variable in another frame to act as the counter

Miinx Design & Development
e :: karen at miinx.com.au
p :: 0413.880.302
w :: www.miinx.com.au

More information about the thelist mailing list