.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

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -