trying to keep data in cookies