Difference between http and https technique
<p>Does it need <code>Certificate/License/Registration</code> before launching the website using <code>https</code>?</p>

<p>I want to use the mentioned code in <code>Global.asax</code> file.</p>

<pre><code>protected void Application_BeginRequest(Object sender, EventArgs e)
{
    Response.Redirect("https://" + Request.ServerVariables["HTTP_HOST"] 
+   HttpContext.Current.Request.RawUrl);
}
</code></pre>
