One way to avoid asking repetitive off-topic questions in the first place is to check out the free docs, or at least learn to search them. For example, about half of
my columns are about web stuff, including a few on cookies.
-- Randal L. Schwartz, Perl hacker