while reading an anti-popup/spam site, i came across this link
http://www.x10.com/x10ads.htm
[LINK]
they offer this link
http://www.x10.com/home/optout.cgi?DAY=30&PAGE=http://www.x10.com/x10ads1.htm
and some text telling how it will block they're ads for 30 days.
so i clicked it, whent a checked my cookies, and whammo!
a cookie was created for x10.com, that expires in 30 days.
notice the DAY=30 in the url?
i wondered if they used that...
so, i made this link
(note 1460 = 365*4 = 4 years)
http://www.x10.com/home/optout.cgi?DAY=1460&PAGE=http://www.x10.com/x10ads1.htm
[LINK]
ran it (well went to in in a browser) and checked cookies again...
hey a cookie that expires IN 4 YEARS for x10.com
so use it before they get smart and code the days into the cgi script,
or not do this all together.
-fuzzy
p.s. for those who were wondering, the PAGE= is just for where to send you when the cgi is done