![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | 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 |
My System Specs![]() |
| | #2 (permalink) |
| | 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 > > > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Setting cookies on InternetExplorer.Application | VB Script | |||
| Access denied Application Data, Cookies Pictures, etc in Windows E | Vista General | |||