CInternetConnection::GetSession
Call this member function to get a pointer to the CInternetSession object that's associated with this connection.
CInternetSession* GetSession( ) const;
Return Value
A pointer to a CInternetSession object associated with this Internet connection object.
Requirements
Header: afxinet.h