Export (0) Print
Expand All

CInternetSession Members 

This topic has been updated for Visual Studio 2005 SP1.

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.

QueryOption

Provides possible asserts for error checking.

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.

Smart Device Developer Notes

This section has been updated for Visual Studio 2005 SP1.

Starting in Visual Studio 2005 SP1, this class is supported in Smart Device projects.

The Smart Device version of CInternetSession Class does not support the following methods:

Smart Device MFC does not support FTP or Gopher classes. Also, the WinInet API for Windows CE does not support Cookies or Gopher.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft