Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberExtension


CreateCyberSession

Creates and returns a global session object.

CyberSession CreateCyberSession (in ODSession session);
session
The ODSession object to associate with the CyberSession object.
return value
The global CyberSession object.
DISCUSSION
You can call this method when you need to create the global session object. If the object already exists, this method simply returns it. You can also call the InitCyberdog function to create the global session object.

You can retrieve the global session object by calling either the GetCyberSession method or the GetCyberSession global function.

If you subclass CyberExtension, do not override this method.

SEE ALSO
The GetCyberSession function (page 188).
The InitCyberdog function (page 188).
The GetCyberSession method (page 219).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996