I set my cookie to a value, then a form reloads my page. The cookie's value is still the same as before it was changed. When I reload the page the cookie is changed.
It's like I had to reload the page twice to get the cookies to work.
Anyone know why this would happen, or how to fix it?