Hello, I have an old asp page that was used to redirect users called
redirect.asp:
<code1>
<%
Option Explicit
If Request.QuerySt ring("url") <> "" Then
Response.Redire ct Request.QuerySt ring("url")
Else
Response.Redire ct ("www.examplesi te.asp")
End If
%>
</code1>
So far I have this:
<code2>
<%@ Page Language="vb" enableviewstate ="False"%>
<script runat=server>
Public Sub Page_Load()
Response.Redire ct ("http://www.tv.dlpsales lab.com/default.aspx")
End Sub
</script>
</code2>
My question is how do I use VB.NET to do this.
When I add the above code I am given an error, since I am new to VB,
can someone help advise what is the proper way to set up a
Response.Redire ct in the manner as I have done in in code1 using
VB.NET?
Thank you,