views:

22

answers:

1

How to capture the "JavaScript SetCookie event" in a WebBrowser? I want to synchronize the cookie to a CookieContainer when a javascript setcookie event occurred simultaneously. such as

<script>document.cookie="testcookie"</script>

Is there an event related to this ? thanks.

Environment: .Net 2.0 WebBrowser, C#, VS2008

A: 

No. There is no event that is raised when document.cookie is assigned.

Tim Down