update cookie expire time on http request.