Contents Property

Applies To   See Also  

Returns the contents stored in the session. (Returns the item queried for.)

Syntax (VBScript)

To read a value from the session:

Set Obj = Session.Contents(Key).Property/Method

To write a value to the session:

Set Session.Contents(Key) = Obj

Syntax (JavaScript)

To read a value from the session:

Set Obj = Session.Contents(Key).Item.Property/Method

To write a value to the session:

Set Session.Contents(Key).Item = Obj

It is recommended that you use the helper_js.csp file for cross-platform compatibility. See Some key functions in helper_js.csp for more information.

Parts

Obj

The requested item.

Key

The name of the requested item.

Property/Method

One of the properties or methods described in the SessionContents Object.

Remarks

If you do not include Key or Obj you may use one of the properties or methods described in the SessionContents Object.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com