Immunity to HAV from infection or vaccination can be determined by the presence of IgG anti-HAV in the absence of IgM anti-HAV. This evidence concerns the gene CD40LG and infection.