Redirecting the User in ASP

Redirecting the User in ASP


The Response.Redirect property would redirect the client to another page as shown below. Could be useful to redirect to differing pages based on the type of browser detected for instance.


<% @LANGUAGE = VBScript %>
<% Option Explicit %>

<%
Const LDIC_US = 1033
Session.LCID = LDIC_US
If Now > CDate("12/31/1999") And Now < CDate("1/2/2000") then
	Response.Redirect("A02d-i.html")
End If
%>