11-10-2015 05:38 PM
Hi
I'b creating a login form that uses Active-X IE
Alll going well however I need to add headders to the Navigate method, has anyone done this?
Thanks in advance
11-11-2015 03:43 AM
The Navigate method expects a variant of type VT_BSTR for the headers input according to the documentation: https://msdn.microsoft.com/en-us/library/aa752133(v=vs.85).aspx
As far as I can tell, VT_BSTR is just a string? So maybe you can just wire a set of headers in the same format as HTTP - lines of texts with something similar to:
Cache-control: no-cache Connection: keep-alive
If you have access to a webserver, you should be able to check what headers are received. Note that it only adds to the regular headers sent by the IE browser control.
11-11-2015 04:46 PM
Thanks Sam
I think your right, I ought to be able to test this today, I'll let you know how I go.
Cheers
Kurt
11-18-2015 03:46 PM - edited 11-18-2015 03:46 PM
It was sinmple in the end so just send in a string like