Ok, so I have my cookie script, and it can set and retrieve cookies just fine. But if I close my browser and reopen the page, the cookie returns null. To be sure it wasn't a coding mistake that I made, I went to a website where they also had a cookie example. The same thing happened. Can any one post some code that could solve this wierd problem? (I tested on both IE and firefox just to make sure).