Welcome Guest Search | Active Topics | Sign In | Register

not able to set the cookie in the request to render the html page Options
Aayushi
Posted: Thursday, August 1, 2019 2:52:19 AM
Rank: Newbie
Groups: Member

Joined: 7/30/2019
Posts: 3
Hi,
In my app, i am not directly making request from browser either I am taking the html code, parsing it and displaying with

session.LoadHtml(htmlBuilder.ToString());
It is not able to render my page saying

When I am trying to set the cookie by using following code

EO.WebEngine.Cookie c = new EO.WebEngine.Cookie("CookieName", cookieValue);

webView.Engine.CookieManager.SetCookie(url, c);

It is not working. cookie header is not present in the request after using SetCookie. Is there any other method which i can use to set the cookie in my request
eo_support
Posted: Thursday, August 1, 2019 10:06:31 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Hi,

If your HTML string requests other resources and you have a matching cookies in the cookies store, then the browser engine should send that cookie. If you continue to have problems, you can try to isolate the problem into a test project and send the test project to us. Once we have that we will be happy to investigate further. See here for more details on how to send test project to us:

https://www.essentialobjects.com/forum/test_project.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.