refreshing a page?

They have: 12 posts

Joined: Oct 2000

is it possible to make a page refresh when it is loaded.. i only want it to refresh once. i have tried using meta refresh tags, i have also tried using meta tags to prevent it from caching, but none of this works.
i just need to make it so when they go to the page it refreshes once.

would it be possible to write a javascript code that basically said
If you came from another page, or used the back button to get to his page, than refresh the page?
thats kinda what i want.. unfortunately i am no well versed in javascript.

another idea i had (but still don't know much about doing) is that when a user goes to a certain page it gives them a cookie, then if they go back to the first page it refreshes if they have that cookie (because i really only need the page to refresh if they have already been to a certain page) then have the script get rid of the cookie so that the process will start over.

[Edited by [email protected] on Nov. 03, 2000 at 11:15 AM]

Give me what I want, and I'll go away!

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi bman,

Yes, they're all possible.
1) What code did you use for the meta tags?
2) You can find an excellent cookie tutorial at:
http://htmlgoodies.earthweb.com

If you provide some specifics and/or code, I'll be able to steer you better.

Vinny

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.