Sending HTTP headers through Javascript
For this to accomplish, we need to write a <meta> tag inside the <head>
Example:
<meta name="http-equiv" content="<one of the below 2 values>"
The two values are as follows:
1. content-type => Specifies the character encoding for the document.
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
2. refresh => number in seconds this specifies the number of seconds after which the page will automatically refresh.
<meta http-equiv="refresh" content="300" />
Comments
Post a Comment