spider_coder
spider_coder

Reputation:

How to authenticate a website user through iphone

I have created a web application and now I want to create an iPhone version of it. As a first step, I want to login a user using his username and password. I have a simple login page with fields for username and password. Now I want to send these credentials onto my site (lets say, www.abc.com/login) and authenticate whether the username and password is correct or not.

I need some help in this as I am not an experienced iphone developer. I just need to know how to send the credentials to my site url. Any help or sample tutorial in this regard will be highly helpful to me.

Upvotes: 3

Views: 1998

Answers (2)

nicky
nicky

Reputation: 3898

better make a canvas and call that page of webapplication..

Upvotes: 0

coneybeare
coneybeare

Reputation: 33101

Go get ASIHTTPRequest as it is a great framework for any network connectivity you do. the you can simply use POST or use the method they have provided for authentication.

See the section titled "Handling Authentication" here for code samples and docs

Upvotes: 3

Related Questions