SilverlightShow: Cookies in Silverlight Web Requests Comments Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples Argotic Syndication Framework 2008.0.2.0, en-US (Emil Stoychev) Re: Cookies in Silverlight Web Requests <h1 color="green">Hello</h1> AjaySaksena Wed, 31 Aug 2011 14:13:11 GMT RE: Cookies in Silverlight Web Requests <p>i'm pretty sure this is no longer true in silverlight 4 if you read <a href=""></a> you'll see a note about "for security reasons cookies are disabled by default".  however if you use the WebClient class, the cookies appear.</p> drdamour Thu, 21 Oct 2010 00:38:04 GMT RE: Cookies in Silverlight Web Requests <p>Hi,</p> <p>First of all, thanks for nice article. I have a little bit more complicated example...</p> <p>I have ASPX page where I run my authentication mechanism which calls a external service. I receive from this service a very long token. Now I have to configure somehow the FormAuthentication cookie (I use ASP.Net Forms Authentication WCF Service with custom Membership, Role and Profile providers) to inform my own Authentication Service about positive login. But this is not visible to my Silverlight application where I have again to login.....</p> <p>How I should create that FormAuthentication cookie in my ASPX page (after receiving answer from my external auth. service) to enable my Silverlight application to be automatically logged in?</p> <p>Thanks in advance for help</p> Maciej Gren Fri, 18 Jul 2008 15:37:46 GMT RE: Cookies in Silverlight Web Requests <p>Thanks for your comment, Ozzy,</p> <p>Since things connected to Membership are not Silverlight specific it's better not to write about them here. You can send me an email on  <strong>nraychev [ at ]</strong> and I'll try to help you.</p> nikolayraychev Mon, 14 Jul 2008 00:32:14 GMT RE: Cookies in Silverlight Web Requests <p>I really liked your article because it is very clear and speaks directly to the problem I am having.</p> <p>My SL project calls a WCF service on my server. When I am authenticated, I can see that I am logged in using the same technique mentioned in your article.</p> <p>I also have an HTTP Handler in the same project on the same server, which contains code similar to your example; however, the MembershipUser is always null. Can you think of any reasons why this might be so? Is there something that needs to be entered into the web.config file?</p> Ozzy Sat, 12 Jul 2008 14:49:14 GMT