Session Object

Properties   Events   Methods   See Also

Creates a custom, user-defined object that manages its own data session.

Syntax

DEFINE CLASS ClassName1 AS Session

Remarks

You can create this custom, user-defined class only using the DEFINE CLASS command. You can, however, add this object to a form or other container programmatically.

Custom, user-defined classes are classes with properties, events, and methods, but with no visual representation. The same general rules that apply to defining other types of classes apply to defining custom classes. Use the Session object as efficient memory management and to ensure safe behavior of multiple object instances in multi-tiered applications.

See Chapter 3, Object-Oriented Programming, in the Programmer's Guide for additional information about creating custom objects as non-visual classes.