Managing a user's PHP session with Cocoa Touch
        Posted  
        
            by Calvin L
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Calvin L
        
        
        
        Published on 2010-05-29T03:58:18Z
        Indexed on 
            2010/05/29
            4:02 UTC
        
        
        Read the original article
        Hit count: 322
        
I'm building an iPhone app, which will allow users to log in to a PHP web server that authenticates the user and starts a session.
My idea for managing a session is to create a singleton User class that has a sharedLogin method. Would it be prudent to store the session variable in the shared instance in order to maintain the session?
© Stack Overflow or respective owner