![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | XBAP: Application.GetCookie() not getting browser cookies 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 |
| | #2 (permalink) |
| Guest | Re: Application.GetCookie() not getting browser cookies 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 > > > |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hosting only 1 web browser at a time through my windows application. | vidishasharma | .NET General | 0 | 05-28-2008 12:14 AM |
| Access denied Application Data, Cookies Pictures, etc in Windows E | pjbealer | Vista General | 3 | 08-20-2007 11:44 AM |
| Windows Application vs XAML Browser Application | Denis | Avalon | 0 | 04-20-2007 01:43 AM |
| XBAP application error: "cannot locate BAML" | vipin.v.deep@gmail.com | Avalon | 0 | 09-27-2006 06:14 AM |
| web browser application pop up dialog | Ranj | Avalon | 0 | 04-27-2006 02:58 AM |