tags:

views:

63

answers:

1

consider i have created login form in iphone how can i store login information in for that entire session

+1  A: 

The app delegate class is available anyplace in the application. You can store that information in properties on the app delegate then use that within any other view or class in your application.

I would not recommend storing authentication information in sqlite, a flat file, core data or NSUserDefaults because those persist when your application is not running.

Jay