During the login process on my internal webpage I use setcookie() to write a cookie.
setcookie("cookiewar",$loginname,time()+(3600*24*100));
On all pages (except one) var_dump($_COOKIE) shows me an array count of 2:
array(2) { ["cookievar"]=> string(37) "klaus" ["PHPSESSID"]=> string(26) "btmep2lk2l8thua18ibdbsa8b3" }
On the one (and only) page I only get:
array(1) { ["PHPSESSID"]=> string(26) "btmep2lk2l8thua18ibdbsa8b3" }
Does anyone have an idea why this could happen on this page?