tags:

views:

46

answers:

1

I need to create an "login application" but i dont known about session in iOS. My application need login to my website (PHP based website) to get data. I dont known a lot about session in iPhone. Anybody can tell me how to create and manage application session in iOS? Thanks!!!

A: 

There's no concept of web/browser session (whatever that means to you) in iOS. iOS applications are just launched when a user touches the icon, and are quit when the user quit them.

Typically you require the user to input the login id and the password when the app is launched, and you create a web/server/browser session by accessing the web server. You can keep the id and the password securely inside in the storage of the iPhone, so that the user doesn't need to input them again and again whenever the program is launched.

Yuji