Auto Refresh
I am runnning an ASP application site, and I would like to make sure that the pages are loaded from the server everytime. Obviously this happens with ASP, however not when the BACK button is used. I would like to make sure the page is reloaded when the user backs up. Any suggestions ?
fairhousing posted this at 18:53 — 16th March 2000.
They have: 1,587 posts
Joined: Mar 1999
timed refresh meta tag, very crude method though.
------------------
Thumbs up or down ratings of the best and worst ways to make $$$ on the net. CLICK 4 CASH! from Affiliate Programs and Ad Networks
Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?
Vincent Puglia posted this at 20:18 — 16th March 2000.
They have: 634 posts
Joined: Dec 1999
Hi,
Try using the referrer. Sort of:
if (referrer == somepage.html) reload();
Vinny
------------------
GrassBlade: cut&paste javascript
royalt posted this at 20:57 — 16th March 2000.
They have: 3 posts
Joined: Mar 2000
Thank you for the responses, here is a better example of what I am looking for.
I would like to use Javascript to know whether or not the BACK button was pressed then look at the previous history and redirect to it, so that it will load again.
More input please !
Vincent Puglia posted this at 01:58 — 17th March 2000.
They have: 634 posts
Joined: Dec 1999
Hi,
Try using the history object (current, previous, next).
histCur = history.current;
histPrev = history.previous;
The properties return an index into the history list. If you name your files -- file1.html, file2.html -- you should be able to compare them.
Hope this helps.
Vinny
------------------
GrassBlade: cut&paste javascript
Where the world once stood
the blades of grass cut me still
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.