I receive some data from raw socket connections, which I need to send as a HTTP cookie request header, when I load URLs in the browser control instance.
I have something like the following in my code.
But looks like the cookies aren't being passed back to the server.
// prepare cookie String: example "Cookie: name1=value1; name2=value2;"
iBrCtlInterface->SetParamL(TBrCtlDefs::EParamsRequestHeaders, sCookie); // sCookie has the cookie header.
Any idea what could be wrong? Or is there any other way to set the cookies using the browser control?
PS: I have logged the sCookie value to my log files and the prepared cookie string looks valid, having the following format:
Cookie: name1=value1; name2=value2;