Hi all,I am making an application in c# in which the client will input username,password,id,ip and that info will be sent to a webserver where a database resides and that info will be checked in the data base ,if the info exists in the database then the user will be signed in otherwise he/she will be sent a msg e.g "wrong username or password"
Plz tell me how can I do this
Thanks
Yours World | Telecom,bollywood,IT,web,mobile phones
1 reply to this topic
#1
Posted 05 January 2011 - 11:17 AM
|
|
|
#2
Posted 06 January 2011 - 05:58 AM
There is much to consider, for example, what are you authenticating against?
And what style of web service are you planning on implementing? (SOAP? Restful?)
but by the sounds of it, you could likely most easily implement this with something like WCF or Web Methods (ASMX)
typically, with this type of scenario, you would have your normal response come back in somethin glike a SOAP-Envelope, and if you failed authentication, you'd get an HTTP exception indicating as such
And what style of web service are you planning on implementing? (SOAP? Restful?)
but by the sounds of it, you could likely most easily implement this with something like WCF or Web Methods (ASMX)
typically, with this type of scenario, you would have your normal response come back in somethin glike a SOAP-Envelope, and if you failed authentication, you'd get an HTTP exception indicating as such
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









