I’m trying to receive the values passed from other non aspx page to my asp.net page with C# via HTTP GET with Parameters. Would it be fine if I fetch the values with Request.QueryString in Page Load event?
Please advice.
Here’s what I’ve done so far.
protected void Page_Load(object sender, EventArgs e)
{
//fetch query from url
string queryTimeStamp = Request.QueryString["t"];
Int64 queryCallerID = Convert.ToInt64(Request.QueryString["s"]);
int querySMSGateway = Convert.ToInt32(Request.QueryString["d"]);
string querySMSMessage = Request.QueryString["m"];
//Do other processings
}
you can get the value in
Request.QueryStringorRequest.Formcollection