| Subject: XBAP: Application.GetCookie() not getting browser cookies |
| Group: microsoft.public.windows.developer.winfx.general |
| Date: 11/23/2006 9:31:15 AM |
| From: "Shan McArthur" [Email Address Protection] |
Hello, I am having problems using Application.GetCookie() within a browser-deployed XBAP application. I know the browser that is hosting the XBAP application has cookies (including the ASP.NET session cookie). When I get the XBAP application to call Application.GetCookie, it throws the following exception: No more data is available (Native Error Code=259). I notice that if I call SetCookie(), then GetCookie() retrieves a value. That said, the important part is to get the browser's session cookie so that the XBAP application can interact with the host website. Does anyone know how to get the cookies from the host browser of an XBAP application? This is critical to being able to build an XBAP application that is part of any website. Thanks, Shan McArthur |
| Back |
| Subject: Re: Application.GetCookie() not getting browser cookies |
| Group: microsoft.public.windows.developer.winfx.general |
| Date: 1/8/2007 8:10:31 AM |
| From: "Shan McArthur" [Email Address Protection] |
The problem is that XBAP cannot read session cookies. "Shan McArthur" <shan_mcarthur@spamcop.net> wrote in message news:ewOpK0xDHHA.4740@TK2MSFTNGP03.phx.gbl... > Hello, > > I am having problems using Application.GetCookie() within a > browser-deployed > XBAP application. I know the browser that is hosting the XBAP application > has cookies (including the ASP.NET session cookie). When I get the XBAP > application to call Application.GetCookie, it throws the following > exception: No more data is available (Native Error Code=259). > > > I notice that if I call SetCookie(), then GetCookie() retrieves a value. > That said, the important part is to get the browser's session cookie so > that > the XBAP application can interact with the host website. > > > Does anyone know how to get the cookies from the host browser of an XBAP > application? This is critical to being able to build an XBAP application > that is part of any website. > > Thanks, > Shan McArthur > > > |
| Back |