collect total cookies while redirecting