I have an ActiveX loaded from some web pages in a web server that must open
an outgoing TCP socket connection to a different server (not a web server)
for timestamping purposes.
To access web pages I must use a proxy who asks for authentication.
Now I´m doing my own proxy authentication asking for proxy password when I
open the socket.
So I´d like to know if it´s possible this outgoing connection to reuse the
same proxy credentials used by first web connection, so that user doesn´t
have to introduce proxy password two times, one for accessing the web server
and other to stablish the socket connection.
I´ve been looking CredUIPromptForCredentials function and similars.
Thank you very much.
Try CredRead with the proxy as the target name. If it doesn't work then
there is no stored credential for the proxy and you will have to prompt the
user ;-(
--
Eugene
http://www.gershnik.com