Getting HTTP session ID

The Property method is used to get the current value of the session ID. For example:

      THTTPHdrVal value;
TBool exists = ConnectionInfo.Property(sessionId, value);
if ( exists )
   {
   TInt theSessionId = value.Int();
    ...
   }
     

If the session ID has been set, this returns ETrue and sets the value to the session ID that was requested by the last call to SetPropertyL() . If an ID has not been set, or the ID has been removed, this will return EFalse .