def create(self, ticket, payload=None, expires=None):
        '''
        Create a session identifier in memcache associated with ``ticket``.
        '''
        if not payload:
            payload = True
        self._client.set(str(ticket), payload, expires)
def create ( self , ticket , payload = None , expires = None ) : if not payload : payload = True self . _client . set ( str ( ticket ) , payload , expires )
Create a session identifier in memcache associated with ``ticket``.