I developed an app that will require its users to use 16 digit PIN to log in before accessing the app. my questions are
1. when the user input the 16 digit pin and they click activate button the app will send request to the webservice
to confirm if the pin is genuine or not If the pin is genuine it will navigate the user to home page of the
app i.e access granted, but if the pin is not genuine it will show error how can this be achieved
2. what are the differeces between SOAP, httprequest and webservice (if there is a beginner tutorials for this please share)
I wait your reply
I wait your reply
Gregg BeckyPosted Jan 26, 2015, 2:52 PM
This will work:
protected void btnValidate_Click(object o, sender s) {
bool isValid; //Determine if PIN is valid. If valid set isValid to true
if(isValid) Response.Redirect("Home.aspx, true); else Response.Redirect("Invalid.aspx", true);
}
SOAP is an XML based format for transmitting data via http.
HttpRequest is used whenever you application is requesting something. i.e. go to another page, access a Web Service, etc. An HttpResponse is response for the request.
A Webservice is an application that typically resides on an application server and provides services to one or more applications.