Cookies for Silverlight

added by jmccurdy
1/29/2010 9:43:08 AM

0 Kicks, 78 Views

Here is a simple static class, Cookie, that offers methods to Read and Write cookies from Silverlight applications. You can also specify the cookie expiration as a number of days: •expireDays = 0, indicates a session cookie that will not be written to disk •expireDays = -1, indicates that the cookie will not expire and will be permanent •expireDays = n, indicates that the cookie will expire in “n” days