Herpes?

If two people who BOTH have herpes have sex.. While ONE of them is having an outbreak...will it cause the other one to have an outbreak as well?