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.