How can I set cookies on both secure and non-secure origins at the same time?

How can I set cookies on both secure and non-secure origins at the same time?