Cookie limit? 20?

by =?iso-8859-4?B?TGF1cmkgVuRpbg==?= <optima(at)hot.ee>

 Date:  Sat, 21 Oct 2000 14:56:37 +0300
 To:  "HWG Techniques" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Hello everybody,
I used the following PHP code to write 100 cookies.

********** start PHP code **********
  $i = 0;
   while($i < 100){
  srand((double)microtime()*1000000);
  $cdate = date("Y-m-d_H-i-s");
  $randval = rand();
  $random = $randval.$cdate;
  $id12345 = $i;
  setcookie("$id12345",$random,time()+14400,"/",".127.0.0.1",0);
  $i++;}
********** end PHP code **********

By looking at the cookie file in my cookies dir, I only found 20 cookies
starting from 80 (all the way to 99).
So, is there a cookie limit of 20 from one host?

One of my cookies looks like this:
********** start cookie **********
80
83302000-10-20_13-40-11
127.0.0.1/
0
2789545856
29375139
562866624
29375106
*
********** end cookie **********
What are those lines (line 4-8)?


Yours,
Lauri

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA