Incidentally, be careful if you want to set a cookie and use a redirect if you are using IIS. I've had some nasty bugs with this only to discover that
IIS ignores the cookie on a redirect. More quality control from
M$ (click the M$ link. Trust me). It wouldn't be so annoying except that they've had this problem for versions 3.0, 4.0 AND 5.0. Sheesh. You need to use NPH scripts to get around that.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.