I am not sure about the exact meaning of your question because my english it´s not very good.
But, I suggest you to change the line that says:
with
if (Request.IsLocal)
{
uid = "37101621";
}
so, if the request is local (that is: the request comes from the local server) the
uid variable takes the hard-coded value "37101631" instead of the
uid parameter of the Request.
I hope this can help you.