Functions for handling cookies, get, set and remove.