How to allow people to download songs from my website without opening dialogue box
<p>I have a code which is static. I want to convert it into dynamic so that user can download any song which they want. I am using a <code>default1.aspx</code> page. And here <code>1.mp3</code> is the static link. Please write the code to convert it into dynamic. </p>

<pre><code>protected void Page_Load(object sender, EventArgs e)
{
    m = Request.QueryString[m];
    a = Request.QueryString[a];

    a = Server.MapPath("AudioSongs/1.mp3" );
    FileInfo fileinfo = new FileInfo(a);

    if (fileinfo.Exists)
    {
        Response.Clear();
        Response.AddHeader("Content-Disposition", "attachment; filename=" + fileinfo.Name);
        Response.AddHeader("Content-Length", fileinfo.Length.ToString());
        Response.ContentType = "application/octet-stream";
        Response.Flush();
        Response.WriteFile(fileinfo.FullName);
        Response.Redirect("moviedetails.aspx?m=" + m + "");

    }

}
</code></pre>

<p>}</p>

<p>Thank you</p>
