Set cookieLifetime to be the same as gcMaxlifetime