.net - Possible to make WebBrowser control share cookies with HttpWebRequest? -



.net - Possible to make WebBrowser control share cookies with HttpWebRequest? -

is there way create webbrowser command in c#.net , requests made httpwebrequest share cookies?

e.g. if request made programmatically httpwebrequest , httpwebresponse sets cookie, there way create sure set in webbrowser control?

and likewise, if user navigates webbrowser command , cookie set, there way ensure cookiecontainer httpwebrequest updated?

thanks help!

you'd need synchronize cookies manually using internetsetcookieex / internetgetcookieex apis, , require know of urls of of subdownloads used page in question.

you need pass internet_cookie_httponly flag ensure httponly cookies seen application.

.net cookies httpwebrequest webbrowser-control

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -