You need to use the HTTP response header to unsubscribe a user from a Web application. The first and easiest way to unsubscribe a user from a Web application is to use a browser HTTP response headers for a specific period of time. Open a text editor such as Notepad, and type the following HTML content:
Code:
<HTML>
<HEAD>
<META HTTP-EQUIV="Refresh" CONTENT="10;URL=Logoff.htm">
<TITLE> Redirect Demo </ TITLE>
</ HEAD>
<BODY>
<H1> You will be logged out after 10 seconds </ H1>
</ BODY>
</ HTML>
the <meta> Days redirects the browser to Logoff.htm after ten seconds (unless the user refreshes the page or another page loads). The page redirection is automatic even if the user interacts with the page at this time. In practice, a timeout of 20 minutes (1200 seconds) typically used with this type of redirection.
# Save this file RedirectDemo.htm.
Bookmarks