how to auto redirect a page?

  • Thread starter Thread starter blu3g85
  • Start date Start date
B

blu3g85

how to redirect a page? as in after a few sec, the page will auto
direct u to another page.
 
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/Articles/RedirectingPageAfterSessionTimeou
t.aspx
--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com



blu3g85 said:
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
=---
 
may be you can using "Thread.Current.sleep(3000)" then ,you can redirect ot
another page
but , this will consume you resource
blu3g85 said:
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
=---
 
Back
Top