You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by tser <te...@worldonline.nl> on 1999/04/03 16:39:37 UTC

the Twun (progress)

The First test i have done seems to reveal what i thought, it _is_
posible to track
a user without using cookies by using the cache mechanism based on the
etag.


i have created a twun struct :

struct twun_struct  /* TimeLess WorldWideWeb Unique Number      */
 {                  /* (123456789-123456789-123456789)          */
 long HighBase;     /* The Upper Part of the Twun               */
 long LowBase;      /* The Lower Part of the Twun               */
 long VisitCounter; /* Counts How Many times the Twun is called */
 };                 /* (HighBase-Lowbase-VisitedCounter)        */


and use the etag to get those values [etag = char *  and twun =
un_structs 
scanf(etag,"%ld-%ld-%ld",&twun.HighBase,&twun.LowBase,&twun.VisitCounter);

so, by playing around with
 if_nonematch = ap_table_get(r->headers_in, "If-None-Match");
 and
 ap_table_setn(r->headers_out, "ETag", "000000001-000000001-1);

 it is getting funny :-)


			- Reinder Kraaij