共用方式為


HTTP Sessions

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Several Windows Internet Services (WinInet) functions allow you to access resources on the World Wide Web (WWW). Resources on the WWW are accessed by means of the HTTP protocol. The WinInet functions include a set of stable HTTP functions that handle the underlying protocols, allowing your application to access information about the WWW directly. As the http protocol evolves, the underlying protocols will be updated to maintain http function behavior.

The following illustration shows the relationships of the Microsoft Win32® Internet functions that are used for the http protocol. The shaded boxes represent functions that return HINTERNET handles, while the plain boxes represent functions that use the HINTERNET handle created by the function on which they depend.

Aa920095.2df84402-b23b-4a75-b7d7-93d09c1d62f2(en-us,MSDN.10).gif

For more information about HINTERNET handles and the handle hierarchy, see About HINTERNET Handles.

For more information about HTTP sessions, see the following topics:

Accessing the HTTP Protocol

Handling Uniform Resource Locators

Creating and Cracking URLs

Accessing URLs Directly

Cookies

Cookie Headers

Creating and Retrieving Cookies

See Also

Other Resources

WinInet Application Development