共用方式為


CInternetSession Members

Base Class Members

CObject Members

Construction

CInternetSession

Constructs a CInternetSession object.

Attributes

EnableStatusCallback

Establishes a status callback routine.

GetFtpConnection

Opens an FTP session with a server. Logs on the user.

GetGopherConnection

Opens a gopher server for an application that is trying to open a connection.

GetHttpConnection

Opens an HTTP server for an application that is trying to open a connection.

OpenURL

Parses and opens a URL.

ServiceTypeFromHandle

Gets the type of service from the Internet handle.

SetOption

Sets options for the Internet session.

Operations

Close

Closes the Internet connection when the Internet session is terminated.

GetContext

Gets the context value for an Internet or application session.

GetCookie

Returns cookies for the specified URL and all its parent URLs.

GetCookieLength

Retrieves the variable specifying the length of the cookie stored in the buffer.

SetCookie

Sets a cookie for the specified URL.

Overridables

OnStatusCallback

Updates the status of an operation when status callback is enabled.

Operators

operator HINTERNET

A handle to the current Internet session.

See Also

Concepts

CInternetSession Class

Hierarchy Chart