Cookies taste good... if you can figure out how to bake them and not
get burned! Well although we're not very good chefs, these cookies
we can make! This sample is actually split into two separate
scripts. The first simply displays your current cookies and the
form so you can add new ones. The second script is the one that
does the actual writing of the cookies.
Note: We only write the cookies to last for a day. If you
want them to last longer you'll need to change the value of the
expires propery in the processing script. If you don't set any
expiration, they only last until the user closes their browser.
Note: If you can't delete all your cookies for our site
it's probably because I recently made a change to the code to deal
with the fact that the forum used to be on a seperate server and
that there will be multiple servers in the new clustered environment.
To remove all our cookies from your machine simply click
here. As always, the source code
is also available
if you've interested.