Export (0) Print
Expand All

ISessionObject::putref_Value

IIS 6.0

The ISessionObject::putref_Value method stores a COM Automation object in the Session Object object. Equivalent to put_Value for non-COM objects.

HRESULT putref_Value(
   BSTR bstrValue,
   VARIANT var
);

bstrValue

[in] A binary string that contains the new variable name.

var

[in] A VARIANT to store in the variable.

Before you store an object in the Session object, you should know what threading model it uses. For more information, see Setting the Scope of COM Objects in ASP Pages. For code examples of COM components that can be called from ASP, see Creating COM Components for ASP.

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

Show:
© 2014 Microsoft