次の方法で共有


ISessionObject::get_Value

The ISessionObject::get_Value method retrieves the value of a variable stored in the Session object.

HRESULT get_Value(
      BSTR bstrValue,
      VARIANT* pvar
);

Parameters

  • bstrValue
    [in] A BSTR that contains the variable name.

  • pvar
    [retval] [out] Points to a VARIANT that receives the variable value.

Remarks

You can store values in the Session object. Information stored in the Session object is available throughout the session and has session scope.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also