PHP Cookie limit
Wondering why some cookies are not set? The maximum number is 20. The maximum total size only 2 KB. They are set in the reverse direction of the script. And they must be accessed by the same directory in which they have been set. If you use 'include' the original script will determine the active directory, not the included one.
You can exceed the number of 20 by putting the values into one string seperating with a character of you choice:
and unpack it with explode:
$y=explode(';',$x); // ';' is the seperator
$a=$y;$b=$y; and so on.