|
-
Apr 10th, 2001, 05:56 AM
#1
How can I redirect a page to another page with out using JavaScript, I know you can do it with the meta tags some how, but I cant remember?
Thanks
Si
-
Apr 10th, 2001, 07:00 AM
#2
Do you mean this meta tag?
Code:
<meta http-equiv="Refresh" content="1; URL=page.htm">
-
Apr 10th, 2001, 09:39 AM
#3
Black Cat
You could also use the "Location:" HTTP header.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Apr 10th, 2001, 04:15 PM
#4
Originally posted by kayoca
Do you mean this meta tag?
Code:
<meta http-equiv="Refresh" content="1; URL=page.htm">
Yep thats is cheers!
JoshT: Whats this your on about then?
-
Apr 11th, 2001, 07:20 AM
#5
Black Cat
Built into the HTTP protocol is the method for the server to "redirect" a web page request by telling the browser the file's correct location. The refresh meta tag requires the browser to download, process, and briefly display the page before the client is redirected.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Apr 11th, 2001, 06:57 PM
#6
Cool thanks!
A situation for ya....
I have index.asp and home.htm
I want index.asp to enter somedata into a database which I can do then forward to home.htm, hopefully with out the user noticing......would this be possible? which way would be best?
-
Apr 11th, 2001, 08:14 PM
#7
PowerPoster
I just thought of another way!
A good ole' javascript method:
Code:
<script language="javascript">
function reDirect(){
window.location.href="http://www.yoursite.com";
}
setTimeout("reDirect()", 1);
</script>
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Apr 12th, 2001, 08:24 AM
#8
Black Cat
Since you're using ASP look into Response.Redirect or Server.Transfer.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Apr 20th, 2001, 06:37 AM
#9
New Member
Just
<script language="javascript">
<!--
window.location.href="http://www.yoursite.com";
//-->
</script>
after you do what you want
it's a beautiful day to die
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|