Cookie decoding
Ensure last query always wins