Provided are methods of generating an immune response to any of various antigens including foreign antigens such as infectious agent antigens. In general, the method comprises administering an expression vector encoding a transcription unit encoding a secretable fusion protein, the fusion protein containing the foreign antigen and CD40 ligand and also administering the encoded fusion protein. In another approach, an immune response to the foreign antigen is elicited using the encoded fusion protein without administering the vector. The invention methods may be used to immunize an individual against an infectious agent such as influenza virus. Methods of obtaining an immune response in older individuals also is described.