VB.net Redirect script for mobile/desktop

A little something about everything

internet marketing and website development made simple..

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>

Add comment

Loading