title: Better place to detecting mobile browser and redirect to mobile site
body: <p>Can anybody suggest me which is the better place to verify mobile browser and redirect to mobile site.</p>
  
  <p>I am thinking of using <a href="http://detectmobilebrowsers.com/" rel="nofollow"><code>DetectMobileBrowsers</code></a> to verify mobile browsers.</p>
  
  <p>And I am thinking of doing this in <code>Application_Start</code> or <code>Session_Start</code>. Please suggest me which is the better place to do the same.</p>
  
  <p>This is my Session_Start block</p>
  
  <pre><code>Protected Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
      ' Fires when the session is started
      'Dim request As HttpRequest = HttpContext.Current.Request
      'If request.Browser.IsMobileDevice Then
      '    Response.Redirect("http://localhost:26270/Default.aspx")
      'End If
      Response.Redirect("http://google.com")
  End Sub
  </code></pre>
  
  <p>Thanks</p>