Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Re Directing Issue

Status
Not open for further replies.

Royal1941

Technical User
Mar 30, 2010
1
GB
Hi

I'm using Front Page - I'm an oldie doing his best to keep up to date - got a small website and I've set up a reminder page. Probably doing this all wrong using the following

<meta http-equiv="REFRESH" content="10;url=http://www.??????.co.uk/reminder.html">
this redirects ok - however I need it to go back to the home page on the site after 20 secs and the visitor can continue on any page on the site without it redirecting until the user leaves the site is this possible? not very experienced at this game. Perhaps somebody has an easier way of doing this.

Any help much appreciated

Many thanks
Royal1941

 
Hi

You will need to store the information that redirecting to the reminder was already done. Basically your options are the following :
[ul]
[li]store the information in cookie
[ul]
[li]handle the information client-side[/li]
[li]handle the information server-side[/li]
[/ul][/li]
[li]store the information in session[/li]
[/ul]
Given you skill, better go with cookie and JavaScript. So remove that [tt]meta[/tt] tag and use JavaScript code similar to what I posted in thread216-1581746.

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top