Redirect after session timeout
Category:ASP, HTML and XML
Version Compatibility: Visual Basic.NET
This method will refresh the page to the specified location after 5 secs. The disadvantage of this method is, this might not work in some lower end browsers. So you need to go for other method i.e. by using Meta Tags.
Using Meta Tag - Refresh
Another 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
In ASP.NET, you can add headers in code behind using thi...
Instructions: Copy the declarations and code below and paste directly into your VB project.