View Full Version : http digest
Apr 4, 2009, 02:28 AM
I am kind of facing easibility question "expect the app to use HTTP Digest Authentication to store user credentials. And the app should be able to handle cookies for storing session ID". how this can be done in iphone?
Apr 6, 2009, 04:03 AM
HTTP Digest Authentication
Try NSURLProtectionSpace (http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSURLProtectionSpace_Class/Reference/Reference.html).
the app should be able to handle cookies for storing session ID
That's just a string, so either NSUserDefaults (http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSUserDefaults_Class/Reference/Reference.html) or a bit of SQLite if you require keeping more complex state.
Apr 14, 2009, 07:10 AM
I would appreciate anybody sharing examples of NSURLProtectionSpace. usage.
I got his, but it seems https
May 12, 2009, 04:26 AM