This is typical with bacteria, but I don't think it happens with viruses.
- http://en.wikipedia.org/wiki/Smallpox_vaccine
If you took someone who is already infected with smallpox and gave them cowpox it would not help.
You confused in what order the infections occur.
This is typical with bacteria, but I don't think it happens with viruses.