Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Modify Request Header

Reply
Thread Tools

Modify Request Header

 
 
Dave Slinn
Guest
Posts: n/a
 
      12-11-2005
I have a VB app hosting the Webbrowser control. I would like to add
"something" to the requests that app is submitted to our web application to
indicate that its from this webbrowser and not a separate instance of IE.

Is this possible, keeping in mind that I cannot add anything to the
registry, since a user may still use IE to visit the web app.


 
Reply With Quote
 
 
 
 
Cor Ligthert [MVP]
Guest
Posts: n/a
 
      12-11-2005
Dave,

It is different for the axWebBrowser 1.x than for the WebBrowser 2.0.
Basicly it is setting using the interface the designmode to on and off.

This for the webbrowser 2.0

DirectCast(WebBrowser1.Document.DomDocument,
mshtml.IHTMLDocument2).designMode = "On"

Be aware that it has some strange side effects.

I hope this helps,

Cor

"Dave Slinn" <> schreef in bericht
news:e5YB5Hh$...
>I have a VB app hosting the Webbrowser control. I would like to add
>"something" to the requests that app is submitted to our web application to
>indicate that its from this webbrowser and not a separate instance of IE.
>
> Is this possible, keeping in mind that I cannot add anything to the
> registry, since a user may still use IE to visit the web app.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to modify the HTTP Header for a WebService in .NET 2.0 utnemisis51@gmail.com ASP .Net 7 01-08-2010 10:18 AM
Header files with "header.h" or <header.h> ?? mlt C++ 2 01-31-2009 02:54 PM
How to modify http header when submit request from IE? walter ASP .Net 2 07-21-2008 08:20 PM
How to modify or control ip header (OSI Layer three) Leon Python 0 10-15-2004 08:04 AM
Re: Accessing Request.InputStream / Request.BinaryRead *as the request is occuring*: How??? Brian Birtle ASP .Net 2 10-16-2003 02:11 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57