I'm having this weird problem where my cookies are getting lost in a weird way. I'm on wordpress, and it seems to hold the value fine while I click through pages, but when I insert a post on a page it loses the cookie.
The weirdest part is that it doesn't loose it the first time, but if I create two posts in a row, then it will loose it.
I've read a lot about refreshes, I took them all out, and it still does it. I also read about wordpress not liking cookies that don't have a domain specified, so my cookies look like this:
setcookie("auth", $cyph, time()+60*60*24*60, '/', '.domain.com'); where $cyph is a serialized array ( base64_encode(serialize($cyph)); ). Like I said, it holds the value fine until I interact in some way with wordpress.
Any ideas?