Set session cookie expiration time.