VB.net Redirect script for mobile/desktop

Minnesota Web Developer

A little something about everything...

VB.net Redirect script for mobile/desktop

Basic page Redirect Code:

<script language="vb" runat="server">
Public Sub Page_Load(sender As [Object], e As EventArgs)
If Request.Browser("IsMobileDevice") = "true" Then
Response.Redirect("/Mobile/")
Else
Response.Redirect("/")
End If
End Sub
</script>
Loading