I sense a merge coming. There are a zillion of these threads. You might look this thread over -
and this one:
Cookie Settings