Generate active & passive sessions.