Re: AxShDocVw.AxWebBrowser.Navigate and object headers
- From: "Marc Gravell" <marc.gravell@xxxxxxxxx>
- Date: Mon, 19 Nov 2007 10:32:29 -0000
Can you define "pass an object"?
Http headers are just string name/value pairs. If you can serialize
your object into a string, then I guess you could pass it in a header,
although the body (postData) would be more common (again, it would
need to be serialized). At the server you'd then just read the named
header from the Request, or the body, etc.
You might also note that in 2.0 there is a managed WebBrowser wrapper
in the System.Windows.Forms namespace.
What are you trying to do? There is a more object-based interaction
between a WebBrowser and a hosting application, but it is client-side
only - i.e. it allows your C# code and javascript code to talk to
eachother in both directions. It doesn't allow you to talk to the
server. Either regular http requests or web-services (SOAP etc) are
commonly used for this type of activity.
Marc
.
- Prev by Date: Re: Full ISO 4217 information
- Next by Date: Re: How to build dynamic query?
- Previous by thread: time critical programming
- Next by thread: Re: AxShDocVw.AxWebBrowser.Navigate and object headers
- Index(es):
Relevant Pages
|