Previous messagesQuote:Can you try the same with Google Chrome browser and see if it behaves the same? If Google Chrome behaves the same, then we will usually wait for the Chromium team to address it first as we are not in a position to fix browser engine issues because it is extremely large and complex, so it is not possible for us to address those issues on our end.
I've tested with latest Chrome, work fine.
I've even tried kill the chrome process immediately, but all work fine.
Quote:Another possibility is it may indeed takes that long for the cookies to be received by the client. You can add some code inside the WebView's AfterReceiveHeaders event to trace the cookies that you received. If the server does not send the authentication cookie down right away, then obviously that can only be addressed on the web server side. If you do see the cookies have been sent down right away and Google Chrome does not show this time delay, please PM us with a test page and we will be happy to investigate further.
So, I see that auth_token and others came with new twitter page.
My test application code (as I said, I tried in TabBrowser too):
Code: C#
public CreateWebView()
{
wv = new WebView();
wv.AfterReceiveHeaders += WvOnAfterReceiveHeaders;
wv.Create(Handle);
wv.LoadUrlAndWait("https://twitter.com");
InitializeComponent();
}
private void WvOnAfterReceiveHeaders(object sender, ResponseEventArgs responseEventArgs)
{
foreach (var key in responseEventArgs.Response.Cookies.AllKeys)
{
Console.WriteLine($"Cookie: {key}");
}
}
Quote:Output:
Cookie: fm
Cookie: _twitter_sess
Cookie: personalization_id
Cookie: guest_id
Cookie: ct0
Cookie: fm
Cookie: _twitter_sess
Cookie: metrics_token
Cookie: test_cookie
Cookie: test_cookie
Cookie: IDE
Cookie: fm
Cookie: ads_prefs
Cookie: kdt
Cookie: _twitter_sess
Cookie: remember_checked_on
Cookie: twid
Cookie: auth_token
Please, try this steps with TabBrowser:
1) navigate to
https://twitter.com2) log in
3) wait while new page will be fully load(After it, you can even navigate to the next page in twitter and all will be ok)
4) close browser
5) try open twitter again
Thanks.