Local PDT treatment results in the generation of effective memory anti-tumour CD8+ T cells in the absence of CD4+ T cells. Here, CD8A is linked to neoplasm.