How to set up cookie separately?

I have 2 applications on one server (Test and Production).
If I log-in the Test, the Prod logs me off.

How can I set the separate cookie - one for Test and the second for Prod?