'Enables session persistence for a Balancer by setting the persistence
type to \'HTTP_COOKIE\'.  This method returns immediately.
:param balancer: Balancer to enable session persistence on.
:type  balancer: :class:`LoadBalancer`
:return: Returns whether the enable request was accepted.
:rtype: ``bool``'

def ex_enable_balancer_session_persistence_no_poll(self, balancer):

    uri = ('/loadbalancers/%s/sessionpersistence' % balancer.id)
    resp = self.connection.request(uri, method='PUT', data=json.dumps({'sessionPersistence': {'persistenceType': 'HTTP_COOKIE'}}))
    return (resp.status == httplib.ACCEPTED)
