ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / HTTP functions
  • httpConfigureMode constant
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
HTTPConfigure (Function)
In french: HTTPParamètre
Warning
From version 28, HTTPParameter is kept for backward compatibility. This function has been replaced with HTTPConfigure.
Configures the functions that use the HTTP protocol (HTTPRequest, HTTPSendForm, SOAPRun, SOAPRunXML, Imported web services, SFExecuteQuery, etc.).
Example
HTTPConfigure(httpConfigureMode, 1)
HTTPRequest("www.pcsoft.fr")
Syntax
HTTPConfigure(<Option to modify> , <New value>)
<Option to modify>: Integer constant
Parameter to modify:
httpConfigureDisableCacheIn secure mode (HTTPS), used to manage the cache of Internet Explorer. The &new value&gt associated with this constant can be:
  • 0 (Faux by default): Re-enables Internet Explorer's cache.
  • 1 (Vrai): Disables Internet Explorer cache.
httpConfigureDisableCookieIn secure mode (HTTPS), used to configure the mode for managing the HTTP cookies of Internet Explorer. The <New value> associated with this constant can be:
  • 0 (Faux by default): Re-enables Internet Explorer's HTTP cookie handling.
  • 1 (Vrai): Disables HTTP cookie handling in Internet Explorer.
httpConfigureModeConfigures the request handling mode. The <New value> associated with this constant can be:
  • 0 (False by default): Management of HTTP requests by the common framework for WINDEV executables, WEBDEV sites and web services.. In this mode, if a request requires HTTPS, mode 1 will automatically be used.
  • 1 (True): Handling of HTTP and/or HTTPS requests by the Windows API running the process.
  • 2: Management of HTTP and/or HTTPS requests by a cross-platform implementation common to all frameworks.
    In this mode, a WINDEV application can exchange HTTPS data in the same way as a WINDEV Mobile application for iOS or Android. This mode can be used to replace the Windows API when it cannot encrypt HTTPS data.
<New value>: Integer
New value of the modified parameter.
Remarks

httpConfigureMode constant

For more details on the various possible values for the constant httpParameterMode , see the following FAQ: Error detected while sending the HTTP request.
Component: wd300com.dll
See also
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help