Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 22nd, 2004, 7:53 AM   #1
Ade
Hobbyist Programmer
 
Ade's Avatar
 
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0 Ade is an unknown quantity at this point
Hi, I posted a answer to a problem earlier which was.....

<META HTTP-EQUIV="refresh" CONTENT="5, URL=http://www.whatever.com">

But my question is, how do you make the browser refresh to another page?

I have put in different pages but it still only reopens its self.

Is there a different command than "refresh" that could be used??




Cheers
__________________
Don't wound what you can't kill
Ade is offline   Reply With Quote
Old Oct 22nd, 2004, 1:48 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Don't put the comma in - see if that helps. Or you could just use PHP with the include() function.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Oct 22nd, 2004, 3:09 PM   #3
Ade
Hobbyist Programmer
 
Ade's Avatar
 
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0 Ade is an unknown quantity at this point
that comma should actually be semi-colon ;
__________________
Don't wound what you can't kill
Ade is offline   Reply With Quote
Old Oct 23rd, 2004, 9:34 PM   #4
kurifu
Expert Programmer
 
kurifu's Avatar
 
Join Date: Jul 2004
Location: Halifax, Nova Scotia (Canada)
Posts: 784
Rep Power: 5 kurifu is on a distinguished road
Send a message via ICQ to kurifu Send a message via MSN to kurifu
Ditto on the comma bit, perhaps that is what is causing your problem. IT SHOULD work though... you might also consider a java script to do the same thing... something like timeout( ) is the command you want.
__________________
Clifford Matthew Roche &lt;geek@cliffordroche.com&gt;
Web Hosting: http://www.crd-hosting.com
Consulting: http://www.crdev-consulting.com
kurifu is offline   Reply With Quote
Old Oct 24th, 2004, 5:32 AM   #5
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Not everyone has JavaScript enabled though. If you do use it, make sure users have an alternative way of going where you want them to go.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Oct 24th, 2004, 6:57 AM   #6
Ade
Hobbyist Programmer
 
Ade's Avatar
 
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0 Ade is an unknown quantity at this point
*SOLVED*


<META HTTP-EQUIV="Refresh" CONTENT="5;URL=http://www.whatever.com">

That's how it should look. :-)
__________________
Don't wound what you can't kill
Ade is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:59 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC