Depending on the nature of antigen and chronicity of infection, ICOS signaling mediates differential effector CD4+ T cell response. Here, CD4 is linked to infection.