468,242 Members | 1,601 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,242 developers. It's quick & easy.

how to auto redirect a page?

how to redirect a page? as in after a few sec, the page will auto
direct u to another page.

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 18 '05 #1
3 3149
One way for refreshing the page after certain interval is by using meta
tag - Refresh. This tag specifies a delay in seconds before the browser
automatically reloads the document. Optionally, specifies an alternative URL
to load. Example
<META HTTP-EQUIV="Refresh"
CONTENT="3;URL=http://www.some.org/some.html">

In ASP.NET, you can add headers in code behind using this method.

Response.AppendHeader("Refresh", "10; URL=name.aspx")
For further details refer this article,
http://www.extremeexperts.com/Net/Ar...rSessionTimeou
t.aspx
--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"blu3g85" <bl*****@hotmail-dot-com.no-spam.invalid> wrote in message
news:40******@127.0.0.1...
how to redirect a page? as in after a few sec, the page will auto
direct u to another page.

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption

=---
Nov 18 '05 #2
thanks a lot

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 18 '05 #3
may be you can using "Thread.Current.sleep(3000)" then ,you can redirect ot
another page
but , this will consume you resource
"blu3g85" <bl*****@hotmail-dot-com.no-spam.invalid> ????
news:40******@127.0.0.1...
how to redirect a page? as in after a few sec, the page will auto
direct u to another page.

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption

=---
Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.