in reply to cookie expire question
Try setting the cookie value to something else (without the expires) and see if that can be read out immediately or after 2 minutes. Then try the different cookie value AND the expires -1y to see when you can read it out.