If you don't specify the expires date when setting a cookie you get the following error: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)