set cookies on current page