Place cookie in tmp.