Here's the code I have:
<%
Response.AddHeader "Refresh", "5;URL=http://www.example.com"
%>
I am using this code to redirect from one website to another website after time delay of 5 sec. code working in all browser except chrome and safari
Here's the code I have:
<%
Response.AddHeader "Refresh", "5;URL=http://www.example.com"
%>
I am using this code to redirect from one website to another website after time delay of 5 sec. code working in all browser except chrome and safari
The Refresh HTTP was never part of the HTTP Standard it was first introduced by Netscape as an extension of the HTTP specification.
As with anything non-standard Cross Browser support is always going to be problematic, some will implement it while others will stick rigidly to the standard.
Note: The HTTP
RefreshHeader should not be mistaken for theMETA refreshHTML element which has better Browser support then the HTTPRefreshheader.