Very simply, I need a script which when visited the first time saves a cookie, and when visited again recalls the cookie. It should do as UBB does and save for a year. When the content of the script changes, it should check the users computer for an "old" cookie, delete it and save the new one.
I know it's a long question, but can anyone help? I just CAN'T get the hang of cookies...