Tuesday, April 5, 2011

how to create session (iPhone)?

How do you log the user in, create and store the user's session?

(It will timeout on its own aswell? do you need to store it in a database?)

From stackoverflow
  • Use NSUserDefaults. Set their values when session starts [for some events like login etc] and erase them when you want to end the session [for the events like logout or timeout].

0 comments:

Post a Comment