codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Porting from WinInet to WinHttp 5.1  shay_lin at 12:13 on Sunday, March 05, 2006
 

Hi one, hi all!
I have recently ported from WiInet to WinHttp in my server application.
Everything works just fine but there is one major question regarding some flags that were set in the WinInet HttpOpenRequest(…). The dwFlags had values of INTERNET_FLAG_KEEP_CONNECTION and INTERNET_FLAG_NO_CACHE_WRITE which I need to use, the problem is I can not find the equivalent in the WinHttp API protocol!!! I was told to add it the Headers of the request in format of:
"Content-Type: application/x-www-form-urlencoded\r\n Connection : Keep-Alive\r\n Cache-Control: no-cache"
but it seems rather strange to set flags as part of the message sent to the server!
Any one?
Thanks
S









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: Display swf file in pdf
•  A-Line Wedding Dresses
•  Re: how to create forum using asp.net with c# language?
•  Discount coach store
•  External hard drive recovery tips
•  Create Better Maps with Global Mapper
•  Re: How to display a message box when record is temporary stored in session/grid view
•  Sharing object in perl
•  Re: C++ Beginner question


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2012