Re: Problems on HTTPS Post Method
From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 02/12/04
- Next message: Igor Tandetnik: "Re: ActiveX, SAFEARRAY & Visual Basic"
- Previous message: Igor Tandetnik: "Re: localtime question"
- In reply to: Sachin Tondon: "Problems on HTTPS Post Method"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 12 Feb 2004 13:18:33 -0500
"Sachin Tondon" <sachint@vkjsystems.com> wrote in message
news:O0hfq4X8DHA.2676@TK2MSFTNGP10.phx.gbl...
> I'm Having problem in writing VC(MFC) code for Sending Data through
>
> HTTPS Post method and retrieve the result back and close the HTTPS
>
> session.so please if any one have any idea or any code relating to the
>
> above mentioned problem then please forward the code or idea to me.
> I will be grateful for this kind act of yours.
See KB Article KB165298 "HOWTO: Simulate a Form POST Request Using
WinInet", KB165800 "SAMPLE: PostMon.exe Demonstrates How to Use URL
Moniker to POST Data", KB167658 "HOWTO: Automate Internet Explorer to
POST Form Data".
There's almost no difference in doing it over HTTPS vs HTTP. With
WinInet, you need to use INTERNET_DEFAULT_HTTPS_PORT in InternetConnect
call, then INTERNET_FLAG_SECURE flag in HttpOpenRequest call. With other
two methods, you simply use https:// URL.
--
With best wishes,
Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
- Next message: Igor Tandetnik: "Re: ActiveX, SAFEARRAY & Visual Basic"
- Previous message: Igor Tandetnik: "Re: localtime question"
- In reply to: Sachin Tondon: "Problems on HTTPS Post Method"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|