Collectively, our studies demonstrate that intraperitoneal infection with attenuated VACV vaccine strains or subcutaneous vaccination of a viral peptide in the presence of an agonistic OX40 antibody can generate long-lasting memory CD8 T cell that persist in the lung.