posted 10/6/2009 by Vijendra Shakya
Here I have discussed how we auto refresh page and why we need to auto refresh the page.Page is Auto refresh means forcing a page to post back without user input.
Following are the main reason to auto refresh the page.1. Redirecting to a new URL after some specific time.2. Refreshing page information within a given time period.3. Maintain a session state.
We auto refresh the page in following way:
<meta http-equiv="refresh" content="30;url=http://www.codeasp.net/">
Put this line inside the header tag of the page.1. Here 30 refers to the number of seconds, now page is refresh after 30 seconds;2. URL is not compulsory if we don't give the URL it means it refresh the current page.
dear friend
i want to make my blogspot page auto refersh the page like this "blog http://www.brameshtechanalysis.com/charts/banknifty.html" so my visiter will get the data update .
can u expalin it or
Hi Ramesh,You can use above given method for auto refreshing the page after a certain interval, if you don't want to redirect the page just remove the url property.<meta http-equiv="refresh" content="30">This will refresh page after every 30 second.You can follow my article for autorefreshhttp://codeasp.net/articles/asp-net/41/auto-refresh-data-using-ajax-in-asp-net
<meta http-equiv="refresh" content="30">This will refresh page after every 30 second.You can follow my article for autorefreshhttp://codeasp.net/articles/asp-net/41/auto-refresh-data-using-ajax-in-asp-net
Hi, if i want to refresh just one block of the page and not the whole page, how can i do that? thank you
Hi Ramesh,You can use above given method for auto refreshing the page after a certain interval, if you don't want to redirect the page just remove the url property.<meta http-equiv="refresh" content="30">This will refresh page after every 30 second.
<meta http-equiv="refresh" content="30">This will refresh page after every 30 second.
yes it very use full
What kind of email newsletter would you prefer to receive from CodeAsp.Net?18